@import "tailwindcss";

:root {
  --ink: #000000;
  --graphite: #1d1d1f;
  --fog: #f5f5f7;
  --paper: #ffffff;
  --warm-accent: #806a43;
  --light-hairline: rgba(0, 0, 0, 0.12);
  --dark-hairline: rgba(255, 255, 255, 0.16);
  --bg: #000;
  --panel: #111113;
  --panel-raised: #1d1d1f;
  --line: rgba(255, 255, 255, 0.14);
  --muted: #a1a1a6;
  --text: #f5f5f7;
  --gold: #d6b676;
  --light: #f5f5f7;
  --light-text: #1d1d1f;
  --light-muted: #6e6e73;
  --nav-height: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.portfolioPage {
  min-height: 100vh;
  background-color: #030304;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(20% - 1px),
    rgba(255, 255, 255, 0.025) calc(20% - 1px),
    rgba(255, 255, 255, 0.025) 20%
  );
}

.hero {
  min-height: 94svh;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.84)),
    url("/hero-background.jpeg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(22, 22, 23, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  position: relative;
  z-index: 2;
  font-weight: 650;
  font-size: 13px;
  white-space: nowrap;
}

.navLinks {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(245, 245, 247, 0.78);
  font-size: 12px;
}

.navLinks a {
  transition: color 180ms ease;
}

.navLinks a:hover {
  color: #fff;
}

.navMenuToggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #fff;
}

.navMenuToggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.heroInner {
  width: min(980px, calc(100% - 40px));
  margin: auto auto 8vh;
  padding-top: calc(var(--nav-height) + 56px);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 14px auto 18px;
  font-size: 88px;
  font-weight: 650;
  line-height: 1.03;
  text-wrap: balance;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(245, 245, 247, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.heroActions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.heroActions a,
.adminPage button,
.adminLogin button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 11px 18px;
  border-radius: 6px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.heroActions a:hover,
.adminPage button:not(:disabled):hover,
.adminLogin button:hover {
  transform: translateY(-1px);
}

.heroActions a:first-child,
.adminPage button:not(:disabled),
.adminLogin button {
  background: var(--gold);
  color: #090a0d;
  border-color: var(--gold);
}

.metricStrip {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.metricStrip div {
  padding: 18px 10px 0;
}

.metricStrip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.metricStrip strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.metricStrip span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 245, 247, 0.62);
  font-size: 11px;
}

.section {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.sectionHead {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 44px;
}

.sectionHead h2,
.about h2,
.info h2 {
  margin: 10px 0 0;
  font-size: 62px;
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.sectionHead > p,
.about > p:last-child,
.info p {
  color: var(--muted);
  line-height: 1.7;
}

.introBand {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 88px;
  align-items: center;
}

.introBand h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.introBand p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.worksSection {
  padding-top: 96px;
}

.workGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workCard {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: var(--text);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease;
}

.workCard:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.workGrid .workCard:first-child.featured {
  grid-column: span 2;
}

.workGrid .workCard:first-child.featured .thumb {
  aspect-ratio: 16 / 8.8;
}

.workGrid .workCard:first-child.featured .cardText h3 {
  font-size: 34px;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0a;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.thumb img,
.pendingVideo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb img {
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.workCard:hover .thumb img {
  transform: scale(1.025);
}

.thumb > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 6px 11px;
  color: #fff;
  font-size: 11px;
}

.cardText {
  padding: 20px;
}

.cardText h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cardText p {
  min-height: 50px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cardText div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  color: #d0d0d3;
  font-size: 11px;
}

.tabs {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  margin: 0 -8px 20px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.tabs button:hover {
  color: var(--text);
}

.tabs button.active {
  color: var(--text);
  border-color: var(--gold);
}

.projectBar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 0 22px;
  padding: 12px 2px 18px;
  border-bottom: 1px solid var(--line);
}

.projectBar strong {
  font-size: 18px;
  font-weight: 600;
}

.projectBar span {
  color: var(--muted);
  font-size: 12px;
}

.visualReel {
  width: 100%;
  padding-bottom: 112px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0a0d;
}

.visualReelHeader {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: 72px;
  align-items: end;
  padding-bottom: 48px;
}

.visualReelHeader h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 62px;
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.visualReelHeader > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.visualReelGrid {
  width: min(1420px, calc(100% - 32px));
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto;
}

.visualFrame {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  background: #111;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.visualFrame1 {
  grid-row: 1 / 3;
}

.visualFrame::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.visualFrame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visualFrame:hover img {
  transform: scale(1.025);
}

.visualFrameCopy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 9px;
  padding: 30px;
}

.visualFrameCopy strong {
  max-width: 680px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
}

.visualFrame:not(.visualFrame1) .visualFrameCopy strong {
  font-size: 20px;
}

.visualFrameCopy > span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.methodSection {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background-color: #101014;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 79px,
    rgba(255, 255, 255, 0.025) 79px,
    rgba(255, 255, 255, 0.025) 80px
  );
}

.methodGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.methodGrid article {
  min-width: 0;
  padding: 36px 32px 58px;
}

.methodGrid article + article {
  border-left: 1px solid var(--line);
}

.methodGrid span {
  color: var(--gold);
  font-size: 12px;
}

.methodGrid h3 {
  margin: 54px 0 16px;
  font-size: 32px;
  font-weight: 600;
}

.methodGrid p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.libraryPortal {
  width: 100%;
  background: var(--light);
  color: var(--light-text);
}

.libraryPortalInner {
  padding-top: 116px;
  padding-bottom: 116px;
}

.libraryPortal .eyebrow {
  color: #7b5f2d;
}

.libraryPortal .sectionHead > p,
.libraryPortal .info p {
  color: var(--light-muted);
}

.infoGrid {
  border-bottom: 1px solid rgba(29, 29, 31, 0.18);
}

.info {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 42px;
  gap: 20px;
  align-items: center;
  min-height: 160px;
  padding: 28px 0;
  border-top: 1px solid rgba(29, 29, 31, 0.18);
}

.info h2 {
  margin: 0 0 8px;
  font-size: 40px;
}

.info p {
  max-width: 680px;
  margin: 0;
}

.infoIndex {
  align-self: start;
  padding-top: 6px;
  color: var(--light-muted);
  font-size: 12px;
}

.infoArrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(29, 29, 31, 0.24);
  border-radius: 50%;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.info:hover .infoArrow {
  transform: translateX(4px);
  background: var(--light-text);
  color: #fff;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
  border: 0;
  background: transparent;
}

.about > p:last-child {
  margin: 0;
  font-size: 17px;
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subPage {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.subNav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px max(22px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(22, 22, 23, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.subNav > a {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.subNav div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 12px;
}

.subNav a[aria-current="page"] {
  color: var(--gold);
}

.subHero,
.knowledgeList {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.subHero {
  padding: 112px 0 64px;
  text-align: center;
}

.subHero h1 {
  margin: 12px 0 18px;
  font-size: 88px;
  font-weight: 650;
  line-height: 1.02;
}

.subHero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.resumePage {
  background-color: #070709;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(255, 255, 255, 0.032) calc(25% - 1px),
      rgba(255, 255, 255, 0.032) 25%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 119px,
      rgba(255, 255, 255, 0.018) 119px,
      rgba(255, 255, 255, 0.018) 120px
    );
}

.resumeHero,
.resumeLayout,
.resumeEmpty {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.resumeHero {
  padding: 132px 0 78px;
  border-bottom: 1px solid var(--line);
}

.resumeHero h1 {
  max-width: 920px;
  margin: 14px 0 18px;
  font-size: 72px;
  font-weight: 650;
  line-height: 1.02;
  text-wrap: balance;
}

.resumeHero > p:last-child:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.resumeLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 80px;
  align-items: start;
  padding: 34px 0 120px;
}

.resumeSections {
  border-top: 1px solid var(--line);
}

.resumeSection {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 30px;
  padding: 54px 0 60px;
  border-bottom: 1px solid var(--line);
}

.resumeIndex {
  margin: 3px 0 0;
  color: rgba(245, 245, 247, 0.34);
  font-size: 13px;
}

.resumeSection h2,
.resumeAside h2,
.resumeEmpty h2 {
  margin: 10px 0 22px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
}

.resumeSection pre,
.resumeAside pre {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  line-height: 1.85;
}

.resumeIntro pre {
  color: rgba(245, 245, 247, 0.84);
  font-size: 18px;
}

.resumeAside {
  position: sticky;
  top: calc(var(--nav-height) + 34px);
  margin-top: 1px;
  padding: 26px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line);
}

.resumeAside h2 {
  font-size: 26px;
}

.resumeEmpty {
  min-height: 58vh;
  padding: 88px 0 120px;
  border-top: 1px solid var(--line);
}

.resumeEmpty h2 {
  max-width: 680px;
  font-size: 52px;
}

.resumeEmpty > p:last-child {
  color: var(--muted);
}

.knowledgeList {
  display: grid;
  gap: 20px;
  padding: 0 0 120px;
}

.promptCard {
  border: 1px solid var(--line);
  background: #0b0b0d;
  border-radius: 8px;
  overflow: hidden;
}

.promptCardHead {
  max-width: 900px;
  padding: 44px 48px 34px;
}

.promptCardHead h2 {
  margin: 10px 0 12px;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.08;
}

.promptCardHead > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.promptVideo {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background: #000;
}

.promptVideoEmpty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.promptTextField {
  display: grid;
  gap: 12px;
  padding: 34px 48px 18px;
}

.promptLabelRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.promptCopy {
  border: 0;
  background: transparent;
  color: var(--gold);
  padding: 8px 0;
  cursor: pointer;
}

.promptCopy:hover {
  color: #f0d69e;
}

.promptTextField textarea {
  width: 100%;
  min-height: 240px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #000;
  color: var(--text);
  padding: 22px;
  font: inherit;
  font-size: 15px;
  line-height: 1.8;
}

.promptCard > .knowledgeMeta {
  padding: 0 48px 36px;
}

.knowledgeRecord {
  border-top: 1px solid var(--line);
}

.knowledgeRecord:last-child {
  border-bottom: 1px solid var(--line);
}

.knowledgeRecord summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 34px 4px;
  cursor: pointer;
  list-style: none;
}

.knowledgeRecordLink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: center;
  padding: 34px 4px;
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.knowledgeRecordLink:hover,
.knowledgeRecordLink:focus-visible {
  background: rgba(255, 255, 255, 0.035);
}

.knowledgeRecordLink:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.knowledgeRecord summary::-webkit-details-marker {
  display: none;
}

.knowledgeRecord summary h2 {
  margin: 8px 0 8px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
}

.knowledgeRecordLink h2 {
  margin: 8px 0 8px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
}

.knowledgeRecord summary p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.recordToggle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  transition: transform 220ms ease, color 220ms ease;
}

.knowledgeRecord[open] .recordToggle {
  transform: rotate(45deg);
  color: var(--text);
}

.knowledgeBody {
  padding: 0 56px 42px 4px;
}

.knowledgeBody pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0b0d;
  color: #e8e8ed;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
}

.knowledgeMeta,
.knowledgeActions,
.adminToolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.knowledgeMeta span {
  color: var(--muted);
  font-size: 12px;
}

.knowledgeMeta span + span::before {
  content: "·";
  margin-right: 10px;
}

.knowledgeActions a {
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  padding: 6px 0;
  color: var(--gold);
  font-size: 13px;
}

.knowledgeEditor {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.knowledgeEditor article,
.resourceUpload {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.largeText {
  min-height: 180px !important;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 100;
}

.modalPanel {
  width: min(1320px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  background: #090909;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
}

.modalChrome {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 18px;
  color: var(--muted);
  font-size: 12px;
}

.modalPanel video,
.pendingVideo,
.modalImage,
.documentPreview {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.pendingVideo {
  display: grid;
  place-items: center;
  position: relative;
}

.emptyThumb,
.adminEmptyThumb,
.documentPreview {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.modalImage {
  object-fit: contain;
  display: block;
}

.documentPreview {
  padding: 42px;
  text-align: center;
}

.documentPreview a {
  display: inline-block;
  margin-top: 14px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 10px 16px;
  color: var(--gold);
}

.pendingVideo p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  padding: 12px;
  border-radius: 6px;
}

.close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.modalFooter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 24px 28px 28px;
}

.modalText h3 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 600;
}

.modalText p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.modalNavigation {
  display: grid;
  grid-template-columns: auto 38px 38px;
  gap: 8px;
  align-items: center;
}

.modalNavigation > span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 12px;
}

.modalNavigation button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease;
}

.modalNavigation button:hover,
.close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.adminLogin {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
}

.adminLogin > div {
  width: min(420px, calc(100% - 40px));
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 34px;
}

.adminLogin input,
.adminBlock input,
.adminBlock textarea,
.adminBlock select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b0d12;
  color: var(--text);
  border-radius: 6px;
  padding: 12px;
}

.adminLogin input {
  margin: 18px 0 12px;
}

.adminPage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--bg);
}

.adminPage aside {
  border-right: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.adminPage aside a {
  display: block;
  color: var(--muted);
  padding: 12px 0;
}

.adminPage section {
  padding: 34px;
}

.adminHead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}

.adminBlock {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 22px;
}

.adminHint {
  color: var(--muted);
  margin: -6px 0 18px;
  line-height: 1.7;
}

.adminBlock label {
  display: block;
  color: var(--gold);
  margin: 16px 0;
  font-size: 13px;
}

.adminBlock textarea {
  min-height: 86px;
  margin-top: 8px;
  resize: vertical;
  color: var(--text);
  font-size: 15px;
}

.resumeEditorGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.resumeEditorGrid .resumeFieldWide {
  grid-column: 1 / -1;
}

.resumeEditorGrid .largeText {
  min-height: 170px;
}

.adminWorks {
  display: grid;
  gap: 10px;
}

.adminWorkFilters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(200px, 280px) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 16px;
}

.adminWorkFilters label {
  margin: 0;
}

.adminWorkFilters input,
.adminWorkFilters select {
  margin-top: 8px;
}

.adminWorkFilters > span {
  color: var(--muted);
  padding: 12px 0;
  white-space: nowrap;
}

.adminWorkItem {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.adminWorkItem summary {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.adminWorkItem summary::-webkit-details-marker {
  display: none;
}

.adminWorkItem summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.adminWorkItem[open] summary {
  border-bottom: 1px solid var(--line);
}

.adminWorkItem summary img,
.adminWorkItem summary .adminEmptyThumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.adminWorkSummary h4 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 15px;
}

.adminWorkSummary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.adminWorkStatus {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.adminWorkStatus span {
  color: var(--muted);
  font-size: 12px;
}

.adminWorkStatus strong {
  color: var(--gold);
  font-size: 13px;
}

.adminWorkEditor {
  padding: 4px 18px 18px;
}

.adminWorks label {
  color: var(--muted);
}

.adminWorks input[type="checkbox"] {
  width: auto;
  margin-left: 10px;
}

.inlineControls,
.uploadGrid {
  display: grid;
  gap: 14px;
}

.inlineControls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uploadGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkLine {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.checkLine input {
  width: auto;
}

button:disabled {
  opacity: 0.5;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero h1 {
    font-size: 64px;
  }

  .sectionHead h2,
  .about h2 {
    font-size: 50px;
  }

  .introBand h2 {
    font-size: 56px;
  }

  .subHero h1 {
    font-size: 64px;
  }

  .promptCardHead h2 {
    font-size: 44px;
  }

  .knowledgeRecord summary h2 {
    font-size: 38px;
  }

  .visualReelHeader h2 {
    font-size: 50px;
  }

  .visualReelGrid {
    min-height: 600px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .resumeHero h1 {
    font-size: 58px;
  }

  .resumeLayout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
  }
}

@media (max-width: 820px) {
  .nav {
    padding: 0 18px;
  }

  .navMenuToggle {
    display: block;
  }

  .navMenuToggle[aria-expanded="true"] span:first-child {
    transform: translateY(2.5px) rotate(45deg);
  }

  .navMenuToggle[aria-expanded="true"] span:last-child {
    transform: translateY(-2.5px) rotate(-45deg);
  }

  .navLinks {
    position: absolute;
    inset: var(--nav-height) 0 auto;
    display: none;
    gap: 0;
    padding: 14px 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(22, 22, 23, 0.96);
  }

  .navLinks.open {
    display: grid;
  }

  .navLinks a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }

  .hero {
    min-height: 82svh;
    background-position: 54% center;
  }

  .heroInner {
    width: calc(100% - 32px);
    margin-bottom: 7vh;
    padding-top: calc(var(--nav-height) + 44px);
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.04;
  }

  .hero p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.6;
  }

  .heroActions {
    flex-wrap: wrap;
  }

  .metricStrip {
    margin-top: 30px;
  }

  .metricStrip strong {
    font-size: 22px;
  }

  .metricStrip span {
    font-size: 10px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .sectionHead,
  .introBand,
  .workGrid,
  .visualReelHeader,
  .methodGrid,
  .about,
  .modalFooter,
  .adminPage {
    grid-template-columns: 1fr;
  }

  .sectionHead,
  .introBand,
  .visualReelHeader,
  .about {
    gap: 24px;
  }

  .sectionHead {
    margin-bottom: 32px;
  }

  .sectionHead h2,
  .about h2 {
    font-size: 38px;
  }

  .introBand {
    min-height: auto;
  }

  .introBand h2 {
    font-size: 42px;
  }

  .introBand p:not(.eyebrow) {
    font-size: 16px;
  }

  .worksSection {
    padding-top: 76px;
  }

  .portfolioPage {
    background-image: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.022) calc(50% - 1px),
      rgba(255, 255, 255, 0.022) 50%
    );
  }

  .visualReel {
    padding-bottom: 76px;
  }

  .visualReelHeader {
    padding-bottom: 32px;
  }

  .visualReelHeader h2 {
    font-size: 38px;
  }

  .visualReelGrid {
    width: calc(100% - 32px);
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .visualFrame,
  .visualFrame1 {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .visualFrame1 {
    aspect-ratio: 16 / 11;
  }

  .visualFrameCopy {
    padding: 22px;
  }

  .visualFrameCopy strong,
  .visualFrame:not(.visualFrame1) .visualFrameCopy strong {
    font-size: 22px;
  }

  .methodGrid article {
    padding: 28px 4px 36px;
  }

  .methodGrid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .methodGrid h3 {
    margin: 28px 0 12px;
    font-size: 28px;
  }

  .workGrid .workCard:first-child.featured {
    grid-column: auto;
  }

  .workGrid .workCard:first-child.featured .thumb {
    aspect-ratio: 16 / 10;
  }

  .workGrid .workCard:first-child.featured .cardText h3 {
    font-size: 22px;
  }

  .tabs {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .libraryPortalInner {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .info {
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 12px;
    min-height: 136px;
  }

  .info h2 {
    font-size: 28px;
  }

  .info p {
    font-size: 14px;
  }

  .subNav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 10px 18px;
  }

  .subNav div {
    width: 100%;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .subNav div::-webkit-scrollbar {
    display: none;
  }

  .subHero,
  .knowledgeList,
  .resumeHero,
  .resumeLayout,
  .resumeEmpty {
    width: calc(100% - 32px);
  }

  .subHero {
    padding: 74px 0 42px;
  }

  .subHero h1 {
    font-size: 48px;
  }

  .resumeHero {
    padding: 92px 0 54px;
  }

  .resumeHero h1 {
    font-size: 46px;
  }

  .resumeHero > p:last-child:not(.eyebrow) {
    font-size: 17px;
  }

  .resumeLayout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px 0 84px;
  }

  .resumeSection {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    padding: 40px 0 46px;
  }

  .resumeSection h2,
  .resumeEmpty h2 {
    font-size: 32px;
  }

  .resumeSection pre,
  .resumeAside pre {
    font-size: 15px;
  }

  .resumeIntro pre {
    font-size: 16px;
  }

  .resumeAside {
    position: static;
    margin: 0;
  }

  .resumeEmpty {
    min-height: 54vh;
    padding: 66px 0 90px;
  }

  .promptCardHead,
  .promptTextField {
    padding-right: 22px;
    padding-left: 22px;
  }

  .promptCardHead {
    padding-top: 30px;
  }

  .promptCardHead h2 {
    font-size: 32px;
  }

  .promptTextField textarea {
    min-height: 280px;
    padding: 16px;
    font-size: 14px;
  }

  .promptCard > .knowledgeMeta {
    padding-right: 22px;
    padding-left: 22px;
  }

  .knowledgeRecord summary {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 14px;
    padding: 26px 0;
  }

  .knowledgeRecordLink {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 14px;
    padding: 26px 0;
  }

  .knowledgeRecord summary h2 {
    font-size: 28px;
  }

  .knowledgeRecordLink h2 {
    font-size: 28px;
  }

  .knowledgeBody {
    padding-right: 0;
    padding-left: 0;
  }

  .knowledgeBody pre {
    padding: 18px;
    font-size: 14px;
  }

  .modal {
    padding: 0;
  }

  .modalPanel {
    width: 100%;
    height: 100svh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .modalFooter {
    gap: 22px;
    padding: 20px 18px 28px;
  }

  .modalNavigation {
    justify-content: end;
  }

  .adminWorkFilters,
  .adminWorkItem summary,
  .resumeEditorGrid {
    grid-template-columns: 1fr;
  }

  .resumeEditorGrid .resumeFieldWide {
    grid-column: auto;
  }

  .adminWorkItem summary img,
  .adminWorkItem summary .adminEmptyThumb {
    width: 140px;
  }

  .adminWorkStatus {
    justify-items: start;
  }

  .adminPage aside {
    height: auto;
    position: static;
  }

  .adminPage section {
    padding: 20px;
  }

  .adminBlock {
    padding: 20px;
  }

  .inlineControls,
  .uploadGrid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.studioShell {
  min-height: 100svh;
  background: #08090a;
  color: #f5f5f7;
}

.studioHeader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 9, 10, 0.8);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.studioBrand { font-size: 14px; font-weight: 650; }
.studioBrand span { color: #a1a1a6; font-weight: 400; }
.studioActions { display: flex; align-items: center; gap: 22px; color: #a1a1a6; font-size: 12px; }
.studioActions a:hover { color: #fff; }
.studioFrameWrap { min-height: 100svh; padding-top: 52px; position: relative; }
.studioFrame { width: 100%; height: calc(100svh - 52px); display: block; border: 0; opacity: 0; transition: opacity 220ms ease; }
.studioFrame.ready { opacity: 1; }
.studioLoading, .studioUnavailable { position: absolute; inset: 52px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 28px; text-align: center; background: #08090a; }
.studioLoading { color: #a1a1a6; font-size: 13px; }
.studioUnavailable h1 { margin: 0; font-size: clamp(30px, 5vw, 56px); font-weight: 600; }
.studioUnavailable p:not(.eyebrow) { max-width: 420px; margin: 0; color: #a1a1a6; line-height: 1.7; }
.studioUnavailableActions { display: flex; gap: 10px; margin-top: 16px; }
.studioUnavailableActions button, .studioUnavailableActions a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 6px; background: transparent; color: #f5f5f7; cursor: pointer; font: inherit; font-size: 12px; }
.studioUnavailableActions button:hover, .studioUnavailableActions a:hover { border-color: #fff; }
.studioToolEntry { max-width: 1040px; margin: 0 auto; padding: 38px 24px; display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid var(--light-hairline); background: var(--paper); color: var(--graphite); }
.studioToolEntry h1 { margin: 8px 0 0; font-size: 32px; font-weight: 600; }
.studioToolEntry p:last-child { margin: 8px 0 0; color: var(--light-muted); font-size: 13px; }
.studioToolEntry > a { min-height: 42px; display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--graphite); white-space: nowrap; font-size: 13px; }

@media (max-width: 680px) {
  .studioHeader { padding: 0 16px; }
  .studioBrand span, .studioActions a:first-child { display: none; }
  .studioToolEntry { display: block; }
  .studioToolEntry > a { width: fit-content; margin-top: 22px; }
}

/* ZZZEMO public exhibition */
.exhibitionPage {
  min-height: 100vh;
  overflow: clip;
  background: var(--fog);
  background-image: none;
  color: var(--graphite);
}

.publicHeader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - 1280px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.publicBrand {
  font-size: 14px;
  font-weight: 650;
}

.publicNav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.publicNav a {
  transition: color 180ms ease;
}

.publicNav a:hover {
  color: #ffffff;
}

.heroExhibition {
  position: relative;
  min-height: 650px;
  height: 82svh;
  max-height: 920px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite);
  color: #ffffff;
}

.heroExhibitionMedia,
.heroContrast {
  position: absolute;
  inset: 0;
}

.heroExhibitionMedia img,
.heroExhibitionMedia video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 48%;
}

.heroContrast {
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.heroExhibitionCopy {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 70px;
}

.heroExhibitionCopy > * {
  max-width: 540px;
}

.heroLabel,
.sectionLabel {
  margin: 0;
  color: var(--warm-accent);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.heroLabel {
  color: rgba(255, 255, 255, 0.68);
}

.heroExhibitionCopy h1 {
  margin: 13px 0 4px;
  font-size: 92px;
  font-weight: 650;
  line-height: 0.96;
}

.heroExhibitionCopy h2 {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 550;
  line-height: 1.22;
}

.heroExhibitionCopy > p:last-of-type {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.68;
}

.heroExhibitionActions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.heroExhibitionActions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.heroExhibitionActions a:hover {
  transform: translateY(-1px);
}

.heroExhibitionActions .primaryAction {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.heroExhibitionActions .secondaryAction {
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
}

.scrollCue {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - 1280px) / 2));
  bottom: 34px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: #ffffff;
}

.exhibitionMetrics {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 24px max(24px, calc((100% - 880px) / 2));
  border-bottom: 1px solid var(--light-hairline);
  background: var(--paper);
  color: var(--graphite);
}

.exhibitionMetrics div {
  text-align: center;
}

.exhibitionMetrics div + div {
  border-left: 1px solid var(--light-hairline);
}

.exhibitionMetrics strong,
.exhibitionMetrics span {
  display: block;
}

.exhibitionMetrics strong {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.exhibitionMetrics span {
  margin-top: 7px;
  color: #6e6e73;
  font-size: 11px;
}

.selectedWorks,
.projectArchive,
.methodBand,
.knowledgePortal,
.resumeCallout {
  padding: 120px max(24px, calc((100% - 1280px) / 2));
}

.selectedWorks {
  background: var(--ink);
  color: #ffffff;
}

.exhibitionSectionHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: end;
  gap: 72px;
  margin: 0 auto 48px;
}

.exhibitionSectionHead h2 {
  margin: 10px 0 0;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.04;
}

.exhibitionSectionHead > p {
  margin: 0;
  color: #77777d;
  font-size: 15px;
  line-height: 1.7;
}

.selectedWorks .sectionLabel {
  color: rgba(255, 255, 255, 0.58);
}

.selectedWorks .exhibitionSectionHead > p,
.knowledgePortal .exhibitionSectionHead > p {
  color: #a1a1a6;
}

.selectedWorkGrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.selectedWork {
  position: relative;
  grid-column: span 6;
  aspect-ratio: 16 / 10;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #161617;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.selectedWork1 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.selectedWork img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.selectedWork:hover img,
.selectedWork:focus-visible img {
  transform: scale(1.025);
}

.selectedWorkShade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.selectedWorkCopy {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 90px;
  bottom: 24px;
}

.selectedWorkCopy span,
.selectedWorkCopy strong {
  display: block;
}

.selectedWorkCopy span {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.selectedWorkCopy strong {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.selectedWork1 .selectedWorkCopy strong {
  font-size: 36px;
}

.playMark {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.emptyExhibition {
  min-height: 240px;
  display: grid;
  place-items: center;
  margin: 0;
  border-top: 1px solid var(--dark-hairline);
  color: #a1a1a6;
}

.projectArchive {
  background: var(--fog);
  color: var(--graphite);
}

.archiveTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--light-hairline);
}

.archiveTabs button {
  min-height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6e6e73;
  cursor: pointer;
}

.archiveTabs button:hover,
.archiveTabs button.active {
  color: var(--graphite);
}

.archiveTabs button.active {
  border-bottom-color: var(--graphite);
}

.archiveMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.archiveMeta strong {
  font-size: 18px;
  font-weight: 600;
}

.archiveMeta span {
  color: #77777d;
  font-size: 12px;
}

.projectArchive .workGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.exhibitionPage .workCard {
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--light-hairline);
  border-radius: 8px;
  background: var(--paper);
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms ease;
}

.exhibitionPage .workCard:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.28);
}

.exhibitionPage .thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8ed;
}

.exhibitionPage .thumb::after {
  content: none;
}

.exhibitionPage .thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.exhibitionPage .thumb > .mediaState {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: #ffffff;
  font-size: 10px;
}

.exhibitionPage .thumb > .mediaState.unavailable {
  background: rgba(29, 29, 31, 0.76);
}

.exhibitionPage .thumb > .emptyThumb {
  position: static;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #77777d;
}

.exhibitionPage .cardText {
  display: block;
  min-height: 148px;
  padding: 18px;
}

.exhibitionPage .cardText > span,
.exhibitionPage .cardText > strong {
  display: block;
}

.exhibitionPage .workProject {
  margin-bottom: 8px;
  color: var(--warm-accent);
  font-size: 10px;
}

.exhibitionPage .cardText > strong {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.exhibitionPage .cardText > strong + span {
  display: -webkit-box;
  overflow: hidden;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.projectArchiveMobile {
  display: none;
}

.methodBand {
  background: var(--paper);
  color: var(--graphite);
}

.methodColumns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-hairline);
  border-bottom: 1px solid var(--light-hairline);
}

.methodColumns article {
  min-width: 0;
  padding: 40px;
}

.methodColumns article + article {
  border-left: 1px solid var(--light-hairline);
}

.methodColumns span {
  color: var(--warm-accent);
  font-size: 11px;
}

.methodColumns h3 {
  margin: 42px 0 12px;
  font-size: 28px;
  font-weight: 600;
}

.methodColumns p {
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.72;
}

.knowledgePortal {
  background: var(--ink);
  color: #ffffff;
}

.knowledgePortal .sectionLabel {
  color: rgba(255, 255, 255, 0.58);
}

.knowledgeRows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--dark-hairline);
}

.knowledgeRow {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  align-content: start;
  gap: 0 18px;
  padding: 34px 30px;
  border-bottom: 1px solid var(--dark-hairline);
  transition: background 180ms ease;
}

.knowledgeRow:nth-child(odd) {
  border-right: 1px solid var(--dark-hairline);
}

.knowledgeRow:hover {
  background: rgba(255, 255, 255, 0.06);
}

.knowledgeRow > span {
  grid-row: 1 / 3;
  color: #8e8e93;
  font-size: 11px;
}

.knowledgeRow strong {
  font-size: 28px;
  font-weight: 550;
}

.knowledgeRow p {
  grid-column: 2;
  margin: 18px 0 0;
  color: #a1a1a6;
  font-size: 13px;
  line-height: 1.65;
}

.knowledgeRow i {
  grid-column: 3;
  grid-row: 1;
  font-size: 20px;
  font-style: normal;
  text-align: right;
}

.resumeCallout {
  min-height: 360px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  background: var(--paper);
  color: var(--graphite);
}

.resumeCallout h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
}

.resumeCallout div p {
  margin: 12px 0 0;
  color: #6e6e73;
}

.resumeCallout > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--graphite);
}

.publicFooter {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 32px;
  padding: 28px max(24px, calc((100% - 1280px) / 2));
  border-top: 1px solid var(--dark-hairline);
  background: var(--ink);
  color: #ffffff;
}

.publicFooter strong {
  font-size: 14px;
  font-weight: 650;
}

.publicFooter > span {
  color: #77777d;
  font-size: 10px;
}

.adminLock {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #a1a1a6;
}

.lockIcon {
  position: relative;
  width: 15px;
  height: 12px;
  display: block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.lockIcon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 8px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  transform: translateX(-50%);
}

.adminLock::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: 48px;
  width: max-content;
  padding: 6px 8px;
  border: 1px solid var(--dark-hairline);
  border-radius: 4px;
  background: var(--graphite);
  color: #ffffff;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.adminLock:hover::after,
.adminLock:focus-visible::after {
  opacity: 1;
}

.heroAdminPanel {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.heroAdminPreview {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #050506;
}

.heroAdminPreview img,
.heroAdminPreview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 960px) {
  .exhibitionSectionHead {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .projectArchive .workGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodColumns article {
    padding: 32px 24px;
  }

  .resumeCallout {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .resumeCallout > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .publicHeader {
    padding: 0 18px;
  }

  .publicHeader .navMenuToggle {
    display: block;
    color: #ffffff;
  }

  .publicNav {
    position: fixed;
    inset: 52px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    border-bottom: 1px solid var(--dark-hairline);
    background: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .publicNav.open {
    display: flex;
  }

  .publicNav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .heroExhibition {
    min-height: 620px;
    height: 82svh;
    max-height: 760px;
    align-items: flex-end;
  }

  .heroExhibitionMedia img,
  .heroExhibitionMedia video {
    object-position: 54% center;
  }

  .heroContrast {
    background: rgba(0, 0, 0, 0.36);
  }

  .heroExhibitionCopy {
    width: calc(100% - 36px);
    margin: 0 18px;
    padding: 0 0 74px;
  }

  .heroExhibitionCopy > * {
    max-width: 320px;
  }

  .heroExhibitionCopy h1 {
    margin-top: 10px;
    font-size: 56px;
  }

  .heroExhibitionCopy h2 {
    margin-top: 13px;
    font-size: 21px;
  }

  .heroExhibitionCopy > p:last-of-type {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
  }

  .heroExhibitionActions {
    margin-top: 18px;
  }

  .heroExhibitionActions a {
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }

  .scrollCue {
    right: 18px;
    bottom: 20px;
  }

  .exhibitionMetrics {
    min-height: 94px;
    padding: 18px 10px;
  }

  .exhibitionMetrics strong {
    font-size: 22px;
  }

  .selectedWorks,
  .projectArchive,
  .methodBand,
  .knowledgePortal,
  .resumeCallout {
    padding: 86px 14px;
  }

  .exhibitionSectionHead {
    margin-bottom: 30px;
  }

  .exhibitionSectionHead h2 {
    font-size: 40px;
  }

  .exhibitionSectionHead > p {
    font-size: 14px;
  }

  .selectedWorkGrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .selectedWork,
  .selectedWork1 {
    grid-column: 1;
    aspect-ratio: 4 / 5;
  }

  .selectedWorkCopy {
    left: 18px;
    right: 72px;
    bottom: 18px;
  }

  .selectedWorkCopy strong,
  .selectedWork1 .selectedWorkCopy strong {
    font-size: 23px;
  }

  .playMark {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .projectArchiveDesktop {
    display: none;
  }

  .projectArchiveMobile {
    display: block;
    border-top: 1px solid var(--light-hairline);
  }

  .projectArchiveMobile details {
    border-bottom: 1px solid var(--light-hairline);
  }

  .projectArchiveMobile summary {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
  }

  .projectArchiveMobile summary span {
    font-weight: 600;
  }

  .projectArchiveMobile summary small {
    color: #77777d;
  }

  .mobileWorkList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 18px;
  }

  .methodColumns {
    grid-template-columns: 1fr;
  }

  .methodColumns article {
    padding: 30px 4px;
  }

  .methodColumns article + article {
    border-top: 1px solid var(--light-hairline);
    border-left: 0;
  }

  .methodColumns h3 {
    margin-top: 28px;
  }

  .knowledgeRows {
    grid-template-columns: 1fr;
  }

  .knowledgeRow {
    min-height: 178px;
    padding: 28px 4px;
  }

  .knowledgeRow:nth-child(odd) {
    border-right: 0;
  }

  .knowledgeRow strong {
    font-size: 24px;
  }

  .resumeCallout {
    min-height: 330px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .resumeCallout h2 {
    font-size: 38px;
  }

  .resumeCallout > a {
    grid-column: auto;
  }

  .publicFooter {
    min-height: 150px;
    grid-template-columns: 1fr 44px;
    gap: 18px;
    padding: 28px 18px;
  }

  .publicFooter > span {
    grid-column: 1;
    grid-row: 2;
  }

  .adminLock {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .heroAdminPanel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exhibitionPage *,
  .exhibitionPage *::before,
  .exhibitionPage *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Long-form AI case study */
.casePage {
  min-height: 100vh;
  background: #f5f5f7;
  color: #1d1d1f;
}

.caseNav {
  color: #f5f5f7;
}

.caseHero,
.caseSection {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.caseHero {
  min-height: min(760px, 82svh);
  display: grid;
  align-content: end;
  padding-block: 160px 88px;
  background: #000;
  color: #f5f5f7;
}

.caseHero h1 {
  max-width: 960px;
  margin: 14px 0 22px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.caseHero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #a1a1a6;
  font-size: 19px;
  line-height: 1.75;
}

.caseHeroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #86868b;
  font-size: 13px;
}

.caseHeroMeta span + span::before {
  content: "·";
  margin-right: 18px;
}

.caseSection {
  padding-block: 104px;
}

.caseSectionDark {
  background: #000;
  color: #f5f5f7;
}

.caseSectionWhite {
  background: #fff;
}

.caseSection h2 {
  max-width: 900px;
  margin: 12px 0 34px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.caseSection h3 {
  letter-spacing: 0;
}

.caseLead,
.caseSectionIntro > p:last-child {
  max-width: 760px;
  margin: -12px 0 42px;
  color: #6e6e73;
  font-size: 18px;
  line-height: 1.8;
}

.caseSectionDark .caseLead {
  color: #a1a1a6;
}

.caseComparison,
.caseMediaGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.caseVideoFigure,
.caseImageFigure {
  min-width: 0;
  margin: 0;
}

.caseVideoFigure video,
.caseImageFigure img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
}

.caseVideoFigure video {
  aspect-ratio: 9 / 16;
  max-height: 760px;
  object-fit: cover;
}

.caseImageFigure img {
  height: min(680px, 72svh);
  object-fit: contain;
  background: #e8e8ed;
}

.caseVideoFigure figcaption,
.caseImageFigure figcaption {
  display: grid;
  gap: 5px;
  padding-top: 14px;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.55;
}

.caseVideoFigure figcaption strong {
  color: currentColor;
  font-size: 18px;
  font-weight: 600;
}

.caseSectionDark .caseVideoFigure figcaption,
.caseSectionDark .caseImageFigure figcaption {
  color: #a1a1a6;
}

.caseSectionIntro {
  max-width: 880px;
  margin-bottom: 48px;
}

.caseSectionIntro + .caseImageFigure {
  margin-bottom: 64px;
}

.caseSectionIntro + .caseImageFigure img {
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.caseWorkflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.caseWorkflow article {
  min-height: 260px;
  padding: 28px 24px 34px;
}

.caseWorkflow article + article {
  border-left: 1px solid rgba(0, 0, 0, 0.16);
}

.caseWorkflow span,
.caseStepNumber {
  color: #806a43;
  font-size: 13px;
}

.caseWorkflow h3 {
  margin: 72px 0 12px;
  font-size: 24px;
  font-weight: 600;
}

.caseWorkflow p {
  margin: 0;
  color: #6e6e73;
  line-height: 1.7;
}

.knowledgeRecordLink p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.knowledgeRecordLink:hover .knowledgeRecordArrow,
.knowledgeRecordLink:focus-visible .knowledgeRecordArrow {
  color: var(--text);
  transform: translateX(4px);
}

.caseProcess {
  display: grid;
  gap: 96px;
}

.caseProcess > article {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  padding-top: 30px;
}

.caseProcessCopy h3 {
  margin: 12px 0 20px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.16;
}

.caseProcessCopy p,
.caseChecklist li {
  color: #515154;
  font-size: 16px;
  line-height: 1.85;
}

.caseCallout {
  border-left: 2px solid #806a43;
  padding-left: 18px;
  color: #1d1d1f !important;
  font-weight: 600;
}

.caseQuote,
.caseChecklist {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 26px;
  background: #f5f5f7;
}

.caseQuote > span {
  display: block;
  margin-bottom: 18px;
  color: #806a43;
  font-size: 13px;
  font-weight: 600;
}

.caseQuote pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #1d1d1f;
  font: inherit;
  line-height: 1.8;
}

.caseChecklist {
  padding-left: 48px;
}

.caseChecklist li + li {
  margin-top: 9px;
}

.casePromptHead {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}

.casePromptHead h2 {
  margin-bottom: 0;
}

.casePromptHead .promptCopy {
  flex: 0 0 auto;
  margin-bottom: 9px;
}

.casePrompt {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.casePrompt article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 24px;
  background: #0b0b0d;
}

.casePrompt h3 {
  margin: 0 0 18px;
  color: #d2b477;
  font-size: 15px;
  font-weight: 600;
}

.casePrompt pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #e8e8ed;
  font: inherit;
  font-size: 14px;
  line-height: 1.82;
}

.caseTableWrap {
  width: 100%;
  overflow-x: auto;
}

.caseTable {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.caseTable th,
.caseTable td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  padding: 17px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.caseTable th {
  color: #6e6e73;
  font-size: 13px;
  font-weight: 600;
}

.caseTable td:first-child {
  color: #1d1d1f;
  font-weight: 600;
}

.caseReviewBlock + .caseReviewBlock {
  margin-top: 72px;
}

.caseReviewBlock h3 {
  margin: 0 0 18px;
  font-size: 26px;
}

.casePrinciple {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  margin-top: 88px;
  border-top: 2px solid #1d1d1f;
  padding-top: 28px;
}

.casePrinciple span {
  color: #806a43;
  font-size: 13px;
  font-weight: 600;
}

.casePrinciple p {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
}

.caseReferenceGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}

.caseReferenceGrid .caseImageFigure img {
  height: 420px;
}

.caseFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #000;
  color: #86868b;
  font-size: 13px;
}

.caseFooter a {
  color: #f5f5f7;
}

.casePage a:focus-visible,
.casePage button:focus-visible,
.casePage video:focus-visible {
  outline: 2px solid #806a43;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .caseWorkflow,
  .caseReferenceGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .caseWorkflow article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
  }

  .caseWorkflow article:nth-child(4) {
    border-top: 1px solid rgba(0, 0, 0, 0.16);
  }

  .caseProcess > article {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .caseNav div {
    display: none;
  }

  .caseHero,
  .caseSection {
    padding-inline: 20px;
  }

  .caseHero {
    min-height: 680px;
    padding-block: 124px 58px;
  }

  .caseHero h1 {
    font-size: 48px;
  }

  .caseHero > p:not(.eyebrow) {
    font-size: 16px;
  }

  .caseSection {
    padding-block: 68px;
  }

  .caseSection h2 {
    font-size: 38px;
  }

  .caseComparison,
  .caseMediaGrid,
  .casePrompt,
  .caseWorkflow,
  .caseReferenceGrid {
    grid-template-columns: 1fr;
  }

  .caseWorkflow article,
  .caseWorkflow article + article,
  .caseWorkflow article:nth-child(3),
  .caseWorkflow article:nth-child(4) {
    min-height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
    border-left: 0;
  }

  .caseWorkflow h3 {
    margin-top: 40px;
  }

  .caseImageFigure img,
  .caseReferenceGrid .caseImageFigure img {
    height: auto;
    max-height: none;
  }

  .caseProcess {
    gap: 72px;
  }

  .caseProcessCopy h3 {
    font-size: 28px;
  }

  .casePromptHead,
  .caseFooter {
    align-items: flex-start;
    flex-direction: column;
  }

  .casePrompt pre,
  .caseQuote pre {
    font-size: 14px;
  }

  .casePrinciple {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .casePage *,
  .casePage *::before,
  .casePage *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
