:root {
  color-scheme: dark;
  --page: #0f172a;
  --page-soft: #111c33;
  --ink: #e2e8f0;
  --text: #cbd5e1;
  --muted: #94a3b8;
  --dim: #64748b;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --accent: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.1);
  --accent-line: rgba(94, 234, 212, 0.42);
  --card: rgba(30, 41, 59, 0.48);
  --card-hover: rgba(30, 41, 59, 0.72);
  --max: 1200px;
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--muted);
  background:
    radial-gradient(900px circle at var(--mouse-x, 50vw) var(--mouse-y, 0), rgba(29, 78, 216, 0.14), transparent 42%),
    linear-gradient(180deg, #0f172a 0%, #0d1628 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  display: block;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 12px;
  color: #042f2e;
  background: var(--accent);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
}

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

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

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

.page-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  width: min(var(--max), calc(100% - 56px));
  min-height: 100svh;
  margin: 0 auto;
}

.intro-pane {
  position: fixed;
  top: 0;
  width: calc((min(var(--max), calc(100vw - 56px)) - 72px) * 0.82 / 2);
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 0;
}

.content-pane {
  grid-column: 2;
  padding: 96px 0;
}

.intro-pane h1 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.role {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.3;
}

.intro-copy {
  max-width: 340px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.62;
}

.side-nav {
  display: grid;
  gap: 18px;
  margin: 84px 0 auto;
}

.side-nav a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms var(--ease);
}

.side-nav a .nav-line {
  width: 32px;
  height: 1px;
  background: var(--dim);
  transition: width 180ms var(--ease), background 180ms var(--ease);
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--ink);
}

.side-nav a:hover .nav-line,
.side-nav a.is-active .nav-line {
  width: 64px;
  background: var(--ink);
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch button {
  display: inline-flex;
  min-width: 44px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  color: var(--dim);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(148, 163, 184, 0.12);
}

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}

.social-list a:hover,
.back-home:hover {
  color: var(--accent);
}

.social-list a:hover {
  transform: translateY(-2px);
}

.social-list .social-icon-github {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-list .social-icon-linkedin {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.content-section {
  scroll-margin-top: 96px;
  margin-bottom: 112px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-label {
  display: none;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.prose {
  display: grid;
  gap: 22px;
}

.prose p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}

.prose strong,
.entry-body strong {
  color: var(--ink);
  font-weight: 700;
}

.entry-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.entry-card:hover {
  background: var(--card-hover);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.18);
  transform: translateY(-2px);
}

.entry-card-link {
  position: relative;
  color: inherit;
}

.entry-card-link:hover .entry-detail-link,
.entry-card-link:focus-visible .entry-detail-link {
  color: var(--accent);
}

.entry-card time {
  padding-top: 4px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.entry-body {
  min-width: 0;
}

.entry-heading {
  margin-bottom: 10px;
}

.entry-heading.with-logo {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.entry-heading img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 7px;
}

.entry-heading img.school-logo {
  object-fit: contain;
  padding: 2px;
  background: #ffffff;
  border-radius: 50%;
}

.entry-heading h3,
.project-card h3,
.case-body h3,
.theme-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.entry-heading span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.entry-body p,
.entry-body li,
.project-card p,
.theme-card p,
.deep-dive-list p,
.return-card em {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.entry-body p,
.project-card p,
.theme-card p,
.deep-dive-list p {
  margin: 0;
}

.entry-body ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.entry-body li {
  position: relative;
  padding-left: 16px;
}

.entry-body li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.entry-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms var(--ease);
}

.entry-detail-link svg,
.return-card svg {
  width: 15px;
  height: 15px;
}

.entry-detail-link path,
.return-card path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-card,
.theme-card {
  padding: 22px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.project-card:hover,
.theme-card:hover {
  background: var(--card);
  border-color: rgba(94, 234, 212, 0.22);
  transform: translateY(-2px);
}

.project-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card h3,
.theme-card h3 {
  margin-bottom: 10px;
}

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

.theme-grid {
  display: grid;
  gap: 14px;
}

.back-home {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms var(--ease);
}

.detail-hero {
  padding-bottom: 18px;
}

.detail-hero h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}

.detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
}

.detail-summary-grid div {
  min-width: 0;
  padding: 18px;
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-summary-grid dt {
  margin: 0 0 8px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-summary-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
}

.case-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 82px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, var(--accent-line), rgba(148, 163, 184, 0.08));
}

.case-node {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 28px;
}

.case-node::before {
  position: absolute;
  top: 8px;
  left: 77px;
  z-index: 1;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--page);
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(94, 234, 212, 0.08);
}

.case-node time {
  padding-top: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-body {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
}

.case-node:last-child .case-body {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-points {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.case-points div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
}

.case-points dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.case-points dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.mac-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.mac-copy {
  min-width: 0;
  max-width: 780px;
}

.mac-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.mac-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.mac-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.mac-metrics div {
  padding-top: 13px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mac-metrics dt {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.mac-metrics dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.mac-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(132px, 1fr));
  gap: 14px;
  align-items: start;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-color: rgba(94, 234, 212, 0.42) rgba(148, 163, 184, 0.08);
}

.mac-shot {
  min-width: 132px;
  margin: 0;
}

.mac-shot-frame {
  overflow: hidden;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.28);
}

.mac-shot img {
  width: 100%;
  height: auto;
}

.mac-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.store-basics-showcase {
  display: grid;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  scroll-margin-top: 92px;
}

.store-basics-copy {
  max-width: 820px;
}

.store-basics-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.store-basics-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.store-basics-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.store-basic-shot {
  margin: 0;
}

.store-basic-frame {
  overflow: hidden;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.28);
}

.store-basic-frame img {
  width: 100%;
  height: auto;
}

.store-basic-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.mixed-showcase {
  display: grid;
  gap: 30px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.mixed-copy {
  max-width: 820px;
}

.mixed-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.mixed-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.mixed-copy .mixed-impact {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  margin-top: 16px;
  padding: 7px 12px;
  color: var(--ink);
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.35;
}

.mixed-inspector {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.mixed-phone {
  position: relative;
  width: min(100%, 300px);
  margin: 0;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.36);
}

.mixed-phone img {
  width: 100%;
  height: auto;
}

.mixed-region {
  position: absolute;
  display: flex;
  align-items: flex-start;
  padding: 8px;
  color: #fff;
  background: rgba(244, 63, 94, 0.12);
  border: 2px solid rgba(244, 63, 94, 0.52);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 34px rgba(2, 6, 23, 0.18);
  opacity: 0.46;
  transition: opacity 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.mixed-region span {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 7px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.72);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
  opacity: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 180ms var(--ease);
}

.mixed-region-native {
  top: 6.2%;
  left: 3.8%;
  width: 92.4%;
  height: 20.4%;
  background: rgba(20, 184, 166, 0.13);
  border-color: rgba(94, 234, 212, 0.58);
}

.mixed-region-guess {
  top: 31.4%;
  left: 2.5%;
  width: 95%;
  height: 27.1%;
}

.mixed-region-hot {
  top: 60%;
  left: 2.5%;
  width: 95%;
  height: 32%;
}

.mixed-layer-panel {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.mixed-component-stack {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  padding: 10px 0 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.mixed-component-stack::before {
  position: absolute;
  top: 28px;
  left: 14px;
  width: 1px;
  height: 338px;
  content: "";
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.72), rgba(244, 63, 94, 0.2));
}

.mixed-component-slice {
  position: absolute;
  right: 0;
  width: min(84%, 430px);
  margin: 0;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(244, 63, 94, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.28);
  cursor: pointer;
  opacity: 0.62;
  transform: perspective(1100px) rotateX(30deg) rotateZ(-4deg);
  transform-origin: left center;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), opacity 180ms var(--ease), transform 180ms var(--ease);
}

.mixed-component-slice::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.mixed-component-slice img {
  width: 100%;
  height: auto;
}

.mixed-component-slice figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  max-width: calc(100% - 20px);
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(2, 6, 23, 0.76);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.mixed-component-slice figcaption strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mixed-component-native {
  top: 0;
  left: 28px;
  border-color: rgba(94, 234, 212, 0.48);
}

.mixed-component-guess {
  top: 126px;
  left: 56px;
}

.mixed-component-hot {
  top: 262px;
  left: 84px;
}

.mixed-layer-controls {
  display: grid;
  gap: 10px;
}

.mixed-layer-control {
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.mixed-layer-control:hover,
.mixed-layer-control.is-active {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(244, 63, 94, 0.12));
  border-color: rgba(244, 63, 94, 0.66);
  box-shadow: 0 16px 42px rgba(2, 6, 23, 0.26), inset 3px 0 0 rgba(244, 63, 94, 0.78);
  transform: translateY(-1px);
}

.mixed-layer-control.is-active .mixed-layer-type {
  border-color: rgba(255, 255, 255, 0.34);
}

.mixed-layer-control strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.mixed-layer-control em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.58;
}

.mixed-layer-type {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  color: #ffe4e6;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.mixed-layer-type.is-native {
  color: var(--accent);
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(94, 234, 212, 0.28);
}

.mixed-showcase[data-active-layer="native"] .mixed-region[data-mixed-layer="native"],
.mixed-showcase[data-active-layer="guess"] .mixed-region[data-mixed-layer="guess"],
.mixed-showcase[data-active-layer="hot"] .mixed-region[data-mixed-layer="hot"] {
  opacity: 1;
  transform: scale(1.015);
}

.mixed-showcase[data-active-layer="native"] .mixed-region-native span,
.mixed-showcase[data-active-layer="guess"] .mixed-region-guess span,
.mixed-showcase[data-active-layer="hot"] .mixed-region-hot span {
  opacity: 1;
}

.mixed-showcase[data-active-layer="native"] .mixed-component-native,
.mixed-showcase[data-active-layer="guess"] .mixed-component-guess,
.mixed-showcase[data-active-layer="hot"] .mixed-component-hot {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: perspective(1100px) rotateX(30deg) rotateZ(-4deg) translateY(-12px) scale(1.015);
}

.third-party-optimization {
  display: grid;
  gap: 26px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.third-party-layout {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-width: 0;
}

.third-party-phone {
  justify-self: center;
  width: min(100%, 246px);
  margin: 0;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(2, 6, 23, 0.36);
}

.third-party-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.third-party-copy {
  max-width: 820px;
}

.third-party-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.third-party-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.third-party-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  justify-self: start;
  width: min(100%, 340px);
  margin: 0;
}

.third-party-highlights div {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 14px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.46), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
}

.third-party-highlights dt {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.third-party-highlights dd {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.42;
}

.third-party-highlights dd > strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.35;
}

.third-party-highlights dd > span:not(.award-popover) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.48;
}

.award-reveal {
  position: relative;
  display: inline-flex;
  justify-self: start;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 780;
  text-align: left;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.award-reveal > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.award-reveal svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(94, 234, 212, 0.28));
}

.award-reveal:focus {
  outline: none;
}

.award-reveal:focus-visible {
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

.award-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 8;
  display: grid;
  gap: 8px;
  width: min(236px, 74vw);
  padding: 10px;
  color: var(--ink);
  pointer-events: none;
  background: rgba(2, 6, 23, 0.92);
  border: 1px solid rgba(94, 234, 212, 0.34);
  border-radius: 16px;
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms var(--ease);
  visibility: hidden;
}

.award-popover::after {
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  content: "";
  background: rgba(2, 6, 23, 0.92);
  border-right: 1px solid rgba(94, 234, 212, 0.34);
  border-bottom: 1px solid rgba(94, 234, 212, 0.34);
  transform: rotate(45deg);
}

.award-popover img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.award-popover span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.award-reveal:hover .award-popover,
.award-reveal:focus .award-popover,
.award-reveal.is-open .award-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.saas-showcase {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.saas-copy {
  max-width: 820px;
}

.saas-showcase .project-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.saas-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.saas-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.saas-host-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.saas-host-card {
  display: grid;
  min-width: 0;
  min-height: 142px;
  align-content: start;
  gap: 12px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.saas-host-icon {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.24);
}

.saas-host-card div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.saas-host-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.saas-host-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.video-card-showcase {
  display: grid;
  gap: 26px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.video-card-copy {
  max-width: 860px;
}

.video-card-showcase .project-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.video-card-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.video-card-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.video-card-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.feed-card-shot {
  width: min(100%, 340px);
  margin: 0;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  box-shadow: 0 22px 56px rgba(2, 6, 23, 0.34);
}

.feed-card-shot img {
  width: 100%;
  height: auto;
}

.video-card-points {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.video-card-points article {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-card-points span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.video-card-points strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
  line-height: 1.28;
}

.video-card-points p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.58;
}

.ai-commerce-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 28px;
  align-items: start;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.ai-commerce-copy {
  min-width: 0;
}

.ai-commerce-showcase .project-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.ai-commerce-copy h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 820;
  line-height: 1.18;
  letter-spacing: 0;
}

.ai-commerce-copy > p:not(.project-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.ai-commerce-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ai-commerce-features article {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ai-commerce-features span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.ai-commerce-features strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.28;
}

.ai-commerce-features p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.52;
}

.ai-commerce-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 14px;
  min-width: 0;
}

.ai-commerce-shot {
  margin: 0;
  min-width: 0;
}

.ai-commerce-shot img {
  width: 100%;
  height: auto;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.34);
}

.ai-commerce-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.42;
  text-align: center;
}

.detail-intro-copy {
  margin-bottom: 24px;
}

.deep-dive-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.deep-dive-list details {
  border-bottom: 1px solid var(--line);
}

.deep-dive-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

.deep-dive-list summary::-webkit-details-marker {
  display: none;
}

.deep-dive-list summary svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--dim);
  transition: transform 180ms var(--ease), color 180ms var(--ease);
}

.deep-dive-list summary path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deep-dive-list details[open] summary svg {
  color: var(--accent);
  transform: rotate(180deg);
}

.deep-dive-list p {
  max-width: 680px;
  padding: 0 44px 24px 0;
}

.return-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding: 20px 22px;
  color: var(--ink);
  background: rgba(15, 23, 42, 0.34);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.return-card:hover {
  background: var(--card);
  border-color: rgba(94, 234, 212, 0.22);
  transform: translateY(-2px);
}

.return-card strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.return-card em {
  display: block;
  margin-top: 5px;
  font-style: normal;
}

.detail-page {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.64) 46%, #0d1628 100%),
    linear-gradient(135deg, rgba(94, 234, 212, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, #0f172a 0%, #0d1628 100%);
}

.detail-topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 24px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  background: rgba(15, 23, 42, 0.74);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(18px);
}

.detail-brand {
  width: fit-content;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms var(--ease);
}

.detail-brand:hover,
.detail-topnav a:hover,
.detail-topnav a.is-active {
  color: var(--accent);
}

.detail-topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.detail-topnav a {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms var(--ease);
}

.detail-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.detail-page .social-list a {
  width: 30px;
  height: 30px;
}

.immersive-detail {
  width: 100%;
  overflow: hidden;
}

.immersive-detail .content-section {
  margin-bottom: 0;
  scroll-margin-top: 84px;
}

.immersive-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.immersive-hero {
  position: relative;
  display: flex;
  min-height: auto;
  align-items: center;
  padding: 112px 0 64px;
}

.immersive-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

.immersive-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  margin-top: 48px;
}

.immersive-title-block h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(58px, 6.2vw, 88px);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: 0;
}

.detail-kicker {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.immersive-title-block > p:last-child {
  max-width: 380px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.72;
}

.immersive-detail .detail-hero {
  padding-bottom: 0;
}

.immersive-detail .detail-hero h2 {
  max-width: 620px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.03;
}

.immersive-detail .detail-hero p {
  max-width: 620px;
  font-size: 16px;
}

.immersive-detail .detail-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 82px;
}

.immersive-detail .detail-summary-grid div {
  min-height: 112px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(14px);
}

.immersive-section {
  padding: 92px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.immersive-section-title {
  margin: 0 0 44px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: 0;
}

.immersive-detail .case-timeline {
  gap: 72px;
}

.immersive-detail .case-timeline::before {
  top: 12px;
  bottom: 12px;
  left: 178px;
}

.immersive-detail .case-node {
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 72px;
}

.immersive-detail .case-node::before {
  left: 173px;
}

.immersive-detail .case-node time {
  font-size: 13px;
}

.immersive-detail .case-body {
  padding-bottom: 48px;
}

.immersive-detail .case-body h3 {
  font-size: clamp(24px, 2.4vw, 36px);
}

.immersive-detail .case-points {
  gap: 20px;
  margin-top: 28px;
}

.immersive-detail .case-points div {
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
}

.immersive-detail .case-points dd {
  max-width: 720px;
  font-size: 16px;
}

.immersive-detail .theme-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.immersive-detail .theme-card {
  min-height: 240px;
  padding: 24px;
}

.immersive-detail .theme-card h3 {
  font-size: 20px;
}

.immersive-detail .theme-card p {
  font-size: 15px;
}

.immersive-detail .detail-intro-copy {
  max-width: 760px;
  margin-bottom: 36px;
}

.immersive-detail .deep-dive-list summary {
  min-height: 82px;
  font-size: 20px;
}

.immersive-detail .deep-dive-list p {
  max-width: 820px;
  font-size: 16px;
}

.immersive-detail .return-card {
  min-height: 112px;
  margin-top: 48px;
}

:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.45);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body {
    background: linear-gradient(180deg, #0f172a 0%, #0d1628 100%);
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(720px, calc(100% - 48px));
  }

  .intro-pane {
    position: relative;
    width: auto;
    min-height: auto;
    padding: 72px 0 64px;
  }

  .side-nav {
    display: none;
  }

  .intro-actions {
    margin-top: 34px;
  }

  .content-pane {
    grid-column: auto;
    padding: 0 0 76px;
  }

  .content-section {
    margin-bottom: 92px;
    scroll-margin-top: 28px;
  }

  .section-label {
    position: sticky;
    top: 0;
    z-index: 20;
    display: block;
    padding: 22px 0 18px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
  }

  .detail-hero h2 {
    font-size: 40px;
  }

  .detail-topbar {
    grid-template-columns: auto 1fr;
    padding: 0 24px;
  }

  .detail-topnav {
    display: none;
  }

  .detail-top-actions {
    justify-self: end;
  }

  .immersive-inner {
    width: min(760px, calc(100% - 48px));
  }

  .immersive-hero {
    min-height: auto;
    padding: 110px 0 76px;
  }

  .immersive-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-top: 52px;
  }

  .immersive-detail .detail-summary-grid,
  .immersive-detail .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .immersive-detail .case-timeline::before {
    left: 5px;
  }

  .immersive-detail .case-node {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 32px;
  }

  .immersive-detail .case-node::before {
    left: 0;
  }

  .mac-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mac-gallery {
    grid-template-columns: repeat(5, minmax(148px, 1fr));
  }

  .store-basics-gallery {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  .mixed-inspector {
    grid-template-columns: 1fr;
  }

  .mixed-phone {
    width: min(100%, 340px);
  }

  .third-party-optimization {
    gap: 24px;
  }

  .third-party-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .third-party-phone {
    width: min(100%, 280px);
  }

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

  .feed-card-shot {
    justify-self: center;
    width: min(100%, 360px);
  }

  .ai-commerce-showcase {
    grid-template-columns: 1fr;
  }

  .ai-commerce-gallery {
    max-width: 560px;
  }
}

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

  .intro-pane {
    padding-top: 54px;
  }

  .intro-pane h1 {
    font-size: 42px;
  }

  .role {
    font-size: 20px;
  }

  .intro-copy,
  .prose p {
    font-size: 16px;
  }

  .entry-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
    border-radius: 0;
  }

  .entry-card:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }

  .entry-card time {
    padding-top: 0;
  }

  .theme-grid,
  .detail-summary-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .theme-card {
    padding: 18px;
  }

  .detail-hero h2 {
    font-size: 34px;
  }

  .detail-hero p {
    font-size: 16px;
  }

  .case-timeline::before {
    left: 5px;
  }

  .case-node {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }

  .case-node::before {
    left: 0;
  }

  .case-body {
    padding-bottom: 24px;
  }

  .case-points div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .deep-dive-list p {
    padding-right: 0;
  }

  .return-card {
    align-items: flex-start;
  }

  .detail-topbar {
    position: sticky;
    min-height: 58px;
    padding: 0 16px;
  }

  .detail-brand {
    font-size: 13px;
  }

  .detail-page .social-list {
    gap: 6px;
  }

  .detail-page .social-list a {
    width: 26px;
    height: 26px;
  }

  .detail-page .language-switch button {
    min-width: 38px;
    min-height: 26px;
    padding: 4px 8px;
  }

  .immersive-inner {
    width: calc(100% - 32px);
  }

  .immersive-title-block h1 {
    font-size: 52px;
  }

  .immersive-title-block > p:last-child {
    font-size: 16px;
  }

  .immersive-detail .detail-summary-grid,
  .immersive-detail .theme-grid {
    grid-template-columns: 1fr;
  }

  .immersive-section {
    padding: 84px 0;
  }

  .immersive-section-title {
    margin-bottom: 34px;
  }

  .immersive-detail .case-points div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .mac-showcase {
    margin-top: 28px;
    padding-top: 24px;
  }

  .mac-metrics {
    grid-template-columns: 1fr;
  }

  .mac-gallery {
    grid-template-columns: repeat(5, minmax(150px, 64vw));
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    scroll-snap-type: x mandatory;
  }

  .mac-shot {
    scroll-snap-align: start;
  }

  .store-basics-showcase {
    margin-top: 28px;
    padding-top: 24px;
  }

  .store-basics-copy > p:not(.project-kicker) {
    font-size: 14px;
  }

  .store-basics-gallery {
    grid-template-columns: repeat(3, minmax(170px, 62vw));
    margin-right: -16px;
    margin-left: -16px;
    overflow-x: auto;
    padding-right: 16px;
    padding-left: 16px;
    scroll-snap-type: x mandatory;
  }

  .store-basic-shot {
    scroll-snap-align: start;
  }

  .mixed-showcase {
    margin-top: 28px;
    padding-top: 24px;
  }

  .mixed-copy > p:not(.project-kicker) {
    font-size: 14px;
  }

  .mixed-phone {
    justify-self: center;
    width: min(100%, 320px);
    border-radius: 24px;
  }

  .mixed-region {
    padding: 6px;
    border-width: 1px;
    border-radius: 10px;
  }

  .mixed-region span {
    max-width: 160px;
    padding: 3px 6px;
    font-size: 9px;
  }

  .mixed-component-stack {
    min-height: 376px;
  }

  .mixed-component-stack::before {
    height: 272px;
  }

  .mixed-component-slice {
    right: 10px;
    width: min(88%, 330px);
  }

  .mixed-component-slice figcaption {
    top: 8px;
    left: 8px;
    gap: 6px;
    max-width: calc(100% - 16px);
    padding: 5px;
  }

  .mixed-component-slice figcaption strong {
    font-size: 11px;
  }

  .mixed-component-native {
    left: 24px;
  }

  .mixed-component-guess {
    top: 104px;
    left: 44px;
  }

  .mixed-component-hot {
    top: 216px;
    left: 64px;
  }

  .mixed-layer-control {
    padding: 13px 14px;
  }

  .third-party-optimization {
    margin-top: 28px;
    padding-top: 24px;
  }

  .third-party-copy > p:not(.project-kicker) {
    font-size: 14px;
  }

  .third-party-highlights {
    grid-template-columns: 1fr;
    justify-self: stretch;
    width: 100%;
  }

  .third-party-phone {
    width: min(100%, 258px);
    border-radius: 24px;
  }

  .video-card-showcase {
    margin-top: 28px;
    padding-top: 24px;
  }

  .video-card-copy > p:not(.project-kicker) {
    font-size: 14px;
  }

  .feed-card-shot {
    width: min(100%, 326px);
    border-radius: 24px;
  }

  .ai-commerce-showcase {
    margin-top: 28px;
    padding-top: 24px;
  }

  .ai-commerce-copy > p:not(.project-kicker) {
    font-size: 14px;
  }

  .ai-commerce-features {
    grid-template-columns: 1fr;
  }

  .ai-commerce-gallery {
    grid-template-columns: repeat(2, minmax(170px, 62vw));
    margin-right: -16px;
    margin-left: -16px;
    overflow-x: auto;
    padding-right: 16px;
    padding-left: 16px;
    scroll-snap-type: x mandatory;
  }

  .ai-commerce-shot {
    scroll-snap-align: start;
  }

  .ai-commerce-shot img {
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .intro-pane h1 {
    font-size: 36px;
  }

  .entry-heading.with-logo {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .entry-heading img {
    width: 36px;
    height: 36px;
  }

  .entry-heading h3,
  .project-card h3,
  .case-body h3,
  .theme-card h3 {
    font-size: 17px;
  }

  .detail-hero h2 {
    font-size: 30px;
  }
}

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