/* ----------------------------------
   DESIGN TOKENS & BASE
---------------------------------- */
:root {
  --bg: #070708;
  --surface: #292929;
  --line: rgba(255, 255, 255, .105);
  --line-soft: rgba(255, 255, 255, .055);
  --text: #f1f0eb;
  --muted: #a8a7a1;
  --acid: #FFCD39;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
}

/* ----------------------------------
   FONT STYLES
---------------------------------- */
body {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.brand,
.overline {
  font-family: "Antic Didone", Georgia, serif;
  font-weight: 400;
}

/* Navigation panel type */
nav a,
.sidebar-footer a,
.text-link,
.about-link,
dd { font-family: "Inter", Arial, sans-serif; }

nav a { font-size: 18px; }
nav a span,
.sidebar-footer,
.eyebrow,
dt { font-family: "DM Mono", monospace; }

nav a span { font-size: 11px; }
.sidebar-footer { font-size: 10px; line-height: 1.5; }
.sidebar-footer a { font-size: 13px; }
.eyebrow { font-size: 11px; line-height: 1.4; }

/* Reusable display and body styles */
.brand { font-size: 16px; letter-spacing: .05em; }
.overline { font-size: clamp(1.575rem, 2.15vw, 2.125rem); letter-spacing: .01em; line-height: 1; }
.page-title { font-family: "Inter", Arial, sans-serif; font-size: 1.5rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1.4; }
.body-copy { font-family: "Inter", Arial, sans-serif; font-size: .9rem; font-weight: 300; letter-spacing: -.02em; line-height: 1.5; }
.text-link,
.about-link { font-size: 14px; }
dt { font-size: 11px; }
dd { font-size: 13px; }

/* ----------------------------------
   BACKGROUND GRID
---------------------------------- */
.page-grid {
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
  inset: 0;
  opacity: .42;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

/* ----------------------------------
   SIDEBAR & NAVIGATION
---------------------------------- */
.sidebar {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: flex-start;
  padding: 27px 24px 24px;
  position: fixed;
  width: 240px;
  z-index: 20;
}
.sidebar-identity { align-items: center; display: flex; gap: 12px; }
.mobile-menu-trigger { background: none; border: 0; cursor: pointer; display: block; padding: 0; }
.brand { color: var(--text); text-decoration: none; }
.profile-placeholder {
  background: #222 url("assets/profile.png") center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: block;
  height: 80px;
  overflow: hidden;
  position: relative;
  user-select: none;
  width: 80px;
}
nav { display: grid; gap: 4px; margin: 24px 0 0; }
nav a {
  align-items: baseline;
  color: var(--muted);
  display: flex;
  justify-content: flex-start;
  padding: 8px 0;
  text-align: left;
  text-decoration: none;
  transition: color .2s ease;
}
nav a:hover,
nav a.active { color: var(--text); font-weight: 500; }
nav a span { color: #73736f; }
.sidebar-footer { color: var(--muted); margin-top: auto; position: relative; }
.sidebar-footer a { color: var(--text); display: block; text-decoration: none; }
.sidebar-footer a span { color: var(--acid); }
.sidebar-footer button { font: inherit; }
.sidebar-footer p { margin: 0; }
.sidebar-footer .eyebrow { margin-bottom: 14px; }
.sidebar-footer .contact-link {
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  padding: 0;
  text-align: left;
}
.sidebar-footer .contact-link + .email-trigger { margin-bottom: 22px; }
.email-popover {
  align-items: center;
  background: #1b1b1e;
  border: 1px solid rgba(255, 255, 255, .19);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
  color: var(--text);
  display: flex;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  gap: 12px;
  left: 0;
  padding: 10px;
  position: absolute;
  bottom: 26px;
  white-space: nowrap;
  z-index: 3;
}
.email-popover[hidden] { display: none; }
.email-copy {
  background: #fff;
  border: 0;
  color: #000;
  cursor: pointer;
  font: inherit;
  padding: 5px 7px;
}
.email-copy:focus-visible,
.email-trigger:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sidebar-divider {
  border-top: 1px solid var(--line);
  margin: 0 -24px 34px;
}
.mobile-footer { display: none; }

/* ----------------------------------
   HERO & PIXEL FLOW
---------------------------------- */
main { margin-left: 240px; }
.about-pixel-flow,
.site-pixel-flow {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  height: 10px;
  overflow: hidden;
  position: relative;
}
.about-pixel-flow canvas,
.site-pixel-flow canvas { height: 100%; inset: 0; position: absolute; width: 100%; z-index: 0; }
.pixel-flow--progress {
  --pixel-progress: 0%;
  position: sticky;
  top: 0;
  z-index: 10;
}
.pixel-flow--progress::after {
  background: var(--bg);
  content: "";
  inset: 0 0 0 var(--pixel-progress);
  pointer-events: none;
  position: absolute;
  transition: left .06s linear;
  z-index: 1;
}
.intro {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-rows: 190px auto;
  position: relative;
}
.pixel-flow-box {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 190px;
  overflow: hidden;
  position: relative;
}
.pixel-flow-box canvas { height: 100%; inset: 0; position: absolute; width: 100%; }
.intro-copy { align-self: end; height: fit-content; justify-self: center; max-width: none; padding: 30px; width: 100%; }
.intro-columns { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overline { color: var(--text); margin: 0 0 26px; text-transform: none; }
.page-title { color: #d0cfca; max-width: 510px; }
h1.page-title { margin: 0; }
h1 em { color: var(--acid); font-style: normal; }
.intro-right { align-self: start; padding-bottom: 0; }
.lede.page-title { margin: 0; }
.text-link {
  align-items: center;
  border-bottom: 1.5px solid rgba(255, 205, 57, .55);
  color: var(--text);
  display: inline-flex;
  padding-bottom: 7px;
  text-decoration: none;
  transition: border-color .25s ease, color .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.text-link span {
  color: var(--acid);
  margin-left: 27px;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.text-link:hover,
.text-link:focus-visible {
  border-color: var(--acid);
  color: #fff9e6;
  transform: translateX(4px);
}
.text-link:hover span,
.text-link:focus-visible span { transform: translateY(4px); }
.text-link:focus-visible { outline: 1px solid var(--acid); outline-offset: 5px; }
.about-link { display: table; margin-top: 24px; }

/* ----------------------------------
   ABOUT & CURRENT DETAILS
---------------------------------- */
.about-grid { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.about-cell { min-height: 320px; padding: 30px; }
.about-cell + .about-cell { border-left: 1px solid var(--line); }
.eyebrow { color: var(--muted); letter-spacing: .02em; margin: 0; text-transform: uppercase; }
.body-copy { color: #d0cfca; margin: 68px 0 0; max-width: 510px; }
.facts dl { margin: 53px 0 0; }
.facts div { border-bottom: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; padding: 12px 0; }
.facts div:last-child { border-bottom: 0; }
dt { color: var(--muted); }
.facts dt { flex: 0 0 max-content; width: max-content; }
dd { margin: 0; text-align: right; }

/* ----------------------------------
   SELECTED WORK PREVIEW
---------------------------------- */
.next-section { padding: 29px 30px 60px; }
.section-heading { align-items: center; display: flex; justify-content: space-between; }
.see-all-link {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 13px;
  gap: 9px;
  text-decoration: none;
}
.see-all-link span { color: var(--text); font-size: 1.1rem; transition: transform .2s ease; }
.see-all-link:hover span,
.see-all-link:focus-visible span { transform: translateX(4px); }
.see-all-link:focus-visible { outline: 1px solid var(--acid); outline-offset: 4px; }
.work-cards { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.work-cards--secondary { margin-top: 18px; }
.work-card {
  background: rgba(255, 255, 255, .018);
  border: 1px solid var(--line);
  color: var(--text);
  display: block;
  min-height: 390px;
  overflow: hidden;
  padding: 16px;
  position: relative;
  text-decoration: none;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.work-card:hover,
.work-card:focus-visible {
  background: rgba(255, 205, 57, .055);
  border-color: rgba(255, 205, 57, .65);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .32);
  outline: none;
  transform: translateY(-7px);
}
.work-card-visual {
  background: #171719;
  height: 213px;
  margin: -16px -16px 18px;
  overflow: hidden;
  position: relative;
}
.work-card-visual::before,
.work-card-visual::after,
.work-card-visual span { content: ""; display: none; }
.work-card-visual::before { background: linear-gradient(135deg, var(--acid), #ef6fae); border-radius: 50%; height: 180px; right: -42px; top: -55px; width: 180px; }
.work-card-visual::after { background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); height: 84px; left: 13%; top: 32px; transform: rotate(18deg); width: 84px; }
.work-card-visual span { background: #5ed5e9; bottom: -30px; height: 100px; left: 45%; transform: rotate(45deg); width: 100px; }
.work-card-visual--two::before { background: linear-gradient(135deg, #8c77f7, #f05aa5); left: -38px; right: auto; top: -35px; }
.work-card-visual--two::after { border-radius: 50%; left: auto; right: 17%; transform: none; }
.work-card-visual--two span { background: #d7f080; left: 38%; transform: rotate(12deg); }
.work-card-visual--three::before { background: linear-gradient(135deg, #66d6d4, #3370de); right: 20%; top: -96px; }
.work-card-visual--three::after { left: 8%; top: 53px; transform: rotate(45deg); }
.work-card-visual--three span { background: #f3779c; left: auto; right: -34px; transform: rotate(25deg); }
.work-card:hover .work-card-visual::before { transform: translate(-14px, 16px) scale(1.1); }
.work-card:hover .work-card-visual::after { transform: rotate(40deg) scale(1.14); }
.work-card:hover .work-card-visual span { transform: rotate(65deg) translateY(-12px); }
.work-card-video { display: block; filter: none; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); width: 100%; }
.work-card-image { display: block; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); width: 100%; }
.work-card-visual--two .work-card-video { filter: hue-rotate(75deg) saturate(.72) contrast(1.12); }
.work-card-visual--three .work-card-video { filter: hue-rotate(170deg) saturate(.78) contrast(1.1); }
.work-card-visual--four .work-card-video { filter: hue-rotate(18deg) saturate(.66) contrast(1.16); }
.work-card-visual--five .work-card-video { filter: hue-rotate(135deg) saturate(.7) contrast(1.08); }
.work-card-visual--six .work-card-video { filter: hue-rotate(235deg) saturate(.74) contrast(1.18); }
.work-card-visual--one::before,
.work-card-visual--one::after,
.work-card-visual--one span {
  animation: align-line 5.5s cubic-bezier(.2, .8, .2, 1) infinite alternate;
  display: block;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.work-card-visual--one::before {
  background: rgba(248, 243, 226, .84);
  border-radius: 999px;
  height: 13px;
  left: 22%;
  top: calc(50% - 6px);
  transform: none;
  width: 56%;
}
.work-card-visual--one::after {
  background: rgba(248, 243, 226, .74);
  border: 0;
  height: 3px;
  left: -12%;
  top: 28%;
  transform: rotate(16deg);
  width: 42%;
}
.work-card-visual--one span {
  background: rgba(248, 243, 226, .64);
  bottom: 27%;
  height: 3px;
  left: 72%;
  transform: rotate(-14deg);
  width: 42%;
}
@keyframes align-line {
  to { transform: translate(43px, 0) rotate(0deg); }
}
.work-card-visual--two::before,
.work-card-visual--two::after,
.work-card-visual--two span {
  animation: float-blob 7s ease-in-out infinite alternate;
  display: block;
  opacity: .58;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
.work-card-visual--two::after { animation-delay: -2.5s; }
.work-card-visual--two span { animation-delay: -4.2s; }
@keyframes float-blob {
  to { transform: translate(14px, 12px) rotate(28deg) scale(1.12); }
}
.work-card:hover .work-card-video { filter: none; transform: scale(1.06); }
.work-card:hover .work-card-image { transform: scale(1.06); }
.work-card-meta { color: var(--muted); display: flex; font-family: "DM Mono", monospace; font-size: 10px; justify-content: space-between; letter-spacing: .02em; margin-bottom: 24px; text-transform: uppercase; }
.work-card h2 { font-size: 1rem; font-weight: 400; line-height: 1.25; margin: 0; }
.work-card p { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 12px 0 0; }
.work-card::after { background: var(--text); content: ""; inset: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1); z-index: 1; }
.work-card .work-card-meta,
.work-card h2,
.work-card p { position: relative; z-index: 2; }
.work-card:hover::after,
.work-card:focus-visible::after { transform: scaleX(1); }
.work-card:hover,
.work-card:focus-visible { background: transparent; border-color: var(--text); box-shadow: none; transform: none; }
.work-card:hover .work-card-meta,
.work-card:focus-visible .work-card-meta,
.work-card:hover h2,
.work-card:focus-visible h2,
.work-card:hover p,
.work-card:focus-visible p { color: var(--bg); }

/* ----------------------------------
   ABOUT PAGE
---------------------------------- */
.about-page { min-height: 100vh; padding: clamp(90px, 13vw, 180px) 30px 80px; }
.about-page-inner { margin: 0 auto; max-width: 525px; text-align: center; }
.profile-page { padding: 80px 0; }
.about-display {
  color: #d0cfca;
  font-family: "Antic Didone", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0;
}
.about-page .body-copy { font-size: 1rem; margin: 34px auto 0; max-width: 525px; }
.profile-page > .about-intro {
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 525px;
  text-align: left;
}
.profile-page > .about-intro + .about-page-inner .body-copy { margin-top: 48px; }
.index-page { padding: 80px 0; }
.index-page .about-page-inner { margin: 0; max-width: none; padding: 0 30px; text-align: left; }
.profile-page .about-page-inner .body-copy { text-align: left; }
.about-editorial { margin: 90px auto 0; max-width: 525px; }
.about-editorial-section + .about-editorial-section { margin-top: 54px; }
.about-editorial-section .eyebrow { margin-bottom: 14px; }
.about-editorial-section > p:last-child { color: #d0cfca; font-size: .9rem; line-height: 1.5; margin: 0; }
.about-media-carousel { display: flex; gap: 18px; margin: 90px 0 0; overflow-x: auto; padding: 0; scroll-snap-type: x mandatory; }
.about-media-card { background: #171719; flex: 0 0 min(41vw, 300px); height: min(23vw, 205px); margin: 0; overflow: hidden; scroll-snap-align: start; }
.about-media-card img,
.about-media-card video { display: block; height: 100%; object-fit: cover; width: 100%; }
.about-media-card--image img { filter: grayscale(1); object-position: center 20%; }
.index-links { margin: 90px 0 0; overflow-x: auto; width: 100%; }
.index-link-row { border-bottom: 1px solid var(--line); cursor: pointer; display: grid; grid-template-columns: 28% 54% 18%; min-width: 700px; overflow: hidden; position: relative; }
.index-link-row:first-child { border-top: 1px solid var(--line); }
.index-link-row::before { background: var(--text); content: ""; inset: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1); z-index: 0; }
.index-link-row > div { color: var(--muted); font-size: .9rem; line-height: 1.5; overflow: hidden; padding: 22px 16px; position: relative; text-overflow: ellipsis; white-space: nowrap; z-index: 1; }
.index-link-row > div:first-child { padding-left: 20px; }
.index-link-row a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.index-link-row a:hover { color: var(--acid); }
.index-link-row:hover::before,
.index-link-row:focus-within::before { transform: scaleX(1); }
.index-link-row:hover > div,
.index-link-row:focus-within > div,
.index-link-row:hover a,
.index-link-row:focus-within a { color: var(--bg); }
.index-link-row:hover .index-tag,
.index-link-row:focus-within .index-tag { border-color: var(--bg); color: var(--bg); }
.index-link-row:focus-visible { outline: 1px solid var(--acid); outline-offset: -1px; }
.index-tag { border: 1px solid var(--line); color: var(--text); display: inline-block; font-family: "DM Mono", monospace; font-size: 10px; padding: 4px 6px; text-transform: uppercase; }

/* ----------------------------------
   WORK PAGE
---------------------------------- */
.work-page { min-height: 100vh; padding: 80px 30px; }
.work-page-inner { max-width: none; }

/* Use the supplied footage as-is: no abstract overlays or color effects. */
.work-card-visual::before,
.work-card-visual::after,
.work-card-visual span { display: none !important; }
.work-card-visual--one .work-card-video,
.work-card-visual--two .work-card-video,
.work-card-visual--three .work-card-video,
.work-card-visual--four .work-card-video,
.work-card-visual--five .work-card-video,
.work-card-visual--six .work-card-video { filter: none; }

/* Color variations keep each geometric animation visually distinct. */
.work-card-visual--one .work-card-video { filter: saturate(1.25) contrast(1.1); }
.work-card-visual--two .work-card-video { filter: hue-rotate(48deg) saturate(1.22) contrast(1.08); }
.work-card-visual--three .work-card-video { filter: hue-rotate(112deg) saturate(1.28) contrast(1.1); }
.work-card-visual--four .work-card-video { filter: hue-rotate(174deg) saturate(1.16) contrast(1.12); }
.work-card-visual--five .work-card-video { filter: hue-rotate(236deg) saturate(1.22) contrast(1.08); }
.work-card-visual--six .work-card-video { filter: hue-rotate(300deg) saturate(1.3) contrast(1.1); }
.work-list { border-top: 1px solid var(--line); margin-top: 70px; }
.work-list-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.work-list-item .body-copy { margin: 12px 0 0; }

/* ----------------------------------
   PROJECT PAGES
---------------------------------- */
.project-page { min-height: 100vh; padding: clamp(90px, 13vw, 180px) 30px 80px; }
.breadcrumbs { align-items: center; color: var(--muted); display: flex; font-family: "DM Mono", monospace; font-size: 11px; gap: 8px; line-height: 1.4; margin-bottom: 58px; text-transform: uppercase; }
.breadcrumbs a,
.breadcrumbs span { font-family: "DM Mono", monospace; font-size: 11px; font-weight: 400; letter-spacing: .02em; line-height: 1.4; }
.breadcrumbs a { color: var(--muted); padding: 0; text-decoration: none; }
.breadcrumbs a:first-child,
.breadcrumbs a:first-child + span { display: none; }
.breadcrumbs a:hover { color: var(--acid); }
.project-page-inner { max-width: 950px; }
.project-kicker { margin-bottom: 18px; }
.project-page h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1.02; margin: 0; max-width: 900px; }
.project-summary { color: #d0cfca; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.45; margin: 30px 0 0; max-width: 670px; }
.project-visual { height: min(48vw, 520px); margin-top: 70px; overflow: hidden; }
.project-visual .work-card-video { height: 100%; object-fit: cover; width: 100%; }
.project-visual .work-card-image { height: 100%; object-fit: cover; width: 100%; }
.project-details { border-top: 1px solid var(--line); display: grid; gap: 52px; grid-template-columns: 1fr 1fr; margin-top: 70px; padding-top: 26px; }
.project-details h2 { font-size: 1.2rem; font-weight: 400; margin: 0 0 15px; }
.project-details p:not(.eyebrow) { color: var(--muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.project-placeholder-sections { border-top: 1px solid var(--line); margin-top: 70px; padding-top: 26px; }
.project-placeholder-section { max-width: 670px; }
.project-placeholder-section + .project-placeholder-section { margin-top: 64px; }
.project-placeholder-section .eyebrow { margin-bottom: 14px; }
.project-placeholder-section h2 { font-size: 1.2rem; font-weight: 400; margin: 0 0 15px; }
.project-placeholder-section > p:not(.eyebrow),
.project-placeholder-section li { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.project-placeholder-section > p:not(.eyebrow) { margin: 0; }
.project-placeholder-section > p:not(.eyebrow) + p:not(.eyebrow) { margin-top: 14px; }
.project-placeholder-section ul { color: var(--muted); margin: 14px 0 0; padding-left: 20px; }
.project-design-system-page .project-details,
.project-design-system-page .project-placeholder-sections { border-top: 0; }
.project-design-system-page .project-visual { border: 1px solid var(--line); }
.project-carousel-placeholder { display: flex; gap: 14px; margin-top: 28px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.project-carousel-placeholder > div { background: #101115; border: 1px solid var(--line); flex: 0 0 min(290px, 78vw); min-height: 240px; overflow: hidden; scroll-snap-align: start; }
.project-carousel-placeholder-card { align-content: center; display: grid; justify-items: center; padding: 24px; text-align: center; }
.project-carousel-placeholder-card .eyebrow { margin: 0; }
.project-carousel-placeholder-card strong { margin: 12px 0 0; }
.project-carousel-placeholder img { aspect-ratio: 16 / 10; display: block; object-fit: cover; width: 100%; }
.project-carousel-placeholder .eyebrow { margin: 16px 16px 0; }
.project-carousel-placeholder strong { display: block; font-size: 1.05rem; font-weight: 400; line-height: 1.25; margin: 12px 16px 18px; }
.project-inline-media { border: 1px solid var(--line); margin: 28px 0 0; overflow: hidden; }
.project-inline-media img { display: block; height: auto; width: 100%; }
.project-image-placeholder { align-content: center; aspect-ratio: 16 / 9; background: #101115; border: 1px solid var(--line); display: grid; justify-items: center; margin-top: 28px; padding: 24px; text-align: center; }
.project-image-placeholder .eyebrow { margin: 0; }
.project-image-placeholder strong { font-size: 1.05rem; font-weight: 400; margin-top: 12px; }
.character-gallery { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; }
.character-gallery figure { margin: 0; }
.character-gallery figure:last-child { grid-column: 1 / -1; }
.character-gallery img { border: 1px solid var(--line); display: block; height: auto; width: 100%; }
.character-gallery figcaption { color: var(--muted); font-family: var(--mono); font-size: .68rem; line-height: 1.4; margin-top: 8px; text-transform: uppercase; }

/* ----------------------------------
   RESPONSIVE
---------------------------------- */
@media (max-width: 780px) {
  .sidebar {
    align-items: center;
    backdrop-filter: blur(22px) saturate(155%);
    background: rgba(32, 32, 36, .52);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
    bottom: 16px;
    flex-direction: column;
    height: 56px;
    justify-content: center;
    left: 50%;
    padding: 0;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    width: 56px;
  }
  .sidebar-identity,
  .mobile-menu-trigger { display: block; height: 46px; width: 46px; }
  .profile-placeholder { display: block; height: 46px; width: 46px; }
  nav { display: none; }
  .sidebar.menu-open nav {
    backdrop-filter: none;
    background: rgba(7, 7, 8, .9);
    border: 1px solid var(--line);
    border-radius: 16px;
    bottom: calc(100% + 12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
    display: grid;
    gap: 8px;
    justify-items: center;
    left: 50%;
    margin: 0;
    min-height: 284px;
    padding: 24px;
    position: absolute;
    transform: translateX(-50%);
    width: min(378px, calc(100vw - 32px));
  }
  .sidebar.menu-open nav a {
    font-size: 1.53rem;
    justify-content: center;
    padding: 6px 0;
    width: fit-content;
  }
  nav a span,
  .sidebar-footer { display: none; }
  main { margin-left: 0; padding-top: 0; }
  .mobile-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.5;
    padding: 28px 20px 100px;
    position: relative;
  }
  .mobile-footer p { margin: 0; }
  .mobile-footer .eyebrow { margin-bottom: 14px; }
  .mobile-footer a { color: var(--text); display: block; font-family: "Inter", Arial, sans-serif; font-size: 13px; margin-bottom: 12px; text-decoration: none; }
  .mobile-footer a span { color: var(--acid); }
  .mobile-footer a + a { margin-bottom: 22px; }
  .mobile-footer .email-popover {
    bottom: auto;
    left: 20px;
    top: 106px;
  }
  .intro { grid-template-rows: 210px auto; }
  .pixel-flow-box { min-height: 210px; }
  .intro-copy { display: block; padding: 25px 20px 30px; }
  .intro-columns { display: block; }
  .intro-right { padding-top: 42px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-cell { min-height: 0; padding: 25px 20px 44px; }
  .about-cell + .about-cell { border-left: 0; border-top: 1px solid var(--line); }
  .body-copy,
  .facts dl { margin-top: 44px; }
  .next-section { padding: 25px 20px; }
  .work-cards { grid-template-columns: 1fr; }
  .about-page { padding: 120px 20px 60px; }
  .profile-page { padding: 80px 0 60px; }
  .index-page { padding: 80px 0 60px; }
  .index-page .about-page-inner { padding: 0 30px; }
  .index-links { margin-top: 64px; overflow: visible; }
  .index-link-row { grid-template-columns: minmax(0, 1fr) auto; min-width: 0; }
  .index-link-row > div { overflow: visible; padding: 16px 20px; text-overflow: clip; white-space: normal; }
  .index-link-row > div:first-child { padding-left: 20px; }
  .index-link-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .index-link-row > div:nth-child(3) { align-self: center; grid-column: 2; grid-row: 1; padding-left: 10px; }
  .about-display { font-size: 3rem; }
  .about-editorial { margin-top: 70px; padding: 0 20px; }
  .about-media-carousel { margin-top: 70px; }
  .about-media-card { flex-basis: 48vw; height: 33vw; }
  .work-page { padding: 80px 20px 60px; }
  .project-page { padding: 112px 20px 60px; }
  .breadcrumbs { margin-bottom: 42px; }
  .project-visual { height: 58vw; margin-top: 46px; }
  .project-details { gap: 36px; grid-template-columns: 1fr; margin-top: 46px; }
  .project-placeholder-sections { margin-top: 46px; }
  .character-gallery { grid-template-columns: 1fr; }
  .character-gallery figure:last-child { grid-column: auto; }
}

@media (max-width: 440px) {
  nav { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .text-link,
  .text-link span { transition: none; }
}
