:root {
  --ink: #111214;
  --muted: #666b73;
  --paper: #f5f5f1;
  --white: #ffffff;
  --line: #d7d8d3;
  --blue: #1769ff;
  --lime: #d7ff42;
  --night: #11182a;
  --max-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(17, 18, 20, 0.12);
  background: rgba(245, 245, 241, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.desktop-nav a,
.text-action {
  position: relative;
}

.desktop-nav a::after,
.text-action::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.text-action:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.resume-link {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}

.resume-link svg,
.primary-action svg,
.scroll-cue svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(480px, 1.15fr);
  align-items: center;
  min-height: 100svh;
  padding: 128px max(6vw, calc((100vw - var(--max-width)) / 2)) 76px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-right: 4vw;
}

.eyebrow,
.section-index,
.project-type {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #464a50;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25a85a;
  box-shadow: 0 0 0 5px rgba(37, 168, 90, 0.12);
}

.hero h1,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(48px, 5.6vw, 86px);
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.hero h1 span::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  z-index: -1;
  height: 14px;
  background: var(--lime);
  content: "";
}

.hero-intro {
  max-width: 620px;
  margin: 32px 0 0;
  color: #50545b;
  font-size: 17px;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 0 24px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.primary-action:hover {
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-2px);
}

.text-action {
  font-size: 14px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 660px;
}

.hero-grid {
  position: absolute;
  inset: 0 -15vw 0 0;
  opacity: 0.38;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 85%, transparent);
}

.hero-screen {
  position: absolute;
  overflow: hidden;
  border: 7px solid var(--ink);
  border-radius: 32px;
  background: #e8e9ed;
  box-shadow: 0 32px 70px rgba(25, 28, 33, 0.18);
}

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-screen-main {
  top: 5%;
  left: 14%;
  width: clamp(250px, 24vw, 355px);
  height: clamp(520px, 54vw, 730px);
  transform: rotate(3deg);
  animation: enter-main 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-screen-side {
  right: -7%;
  bottom: 2%;
  width: clamp(190px, 19vw, 280px);
  height: clamp(400px, 43vw, 585px);
  transform: rotate(-5deg);
  animation: enter-side 800ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-note {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: 1%;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(2deg);
}

.hero-note span {
  font-size: 11px;
  font-weight: 800;
}

.hero-note p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: max(6vw, calc((100vw - var(--max-width)) / 2));
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-cue svg {
  width: 16px;
  animation: nudge 1.8s ease-in-out infinite;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  display: flex;
  min-height: 118px;
  padding: 25px 30px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
}

.metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.work {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 150px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 0.8fr;
  gap: 40px;
  align-items: end;
  padding: 0 3vw 90px;
}

.section-index {
  align-self: start;
  padding-top: 10px;
  color: var(--blue);
}

.section-heading h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.project {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(480px, 1.26fr);
  gap: 7vw;
  align-items: center;
  min-height: 920px;
  padding: 100px clamp(36px, 6vw, 90px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.project-reverse {
  grid-template-columns: minmax(480px, 1.26fr) minmax(300px, 0.74fr);
}

.project-reverse .project-copy {
  grid-column: 2;
}

.project-reverse .project-gallery {
  grid-row: 1;
  grid-column: 1;
}

.project-copy {
  position: relative;
  z-index: 2;
}

.project-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.project-type {
  color: var(--blue);
}

.project h3 {
  margin: 12px 0 24px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(42px, 4.5vw, 68px);
  line-height: 1.1;
}

.project-summary {
  margin: 0;
  color: #42464d;
  font-size: 17px;
}

.project-points {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  color: #565b62;
  font-size: 14px;
}

.project-points li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--blue);
  content: "";
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack span {
  padding: 6px 10px;
  border: 1px solid #bfc2c6;
  font-size: 11px;
  font-weight: 700;
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 180ms ease, transform 380ms ease;
}

.gallery-main:hover img {
  transform: scale(1.015);
}

.phone-frame {
  width: min(100%, 410px);
  height: 790px;
  margin: 0 auto;
  border: 9px solid var(--ink);
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 0 32px 80px rgba(20, 24, 31, 0.2);
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb {
  position: relative;
  width: 84px;
  height: 112px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #dfe1e4;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.thumb:hover,
.thumb.active {
  border-color: var(--blue);
  opacity: 1;
  transform: translateX(-4px);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project-dark {
  color: var(--white);
  background: var(--night);
  border-color: rgba(255, 255, 255, 0.15);
}

.project-dark .project-summary,
.project-dark .project-points li {
  color: #b9c0cf;
}

.project-dark .project-points li {
  border-color: rgba(255, 255, 255, 0.16);
}

.project-dark .stack span {
  border-color: rgba(255, 255, 255, 0.28);
}

.project-dark .project-type {
  color: var(--lime);
}

.project-wide {
  display: block;
  min-height: 0;
  padding-top: 120px;
  padding-bottom: 120px;
}

.project-wide .project-copy {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0 4vw;
  align-items: start;
  margin-bottom: 65px;
}

.project-wide .project-number {
  grid-row: 1 / span 4;
}

.project-wide .project-type,
.project-wide h3 {
  grid-column: 2;
}

.project-wide .project-summary,
.project-wide .project-points,
.project-wide .stack {
  grid-column: 3;
}

.project-wide .project-summary {
  grid-row: 1 / span 2;
}

.project-wide .project-points {
  margin-top: 24px;
}

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

.desktop-frame {
  height: auto;
  padding-top: 34px;
  border: 1px solid #aeb2b8;
  border-radius: 7px;
  background: #dfe2e6;
  box-shadow: 0 30px 70px rgba(20, 24, 31, 0.16);
}

.desktop-frame::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 34px;
  border-bottom: 1px solid #bfc3c8;
  background: #eceef0;
  content: "";
}

.window-dots {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 14px;
  display: flex;
  gap: 7px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-dots i:nth-child(2) {
  background: #febc2e;
}

.window-dots i:nth-child(3) {
  background: #28c840;
}

.desktop-frame img {
  aspect-ratio: 1.796 / 1;
}

.desktop-gallery .gallery-thumbs {
  flex-direction: row;
  justify-content: center;
  margin-top: 22px;
}

.desktop-gallery .thumb {
  width: 130px;
  height: 72px;
}

.desktop-gallery .thumb:hover,
.desktop-gallery .thumb.active {
  transform: translateY(-4px);
}

.project-platform {
  background: #e7eefb;
}

.project-platform .desktop-frame img {
  aspect-ratio: 1.07 / 1;
  object-fit: cover;
  object-position: top;
}

.launches {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 150px;
  background: var(--white);
}

.launches .section-heading {
  padding-right: clamp(36px, 6vw, 90px);
  padding-left: clamp(36px, 6vw, 90px);
}

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

.launch-platform {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(500px, 1.38fr);
  gap: 7vw;
  align-items: center;
  padding: 90px clamp(36px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
}

.launch-copy h3 {
  margin: 16px 0 20px;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.1;
}

.launch-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.launch-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.launch-meta span {
  color: var(--blue);
}

.launch-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29a75a;
  box-shadow: 0 0 0 4px rgba(41, 167, 90, 0.12);
}

.launch-huawei .launch-meta span {
  color: #cf2534;
}

.launch-apple .launch-meta span {
  color: var(--ink);
}

.launch-vivo .launch-meta span {
  color: #315be9;
}

.launch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.launch-tags span {
  padding: 6px 10px;
  border: 1px solid #c9ccd0;
  font-size: 11px;
  font-weight: 700;
}

.launch-gallery {
  min-width: 0;
}

.launch-gallery .desktop-frame {
  background: #e7e9ec;
}

.launch-gallery .desktop-frame img {
  aspect-ratio: 1.777 / 1;
  object-fit: cover;
  object-position: top;
}

.launch-gallery .gallery-thumbs {
  justify-content: flex-start;
}

.profile {
  padding: 150px max(6vw, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--ink);
}

.light-heading {
  grid-template-columns: 0.55fr 2.25fr;
  padding-right: 0;
  padding-left: 0;
}

.light-heading .section-index {
  color: var(--lime);
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.experience-time {
  margin: 0 0 24px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.experience h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(32px, 3.5vw, 50px);
}

.experience > p:nth-of-type(2) {
  color: #aeb2b9;
}

.experience-detail {
  max-width: 590px;
  margin-top: 38px;
  color: #c4c7cc;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.capabilities div {
  min-height: 190px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.capabilities span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
}

.capabilities p {
  margin: 48px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.contact {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 150px 6vw 100px;
}

.contact .section-index {
  margin-bottom: 42px;
}

.contact h2 {
  font-size: clamp(48px, 7vw, 96px);
}

.contact h2 span {
  color: var(--blue);
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 75px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-row > * {
  display: flex;
  align-items: center;
  min-height: 88px;
  margin: 0;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  font-size: 14px;
}

.contact-row > *:last-child {
  border-right: 0;
}

.contact-row a:hover {
  color: var(--blue);
}

footer {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 34px 70px;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: rgba(8, 10, 14, 0.96);
}

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

.lightbox::backdrop {
  background: rgba(8, 10, 14, 0.85);
}

.lightbox figure {
  display: flex;
  min-width: 0;
  height: calc(100vh - 68px);
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #c4c8d0;
  font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  position: fixed;
  z-index: 3;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  font-size: 35px;
  line-height: 1;
}

.lightbox-nav {
  width: 50px;
  height: 50px;
  font-size: 45px;
  opacity: 0.72;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  color: var(--lime);
  opacity: 1;
}

@keyframes enter-main {
  from { opacity: 0; transform: translateY(60px) rotate(6deg); }
  to { opacity: 1; transform: translateY(0) rotate(3deg); }
}

@keyframes enter-side {
  from { opacity: 0; transform: translate(60px, 80px) rotate(-8deg); }
  to { opacity: 1; transform: translate(0, 0) rotate(-5deg); }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero-screen-side,
  .hero-note {
    display: none;
  }

  .hero-screen-main {
    left: 18%;
  }

  .section-heading {
    grid-template-columns: 0.45fr 1.55fr;
  }

  .section-heading > p:last-child {
    display: none;
  }

  .project {
    gap: 5vw;
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .phone-frame {
    height: 690px;
  }

  .project-wide .project-copy {
    grid-template-columns: 60px 1fr 1fr;
  }

  .launch-platform {
    grid-template-columns: minmax(240px, 0.55fr) minmax(440px, 1.45fr);
    gap: 5vw;
    padding-right: 4vw;
    padding-left: 4vw;
  }
}

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

  .desktop-nav,
  .brand-name {
    display: none;
  }

  .resume-link {
    font-size: 13px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 110px 20px 58px;
  }

  .hero-copy {
    padding-right: 0;
  }

  .eyebrow {
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 9px;
  }

  .eyebrow span {
    margin-top: 4px;
    flex: 0 0 auto;
  }

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

  .hero-intro {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
  }

  .hero-visual {
    min-height: 570px;
    margin-top: 38px;
  }

  .hero-grid {
    right: -20px;
    left: -20px;
  }

  .hero-screen-main {
    top: 0;
    left: 50%;
    width: 250px;
    height: 530px;
    transform: translateX(-50%) rotate(2deg);
    animation: none;
  }

  .scroll-cue {
    display: none;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 20px;
  }

  .metrics div {
    min-height: 104px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:nth-child(2) {
    border-right: 0;
  }

  .metrics div:nth-child(3),
  .metrics div:nth-child(4) {
    border-bottom: 0;
  }

  .metrics strong {
    font-size: 20px;
  }

  .metrics span {
    font-size: 10px;
  }

  .work {
    padding-top: 95px;
  }

  .section-heading,
  .light-heading {
    display: block;
    padding: 0 20px 56px;
  }

  .section-heading h2 {
    margin-top: 22px;
    font-size: 38px;
  }

  .project,
  .project-reverse {
    display: flex;
    min-height: 0;
    padding: 72px 20px;
    flex-direction: column;
    gap: 54px;
  }

  .project-reverse .project-copy,
  .project-reverse .project-gallery {
    grid-row: auto;
    grid-column: auto;
  }

  .project-copy {
    width: 100%;
  }

  .project-number {
    margin-bottom: 32px;
  }

  .project h3 {
    font-size: 40px;
  }

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

  .project-gallery {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

  .phone-frame {
    width: min(100%, 310px);
    height: 635px;
    border-width: 7px;
    border-radius: 34px;
  }

  .gallery-thumbs,
  .desktop-gallery .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin-top: 8px;
  }

  .thumb,
  .desktop-gallery .thumb {
    width: 100%;
    height: 76px;
  }

  .thumb:hover,
  .thumb.active,
  .desktop-gallery .thumb:hover,
  .desktop-gallery .thumb.active {
    transform: translateY(-3px);
  }

  .project-wide {
    display: flex;
  }

  .launches {
    padding-top: 95px;
  }

  .launches .section-heading {
    padding-right: 20px;
    padding-left: 20px;
  }

  .launch-platform {
    display: flex;
    padding: 65px 20px;
    flex-direction: column;
    gap: 42px;
  }

  .launch-copy,
  .launch-gallery {
    width: 100%;
  }

  .launch-copy h3 {
    font-size: 38px;
  }

  .project-wide .project-copy {
    display: block;
    margin-bottom: 0;
  }

  .project-wide .project-summary,
  .project-wide .project-points,
  .project-wide .stack,
  .project-wide .project-type,
  .project-wide h3 {
    grid-column: auto;
    grid-row: auto;
  }

  .desktop-frame {
    padding-top: 28px;
  }

  .desktop-frame::before {
    height: 28px;
  }

  .window-dots {
    top: 10px;
  }

  .profile {
    padding: 95px 20px;
  }

  .profile .section-heading {
    padding-right: 0;
    padding-left: 0;
  }

  .profile-grid {
    display: block;
    padding-top: 52px;
  }

  .capabilities {
    margin-top: 60px;
  }

  .capabilities div {
    min-height: 145px;
    padding: 18px;
  }

  .capabilities p {
    margin-top: 30px;
    font-size: 15px;
  }

  .contact {
    padding: 95px 20px 80px;
  }

  .contact h2 {
    font-size: 45px;
  }

  .contact-row {
    display: block;
    margin-top: 50px;
  }

  .contact-row > * {
    min-height: 65px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-row > *:last-child {
    border-bottom: 0;
  }

  footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .lightbox {
    padding: 50px 10px 20px;
  }

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

  .lightbox figure {
    height: calc(100vh - 70px);
  }

  .lightbox-nav {
    width: 36px;
    font-size: 38px;
  }
}

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

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