:root {
  --ink: #090b0d;
  --ink-soft: #14181b;
  --paper: #f4f6f2;
  --paper-strong: #ffffff;
  --text: #171b1d;
  --muted: #66706f;
  --line: rgba(17, 22, 24, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --mint: #52f0bd;
  --mint-deep: #008f74;
  --yellow: #f3d64e;
  --blue: #2f6df6;
  --coral: #f2766a;
  --header-height: 72px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: var(--mint);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 30px;
  color: #fff;
  background: rgba(9, 11, 13, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 11, 13, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.brand-copy {
  font-size: 12px;
  font-weight: 800;
}

.site-nav,
.project-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-nav a,
.project-nav a {
  position: relative;
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease;
}

.site-nav a::after,
.project-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.project-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
.project-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  justify-self: end;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper-strong);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.header-action:hover {
  background: var(--mint);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
  background-image: url("./assets/collection-cover.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, 0.72);
}

.hero::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 8%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.13);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.13);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 132px 0 168px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(82, 240, 189, 0.12);
}

.hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: 92px;
  line-height: 0.98;
  font-weight: 900;
}

.hero h1 span {
  display: block;
}

.hero h1 small {
  display: block;
  max-width: 820px;
  margin-top: 24px;
  color: var(--mint);
  font-size: 42px;
  line-height: 1.22;
  font-weight: 760;
}

.hero-summary {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, border 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--mint);
}

.button-primary:hover {
  background: var(--yellow);
}

.button-quiet {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof > div {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof > div:first-child {
  padding-left: 0;
}

.hero-proof > div:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: var(--yellow);
  font-size: 30px;
  line-height: 1;
}

.hero-proof span {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.section-light {
  background: var(--paper);
}

.intro {
  padding: 126px 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 84px;
  align-items: start;
}

.portrait-wrap {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #d9dde2;
  border: 1px solid var(--line);
}

.portrait-caption {
  display: block;
  padding-top: 15px;
  color: var(--muted);
  border-top: 4px solid var(--mint-deep);
  font-size: 11px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 900;
}

.home-page .eyebrow {
  font-size: 20px;
}

.intro-copy h2,
.section-heading h2,
.contact h2,
.case-intro h2,
.next-step h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 850;
}

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

.intro-columns p {
  margin: 0;
  color: #4e5858;
  font-size: 16px;
  line-height: 1.9;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 54px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-facts > div {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.profile-facts > div:first-child {
  padding-left: 0;
}

.profile-facts > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.profile-facts dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.profile-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 760;
}

.capabilities {
  padding: 126px 0;
  color: #fff;
  background: var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 460px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-heading.inverse .eyebrow {
  color: var(--mint);
}

.section-heading.inverse > p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.capabilities .section-heading {
  display: block;
}

.capabilities .section-heading .eyebrow {
  margin-bottom: 24px;
}

.capabilities .section-heading h2 {
  font-size: 56px;
  line-height: 1.12;
  white-space: nowrap;
}

.capabilities .section-heading > p:last-child {
  max-width: 820px;
  margin-top: 24px;
  margin-right: auto;
  justify-self: start;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .capabilities .section-heading h2 {
    font-size: 48px;
  }
}

@media (max-width: 820px) {
  .capabilities .section-heading h2 {
    font-size: 40px;
    white-space: normal;
  }

  .capabilities .section-heading > p:last-child {
    max-width: 680px;
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .capabilities .section-heading h2 {
    font-size: 34px;
  }
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 72px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.capability-list article {
  position: relative;
  min-height: 330px;
  padding: 42px;
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background 180ms ease;
}

.capability-list article:hover {
  background: #1a211f;
}

.capability-index {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.capability-list h3 {
  margin: 76px 0 16px;
  font-size: 28px;
}

.capability-list p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.8;
}

.skill-tag {
  position: absolute;
  right: 40px;
  bottom: 36px;
  color: rgba(82, 240, 189, 0.26);
  font-size: 32px;
  font-weight: 900;
  transform: translateX(-20px);
}

.experience {
  padding: 126px 0;
}

.experience .section-heading {
  display: block;
  max-width: none;
}

.experience .section-heading .eyebrow {
  margin-bottom: 22px;
}

.experience .section-heading h2 {
  font-size: 56px;
  line-height: 1.12;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .experience .section-heading h2 {
    font-size: 48px;
  }
}

@media (max-width: 820px) {
  .experience .section-heading h2 {
    font-size: 40px;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .experience .section-heading h2 {
    font-size: 34px;
  }
}

.experience-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  margin-top: 72px;
  padding-top: 34px;
  border-top: 2px solid var(--text);
}

.experience-meta {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.date-range {
  margin: 0 0 26px;
  color: var(--mint-deep);
  font-size: 13px;
  font-weight: 850;
}

.experience-meta h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.experience-meta > p:not(.date-range) {
  margin: 8px 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.experience-meta > span {
  display: inline-block;
  padding: 7px 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.project-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-brief span {
  padding: 7px 10px;
  color: #4a5553;
  background: #e7ece8;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 750;
}

.achievement-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: achievements;
}

.achievement-list li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: achievements;
}

.achievement-list strong {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.achievement-list strong::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--mint-deep);
  content: "0" counter(achievements);
  font-size: 11px;
  font-weight: 900;
}

.achievement-list p {
  margin: 0;
  color: #56615f;
  font-size: 14px;
  line-height: 1.8;
}

.systems-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.systems-strip > div {
  min-height: 182px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.systems-strip > div:first-child {
  padding-left: 0;
}

.systems-strip > div:last-child {
  border-right: 0;
}

.systems-strip span {
  display: block;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.systems-strip strong {
  display: block;
  font-size: 16px;
}

.systems-strip p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.work {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
  background-image: url("./assets/boards-dark.png");
  background-position: center;
  background-size: cover;
}

.work-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, 0.76);
}

.work-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 760px;
  flex-direction: column;
  justify-content: space-between;
  padding: 118px 0 78px;
}

.work .section-heading h2 {
  font-size: 74px;
}

.work-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.work-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 44px;
}

.work-meta span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.work-meta strong {
  font-size: 14px;
}

.portfolio-showcase {
  position: relative;
  scroll-margin-top: var(--header-height);
  color: #fff;
  background: #0b0d0e;
}

.portfolio-overview {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: end;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(5, 7, 8, 0.68), rgba(5, 7, 8, 0.9)), url("./assets/boards-dark.png");
  background-position: center;
  background-size: cover;
}

.portfolio-overview-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: end;
  padding: 108px 0 78px;
}

.portfolio-overview .section-heading {
  display: block;
}

.portfolio-overview .section-heading h2 {
  font-size: 74px;
}

.portfolio-overview .section-heading > p:last-child {
  max-width: 620px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.portfolio-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-facts div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.portfolio-facts span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.portfolio-facts strong {
  font-size: 14px;
}

.portfolio-continuation {
  color: #fff;
  background: #0b0d0e;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.portfolio-teaser {
  position: relative;
  height: clamp(280px, 34vh, 400px);
  overflow: hidden;
}

.portfolio-teaser img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.78;
}

.portfolio-teaser span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 9, 10, 0.02) 5%, rgba(7, 9, 10, 0.22) 58%, #0b0d0e 100%);
}

.portfolio-continuation.is-expanded .portfolio-teaser {
  height: 96px;
}

.portfolio-toggle {
  display: grid;
  width: min(calc(100% - 56px), var(--shell));
  min-height: 128px;
  grid-template-columns: 104px minmax(0, 1fr) 58px;
  gap: 30px;
  align-items: center;
  margin: -1px auto 0;
  padding: 24px 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  cursor: pointer;
}

.portfolio-toggle:hover,
.portfolio-toggle:focus-visible {
  color: var(--mint);
  outline: 0;
}

.portfolio-toggle-count {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.portfolio-toggle-count b {
  color: var(--yellow);
  font-size: 22px;
}

.portfolio-toggle-count small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.portfolio-toggle-copy {
  display: grid;
  gap: 6px;
}

.portfolio-toggle-copy strong {
  font-size: 22px;
  letter-spacing: 0;
}

.portfolio-toggle-kicker {
  color: var(--mint);
  font-size: 11px;
  font-weight: 850;
}

.portfolio-toggle-copy em {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-style: normal;
  line-height: 1.6;
}

.portfolio-toggle-close {
  display: none;
}

.portfolio-continuation.is-expanded .portfolio-toggle-open {
  display: none;
}

.portfolio-continuation.is-expanded .portfolio-toggle-close {
  display: block;
}

.portfolio-toggle-arrow {
  position: relative;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
  transition: color 160ms ease, transform 180ms ease, background 160ms ease;
}

.portfolio-toggle-arrow::before {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 14px;
  height: 14px;
  content: "";
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.portfolio-toggle:hover .portfolio-toggle-arrow,
.portfolio-toggle:focus-visible .portfolio-toggle-arrow {
  color: var(--mint);
  background: #fff;
  transform: translateY(3px);
}

.portfolio-continuation.is-expanded .portfolio-toggle-arrow {
  transform: rotate(180deg);
}

.portfolio-continuation.is-expanded .portfolio-toggle:hover .portfolio-toggle-arrow,
.portfolio-continuation.is-expanded .portfolio-toggle:focus-visible .portfolio-toggle-arrow {
  transform: rotate(180deg) translateY(3px);
}

.portfolio-expanded {
  background: #0b0d0e;
}

.portfolio-expanded[hidden] {
  display: none;
}

.portfolio-collapse-wrap {
  padding: 52px 28px 72px;
  text-align: center;
}

.portfolio-collapse {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.portfolio-collapse:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.portfolio-collapse span {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translateY(3px);
}

.portfolio-index {
  position: sticky;
  z-index: 8;
  top: var(--header-height);
  color: #fff;
  background: rgba(15, 19, 20, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.portfolio-index-heading {
  display: grid;
  width: min(calc(100% - 56px), var(--shell));
  min-height: 58px;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 0 auto;
}

.portfolio-index-heading span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
}

.portfolio-index-heading small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.portfolio-index nav {
  display: grid;
  width: min(calc(100% - 56px), var(--shell));
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0 auto;
  padding-bottom: 16px;
}

.portfolio-index nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.72);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease;
}

.portfolio-index nav a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.portfolio-index nav a:hover {
  color: var(--ink);
  background: var(--mint);
}

.portfolio-index nav span {
  color: var(--yellow);
  font-size: 9px;
}

.portfolio-index nav a:hover span {
  color: inherit;
}

.portfolio-showcase .case-sheet {
  scroll-margin-top: calc(var(--header-height) + 120px);
}

.process {
  padding: 126px 0;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

.process .section-heading {
  display: block;
  align-self: start;
  position: static;
}

.process .section-heading .eyebrow {
  margin-bottom: 22px;
}

.process .section-heading > p:last-child {
  max-width: 820px;
  margin-top: 24px;
  margin-right: auto;
  justify-self: start;
  font-size: 16px;
  line-height: 1.8;
}

.process .section-heading h2 {
  font-size: 56px;
  line-height: 1.12;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .process .section-heading h2 {
    font-size: 48px;
  }
}

@media (max-width: 820px) {
  .process .section-heading h2 {
    font-size: 40px;
    white-space: normal;
  }

  .process .section-heading > p:last-child {
    max-width: 680px;
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .process .section-heading h2 {
    font-size: 34px;
  }
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--text);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 900;
}

.process-list strong {
  font-size: 18px;
}

.process-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact {
  padding: 122px 0;
  color: #fff;
  background: #10251f;
}

.contact .eyebrow {
  color: var(--mint);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-actions :is(a, button) {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, padding 160ms ease;
}

.contact-actions :is(a, button):hover {
  padding-left: 10px;
  color: var(--mint);
}

.contact-actions span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.contact-actions strong {
  overflow-wrap: anywhere;
  font-size: 16px;
}

.contact-actions b {
  font-size: 20px;
  transform: translateX(-40px);
}

.contact-actions button.is-copied b {
  color: var(--theme-white);
  background: var(--theme-red);
}

.contact-copy-status {
  position: fixed;
  z-index: 10020;
  left: 50%;
  bottom: clamp(20px, 4vw, 38px);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--theme-black);
  background: rgba(244, 238, 230, 0.98);
  border: 1px solid rgba(215, 25, 31, 0.72);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.contact-copy-status::before {
  content: "✓";
  color: var(--theme-red);
  font-size: 14px;
}

.contact-copy-status.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-copy-status.is-error::before {
  content: "!";
}

.site-footer {
  color: rgba(255, 255, 255, 0.48);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.site-footer .shell {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer a {
  color: #fff;
  font-weight: 750;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Project page */

.project-page {
  background: var(--ink);
}

.project-header {
  grid-template-columns: auto 1fr auto;
}

.project-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
  background-image: url("./assets/atlantis-cover.png");
  background-position: center;
  background-size: cover;
}

.project-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, 0.64);
}

.project-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 74px;
}

.project-hero-content .hero-kicker {
  color: var(--mint);
}

.project-hero h1 {
  margin: 0;
  font-size: 92px;
  line-height: 1;
  font-weight: 900;
}

.project-hero-content > p:last-child {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.project-hero-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.project-hero-meta div {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.project-hero-meta div:first-child {
  padding-left: 0;
}

.project-hero-meta div:last-child {
  border-right: 0;
}

.project-hero-meta span {
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
}

.project-hero-meta strong {
  font-size: 14px;
}

.case-intro {
  padding: 112px 0;
  background: var(--paper);
}

.case-intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.case-intro .section-heading {
  display: block;
}

.case-intro .eyebrow {
  margin-bottom: 22px;
}

.case-intro-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.case-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.case-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4e5858;
  font-size: 12px;
  font-weight: 700;
}

.case-legend i {
  width: 7px;
  height: 7px;
  background: var(--mint-deep);
  border-radius: 50%;
}

.case-legend span:nth-child(2) i {
  background: var(--yellow);
}

.case-legend span:nth-child(3) i {
  background: var(--coral);
}

.case-gallery {
  background: #0b0d0e;
}

.case-sheet {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  padding-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-page .case-sheet {
  padding-top: 0;
  border-top: 0;
}

.project-page .case-sheet + .case-sheet {
  margin-top: 20px;
}

.case-sheet-label {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  color: #fff;
}

.case-sheet-label > span {
  color: var(--mint);
  font-size: 11px;
  font-weight: 900;
}

.case-sheet-label h2 {
  margin: 0;
  font-size: 20px;
}

.case-sheet-label button,
.lightbox-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 19px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border 160ms ease;
}

.case-sheet-label button:hover,
.lightbox-controls button:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.case-sheet > img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.case-ending {
  padding-bottom: 0;
}

.next-step {
  padding: 120px 0;
  color: #fff;
  background: #10251f;
  text-align: center;
}

.next-step .eyebrow {
  color: var(--mint);
}

.next-step h2 {
  max-width: 760px;
  margin: 0 auto;
}

.next-step .button {
  margin-top: 36px;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #080a0b;
  border: 0;
}

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

.lightbox-bar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  background: #101416;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox-bar > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.lightbox-controls span {
  width: 54px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  text-align: center;
}

.lightbox-stage {
  width: 100%;
  height: calc(100vh - 64px);
  overflow: auto;
  background-color: #111517;
}

.lightbox-stage img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  transform-origin: top center;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 66px;
  }

  .shell {
    width: min(calc(100% - 44px), var(--shell));
  }

  .site-header {
    padding: 0 22px;
  }

  .site-nav,
  .project-nav {
    gap: 18px;
  }

  .site-nav a,
  .project-nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1,
  .project-hero h1 {
    font-size: 72px;
  }

  .hero h1 small {
    font-size: 34px;
  }

  .intro-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 52px;
  }

  .intro-copy h2,
  .section-heading h2,
  .contact h2,
  .case-intro h2,
  .next-step h2 {
    font-size: 40px;
  }

  .experience-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 42px;
  }

  .achievement-list li {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .work-meta {
    gap: 22px;
  }

  .portfolio-overview-layout {
    gap: 56px;
  }

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

  .portfolio-index nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .process-layout,
  .contact-layout {
    gap: 60px;
  }

  .case-intro-layout {
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand-copy {
    display: none;
  }

  .menu-toggle {
    display: grid;
    justify-self: center;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 22px 24px;
    background: rgba(9, 11, 13, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px;
  }

  .project-nav {
    display: none;
  }

  .hero {
    min-height: 730px;
  }

  .hero-inner {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: 62px;
  }

  .hero h1 small {
    font-size: 30px;
  }

  .hero-proof > div {
    min-height: 104px;
    padding: 16px;
  }

  .hero-proof strong {
    font-size: 25px;
  }

  .intro,
  .capabilities,
  .experience,
  .process,
  .contact {
    padding: 90px 0;
  }

  .intro-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 38px;
  }

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

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

  .profile-facts > div,
  .profile-facts > div:first-child,
  .profile-facts > div:last-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-facts > div:last-child {
    border-bottom: 0;
  }

  .capability-list article {
    min-height: 300px;
    padding: 34px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .experience-meta {
    padding: 0 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .systems-strip {
    grid-template-columns: 1fr 1fr;
  }

  .systems-strip > div,
  .systems-strip > div:first-child {
    padding: 24px;
    border-bottom: 1px solid var(--line);
  }

  .work,
  .work-content {
    min-height: 680px;
  }

  .work .section-heading h2 {
    font-size: 56px;
  }

  .work-bottom {
    align-items: start;
    flex-direction: column;
  }

  .portfolio-overview-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .portfolio-overview .section-heading h2 {
    font-size: 56px;
  }

  .portfolio-index-heading,
  .portfolio-index nav {
    width: min(calc(100% - 44px), var(--shell));
  }

  .portfolio-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-layout,
  .contact-layout,
  .case-intro-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .process .section-heading,
  .portrait-wrap {
    position: static;
  }

  .project-hero {
    min-height: 660px;
  }

  .project-hero h1 {
    font-size: 68px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 0 16px;
  }

  .header-action {
    padding: 9px 11px;
    font-size: 11px;
  }

  .hero {
    min-height: 700px;
    background-position: 58% center;
  }

  .hero-inner {
    align-self: start;
    padding: 126px 0 250px;
  }

  .hero-kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 50px;
    line-height: 1.02;
  }

  .hero h1 small {
    margin-top: 18px;
    font-size: 25px;
    line-height: 1.3;
  }

  .hero-summary {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero-proof {
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof > div,
  .hero-proof > div:first-child {
    min-height: 90px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-proof > div:nth-child(2) {
    border-right: 0;
  }

  .hero-proof strong {
    font-size: 22px;
  }

  .hero-proof span {
    font-size: 11px;
  }

  .intro,
  .capabilities,
  .experience,
  .process,
  .contact,
  .case-intro,
  .next-step {
    padding: 72px 0;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .portrait-wrap {
    width: min(78%, 300px);
  }

  .intro-copy h2,
  .section-heading h2,
  .contact h2,
  .case-intro h2,
  .next-step h2 {
    font-size: 34px;
  }

  .intro-columns {
    margin-top: 30px;
    padding-top: 24px;
  }

  .intro-columns p {
    font-size: 15px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading > p:last-child {
    justify-self: start;
  }

  .capability-list {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .capability-list article {
    min-height: 270px;
    padding: 28px;
  }

  .capability-list h3 {
    margin-top: 58px;
    font-size: 24px;
  }

  .skill-tag {
    right: 24px;
    bottom: 24px;
    font-size: 24px;
  }

  .experience-grid {
    margin-top: 48px;
  }

  .achievement-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .systems-strip {
    grid-template-columns: 1fr;
  }

  .systems-strip > div,
  .systems-strip > div:first-child,
  .systems-strip > div:last-child {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .systems-strip span {
    margin-bottom: 16px;
  }

  .work,
  .work-content {
    min-height: 720px;
  }

  .work-content {
    padding: 76px 0 50px;
  }

  .work .section-heading h2 {
    font-size: 48px;
  }

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

  .portfolio-overview {
    min-height: 640px;
  }

  .portfolio-overview-layout {
    padding: 76px 0 56px;
  }

  .portfolio-overview .section-heading h2 {
    font-size: 48px;
  }

  .portfolio-index-heading,
  .portfolio-index nav {
    width: calc(100% - 32px);
  }

  .portfolio-index-heading small {
    display: none;
  }

  .portfolio-index-heading {
    grid-template-columns: 1fr;
  }

  .portfolio-teaser {
    height: min(34vh, 300px);
    min-height: 230px;
  }

  .portfolio-continuation.is-expanded .portfolio-teaser {
    height: 64px;
    min-height: 0;
  }

  .portfolio-toggle {
    width: calc(100% - 32px);
    min-height: 116px;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 14px;
    padding: 18px 0;
  }

  .portfolio-toggle-count {
    display: none;
  }

  .portfolio-toggle-copy strong {
    font-size: 16px;
  }

  .portfolio-toggle-copy em {
    font-size: 10px;
  }

  .portfolio-toggle-arrow {
    width: 42px;
    height: 42px;
  }

  .portfolio-collapse-wrap {
    padding: 36px 16px 52px;
  }

  .portfolio-collapse {
    width: 100%;
    justify-content: center;
  }

  .portfolio-index nav a {
    padding: 9px 8px;
    font-size: 10px;
  }

  .portfolio-showcase .case-sheet {
    scroll-margin-top: calc(var(--header-height) + 100px);
  }

  .process-layout {
    gap: 44px;
  }

  .process-list li {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .contact-layout {
    gap: 44px;
  }

  .contact-actions :is(a, button) {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .contact-actions strong {
    font-size: 14px;
  }

  .site-footer .shell {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .project-hero {
    min-height: 650px;
    background-position: 55% center;
  }

  .project-hero-content {
    padding-bottom: 42px;
  }

  .project-hero h1 {
    font-size: 50px;
  }

  .project-hero-content > p:last-child {
    font-size: 14px;
  }

  .project-hero-meta {
    grid-template-columns: 1fr;
  }

  .project-hero-meta div,
  .project-hero-meta div:first-child,
  .project-hero-meta div:last-child {
    min-height: 70px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .project-hero-meta div:last-child {
    border-bottom: 0;
  }

  .case-intro-layout {
    gap: 36px;
  }

  .case-sheet {
    padding-top: 34px;
  }

  .case-sheet-label {
    grid-template-columns: 34px 1fr auto;
    margin-bottom: 14px;
  }

  .case-sheet-label h2 {
    font-size: 16px;
  }

  .case-sheet-label button,
  .lightbox-controls button {
    width: 36px;
    height: 36px;
  }

  .lightbox-bar {
    min-height: 58px;
    padding: 8px 10px;
  }

  .lightbox-bar > strong {
    font-size: 12px;
  }

  .lightbox-controls {
    gap: 5px;
  }

  .lightbox-controls span {
    display: none;
  }

  .lightbox-stage {
    height: calc(100vh - 58px);
  }
}

/* V2 dark interface system */

:root {
  --ink: #070a0c;
  --ink-soft: #0b0f12;
  --paper: #0e1316;
  --paper-strong: #151b1f;
  --text: #edf2ef;
  --muted: #8b9793;
  --line: rgba(218, 232, 226, 0.12);
  --line-dark: rgba(218, 232, 226, 0.14);
  --mint: #78d9bd;
  --mint-deep: #55bda0;
  --yellow: #d8c77c;
  --blue: #7e9eaf;
  --coral: #c79a8f;
}

body {
  color: var(--text);
  background: var(--ink);
}

.home-page main {
  background: var(--ink);
}

.site-header {
  background: rgba(7, 10, 12, 0.88);
  border-bottom-color: rgba(218, 232, 226, 0.1);
  backdrop-filter: blur(24px) saturate(115%);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 12, 0.97);
}

.brand-mark {
  color: var(--mint);
  background: transparent;
  border: 1px solid rgba(120, 217, 189, 0.55);
}

.brand-copy {
  color: rgba(237, 242, 239, 0.82);
  font-weight: 700;
}

.site-nav a,
.project-nav a {
  color: rgba(237, 242, 239, 0.52);
  font-weight: 600;
}

.site-nav a::after,
.project-nav a::after {
  height: 1px;
}

.header-action {
  color: rgba(237, 242, 239, 0.86);
  background: rgba(237, 242, 239, 0.04);
  border: 1px solid rgba(218, 232, 226, 0.2);
  font-weight: 700;
}

.header-action:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.hero {
  min-height: 820px;
  background-position: center 36%;
}

.hero-shade {
  background: rgba(4, 7, 9, 0.79);
}

.hero::before,
.hero::after {
  background: rgba(218, 232, 226, 0.08);
}

.hero-kicker {
  color: rgba(220, 230, 226, 0.64);
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 5px rgba(120, 217, 189, 0.09);
}

.hero h1 {
  max-width: 900px;
  font-weight: 780;
}

.hero h1 small {
  max-width: 760px;
  color: #b9d9cf;
  font-size: 39px;
  font-weight: 620;
}

.hero-summary {
  max-width: 640px;
  color: rgba(220, 230, 226, 0.62);
}

.button-primary {
  color: var(--text);
  background: rgba(120, 217, 189, 0.08);
  border-color: rgba(120, 217, 189, 0.68);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.hero-proof {
  border-top-color: rgba(218, 232, 226, 0.14);
}

.hero-proof > div {
  min-height: 110px;
  border-right-color: rgba(218, 232, 226, 0.1);
}

.hero-proof strong {
  color: #d8e3df;
  font-size: 27px;
  font-weight: 650;
}

.hero-proof span {
  color: rgba(220, 230, 226, 0.46);
}

.section-light {
  background: var(--paper);
}

.intro {
  position: relative;
  color: var(--text);
  background: #0e1316;
  border-bottom: 1px solid var(--line);
}

.portrait-wrap img {
  background: #12181b;
  border-color: rgba(218, 232, 226, 0.14);
  filter: saturate(0.72) contrast(1.04);
}

.portrait-caption {
  color: rgba(220, 230, 226, 0.48);
  border-top-width: 1px;
  border-top-color: var(--mint-deep);
}

.eyebrow {
  color: var(--mint);
  font-weight: 750;
}

.intro-copy h2,
.section-heading h2,
.contact h2,
.case-intro h2,
.next-step h2 {
  color: var(--text);
  font-weight: 680;
}

.intro-columns {
  border-top-color: var(--line);
}

.intro-columns p,
.section-heading > p:last-child,
.achievement-list p,
.systems-strip p,
.process-list p {
  color: var(--muted);
}

.profile-facts {
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}

.profile-facts > div {
  border-right-color: var(--line);
}

.profile-facts dt {
  color: #687672;
}

.profile-facts dd {
  color: #cbd5d1;
  font-weight: 620;
}

.capabilities {
  color: var(--text);
  background: #090d0f;
  border-bottom: 1px solid var(--line);
}

.section-heading.inverse > p:last-child {
  color: var(--muted);
}

.capability-list {
  display: block;
  margin-top: 64px;
  border-top: 1px solid var(--line-dark);
  border-left: 0;
}

.capability-list article {
  display: grid;
  min-height: 148px;
  grid-template-columns: 70px 240px minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-right: 0;
  border-bottom: 1px solid var(--line-dark);
}

.capability-list article:hover {
  background: transparent;
}

.capability-list h3 {
  margin: 0;
  color: #dce5e1;
  font-size: 22px;
  font-weight: 630;
}

.capability-list p {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
}

.capability-index {
  color: var(--mint);
  font-weight: 700;
}

.skill-tag {
  position: static;
  justify-self: end;
  color: rgba(185, 217, 207, 0.28);
  font-size: 13px;
  font-weight: 650;
}

.experience {
  color: var(--text);
  background: #101619;
  border-bottom: 1px solid var(--line);
}

.experience-grid {
  border-top: 1px solid rgba(218, 232, 226, 0.26);
}

.experience-meta {
  border-right-color: var(--line);
}

.date-range {
  color: var(--mint);
}

.experience-meta h3 {
  color: #dce5e1;
  font-weight: 650;
}

.experience-meta > p:not(.date-range) {
  color: var(--muted);
}

.experience-meta > span,
.project-brief span {
  color: #b9c8c3;
  background: transparent;
  border: 1px solid rgba(185, 200, 195, 0.18);
  border-radius: 2px;
  font-weight: 600;
}

.achievement-list li,
.systems-strip,
.systems-strip > div {
  border-color: var(--line);
}

.achievement-list strong {
  color: #d6dfdb;
  font-weight: 620;
}

.achievement-list strong::before {
  color: var(--mint);
}

.systems-strip span {
  color: var(--yellow);
}

.systems-strip strong {
  color: #cfd9d5;
  font-weight: 620;
}

.portfolio-overview {
  background-image: linear-gradient(rgba(4, 7, 9, 0.78), rgba(4, 7, 9, 0.94)), url("./assets/boards-dark.png");
}

.portfolio-overview .section-heading h2 {
  color: #f0f4f2;
  font-weight: 690;
}

.portfolio-facts,
.portfolio-facts div {
  border-color: rgba(218, 232, 226, 0.14);
}

.portfolio-index {
  background: rgba(8, 12, 14, 0.96);
  border-color: rgba(218, 232, 226, 0.1);
}

.portfolio-index nav a {
  color: rgba(220, 230, 226, 0.58);
  border-color: rgba(218, 232, 226, 0.09);
  font-weight: 600;
}

.portfolio-index nav a:hover {
  color: var(--text);
  background: rgba(120, 217, 189, 0.08);
}

.portfolio-toggle-arrow {
  color: var(--mint);
  background: rgba(120, 217, 189, 0.08);
  border: 1px solid rgba(120, 217, 189, 0.62);
}

.portfolio-toggle:hover .portfolio-toggle-arrow,
.portfolio-toggle:focus-visible .portfolio-toggle-arrow {
  color: var(--ink);
  background: var(--mint);
}

.process {
  color: var(--text);
  background: #0b1012;
  border-bottom: 1px solid var(--line);
}

.process-list {
  border-top: 1px solid rgba(218, 232, 226, 0.26);
}

.process-list li {
  border-bottom-color: var(--line);
}

.process-list li > span {
  color: var(--mint);
}

.process-list strong {
  color: #d6dfdb;
  font-weight: 620;
}

.contact {
  color: var(--text);
  background: #11171a;
}

.contact-actions,
.contact-actions :is(a, button) {
  border-color: var(--line-dark);
}

.contact-actions span {
  color: #687672;
}

.contact-actions strong {
  color: #d9e2de;
  font-weight: 620;
}

.site-footer {
  background: #070a0c;
}

.case-intro {
  color: var(--text);
  background: var(--paper);
}

.case-intro-copy > p,
.case-legend span {
  color: var(--muted);
}

.next-step {
  background: #11171a;
}

@media (max-width: 820px) {
  .capability-list article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px 18px;
    padding: 28px 0;
  }

  .capability-list h3 {
    font-size: 20px;
  }

  .capability-list p {
    grid-column: 2;
  }

  .skill-tag {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background: rgba(4, 7, 9, 0.84);
  }

  .hero {
    background-position: 58% center;
  }

  .hero h1 small {
    font-size: 30px;
  }

  .intro,
  .capabilities,
  .experience,
  .process,
  .contact {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .capability-list {
    margin-top: 48px;
  }

  .capability-list article {
    min-height: 0;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Editorial full-screen home cover */
.home-page .site-header {
  height: 76px;
  grid-template-columns: 1fr auto;
  padding: 0 clamp(28px, 5vw, 76px);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  height: 64px;
  background: rgba(7, 9, 10, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.home-page .brand,
.home-page .header-action {
  display: none;
}

.home-page .site-nav {
  grid-column: 1;
  justify-self: start;
  gap: clamp(26px, 4.5vw, 72px);
}

.home-page .site-nav a {
  color: #f1eee6;
  font-size: 13px;
  font-weight: 800;
}

.home-page .site-nav a::after {
  background: #bb4b39;
}

.home-page .hero {
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: #050606;
}

.home-page .hero::before,
.home-page .hero::after {
  display: none;
}

.hero-stage {
  position: absolute;
  inset: 0 clamp(112px, 13vw, 220px) 0 0;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  top: 27%;
  right: clamp(28px, 5vw, 82px);
  left: clamp(28px, 7vw, 112px);
  height: 45%;
  overflow: hidden;
  border-bottom: 3px solid #a63d30;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: rgba(16, 8, 6, 0.08);
  content: "";
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.78) contrast(1.06) brightness(0.9);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hero:hover .hero-art img {
  transform: scale(1.025);
}

.hero-title-wrap {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: clamp(28px, 7vw, 112px);
  pointer-events: none;
}

.hero-title-wrap p {
  margin: 0 0 20px 4px;
  color: rgba(244, 239, 228, 0.62);
  font-size: 11px;
  font-weight: 750;
}

.hero-title-wrap h1 {
  max-width: none;
  margin: 0;
  color: #b24837;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(78px, 10.5vw, 180px);
  line-height: 0.76;
  font-weight: 400;
}

.hero-title-wrap h1 span {
  display: inline;
  color: #efe9dd;
}

.hero-signature {
  position: absolute;
  z-index: 4;
  left: clamp(46px, 9vw, 144px);
  bottom: 25%;
  color: #f3eee3;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(64px, 8vw, 132px);
  line-height: 1;
  transform: rotate(-7deg);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 5vw, 82px);
  bottom: 16%;
  left: clamp(28px, 7vw, 112px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  color: #f1eee6;
  font-size: 12px;
  font-weight: 750;
}

.hero-caption::before {
  position: absolute;
  top: -22px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(239, 233, 221, 0.32);
  content: "";
}

.hero-caption strong {
  font-size: 16px;
  font-weight: 800;
}

.hero-caption span:last-child {
  color: rgba(241, 238, 230, 0.58);
  text-align: right;
}

.hero-enter {
  position: absolute;
  z-index: 5;
  right: clamp(28px, 5vw, 82px);
  bottom: 5%;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #f1eee6;
  font-size: 11px;
  font-weight: 800;
}

.hero-enter b {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(241, 238, 230, 0.45);
  border-radius: 50%;
  font-size: 18px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-enter:hover b {
  color: #401710;
  background: #b24837;
  border-color: #b24837;
  transform: translateY(4px);
}

.hero-rail {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  display: flex;
  width: clamp(112px, 13vw, 220px);
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #35120d;
  background: #aa4332;
  border-left: 6px solid #17100e;
}

.hero-rail span {
  writing-mode: vertical-rl;
  font-size: clamp(70px, 10vh, 128px);
  line-height: 0.8;
  font-weight: 950;
}

.hero-rail small {
  position: absolute;
  right: 12px;
  bottom: 22px;
  font-size: 9px;
  font-weight: 850;
  writing-mode: vertical-rl;
}

@media (max-width: 820px) {
  .home-page .site-header {
    height: 64px;
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .home-page .menu-toggle {
    display: grid;
    grid-column: 2;
    place-items: center;
  }

  .home-page .site-nav {
    top: 64px;
    gap: 0;
  }

  .hero-stage {
    inset: 0 0 78px;
  }

  .hero-art {
    top: 27%;
    right: 20px;
    left: 20px;
    height: 41%;
  }

  .hero-title-wrap {
    top: 20%;
    left: 20px;
  }

  .hero-title-wrap p {
    margin-bottom: 14px;
  }

  .hero-title-wrap h1 {
    font-size: clamp(52px, 14vw, 102px);
    line-height: 0.82;
  }

  .hero-signature {
    left: 26px;
    bottom: 25%;
    font-size: clamp(52px, 15vw, 88px);
  }

  .hero-caption {
    right: 20px;
    bottom: 12%;
    left: 20px;
    grid-template-columns: auto 1fr;
    gap: 12px 22px;
  }

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

  .hero-enter {
    right: 20px;
    bottom: 2%;
  }

  .hero-rail {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 78px;
    justify-content: flex-start;
    padding: 0 20px;
    border-top: 6px solid #17100e;
    border-left: 0;
  }

  .hero-rail span {
    font-size: clamp(38px, 12vw, 66px);
    line-height: 1;
    writing-mode: horizontal-tb;
  }

  .hero-rail small {
    right: 20px;
    bottom: auto;
    writing-mode: horizontal-tb;
  }
}

@media (max-width: 480px) {
  .home-page .hero {
    min-height: 100svh;
  }

  .hero-art {
    top: 29%;
    height: 36%;
  }

  .hero-title-wrap {
    top: 21%;
  }

  .hero-title-wrap h1 {
    max-width: 340px;
  }

  .hero-title-wrap h1 span {
    display: block;
  }

  .hero-signature {
    bottom: 27%;
  }

  .hero-caption {
    bottom: 14%;
  }

  .hero-enter {
    bottom: 2%;
  }
}

/* Portfolio cover with fluted frosted glass */
.home-page .site-header {
  top: 20px;
  right: clamp(28px, 4vw, 64px);
  left: clamp(28px, 4vw, 64px);
  width: auto;
  height: 54px;
  grid-template-columns: auto 1fr auto;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 clamp(28px, 4vw, 64px);
  background: rgba(5, 6, 6, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.home-page .brand {
  display: inline-flex;
}

.home-page .brand-mark {
  display: none;
}

.home-page .brand-copy {
  display: inline;
  color: #f5f3ef;
  font-size: 11px;
  font-weight: 700;
}

.home-page .site-nav {
  grid-column: 2;
  justify-self: center;
  gap: clamp(28px, 4vw, 60px);
}

.home-page .site-nav a {
  color: rgba(245, 243, 239, 0.62);
  font-size: 11px;
  font-weight: 600;
}

.home-page .site-nav a::after {
  background: #f2f0ec;
}

.home-page .header-action {
  display: inline-flex;
  padding: 0;
  color: #f5f3ef;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
}

.home-page .header-action:hover {
  color: rgba(245, 243, 239, 0.62);
  background: transparent;
  transform: none;
}

.home-page .hero {
  position: relative;
  display: block;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  padding: 12px;
  overflow: hidden;
  color: #f5f3ef;
  background: #242424;
}

.home-page .hero::before,
.home-page .hero::after {
  display: none;
}

.portfolio-hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #030404;
  border: 1px solid #343434;
}

.portfolio-hero-meta {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: clamp(28px, 4vw, 60px);
  left: clamp(28px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr auto;
  align-items: center;
  color: rgba(245, 243, 239, 0.48);
  font-size: 9px;
  font-weight: 600;
  pointer-events: none;
}

.portfolio-hero-meta span:first-child {
  opacity: 0;
}

.portfolio-hero-meta a {
  color: #f5f3ef;
  pointer-events: auto;
}

.portfolio-hero-heading {
  position: absolute;
  z-index: 3;
  top: clamp(68px, 9vh, 92px);
  right: clamp(28px, 4vw, 60px);
  left: clamp(28px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-hero-heading h1 {
  max-width: none;
  margin: 0;
  color: #f5f3ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(112px, 15vw, 248px);
  line-height: 0.78;
  font-weight: 400;
}

.portfolio-seal {
  display: flex;
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 3.4 / 1;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 24px 1vw 0 32px;
  border: 1px solid rgba(245, 243, 239, 0.48);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease;
}

.portfolio-seal strong {
  font-size: 12px;
  font-weight: 600;
}

.portfolio-seal small {
  margin-top: 5px;
  color: rgba(245, 243, 239, 0.42);
  font-size: 9px;
}

.portfolio-seal:hover {
  color: #080909;
  background: #f5f3ef;
}

.portfolio-seal:hover small {
  color: rgba(8, 9, 9, 0.58);
}

.glass-stack {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 4vw, 60px);
  bottom: clamp(22px, 3vh, 36px);
  left: clamp(28px, 4vw, 60px);
  height: clamp(330px, 50vh, 540px);
}

.glass-sheet {
  position: absolute;
  top: -18px;
  right: 34px;
  bottom: 0;
  left: 34px;
  background: rgba(164, 166, 166, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 4px 4px;
}

.glass-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #171817;
  background: linear-gradient(105deg, rgba(237, 237, 231, 0.88), rgba(217, 219, 214, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px 18px 4px 4px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px) saturate(0.72);
}

.glass-card::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, rgba(63, 65, 63, 0.08) 3px 7px, rgba(255, 255, 255, 0.06) 8px 13px);
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.glass-portrait {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.glass-portrait::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(233, 233, 227, 0.94) 0 23%, transparent 40% 62%, rgba(233, 233, 227, 0.92) 80% 100%);
  content: "";
}

.glass-portrait img {
  position: absolute;
  top: -12%;
  left: 50%;
  width: min(56%, 620px);
  height: 120%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  filter: blur(2px) saturate(0.62) contrast(0.94);
  transform: translateX(-50%) scale(1.06);
}

.glass-ridges {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 3px, rgba(70, 65, 59, 0.18) 5px 9px, rgba(255, 255, 255, 0.08) 11px 17px);
  backdrop-filter: blur(3px);
  opacity: 0.68;
  mix-blend-mode: overlay;
}

.glass-intro,
.glass-copy,
.glass-enter {
  position: absolute;
  z-index: 4;
}

.glass-intro {
  top: 34px;
  left: 24px;
}

.glass-intro small,
.glass-intro strong,
.glass-intro p {
  display: block;
}

.glass-intro small {
  font-size: 9px;
}

.glass-intro strong {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.glass-intro p {
  margin: 7px 0 0;
  font-size: 11px;
}

.glass-copy {
  top: 31%;
  right: clamp(24px, 4vw, 64px);
  width: min(25%, 300px);
}

.glass-copy p {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.5;
}

.glass-copy small {
  display: block;
  margin-top: 28px;
  color: rgba(23, 24, 23, 0.64);
  font-size: 9px;
  line-height: 1.7;
}

.glass-enter {
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 750;
}

.glass-enter b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(23, 24, 23, 0.46);
  border-radius: 50%;
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.glass-enter:hover b {
  color: #f5f3ef;
  background: #171817;
  transform: translate(2px, 2px);
}

@media (max-width: 920px) {
  .home-page .site-header {
    top: 12px;
    right: 28px;
    left: 28px;
  }

  .portfolio-hero-heading h1 {
    font-size: clamp(92px, 17vw, 150px);
  }

  .portfolio-seal {
    width: 210px;
  }

  .glass-portrait img {
    width: 70%;
  }

  .glass-copy {
    width: 30%;
  }
}

@media (max-width: 820px) {
  .home-page .site-header {
    right: 20px;
    left: 20px;
    grid-template-columns: 1fr auto;
  }

  .home-page .site-header.is-scrolled {
    padding: 0 20px;
  }

  .home-page .brand-copy {
    display: inline;
  }

  .home-page .header-action {
    display: none;
  }

  .home-page .menu-toggle {
    display: grid;
    grid-column: 2;
    justify-self: end;
    place-items: center;
  }

  .home-page .site-nav {
    top: 58px;
    gap: 0;
  }

  .portfolio-hero-meta {
    top: 26px;
    right: 18px;
    left: 18px;
    grid-template-columns: 1fr auto;
  }

  .portfolio-hero-meta span:nth-child(2),
  .portfolio-hero-meta span:nth-child(3) {
    display: none;
  }

  .portfolio-hero-heading {
    top: 82px;
    right: 18px;
    left: 18px;
    display: block;
  }

  .portfolio-hero-heading h1 {
    font-size: clamp(72px, 23vw, 132px);
    line-height: 0.84;
  }

  .portfolio-seal {
    position: absolute;
    top: 102px;
    right: 0;
    width: 170px;
    margin: 0;
  }

  .glass-stack {
    right: 18px;
    bottom: 18px;
    left: 18px;
    height: 55%;
    min-height: 370px;
  }

  .glass-sheet {
    right: 14px;
    left: 14px;
  }

  .glass-portrait img {
    top: 2%;
    width: 112%;
    height: 86%;
    object-position: center top;
  }

  .glass-portrait::before {
    background: linear-gradient(180deg, rgba(233, 233, 227, 0.28), transparent 30% 58%, rgba(233, 233, 227, 0.96) 84% 100%);
  }

  .glass-intro {
    top: 22px;
    left: 18px;
  }

  .glass-copy {
    top: auto;
    right: 18px;
    bottom: 65px;
    left: 18px;
    width: auto;
  }

  .glass-copy p {
    max-width: 245px;
    font-size: 15px;
  }

  .glass-copy small {
    display: none;
  }

  .glass-enter {
    right: 18px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .home-page .hero {
    padding: 8px;
  }

  .portfolio-hero-heading {
    top: 92px;
  }

  .portfolio-hero-heading h1 {
    font-size: clamp(68px, 24vw, 94px);
  }

  .portfolio-seal {
    top: 82px;
    width: 150px;
  }

  .glass-stack {
    right: 12px;
    bottom: 12px;
    left: 12px;
    height: 57%;
    min-height: 350px;
  }

  .glass-card,
  .glass-sheet {
    border-radius: 14px 14px 3px 3px;
  }
}

/* Graphic portfolio cover */
.home-page .site-header {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 72px;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 clamp(18px, 3vw, 48px);
  color: #111312;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  height: 64px;
  padding: 0 clamp(18px, 3vw, 48px);
  color: #f6f5f1;
  background: rgba(8, 10, 9, 0.94);
}

.home-page .brand {
  display: inline-flex;
  justify-self: start;
  max-width: 90px;
}

.home-page .brand-copy {
  color: currentColor;
  font-size: 10px;
  line-height: 1.05;
}

.home-page .brand-copy::before {
  display: block;
  content: "DESIGN";
}

.home-page .site-nav {
  grid-column: 2;
  justify-self: center;
  gap: clamp(28px, 7vw, 110px);
}

.home-page .site-nav a {
  color: currentColor;
  font-size: 12px;
  font-weight: 650;
}

.home-page .site-nav a::before {
  content: "[";
}

.home-page .site-nav a::after {
  position: static;
  display: inline;
  width: auto;
  height: auto;
  color: currentColor;
  background: none;
  content: "]";
  transform: none;
}

.home-page .header-action {
  display: inline-flex;
  justify-self: end;
  padding: 0 0 5px;
  color: currentColor;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-size: 10px;
}

.home-page .header-action::before {
  content: "KEEP EXPLORING  ↙";
  font-size: 10px;
}

.home-page .header-action {
  font-size: 0;
}

.home-page .header-action:hover {
  color: #ef684e;
  background: transparent;
  transform: none;
}

.home-page .hero {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  padding: 0;
  color: #111312;
  background: #f3f3f1;
}

.graphic-hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f3f3f1;
}

.graphic-grid {
  position: absolute;
  z-index: 1;
  top: 34.5%;
  right: 3%;
  left: 3%;
  height: 20%;
  border-top: 1px solid rgba(17, 19, 18, 0.56);
  border-bottom: 1px solid rgba(17, 19, 18, 0.56);
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(17, 19, 18, 0.36) calc(10% - 1px) 10%);
}

.graphic-grid::before,
.graphic-grid::after {
  position: absolute;
  top: -8px;
  width: 1px;
  height: calc(100% + 16px);
  background: #111312;
  content: "";
}

.graphic-grid::before {
  left: 0;
}

.graphic-grid::after {
  right: 0;
}

.graphic-word {
  position: absolute;
  z-index: 2;
  top: 34.5%;
  right: 2.8%;
  left: 2.8%;
  height: 20%;
}

.graphic-word h1 {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: #060807;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(108px, 16.7vw, 292px);
  line-height: 0.72;
  font-weight: 900;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.graphic-character {
  position: absolute;
  z-index: 4;
  top: 8%;
  bottom: 2%;
  left: 50%;
  width: min(49vw, 700px);
  overflow: hidden;
  transform: translateX(-50%) !important;
  pointer-events: none;
}

.graphic-character img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.12) brightness(1.02);
  mix-blend-mode: multiply;
  transform: translateX(-50%);
}

.graphic-character::after {
  position: absolute;
  z-index: 3;
  right: 13%;
  top: 49%;
  width: 10px;
  height: 32%;
  background: #ef684e;
  border-radius: 5px;
  content: "";
  transform: rotate(-9deg);
}

.character-accent {
  position: absolute;
  z-index: 3;
  top: 72%;
  left: 32%;
  width: 42px;
  height: 14px;
  background: #ef684e;
  transform: rotate(8deg);
}

.graphic-cn,
.graphic-note,
.graphic-explore,
.graphic-index {
  position: absolute;
  z-index: 5;
}

.graphic-cn {
  top: 58%;
  left: 3%;
  margin: 0;
  font-family: "Songti SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 700;
}

.graphic-note {
  top: 60%;
  right: 4%;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
}

.graphic-explore {
  right: 3%;
  bottom: 3%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 5px;
  border-bottom: 1px solid #111312;
  font-size: 10px;
  font-weight: 750;
}

.graphic-explore b {
  color: #ef684e;
  font-size: 16px;
}

.graphic-index {
  bottom: 3%;
  left: 3%;
  display: flex;
  gap: 24px;
  color: rgba(17, 19, 18, 0.64);
  font-size: 9px;
  font-weight: 650;
}

@media (max-width: 900px) {
  .home-page .site-nav {
    gap: 28px;
  }

  .graphic-character {
    width: 62vw;
  }
}

@media (max-width: 820px) {
  .home-page .site-header {
    height: 62px;
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .home-page .site-header.is-scrolled {
    padding: 0 16px;
  }

  .home-page .menu-toggle {
    display: grid;
    grid-column: 2;
    justify-self: end;
    color: #111312;
    border-color: rgba(17, 19, 18, 0.34);
  }

  .home-page .site-header.is-scrolled .menu-toggle {
    color: #f6f5f1;
    border-color: rgba(246, 245, 241, 0.34);
  }

  .home-page .header-action {
    display: none;
  }

  .home-page .site-nav {
    top: 62px;
    gap: 0;
    color: #f6f5f1;
  }

  .graphic-grid,
  .graphic-word {
    top: 30%;
    height: 17%;
  }

  .graphic-word h1 {
    font-size: clamp(65px, 20vw, 120px);
  }

  .graphic-character {
    top: 9%;
    bottom: 9%;
    width: 92vw;
  }

  .graphic-character img {
    width: 100%;
    object-position: center bottom;
  }

  .graphic-cn {
    top: 52%;
    font-size: 20px;
  }

  .graphic-note {
    top: 55%;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .graphic-grid,
  .graphic-word {
    top: 31%;
    right: 4%;
    left: 4%;
    height: 15%;
  }

  .graphic-word h1 {
    font-size: clamp(58px, 20vw, 84px);
  }

  .graphic-character {
    top: 12%;
    bottom: 8%;
    width: 116vw;
  }

  .graphic-cn {
    top: 49%;
    left: 4%;
    font-size: 18px;
  }

  .graphic-note {
    top: 55%;
    right: 4%;
  }

  .graphic-index {
    left: 4%;
    flex-direction: column;
    gap: 4px;
  }

  .graphic-explore {
    right: 4%;
  }
}

/* Red typographic portfolio cover */
.home-page .site-header {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 72px;
  grid-template-columns: auto 1fr auto;
  padding: 0 clamp(24px, 4vw, 72px);
  color: #f1e9df;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.home-page .site-header.is-scrolled {
  height: 64px;
  padding: 0 clamp(24px, 4vw, 72px);
  color: #f1e9df;
  background: rgba(29, 12, 14, 0.98);
  border-bottom: 1px solid rgba(241, 233, 223, 0.14);
  backdrop-filter: none;
}

.home-page .brand {
  display: inline-flex;
  gap: 12px;
}

.home-page .brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fffaf2;
  background: transparent;
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 0 0 4px rgba(255, 250, 242, 0.05);
}

.home-page .brand-copy {
  color: #fffaf2;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  text-shadow: 0 1px 12px rgba(38, 4, 8, 0.34);
}

.home-page .brand-copy::before {
  display: none;
}

.home-page .site-nav {
  grid-column: 2;
  justify-self: center;
  gap: clamp(26px, 4.4vw, 72px);
}

.home-page .site-nav a {
  padding: 10px 5px 12px;
  color: rgba(241, 233, 223, 0.72);
  font-size: clamp(15px, 1.05vw, 16px);
  font-weight: 680;
  letter-spacing: 0;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.home-page .site-nav a::before {
  content: "";
}

.home-page .site-nav a::after {
  position: absolute;
  display: block;
  right: 10%;
  bottom: 2px;
  left: 10%;
  width: auto;
  height: 2px;
  background: #fffaf4;
  border-radius: 2px;
  box-shadow: 0 1px 7px rgba(29, 12, 14, 0.48);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
}

.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible {
  color: #fffaf4;
  text-shadow: 0 0 14px rgba(255, 250, 244, 0.2);
  transform: translateY(-2px);
}

.home-page .site-nav a.is-active {
  color: #fffaf4;
  font-weight: 820;
  text-shadow: 0 0 18px rgba(226, 60, 53, 0.18);
}

.home-page .site-nav a:hover::after,
.home-page .site-nav a:focus-visible::after {
  transform: scaleX(0.58);
}

.home-page .site-nav a.is-active::after {
  transform: scaleX(1);
}

.home-page .site-header.is-scrolled .site-nav a::after {
  background: #e23c35;
  box-shadow: 0 0 10px rgba(226, 60, 53, 0.46);
}

.home-page .site-nav a:focus-visible {
  outline: 1px solid rgba(241, 233, 223, 0.48);
  outline-offset: 4px;
  border-radius: 2px;
}

.home-page .header-action {
  display: inline-flex;
  padding: 9px 14px;
  color: #f1e9df;
  background: rgba(16, 13, 15, 0.16);
  border: 1px solid rgba(241, 233, 223, 0.34);
  border-radius: 2px;
  font-size: 10px;
}

.home-page .header-action::before {
  display: none;
}

.home-page .header-action:hover {
  color: #231013;
  background: #f1e9df;
  transform: translateY(-2px);
}

.home-page .hero {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  padding: 0;
  color: #f1e9df;
  background: #9b171c;
}

.red-hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 26%, rgba(233, 53, 45, 0.66), transparent 42%),
    linear-gradient(180deg, #d01e22 0%, #a81920 61%, #271419 100%);
}

.red-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.12));
  content: "";
  pointer-events: none;
}

.red-hero-noise {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: url("./assets/hero-noise.png");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.34;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.blinking-dots-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  mix-blend-mode: screen;
  pointer-events: none;
}

.rising-lines-canvas {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 58%;
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.red-hero-noise::before,
.red-hero-noise::after {
  position: absolute;
  inset: -50%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0 0.65px, transparent 0.95px),
    radial-gradient(circle, rgba(0, 0, 0, 0.52) 0 0.65px, transparent 0.95px);
  background-position: 0 0, 3px 3px;
  background-size: 5px 5px;
  content: "";
  transform: rotate(0.001deg);
}

.red-hero-noise::after {
  background-size: 7px 7px;
  opacity: 0.34;
  transform: translate(2px, 1px);
}

.red-hero-stage {
  position: absolute;
  z-index: 3;
  top: 16%;
  right: clamp(54px, 7vw, 126px);
  left: clamp(54px, 7vw, 126px);
  height: 51%;
}

.red-hero-outline {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(241, 233, 223, 0.12);
}

.red-hero-outline::before,
.red-hero-outline::after {
  position: absolute;
  background: rgba(241, 233, 223, 0.18);
  content: "";
}

.red-hero-outline::before {
  top: 18%;
  bottom: 18%;
  left: 50%;
  width: 1px;
}

.red-hero-outline::after {
  top: 50%;
  right: 5%;
  left: 5%;
  height: 1px;
}

.red-hero-kicker {
  position: absolute;
  z-index: 3;
  top: 9%;
  right: 0;
  left: 0;
  margin: 0;
  color: #f4eee6;
  font-size: clamp(11px, 1.05vw, 18px);
  font-weight: 800;
  text-align: center;
}

.red-hero-monogram {
  position: absolute;
  z-index: 1;
  inset: -12% -2% -4%;
  overflow: hidden;
  color: rgba(10, 14, 16, 0.79);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(150px, 19vw, 330px);
  line-height: 0.86;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  transform: scaleX(1.08);
  transform-origin: center;
}

.red-hero-monogram::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 15%, rgba(214, 31, 33, 0.4) 38%, transparent 57%, rgba(214, 31, 33, 0.35) 78%, transparent 92%);
  content: "";
}

.red-hero-title {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 7%;
  left: 7%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: clamp(18px, 3vw, 52px);
  align-items: baseline;
  transform: translateY(-50%);
}

.red-hero-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: 1;
}

.red-hero-title h1 {
  margin: 0;
  color: #f4eee6;
  font-size: clamp(38px, 5.5vw, 90px);
  line-height: 0.9;
  font-weight: 900;
  white-space: nowrap;
}

.red-hero-cn {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: clamp(25px, 3.2vw, 54px);
  font-weight: 800;
  white-space: nowrap;
}

.red-hero-subtitle {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 12%;
  left: 0;
  margin: 0;
  color: rgba(244, 238, 230, 0.86);
  font-size: clamp(12px, 1.25vw, 20px);
  font-weight: 600;
  text-align: center;
}

.red-hero-footer {
  position: absolute;
  z-index: 5;
  right: clamp(54px, 8vw, 152px);
  bottom: 10%;
  left: clamp(54px, 8vw, 152px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  color: rgba(230, 58, 51, 0.92);
  font-size: clamp(10px, 1vw, 17px);
  font-weight: 850;
}

.red-hero-footer span:nth-child(2) {
  text-align: center;
}

.red-hero-footer span:last-child {
  text-align: right;
}

.red-hero-enter {
  position: absolute;
  z-index: 5;
  top: 88px;
  right: clamp(24px, 3.5vw, 64px);
  display: flex;
  width: 64px;
  height: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f1e9df;
  background: rgba(22, 18, 20, 0.82);
  border: 1px solid rgba(241, 233, 223, 0.2);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.red-hero-enter b {
  margin-top: 2px;
  color: #e23c35;
  font-size: 13px;
}

.red-hero-enter:hover {
  color: #231013;
  background: #f1e9df;
  transform: rotate(8deg);
}

.red-hero-counter {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 9%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(241, 233, 223, 0.5);
  font-size: 8px;
}

.red-hero-counter i {
  width: 1px;
  height: 42px;
  background: rgba(241, 233, 223, 0.36);
}

@media (max-width: 980px) {
  .red-hero-title {
    right: 4%;
    left: 4%;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .red-hero-title h1 {
    font-size: clamp(34px, 5.2vw, 54px);
  }
}

@media (max-width: 820px) {
  .home-page .site-header {
    height: 64px;
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .home-page .site-header.is-scrolled {
    padding: 0 18px;
  }

  .home-page .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .home-page .brand-copy {
    display: inline;
    font-size: 11px;
  }

  .home-page .header-action {
    display: none;
  }

  .home-page .menu-toggle {
    display: grid;
    grid-column: 2;
    justify-self: end;
    place-items: center;
    color: #f1e9df;
    border-color: rgba(241, 233, 223, 0.34);
  }

  .home-page .site-nav {
    top: 64px;
    width: 100%;
    gap: 0;
    justify-self: stretch;
    padding: 10px 20px 22px;
    background: rgba(29, 12, 14, 0.98);
  }

  .home-page .site-nav a {
    padding: 17px 0;
    font-size: 16px;
  }

  .home-page .site-nav a::after {
    right: auto;
    bottom: 8px;
    left: 0;
    width: 34px;
  }

  .red-hero-stage {
    top: 15%;
    right: 20px;
    left: 20px;
    height: 56%;
  }

  .red-hero-monogram {
    top: 0;
    right: -10%;
    bottom: 0;
    left: -10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(76px, 25vw, 150px);
    line-height: 1;
    transform: rotate(-90deg) scaleX(1.18);
  }

  .red-hero-title {
    top: 46%;
    right: 8%;
    left: 8%;
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .red-hero-serif {
    font-size: clamp(38px, 11vw, 62px);
  }

  .red-hero-title h1 {
    font-size: clamp(33px, 9.8vw, 52px);
    white-space: normal;
  }

  .red-hero-cn {
    margin-top: 4px;
    font-size: 24px;
  }

  .red-hero-subtitle {
    right: 8%;
    bottom: 9%;
    left: 8%;
    font-size: 12px;
    line-height: 1.6;
  }

  .red-hero-kicker {
    top: 6%;
    font-size: 9px;
  }

  .red-hero-footer {
    right: 24px;
    bottom: 7%;
    left: 24px;
    grid-template-columns: 1fr 1fr;
    gap: 7px 20px;
    font-size: 9px;
  }

  .red-hero-footer span:nth-child(2) {
    text-align: right;
  }

  .red-hero-footer span:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

  .red-hero-enter {
    top: 76px;
    right: 18px;
    width: 54px;
    height: 54px;
  }

  .red-hero-counter {
    display: none;
  }
}

@media (max-width: 480px) {
  .red-hero-stage {
    top: 16%;
    height: 55%;
  }

  .red-hero-title h1 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .red-hero-enter {
    top: 74px;
  }
}

/* Fine-tuned fashion-poster treatment */
.red-hero {
  background:
    radial-gradient(ellipse at 50% 17%, rgba(247, 50, 43, 0.56) 0%, rgba(225, 28, 31, 0.24) 34%, transparent 62%),
    linear-gradient(180deg, #d7191f 0%, #c51920 49%, #7d1a20 70%, #171317 100%);
}

.red-hero::before {
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(20, 10, 12, 0.19) 100%),
    linear-gradient(180deg, rgba(255, 67, 52, 0.08), transparent 44%, rgba(6, 7, 9, 0.24) 100%);
}

.red-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 10, 0.1), transparent 18%, transparent 82%, rgba(7, 8, 10, 0.13));
  content: "";
  pointer-events: none;
}

.red-hero-noise {
  background-image: url("./assets/hero-ps-noise.png");
  background-repeat: repeat;
  background-size: 512px 512px;
  opacity: 0.39;
  mix-blend-mode: overlay;
}

.red-hero-noise::before,
.red-hero-noise::after {
  display: none;
}

.red-hero-stage {
  top: 15.5%;
  right: clamp(38px, 5vw, 96px);
  left: clamp(38px, 5vw, 96px);
  height: 50.5%;
}

.red-hero-outline {
  border-color: rgba(245, 237, 228, 0.08);
}

.red-hero-outline::before,
.red-hero-outline::after {
  background: rgba(245, 237, 228, 0.1);
}

.red-hero-kicker {
  top: 10.5%;
  font-size: clamp(10px, 1.05vw, 17px);
  font-weight: 780;
  letter-spacing: 0.34em;
}

.red-hero-monogram {
  inset: -23% -12% -17%;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 246, 242, 0.28) 0%, rgba(91, 15, 23, 0.5) 12%, rgba(25, 8, 13, 0.48) 39%, rgba(164, 29, 34, 0.32) 57%, rgba(24, 8, 13, 0.58) 82%, rgba(255, 235, 228, 0.16) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(41, 9, 15, 0.52) 24%, rgba(197, 38, 41, 0.2) 48%, rgba(36, 8, 14, 0.54) 72%, rgba(255, 247, 243, 0.08));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(220px, 25.5vw, 470px);
  line-height: 0.68;
  font-weight: 900;
  letter-spacing: -0.035em;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 236, 230, 0.28);
  filter: drop-shadow(0 18px 16px rgba(18, 7, 10, 0.4)) drop-shadow(0 3px 2px rgba(255, 223, 215, 0.06));
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.3),
    1px 0 0 rgba(255, 235, 230, 0.12),
    0 3px 1px rgba(28, 7, 12, 0.58),
    0 22px 42px rgba(12, 6, 8, 0.42);
  transform: scaleX(0.9);
}

.red-hero-monogram::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, transparent 7%, transparent 45%, rgba(255, 239, 233, 0.22) 49%, transparent 55%, transparent 91%, rgba(255, 255, 255, 0.26) 100%),
    linear-gradient(96deg, transparent 9%, rgba(255, 255, 255, 0.32) 12%, transparent 16%, transparent 42%, rgba(255, 255, 255, 0.18) 45%, transparent 49%, transparent 77%, rgba(255, 255, 255, 0.24) 80%, transparent 84%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  content: attr(data-text);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 248, 244, 0.18);
  filter: blur(0.2px);
  mix-blend-mode: normal;
  opacity: 0.5;
  pointer-events: none;
}

.red-hero-monogram::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  content: attr(data-text);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 3px rgba(28, 7, 12, 0.36);
  filter: blur(1px);
  transform: translateY(3px);
  pointer-events: none;
}

/* Hero-only staged entrance */
.home-page .site-header {
  animation: hero-nav-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 180ms backwards;
}

.red-hero-noise {
  animation: hero-noise-in 1100ms ease 80ms backwards;
}

.red-hero-stage {
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.red-hero.is-scroll-paused .red-hero-stage {
  transition-duration: 0ms;
}

.red-hero.is-scroll-paused .red-hero-monogram > span,
.red-hero.is-scroll-paused .red-hero-title > [data-dissolve-text],
.red-hero.is-scroll-paused .red-hero-title > [data-dissolve-text]::after,
.red-hero.is-scroll-paused .red-hero-portfolio-cta b {
  animation-play-state: paused;
}

.red-hero.is-scroll-paused .red-hero-title > [data-dissolve-text] {
  filter: none;
}

.red-hero.is-scroll-paused .red-hero-title > [data-dissolve-text]::after {
  opacity: 0;
}

.red-hero-stage::after {
  position: absolute;
  z-index: 6;
  top: -18%;
  bottom: -18%;
  left: -34%;
  display: none;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(255, 239, 231, 0.18), rgba(255, 255, 255, 0.36), transparent);
  content: "";
  filter: blur(10px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: skewX(-14deg);
  animation: none;
}

.red-hero-outline {
  animation: hero-outline-in 900ms ease 140ms backwards;
}

.red-hero-outline::before {
  transform-origin: top center;
  animation: hero-line-vertical 820ms cubic-bezier(0.22, 1, 0.36, 1) 420ms backwards;
}

.red-hero-outline::after {
  transform-origin: left center;
  animation: hero-line-horizontal 980ms cubic-bezier(0.22, 1, 0.36, 1) 300ms backwards;
}

.red-hero-kicker {
  animation: hero-copy-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 760ms backwards;
}

.red-hero-monogram {
  background: none;
  -webkit-text-fill-color: initial;
}

.red-hero-monogram > span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #090d10 0%, var(--letter-wine, #61171b) 54%, #0a0e11 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  clip-path: inset(0);
  filter: blur(0);
  opacity: 1;
  transform: none;
  animation: hero-letter-in 880ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.red-hero-monogram > span:nth-child(1) {
  --letter-wine: #71181c;
  background: linear-gradient(155deg, #090d10 0%, #1e0e13 24%, #4b1319 48%, var(--letter-wine) 61%, #1a0d12 82%, #0a0e11 100%);
  background-clip: text;
  -webkit-background-clip: text;
  margin-right: -0.03em;
  animation-delay: 260ms;
}
.red-hero-monogram > span:nth-child(2) { --letter-wine: #56151a; animation-delay: 350ms; }
.red-hero-monogram > span:nth-child(3) { --letter-wine: #71181c; animation-delay: 440ms; }
.red-hero-monogram > span:nth-child(4) { --letter-wine: #2d1016; animation-delay: 530ms; }
.red-hero-monogram > span:nth-child(5) { --letter-wine: #6b171b; animation-delay: 620ms; }
.red-hero-monogram > span:nth-child(6) { --letter-wine: #3b1217; animation-delay: 710ms; }
.red-hero-monogram > span:nth-child(7) { --letter-wine: #67171b; animation-delay: 800ms; }
.red-hero-monogram > span:nth-child(8) { --letter-wine: #2c1015; animation-delay: 890ms; }
.red-hero-monogram > span:nth-child(9) { --letter-wine: #59151a; animation-delay: 980ms; }

.red-hero-title > [data-dissolve-text] {
  opacity: 1;
  animation: hero-title-in 760ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.red-hero-title > [data-dissolve-text]:nth-child(1) {
  animation-delay: 1080ms;
}

.red-hero-title > [data-dissolve-text]:nth-child(2) {
  animation-delay: 1240ms;
}

.red-hero-title > [data-dissolve-text]:nth-child(3) {
  animation-delay: 1400ms;
}

.red-hero-title > [data-dissolve-text]::after {
  animation: hero-ghost-flicker 5.8s steps(1, end) 2600ms infinite;
}

.red-hero-subtitle {
  animation: hero-copy-in 700ms cubic-bezier(0.22, 1, 0.36, 1) 1660ms backwards;
}

.red-hero-portfolio-cta {
  animation: hero-cta-in 760ms cubic-bezier(0.16, 1, 0.3, 1) 1000ms backwards;
}

.red-hero-portfolio-cta b {
  animation: hero-cta-pulse 3.8s ease-in-out 2500ms infinite;
}

.red-hero-footer span {
  animation: hero-footer-in 680ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.red-hero-footer span:nth-child(1) { animation-delay: 2060ms; }
.red-hero-footer span:nth-child(2) { animation-delay: 2160ms; }
.red-hero-footer span:nth-child(3) { animation-delay: 2260ms; }

.red-hero-counter {
  animation: hero-footer-in 680ms cubic-bezier(0.22, 1, 0.36, 1) 2320ms backwards;
}

@keyframes hero-nav-in {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-noise-in {
  from { opacity: 0; }
}

@keyframes hero-outline-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-line-vertical {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes hero-line-horizontal {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes hero-letter-in {
  0% {
    clip-path: inset(100% 0 0);
    filter: blur(14px);
    opacity: 0;
    transform: translateY(18%) scaleY(0.74);
  }
  58% {
    filter: blur(2px);
    opacity: 1;
  }
  100% {
    clip-path: inset(0);
    filter: blur(0);
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-title-in {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateX(-28px) skewX(-6deg);
  }
  to {
    clip-path: inset(0);
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-cta-in {
  from { opacity: 0; transform: translate3d(-50%, 24px, 0) scale(0.96); }
  to { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1); }
}

@keyframes hero-footer-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-stage-sweep {
  0%, 4% { opacity: 0; transform: translateX(0) skewX(-14deg); }
  9% { opacity: 0.34; }
  24% { opacity: 0; transform: translateX(820%) skewX(-14deg); }
  100% { opacity: 0; transform: translateX(820%) skewX(-14deg); }
}

@keyframes hero-ghost-flicker {
  0%, 91%, 96%, 100% { opacity: 0.34; transform: translateX(8px) scaleX(1.04) skewX(-2deg); }
  92% { opacity: 0.58; transform: translateX(13px) scaleX(1.08) skewX(-5deg); }
  94% { opacity: 0.16; transform: translateX(4px) scaleX(1.02); }
}

@keyframes hero-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 25, 31, 0); }
  50% { box-shadow: 0 0 0 9px rgba(215, 25, 31, 0.14); }
}

@media (max-width: 820px) {
  .red-hero-stage {
    transform: none;
    transition: none;
    will-change: auto;
  }

  .red-hero-stage::after {
    display: none;
  }

  .red-hero-monogram > span {
    animation-duration: 680ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blinking-dots-canvas,
  .rising-lines-canvas {
    display: none;
  }

  .home-page .site-header,
  .red-hero-noise,
  .red-hero-outline,
  .red-hero-outline::before,
  .red-hero-outline::after,
  .red-hero-kicker,
  .red-hero-monogram > span,
  .red-hero-title > [data-dissolve-text],
  .red-hero-title > [data-dissolve-text]::after,
  .red-hero-subtitle,
  .red-hero-portfolio-cta,
  .red-hero-portfolio-cta b,
  .red-hero-footer span,
  .red-hero-counter {
    animation: none !important;
  }

  .red-hero-stage {
    transform: none;
    transition: none;
  }

  .red-hero-stage::after {
    display: none;
  }
}

.project-nav a.is-active {
  color: #fff;
  font-weight: 800;
}

.project-nav a.is-active::after {
  background: var(--theme-red);
  transform: scaleX(1);
  transform-origin: left;
}

/* Project overview bridge */
.project-page .case-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 7vw, 96px) 0;
  color: var(--theme-white);
  background: #0b0b0b;
  border-top: 1px solid rgba(215, 25, 31, 0.5);
  border-bottom: 1px solid rgba(244, 238, 230, 0.14);
}

.project-page .case-intro-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.project-page .case-intro .eyebrow {
  margin-bottom: 18px;
  color: var(--theme-red);
}

.project-page .case-intro .section-heading h2 {
  max-width: 12em;
  color: var(--theme-white);
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.18;
}

.project-page .case-intro-copy {
  padding-left: clamp(28px, 3vw, 46px);
  border-left: 1px solid rgba(215, 25, 31, 0.44);
}

.project-page .case-intro-copy > p {
  max-width: 38em;
  color: rgba(244, 238, 230, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.project-page .case-legend {
  gap: 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top-color: rgba(244, 238, 230, 0.14);
}

.project-page .case-legend span {
  color: rgba(244, 238, 230, 0.58);
}

.project-page .case-legend i,
.project-page .case-legend span:nth-child(2) i,
.project-page .case-legend span:nth-child(3) i {
  background: var(--theme-red);
}

@media (max-width: 820px) {
  .project-page .case-intro {
    padding: 62px 0;
  }

  .project-page .case-intro-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-page .case-intro .section-heading h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .project-page .case-intro-copy {
    padding: 26px 0 0;
    border-top: 1px solid rgba(215, 25, 31, 0.38);
    border-left: 0;
  }
}

@property --cta-flow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Hero portfolio gateway */
.red-hero-portfolio-cta {
  position: absolute;
  z-index: 6;
  top: 70%;
  left: 50%;
  display: grid;
  width: clamp(340px, 28vw, 410px);
  min-height: 66px;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  padding: 8px 0 8px 34px;
  color: #f4eee6;
  background: rgba(7, 7, 8, 0.96);
  border: 1px solid rgba(207, 214, 219, 0.64);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(25, 4, 8, 0.32);
  transform: translate3d(-50%, 0, 0);
  isolation: isolate;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.red-hero-portfolio-cta::before {
  --cta-flow-angle: 0deg;
  position: absolute;
  z-index: 0;
  inset: -3px;
  padding: 2px;
  background: conic-gradient(
    from var(--cta-flow-angle),
    transparent 0deg 176deg,
    rgba(116, 124, 130, 0.36) 196deg,
    #7f888e 220deg,
    #c8cfd3 252deg,
    #f4f6f7 278deg,
    #d7191f 296deg,
    #ff4a4f 308deg,
    #aeb6bb 326deg,
    transparent 356deg 360deg
  );
  border-radius: inherit;
  content: "";
  filter: drop-shadow(0 0 4px rgba(220, 228, 232, 0.58)) drop-shadow(0 0 9px rgba(177, 187, 193, 0.5)) drop-shadow(0 0 5px rgba(215, 25, 31, 0.5));
  opacity: 1;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: cta-border-flow 2.8s linear infinite;
}

@keyframes cta-border-flow {
  to { --cta-flow-angle: 360deg; }
}

.red-hero-portfolio-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.red-hero-portfolio-cta small {
  color: rgba(244, 238, 230, 0.6);
  font-size: 9px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: 0;
}

.red-hero-portfolio-cta strong {
  font-size: 21px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.red-hero-portfolio-cta b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #f4eee6;
  background: #d7191f;
  border: 1px solid rgba(244, 238, 230, 0.4);
  border-radius: 50%;
  box-shadow: 8px 8px 0 rgba(244, 238, 230, 0.18);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  transform: translateX(12px);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.red-hero-portfolio-cta:hover,
.red-hero-portfolio-cta:focus-visible {
  color: #080808;
  background: #f4eee6;
  border-color: #d7191f;
  box-shadow: 0 20px 38px rgba(25, 4, 8, 0.36);
  transform: translate3d(-50%, -4px, 0);
}

.red-hero-portfolio-cta:hover::before,
.red-hero-portfolio-cta:focus-visible::before {
  filter: drop-shadow(0 0 5px rgba(238, 243, 245, 0.72)) drop-shadow(0 0 12px rgba(180, 190, 196, 0.64)) drop-shadow(0 0 7px rgba(215, 25, 31, 0.72));
  opacity: 1;
}

.red-hero-portfolio-cta:hover small,
.red-hero-portfolio-cta:focus-visible small {
  color: rgba(8, 8, 8, 0.62);
}

.red-hero-portfolio-cta:hover b,
.red-hero-portfolio-cta:focus-visible b {
  color: #f4eee6;
  background: #080808;
  border-color: #d7191f;
  box-shadow: 8px 8px 0 rgba(215, 25, 31, 0.28);
  transform: translate(15px, -3px);
}

@media (max-width: 820px) {
  .red-hero-portfolio-cta {
    top: 74%;
    width: min(calc(100% - 40px), 350px);
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) 54px;
    padding: 7px 0 7px 28px;
  }

  .red-hero-portfolio-cta strong {
    font-size: 18px;
  }

  .red-hero-portfolio-cta b {
    width: 46px;
    height: 46px;
    transform: translateX(11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .red-hero-portfolio-cta::before {
    background: linear-gradient(110deg, #7f888e, #f4f6f7 58%, #d7191f 78%, #aeb6bb);
    animation: none;
  }
}

/* Compact home-page portfolio gateway */
.home-page .portfolio-showcase {
  min-height: 0;
}

.home-page .portfolio-overview {
  min-height: min(720px, 82vh);
}

.portfolio-entry-button {
  position: relative;
  display: grid;
  width: clamp(340px, 28vw, 410px);
  min-height: 66px;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  margin-top: 38px;
  padding: 8px 0 8px 34px;
  color: #f4eee6;
  background: rgba(7, 7, 8, 0.92);
  border: 1px solid rgba(244, 238, 230, 0.88);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(25, 4, 8, 0.32);
  isolation: isolate;
  backdrop-filter: blur(10px);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-entry-button small {
  color: rgba(244, 238, 230, 0.6);
  font-size: 9px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: 0;
}

.portfolio-entry-button strong {
  font-size: 21px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.portfolio-entry-button b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #f4eee6;
  background: #d7191f;
  border: 1px solid rgba(244, 238, 230, 0.4);
  border-radius: 50%;
  box-shadow: 8px 8px 0 rgba(244, 238, 230, 0.18);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  transform: translateX(12px);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-entry-button:hover,
.portfolio-entry-button:focus-visible {
  color: #080808;
  background: #f4eee6;
  border-color: #d7191f;
  box-shadow: 0 20px 38px rgba(25, 4, 8, 0.36);
  transform: translateY(-4px);
}

.portfolio-entry-button:hover small,
.portfolio-entry-button:focus-visible small {
  color: rgba(8, 8, 8, 0.62);
}

.portfolio-entry-button:hover b,
.portfolio-entry-button:focus-visible b {
  color: #f4eee6;
  background: #080808;
  border-color: #d7191f;
  box-shadow: 8px 8px 0 rgba(215, 25, 31, 0.28);
  transform: translate(15px, -3px);
}

.project-page .project-header .header-action,
.project-page .next-step .button-primary {
  display: inline-flex;
  min-width: 132px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--theme-white);
  background: #742f34;
  border: 1px solid var(--theme-red);
  border-radius: 4px;
  box-shadow: 0 7px 20px rgba(116, 47, 52, 0.3);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.project-page .project-header .header-action:hover,
.project-page .project-header .header-action:focus-visible,
.project-page .next-step .button-primary:hover,
.project-page .next-step .button-primary:focus-visible {
  color: var(--theme-white);
  background: #8a3439;
  border-color: #ef3036;
  box-shadow: 0 10px 24px rgba(116, 47, 52, 0.42);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .home-page .portfolio-overview {
    min-height: 680px;
  }

  .portfolio-entry-button {
    width: min(100%, 350px);
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) 54px;
    margin-top: 30px;
    padding: 7px 0 7px 28px;
  }

  .portfolio-entry-button strong {
    font-size: 18px;
  }

  .portfolio-entry-button b {
    width: 46px;
    height: 46px;
    transform: translateX(11px);
  }
}

/* Global red / black / white theme */
:root {
  --ink: #080808;
  --ink-soft: #111111;
  --paper: #f4eee6;
  --paper-strong: #ffffff;
  --text: #f4eee6;
  --muted: rgba(244, 238, 230, 0.62);
  --line: rgba(244, 238, 230, 0.16);
  --line-dark: rgba(244, 238, 230, 0.2);
  --mint: #d7191f;
  --mint-deep: #a80f15;
  --yellow: #d7191f;
  --blue: #d7191f;
  --coral: #d7191f;
  --theme-red: #d7191f;
  --theme-black: #080808;
  --theme-white: #f4eee6;
}

body,
.home-page main {
  color: var(--theme-white);
  background: var(--theme-black);
}

::selection {
  color: var(--theme-white);
  background: var(--theme-red);
}

button:focus-visible,
a:focus-visible {
  outline-color: var(--theme-red);
}

.scroll-progress span,
.status-dot,
.portfolio-toggle-arrow,
.achievement-list strong::before {
  background: var(--theme-red);
}

.intro,
.experience,
.section-light.experience {
  color: var(--theme-black);
  background: var(--theme-white);
  border-color: rgba(8, 8, 8, 0.16);
}

.intro .intro-copy h2,
.intro .profile-facts dd,
.experience .section-heading h2,
.experience .experience-meta h3,
.experience .achievement-list strong,
.experience .systems-strip strong {
  color: var(--theme-black);
}

.intro .intro-columns,
.intro .profile-facts,
.intro .profile-facts > div,
.experience .experience-grid,
.experience .experience-meta,
.experience .achievement-list li,
.experience .systems-strip,
.experience .systems-strip > div {
  border-color: rgba(8, 8, 8, 0.18);
}

.intro .intro-columns p,
.intro .profile-facts dt,
.intro .portrait-caption,
.experience .section-heading > p:last-child,
.experience .experience-meta > p:not(.date-range),
.experience .achievement-list p,
.experience .systems-strip p {
  color: rgba(8, 8, 8, 0.62);
}

.intro .intro-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px);
  margin-top: 38px;
  padding-top: 26px;
}

.intro .intro-columns article {
  min-width: 0;
}

.intro .intro-columns article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--theme-red);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.intro .intro-columns p {
  max-width: 34em;
  color: rgba(8, 8, 8, 0.7);
  font-size: 15px;
  line-height: 1.85;
  text-align: left;
}

.intro .profile-facts {
  margin-top: 44px;
}

@media (max-width: 820px) {
  .intro .intro-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro .intro-columns article + article {
    padding-top: 24px;
    border-top: 1px solid rgba(8, 8, 8, 0.14);
  }
}

.intro .portrait-wrap img {
  height: auto;
  aspect-ratio: 2 / 3;
  object-position: center center;
  background: #151515;
  border-color: rgba(8, 8, 8, 0.2);
  filter: none;
}

.intro .portrait-caption,
.eyebrow,
.date-range,
.capability-index,
.process-list li > span,
.systems-strip span,
.portfolio-index nav span {
  color: var(--theme-red);
}

.capabilities,
.process,
.portfolio-showcase,
.portfolio-overview,
.portfolio-continuation,
.portfolio-expanded,
.case-gallery,
.contact,
.site-footer {
  color: var(--theme-white);
  background-color: var(--theme-black);
  border-color: rgba(244, 238, 230, 0.16);
}

.capabilities .section-heading h2,
.capability-list h3,
.process .section-heading h2,
.process-list strong,
.portfolio-overview .section-heading h2,
.contact h2,
.contact-actions strong,
.case-sheet-label h2 {
  color: var(--theme-white);
}

.capabilities .section-heading > p:last-child,
.capability-list p,
.process .section-heading > p:last-child,
.process-list p,
.portfolio-overview .section-heading > p:last-child,
.contact-actions span,
.portfolio-index nav a {
  color: rgba(244, 238, 230, 0.62);
}

.capability-list,
.capability-list article,
.process-list,
.process-list li,
.contact-actions,
.contact-actions :is(a, button),
.portfolio-facts,
.portfolio-facts div,
.portfolio-index,
.portfolio-index nav a,
.case-sheet-label {
  border-color: rgba(244, 238, 230, 0.17);
}

.capability-list article:hover,
.portfolio-index nav a:hover,
.contact-actions :is(a, button):hover {
  color: var(--theme-white);
  background: rgba(215, 25, 31, 0.14);
}

.skill-tag,
.experience-meta > span,
.project-brief span {
  color: rgba(244, 238, 230, 0.52);
  border-color: rgba(215, 25, 31, 0.42);
}

.experience .experience-meta > span,
.experience .project-brief span {
  color: rgba(8, 8, 8, 0.7);
  border-color: rgba(215, 25, 31, 0.46);
}

.portfolio-overview {
  background-image: linear-gradient(rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.96)), url("./assets/boards-dark.png");
}

.portfolio-index {
  background: rgba(8, 8, 8, 0.98);
}

.portfolio-toggle-arrow,
.portfolio-collapse:hover,
.case-sheet-label button:hover,
.contact-actions :is(a, button):hover b {
  color: var(--theme-white);
  background: var(--theme-red);
  border-color: var(--theme-red);
}

.site-footer,
.lightbox,
.lightbox-bar,
.lightbox-stage {
  background-color: var(--theme-black);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  will-change: transform, width, height, opacity, background-color;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--theme-white);
  box-shadow: 0 0 0 1px rgba(8, 8, 8, 0.45);
  transition: opacity 160ms ease;
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid var(--theme-red);
  background: rgba(215, 25, 31, 0.06);
  box-shadow: 0 0 18px rgba(215, 25, 31, 0.22);
  transition: width 180ms ease, height 180ms ease, opacity 160ms ease, background-color 180ms ease, border-color 180ms ease;
}

.cursor-ready .cursor-dot,
.cursor-ready .cursor-ring {
  opacity: 1;
}

.cursor-ring.is-active {
  width: 54px;
  height: 54px;
  border-color: rgba(244, 238, 230, 0.9);
  background: rgba(215, 25, 31, 0.32);
  box-shadow: 0 0 30px rgba(215, 25, 31, 0.38);
}

.cursor-ring.is-pressed {
  width: 18px;
  height: 18px;
  background: rgba(215, 25, 31, 0.7);
}

.home-page .cursor-dot {
  width: 7px;
  height: 7px;
  background: #fffaf4;
  box-shadow: 0 0 0 2px rgba(8, 8, 8, 0.72), 0 0 10px rgba(255, 250, 244, 0.44);
}

.home-page .cursor-ring {
  width: 32px;
  height: 32px;
  background: rgba(8, 8, 8, 0.1);
  border: 2px solid rgba(255, 250, 244, 0.96);
  box-shadow: 0 0 0 1px rgba(8, 8, 8, 0.68), 0 0 16px rgba(255, 250, 244, 0.28), inset 0 0 0 1px rgba(255, 250, 244, 0.12);
}

.home-page .cursor-ring::before,
.home-page .cursor-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fffaf4;
  box-shadow: 0 0 0 1px rgba(8, 8, 8, 0.36);
  content: "";
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease;
}

.home-page .cursor-ring::before {
  width: 10px;
  height: 1px;
}

.home-page .cursor-ring::after {
  width: 1px;
  height: 10px;
}

.home-page .cursor-ring.is-active {
  width: 50px;
  height: 50px;
  background: rgba(8, 8, 8, 0.24);
  border-color: #fffaf4;
  box-shadow: 0 0 0 1px rgba(8, 8, 8, 0.78), 0 0 24px rgba(255, 250, 244, 0.34), inset 0 0 0 1px rgba(255, 250, 244, 0.2);
}

.home-page .cursor-ring.is-active::before {
  width: 16px;
}

.home-page .cursor-ring.is-active::after {
  height: 16px;
}

.home-page .cursor-ring.is-pressed {
  width: 22px;
  height: 22px;
  background: rgba(255, 250, 244, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  [data-open-image],
  .case-sheet > img {
    cursor: none;
  }

  a,
  button,
  [data-open-image],
  .case-sheet > img {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Active PORTFOLIO material */
.home-page .red-hero .red-hero-monogram {
  background: linear-gradient(
    90deg,
    #090d10 0%,
    #090d10 8%,
    #61171b 18%,
    #111316 29%,
    #71181c 39%,
    #090d10 51%,
    #6b171b 64%,
    #0a0e11 77%,
    #64171b 89%,
    #090d10 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 22px 28px rgba(12, 6, 8, 0.24));
  text-shadow: none;
}

.home-page .red-hero .red-hero-monogram::before,
.home-page .red-hero .red-hero-monogram::after {
  display: none;
  content: none;
}

/* SVG glass replaces browser-dependent clipped text fills. */
.red-hero-monogram {
  background: none;
  color: transparent;
  -webkit-text-fill-color: initial;
  -webkit-text-stroke: 0;
  filter: none;
  text-shadow: none;
}

.red-hero-monogram::before,
.red-hero-monogram::after {
  display: none;
}

.red-hero-monogram svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.red-hero-monogram img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

/* Restored black-to-wine gradient lettering. */
.red-hero-monogram {
  background: linear-gradient(
    90deg,
    #090d10 0%,
    #090d10 8%,
    #61171b 18%,
    #111316 29%,
    #71181c 39%,
    #090d10 51%,
    #6b171b 64%,
    #0a0e11 77%,
    #64171b 89%,
    #090d10 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 22px 28px rgba(12, 6, 8, 0.24));
  text-shadow: none;
}

.red-hero-monogram::before {
  display: none;
}

.red-hero-monogram::after {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, transparent 0 12%, rgba(232, 35, 35, 0.34) 29%, transparent 48% 69%, rgba(224, 31, 34, 0.3) 100%),
    linear-gradient(90deg, transparent 5%, rgba(238, 40, 38, 0.34) 19%, transparent 34% 47%, rgba(234, 37, 36, 0.32) 61%, transparent 75% 85%, rgba(229, 34, 35, 0.28) 96%);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
}

.glass-text {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 320px;
  font-weight: 900;
}

.glass-text-depth {
  fill: none;
  stroke: rgba(31, 1, 8, 0.38);
  stroke-width: 4px;
  filter: url("#glass-depth");
}

.glass-text-body {
  fill: none;
  stroke: rgba(255, 242, 237, 0.46);
  stroke-width: 1.8px;
  filter: url("#glass-refraction");
}

.glass-text-shine {
  fill: transparent;
  stroke: url("#glass-shine");
  stroke-width: 1.35px;
  opacity: 0.82;
  filter: url("#glass-refraction");
}

/* Final material: black and wine-red gradient, no glass layers. */
.red-hero-monogram {
  background: linear-gradient(
    90deg,
    #090d10 0%,
    #090d10 8%,
    #61171b 18%,
    #111316 29%,
    #71181c 39%,
    #090d10 51%,
    #6b171b 64%,
    #0a0e11 77%,
    #64171b 89%,
    #090d10 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 22px 28px rgba(12, 6, 8, 0.24));
  text-shadow: none;
}

.red-hero-monogram::before,
.red-hero-monogram::after {
  display: none;
}

.red-hero-title {
  top: 50%;
  right: 13%;
  left: 13%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 200px;
  align-items: center;
}

.title-dissolve-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.red-hero-title > [data-dissolve-text] {
  position: relative;
  isolation: isolate;
  filter: url("#title-particle-dissolve");
}

.red-hero-title > [data-dissolve-text]::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  color: rgba(244, 238, 230, 0.34);
  content: attr(data-dissolve-text);
  filter: url("#title-particle-dissolve");
  opacity: 0.72;
  transform: translateX(10px) scaleX(1.08) skewX(-3deg);
  transform-origin: center;
  pointer-events: none;
}

.red-hero-serif {
  font-family: "Arial Black", Impact, "Microsoft YaHei", sans-serif;
  font-size: 52px;
  font-stretch: normal;
  font-weight: 900;
  letter-spacing: 0;
  justify-self: end;
}

.red-hero-title h1 {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(58px, calc(5.8vw + 10px), 106px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  justify-self: center;
}

.red-hero-cn {
  font-family: "Arial Black", Impact, "Microsoft YaHei", sans-serif;
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  justify-self: start;
}

.red-hero-subtitle {
  bottom: 10.5%;
  font-size: clamp(11px, 1.18vw, 19px);
  font-weight: 500;
  letter-spacing: 0.16em;
}

.red-hero-footer {
  bottom: 9.5%;
  color: rgba(226, 233, 236, 0.78);
  font-size: clamp(9px, 0.95vw, 16px);
  letter-spacing: 0.17em;
  text-shadow: 0 2px 9px rgba(26, 4, 9, 0.72);
}

@media (max-width: 980px) {
  .red-hero-title {
    right: 8%;
    left: 8%;
    column-gap: 40px;
  }
}

@media (max-width: 820px) {
  .red-hero-stage {
    top: 15%;
    right: 20px;
    left: 20px;
    height: 56%;
  }

  .red-hero-kicker {
    top: 6.5%;
    padding-left: 0.28em;
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .red-hero-monogram {
    inset: -11% -39%;
    font-size: clamp(96px, 32vw, 186px);
    line-height: 1;
    letter-spacing: -0.045em;
    transform: rotate(-90deg) scaleX(1.12);
  }

  .red-hero-title {
    top: 47%;
    right: 8%;
    left: 8%;
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .red-hero-serif {
    font-size: clamp(28px, 9vw, 46px);
    letter-spacing: 0;
    justify-self: center;
  }

  .red-hero-title h1 {
    font-size: clamp(46px, calc(11vw + 10px), 70px);
    letter-spacing: 0;
  }

  .red-hero-cn {
    font-size: clamp(28px, 9vw, 46px);
    justify-self: center;
  }

  .red-hero-subtitle {
    bottom: 8.5%;
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .red-hero-footer {
    bottom: 7%;
    font-size: 8px;
    letter-spacing: 0.08em;
  }
}

/* Transparent glass lettering: clear body, refracted edges, narrow highlights */
.red-hero-monogram {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.05) 3%,
      rgba(76, 7, 15, 0.16) 12%,
      rgba(26, 4, 10, 0.2) 35%,
      rgba(255, 238, 232, 0.07) 51%,
      rgba(58, 5, 13, 0.19) 72%,
      rgba(255, 246, 242, 0.18) 96%,
      rgba(255, 255, 255, 0.36) 100%
    );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 241, 236, 0.42);
  filter:
    drop-shadow(0 2px 1px rgba(255, 235, 229, 0.13))
    drop-shadow(0 15px 12px rgba(28, 4, 10, 0.38))
    drop-shadow(0 30px 28px rgba(17, 3, 8, 0.2));
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.48),
    1px 0 0 rgba(255, 236, 230, 0.14),
    0 2px 0 rgba(61, 6, 15, 0.52),
    0 5px 4px rgba(25, 3, 8, 0.3);
}

.red-hero-monogram::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.44) 1.5%,
      transparent 5%,
      transparent 44%,
      rgba(255, 244, 239, 0.34) 48%,
      transparent 52%,
      transparent 91%,
      rgba(255, 255, 255, 0.54) 97%,
      rgba(255, 255, 255, 0.76) 100%
    ),
    linear-gradient(
      98deg,
      transparent 6%,
      rgba(255, 255, 255, 0.5) 9%,
      transparent 13%,
      transparent 31%,
      rgba(255, 255, 255, 0.28) 34%,
      transparent 39%,
      transparent 61%,
      rgba(255, 255, 255, 0.38) 65%,
      transparent 70%,
      transparent 88%,
      rgba(255, 255, 255, 0.44) 91%,
      transparent 95%
    );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  content: attr(data-text);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 250, 247, 0.32);
  filter: blur(0.18px);
  opacity: 0.82;
  mix-blend-mode: screen;
  pointer-events: none;
}

.red-hero-monogram::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  content: attr(data-text);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 3px rgba(35, 3, 10, 0.48);
  filter: blur(0.75px);
  opacity: 0.78;
  transform: translateY(4px);
  pointer-events: none;
}
