:root {
  color-scheme: light;
  --ink: #11161b;
  --muted: #5c6670;
  --paper: #f3f2ee;
  --white: #ffffff;
  --line: rgba(17, 22, 27, 0.16);
  --cyan: #18b9b0;
  --blue: #5571ff;
  --coral: #ff6b55;
  --yellow: #f4c84a;
  --detective: #0a0e12;
  --detective-soft: #111820;
  --amber: #d99a45;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 800;
}

.site-mark {
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.site-mark::before,
.site-mark::after {
  position: absolute;
  content: "";
}

.site-mark::before {
  inset: 4px 9px;
  border-radius: 4px;
  background: var(--cyan);
  box-shadow: 6px 0 0 var(--coral), -6px 0 0 var(--blue);
}

.site-mark::after {
  top: 7px;
  left: 9px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 5px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(127, 127, 127, 0.14);
}

.hero {
  position: relative;
  display: flex;
  min-height: 92vh;
  min-height: 92svh;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #0a0d10;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-image {
  background-position: center;
  background-size: cover;
}

.hero-image-aigc {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-aigc.png");
  background-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.94) 0%, rgba(5, 8, 11, 0.82) 34%, rgba(5, 8, 11, 0.24) 72%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.9), transparent 66%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 11vh;
}

.hero-content > * {
  max-width: 570px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #8cf2e8;
}

.hero h1 {
  margin: 0;
  font-size: 78px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-primary {
  border-color: var(--cyan);
  color: #071213;
  background: var(--cyan);
}

.button-ghost {
  background: rgba(10, 14, 18, 0.34);
  backdrop-filter: blur(12px);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
}

.scroll-cue i {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.58);
}

.section-band {
  padding: 110px 0;
}

.overview {
  border-bottom: 1px solid var(--line);
}

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

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

.section-heading h2,
.sources h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
}

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

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

.index-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 126px;
  border-bottom: 1px solid var(--line);
  transition: padding 180ms ease, background 180ms ease;
}

.index-item:hover {
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.62);
}

.index-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
}

.detective-number {
  color: #fff;
  background: var(--blue);
}

.index-item div {
  display: grid;
  gap: 5px;
}

.index-item strong {
  font-size: 24px;
}

.index-item div span {
  color: var(--muted);
}

.index-arrow {
  font-size: 30px;
}

.overview-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 72px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.overview-metrics div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.overview-metrics div:first-child {
  padding-left: 0;
}

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

.overview-metrics dt {
  font-size: 25px;
  font-weight: 900;
}

.overview-metrics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.project {
  padding: 120px 0;
}

.project-audio {
  background: var(--white);
}

.project-heading {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 390px;
  align-items: start;
  gap: 28px;
}

.project-number {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 6px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 6px 6px 0 currentColor;
  font-size: 22px;
  font-weight: 900;
}

.project-heading-copy h2 {
  margin: 0 0 18px;
  font-size: 58px;
  line-height: 1.1;
}

.project-heading-copy > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.coral {
  color: var(--coral);
}

.cyan {
  color: #69ddd2;
}

.amber {
  color: var(--amber);
}

.project-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.project-tags span {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.wide-media {
  position: relative;
  overflow: hidden;
  margin: 64px 0 0;
  border-radius: 8px;
  cursor: zoom-in;
}

.wide-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-frame {
  padding: 16px;
  border: 1px solid var(--line);
  background: #edf8f9;
}

.product-frame img {
  border: 1px solid rgba(17, 22, 27, 0.08);
  border-radius: 5px;
}

.wide-media figcaption {
  position: absolute;
  right: 32px;
  bottom: 30px;
  display: grid;
  gap: 3px;
  padding: 13px 16px;
  border-radius: 5px;
  color: #fff;
  background: rgba(10, 14, 18, 0.82);
  backdrop-filter: blur(12px);
}

.wide-media figcaption span {
  color: #8cf2e8;
  font-size: 10px;
  font-weight: 900;
}

.wide-media figcaption strong {
  font-size: 13px;
}

.case-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  margin-top: 90px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-summary h3,
.analysis-copy h3,
.architecture-copy h3,
.experience-copy h3,
.responsive-block h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
}

.case-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow li {
  min-height: 190px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.workflow li:last-child {
  border-right: 0;
}

.workflow span,
.delivery-steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 900;
}

.workflow strong,
.delivery-steps strong {
  font-size: 19px;
}

.workflow p,
.delivery-steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 82px;
}

.workspace-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 82px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #151b20;
}

.workspace-map article {
  display: grid;
  min-height: 180px;
  align-content: start;
  gap: 12px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.workspace-map article:last-child {
  border-right: 0;
}

.workspace-map span {
  margin-bottom: 16px;
  color: #74ddd3;
  font-size: 10px;
  font-weight: 900;
}

.workspace-map strong {
  font-size: 22px;
}

.workspace-map p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.media-tile,
.detective-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 7px;
  cursor: zoom-in;
  background: #e7e9ec;
}

.media-tile img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms ease;
}

.media-tile:hover img,
.detective-image:hover img {
  transform: scale(1.02);
}

.media-tile figcaption,
.detective-image figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  background: #fff;
}

.media-tile figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.audio-analysis {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
  margin-top: 110px;
}

.analysis-media {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: zoom-in;
}

.analysis-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.analysis-media figcaption {
  padding: 14px 16px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}

.analysis-copy > p:not(.eyebrow),
.architecture-copy p,
.experience-copy > p:not(.eyebrow),
.responsive-block > div > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.architecture-block {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 52px;
  align-items: center;
  margin-top: 110px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7fb;
}

.architecture-block figure {
  margin: 0;
  cursor: zoom-in;
}

.architecture-block img {
  border-radius: 5px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 100px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-grid article {
  min-height: 220px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.decision-grid article:last-child {
  border-right: 0;
}

.decision-grid article > span {
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
}

.decision-grid h3 {
  margin: 35px 0 10px;
  font-size: 23px;
}

.decision-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-detective {
  padding-top: 0;
  color: #f5f1e9;
  background: var(--detective);
}

.detective-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.detective-hero > img,
.detective-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.detective-hero > img {
  object-fit: cover;
}

.detective-shade {
  background:
    linear-gradient(90deg, rgba(6, 9, 12, 0.92), rgba(6, 9, 12, 0.48) 56%, rgba(6, 9, 12, 0.28)),
    linear-gradient(0deg, var(--detective), transparent 58%);
}

.detective-heading-wrap {
  position: relative;
  z-index: 2;
  padding-top: 250px;
}

.detective-heading .project-number {
  color: #0b0d0f;
  background: var(--amber);
}

.detective-heading-copy > p:last-child {
  color: rgba(245, 241, 233, 0.72);
}

.dark-tags span {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(4, 7, 10, 0.42);
}

.detective-content {
  padding-bottom: 10px;
}

.dark-summary {
  margin-top: 0;
  border-color: rgba(255, 255, 255, 0.16);
}

.dark-summary > p {
  color: rgba(245, 241, 233, 0.68);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline li {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 24px 15px 0 0;
}

.timeline li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.timeline time {
  color: var(--amber);
  font-weight: 900;
}

.timeline span {
  color: rgba(245, 241, 233, 0.62);
  font-size: 13px;
}

.game-screen {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #070a0d;
}

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

.detective-image {
  background: var(--detective-soft);
}

.detective-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.detective-image figcaption {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  background: var(--detective-soft);
}

.detective-image figcaption span {
  color: #69ddd2;
  font-size: 11px;
  font-weight: 900;
}

.experience-system {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
  margin-top: 120px;
}

.experience-copy > p:not(.eyebrow),
.responsive-block > div > p:not(.eyebrow) {
  color: rgba(245, 241, 233, 0.66);
}

.system-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.system-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--detective);
}

.system-list span {
  color: rgba(245, 241, 233, 0.52);
  font-size: 12px;
}

.evidence-screen {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  cursor: zoom-in;
}

.responsive-block {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 78px;
  align-items: center;
  margin-top: 120px;
}

.phone-frame {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: #030506;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  cursor: zoom-in;
}

.phone-frame img {
  aspect-ratio: 390 / 844;
  border-radius: 21px;
  object-fit: cover;
}

.dark-list li::before {
  background: var(--amber);
}

.detective-decisions {
  border-color: rgba(255, 255, 255, 0.16);
}

.detective-decisions article {
  border-color: rgba(255, 255, 255, 0.16);
}

.detective-decisions article > span {
  color: #69ddd2;
}

.detective-decisions p {
  color: rgba(245, 241, 233, 0.58);
}

.delivery {
  background: #eef5f3;
}

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

.delivery-steps div {
  min-height: 190px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

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

.delivery-steps span {
  color: var(--coral);
}

.sources {
  padding: 110px 0;
  color: #fff;
  background: #14191e;
}

.sources .eyebrow {
  color: #8cf2e8;
}

.sources h2 {
  font-size: 52px;
}

.sources-note {
  max-width: 620px;
  margin: 18px 0 48px;
  color: rgba(255, 255, 255, 0.62);
}

.source-links {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.source-links a {
  display: grid;
  grid-template-columns: 60px 1fr 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 104px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: padding 180ms ease, background 180ms ease;
}

.source-links a:hover {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
}

.source-links a > span {
  color: var(--yellow);
  font-weight: 900;
}

.source-links strong {
  font-size: 21px;
}

.source-links small {
  color: rgba(255, 255, 255, 0.54);
}

.source-links i {
  font-style: normal;
  font-size: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  padding: 28px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  background: #0b0e11;
  font-size: 12px;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 20, 25, 0.84);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.lightbox {
  width: min(1160px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 48px 66px 28px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(10, 14, 18, 0.97);
}

.lightbox::backdrop {
  background: rgba(3, 5, 7, 0.82);
  backdrop-filter: blur(12px);
}

.lightbox figure {
  display: grid;
  max-height: calc(100vh - 124px);
  margin: 0;
  place-items: center;
}

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

.lightbox figcaption {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.lightbox-close {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 25px;
}

.lightbox-nav {
  top: 50%;
  width: 42px;
  height: 58px;
  border-radius: 5px;
  font-size: 35px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 980px) {
  .hero-content > * {
    max-width: 420px;
  }

  .site-nav a {
    padding: 8px;
    font-size: 12px;
  }

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

  .section-heading,
  .project-heading,
  .case-summary,
  .audio-analysis,
  .architecture-block,
  .experience-system {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    grid-column: auto;
  }

  .project-heading {
    grid-template-columns: 76px 1fr;
  }

  .project-tags {
    grid-column: 2;
  }

  .workspace-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-map article:nth-child(2) {
    border-right: 0;
  }

  .workspace-map article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .workflow,
  .overview-metrics,
  .delivery-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow li:nth-child(2),
  .overview-metrics div:nth-child(2),
  .delivery-steps div:nth-child(2) {
    border-right: 0;
  }

  .overview-metrics div:nth-child(-n + 2) {
    padding-bottom: 24px;
  }

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

  .detective-gallery figure:last-child {
    grid-column: 1 / -1;
  }

  .responsive-block {
    grid-template-columns: 320px 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    min-height: 60px;
    padding: 0 14px;
  }

  .site-title {
    font-size: 13px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    display: none;
  }

  .site-nav a[href="#media-tool"],
  .site-nav a[href="#detective-game"] {
    display: block;
  }

  .hero {
    min-height: 720px;
  }

  .hero-media {
    display: block;
  }

  .hero-image-aigc {
    width: 100%;
    height: 100%;
    background-position: 36% center;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 90px;
  }

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

  .hero-lead {
    font-size: 17px;
  }

  .scroll-cue {
    display: none;
  }

  .section-band,
  .project {
    padding: 80px 0;
  }

  .section-heading h2,
  .sources h2 {
    font-size: 36px;
  }

  .section-heading {
    gap: 16px;
  }

  .index-item {
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    min-height: 108px;
  }

  .index-number {
    width: 46px;
    height: 46px;
  }

  .index-item strong {
    font-size: 19px;
  }

  .index-item div span,
  .index-arrow {
    font-size: 12px;
  }

  .overview-metrics,
  .workflow,
  .feature-showcase,
  .decision-grid,
  .delivery-steps,
  .detective-gallery {
    grid-template-columns: 1fr;
  }

  .overview-metrics div,
  .overview-metrics div:first-child,
  .workflow li,
  .delivery-steps div,
  .decision-grid article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .overview-metrics div:last-child,
  .workflow li:last-child,
  .delivery-steps div:last-child,
  .decision-grid article:last-child {
    border-bottom: 0;
  }

  .project-heading {
    grid-template-columns: 60px 1fr;
    gap: 18px;
  }

  .project-number {
    width: 52px;
    height: 52px;
    box-shadow: 4px 4px 0 currentColor;
    font-size: 17px;
  }

  .project-heading-copy h2 {
    font-size: 40px;
  }

  .project-heading-copy > p:last-child,
  .project-tags {
    grid-column: 1 / -1;
  }

  .project-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-media {
    margin-top: 40px;
  }

  .product-frame {
    padding: 6px;
  }

  .wide-media figcaption {
    position: static;
    border-radius: 0;
  }

  .case-summary {
    gap: 20px;
    margin-top: 58px;
    padding: 32px 0;
  }

  .case-summary h3,
  .analysis-copy h3,
  .architecture-copy h3,
  .experience-copy h3,
  .responsive-block h3 {
    font-size: 29px;
  }

  .workflow li {
    min-height: auto;
  }

  .feature-showcase,
  .audio-analysis,
  .architecture-block,
  .decision-grid,
  .experience-system,
  .responsive-block {
    margin-top: 70px;
  }

  .workspace-map {
    margin-top: 70px;
  }

  .architecture-block {
    gap: 28px;
    padding: 22px;
  }

  .detective-hero {
    min-height: 760px;
  }

  .detective-heading-wrap {
    padding-top: 250px;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 0;
  }

  .detective-gallery figure:last-child {
    grid-column: auto;
  }

  .responsive-block {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(330px, 100%);
    margin: 0 auto;
  }

  .source-links a {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
  }

  .source-links small {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 14px;
  }

  .lightbox {
    width: calc(100vw - 20px);
    padding: 50px 42px 24px;
  }
}

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

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

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