@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #000;
  --fg:     #ffffff;
  --muted:  #888;
  --dash:   #444;
}

html {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  background: var(--bg);
  color: var(--fg);
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--fg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .2s ease, height .2s ease;
}
.cursor.big { width: 52px; height: 52px; }

/* ── LAYOUT ── */
.layout {
  display: flex;
  min-height: 100vh;
}

/* ════════════════════════════════
   LEFT PANEL — fixed
════════════════════════════════ */
.left {
  width: 400px;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  padding: 24px 20px;
  border-left: none;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}
.left::-webkit-scrollbar { display: none; }

.info-box {
  padding: 22px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}

.info-logo {
  width: 40%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  margin: 0 auto;
}

.info-bio {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
  letter-spacing: 0em;
}

.info-section { display: flex; flex-direction: column; gap: 0; margin-top: auto; }

.info-section-head {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 4px;
}

.info-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.info-item-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.info-item a { color: inherit; }
.info-item a:hover { text-decoration: underline; }
a.info-item, div.info-item { transition: transform 0.15s ease; }
a.info-item:hover, div.info-item:hover { transform: translateX(12px); }

.info-contact { display: flex; flex-direction: column; gap: 0; }

/* ════════════════════════════════
   RIGHT PANEL — scrollable
════════════════════════════════ */
.right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── SITE NAV (vertical sidebar) ── */
.site-nav {
  width: 120px;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0px;
  padding: 24px 14px;
  border-right: none;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  transition: color .15s;
}

.nav-link:hover { color: var(--fg); }

.nav-link.active {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg);
}

/* ── SCATTERED WORKS ── */
.works-scatter {
  flex: 1;
  position: relative;
  padding: 60px 0 120px;
}

.scard {
  position: relative;
  display: block;
  cursor: none;
}

.scard-inner {
  position: relative;
  overflow: hidden;
}

.scard-inner img,
.scard-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scard:hover { z-index: 20; }

.scard-hover-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.scard:hover .scard-hover-label { opacity: 1; }

.scard-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.scard-tag {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,10,10,.94);
  align-items: center;
  justify-content: center;
  cursor: none;
}
#lightbox.show { display: flex; }

#lightbox img,
#lightbox video {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.lb-info {
  position: absolute;
  bottom: 24px; left: 28px;
}

.lb-info-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.lb-info-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}

/* ── WORKS PAGE ── */
.works-page {
  min-height: 100vh;
  display: flex;
}

.works-page .works-scatter {
  flex: 1;
  padding: 60px 0 120px;
}

/* ── WORKS GRID PAGE ── */
.wpage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wpage-top {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.wpage .site-nav {
  height: auto;
  position: static;
  border-right: none;
  flex-shrink: 0;
}

.wpage-header {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 40px;
}

.wfilter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 10px 48px;
  flex: 1;
}

.wfilter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  cursor: none;
  transition: color .15s;
  white-space: nowrap;
}

.wfilter-item:hover { color: var(--fg); }
.wfilter-item.active { color: var(--fg); }

.wfilter-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  color: var(--bg);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
  transition: background .15s;
}

.wfilter-item.active .wfilter-circle { background: var(--fg); }
.wfilter-item:hover .wfilter-circle { background: rgba(255,255,255,.6); }

.wpage-logo {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
}

.wpage-logo img {
  width: 70px;
  height: auto;
  mix-blend-mode: screen;
}

.wgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  flex: 1;
}

.wgrid.two-col {
  grid-template-columns: 1fr 1fr;
}

.wcard {
  background: var(--bg);
  cursor: none;
  padding: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.wgrid .wcard:nth-child(3n) { border-right: none; }
.wgrid.two-col .wcard:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.08); }
.wgrid.two-col .wcard:nth-child(even) { border-right: none; }

.wcard.hidden { display: none; }

.wcard-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}


.wcard-img img,
.wcard-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
}
.cover-layer.active {
  opacity: 1;
}

.wcard-info {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.wcard-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}

.wcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.wcard-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 4px 10px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}

.project-tags .wcard-tag {
  border-color: rgba(255,255,255,.7);
  color: rgba(255,255,255,.9);
}

/* ── ABOUT PAGE ── */
.about-page {
  min-height: 100vh;
  display: flex;
}

.about-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* hero */
.about-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: 40px;
  flex-shrink: 0;
}

.about-hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-name {
  font-size: clamp(32px, 3.75vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
  white-space: nowrap;
}

.about-role {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-photo {
  width: 160px;
  height: 210px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  display: block;
  filter: grayscale(25%) contrast(1.05);
}

/* info columns */
.about-info-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.about-info-col {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.about-info-col:last-child { border-right: none; }

.about-col-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-bio-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
}

.about-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.about-entry:last-child { border-bottom: none; padding-bottom: 0; }

.about-entry-org {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}

.about-entry-role {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.6);
}

.about-entry-date {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 1px;
}

.about-entry-note {
  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,.35);
  margin-top: 4px;
  font-style: italic;
}

/* footer */
.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 24px;
  flex-shrink: 0;
}

.about-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.about-footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.about-resume-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: font-weight .15s;
}

.about-resume-btn:hover {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-resume-btn .deck-arrow { opacity: 0.6; }
.about-resume-btn:hover .deck-arrow { opacity: 1; }

.about-contact-link {
  font-size: 11px;
  font-weight: 400;
  color: var(--fg);
  transition: font-weight .15s;
}

.about-contact-link:hover {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-links-mobile { display: none; }

/* ── PROJECT PAGE ── */
.project-layout {
  display: flex;
  min-height: 100vh;
}

.project-left {
  width: 400px;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.project-left .site-nav {
  height: auto;
  position: static;
  flex-shrink: 0;
}

.project-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 18px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.project-title {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.project-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
}

.project-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.project-detail-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.project-detail-value {
  font-size: 11px;
  font-weight: 400;
  color: var(--fg);
  text-align: right;
}

.project-desc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  flex: 1;
}

.project-credits {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-credit-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.project-credit-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-credit-value {
  font-size: 12px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.4;
}


.project-back-arrow {
  color: var(--fg);
  display: flex;
  align-items: center;
  opacity: 0.4;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), opacity .15s;
}

.project-back-arrow img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.project-back-arrow:hover {
  opacity: 1;
  transform: translateX(-3px) translateY(3px);
}

.project-back-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-left: 7px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
}

.project-back-arrow:hover .project-back-label {
  opacity: 1;
  transform: translateX(0);
}

.project-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.project-media {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-media-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.project-media-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tool-embed-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 48px 0 0;
}

.tool-embed-label {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.tool-embed-visit {
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-left: 12px;
}

.tool-embed-visit a {
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-embed-visit a:hover {
  color: #fff;
}

.tool-embed-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.tool-embed {
  width: 1440px;
  height: 900px;
  border: none;
  display: block;
  transform-origin: top left;
}

.project-media img,
.project-media video {
  width: 100%;
  display: block;
}

.media-row {
  display: flex;
  gap: 2px;
}

.fb-wrap {
  width: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6% 0;
}

.fb-label {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}

.fb-book {
  position: relative;
  display: flex;
  width: 80%;
  perspective: 3000px;
  perspective-origin: center center;
}

#fb3-book {
  width: 95%;
}

#fb4-book {
  width: 85%;
}

#fb5-book {
  width: 95%;
}


.fb-page {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* spine shadows — gradient on the inner edge of each page */

.fb-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-flipper {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  transform-style: preserve-3d;
  z-index: 10;
  display: none;
}

.fb-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.fb-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fb-back {
  transform: rotateY(180deg);
}

.fb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
}

.fb-btn {
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: opacity .15s;
}

.fb-btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.fb-num {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.media-row img,
.media-row video {
  flex: 1;
  min-width: 0;
  width: 0;
  object-fit: cover;
  display: block;
}

.project-deck-btn {
  display: block;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
  transition: color .15s;
  text-align: left;
  width: 100%;
}

.project-deck-btn:hover {
  color: var(--fg);
}

.deck-arrow {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.45;
  transition: opacity .15s;
}

.project-deck-btn:hover .deck-arrow {
  opacity: 1;
}

.pdf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.pdf-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pdf-close {
  align-self: flex-end;
  margin: 16px 20px 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  transition: color .15s;
  flex-shrink: 0;
}

.pdf-close:hover { color: var(--fg); }

.pdf-frame {
  flex: 1;
  width: 100%;
  border: none;
}

/* ── MOBILE ── */
@media (max-width: 760px) {
  html { cursor: auto; }
  .cursor { display: none; }
  .layout { flex-direction: column; }
  .left { width: 100%; height: auto; position: static; }
}

/* ── PROJECT PAGES MOBILE ── */
@media (max-width: 768px) {
  html { cursor: auto; }
  .cursor { display: none; }

  /* universal nav fix — base .site-nav has height:100vh which breaks column stacking */
  .site-nav {
    height: auto;
    position: static;
    width: 100%;
    padding: 16px 20px 10px;
  }

  /* about page */
  .about-page { flex-direction: column; }
  .about-wrap { min-height: unset; }

  /* Direction A: full-bleed photo with name overlay */
  .about-hero {
    position: relative;
    height: 80vw;
    max-height: 520px;
    min-height: 300px;
    overflow: hidden;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    gap: 0;
    text-align: left;
  }

  .about-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    order: 0;
    align-self: auto;
    object-fit: cover;
    object-position: center 15%;
  }

  .about-hero-left {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 48px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 55%, transparent 100%);
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 6px;
  }

  .about-name {
    white-space: normal;
    font-size: clamp(28px, 7.5vw, 44px);
  }

  .about-role {
    font-size: 8px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.6);
  }

  .about-role-extra { display: none; }

  .about-info-grid { grid-template-columns: 1fr; }
  .about-info-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 20px; }
  .about-info-col:last-child { border-bottom: none; }

  .about-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }

  .about-disciplines { display: none; }
  .about-footer-links { display: none; }
  .about-footer { display: none; }

  /* home — reorder: nav first, then logo+bio, then deck */
  .site-nav { order: -2; }
  .left     { order: -1; }
  .right    { order:  0; }

  /* home — collection + contact moved below deck by JS */
  .mobile-below-deck {
    order: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px 48px;
    width: 100%;
  }

  .mobile-below-deck .info-section-head {
    margin-top: 24px;
  }

  /* home — scatter deck */
  .works-scatter {
    position: relative;
    padding: 24px 0 48px;
  }

  .scard {
    position: absolute !important;
    width: 75% !important;
    left: 12.5% !important;
    top: 0 !important;
    margin: 0 !important;
  }

  .scard-hover-label { display: none; }

  .deck-hint {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    pointer-events: none;
  }

  .project-layout {
    flex-direction: column;
  }

  .project-left {
    width: 100%;
    height: auto;
    position: static;
    overflow: visible;
    padding: 20px 16px 16px;
  }

  .project-right {
    width: 100%;
  }

  .project-info {
    padding: 16px 0 0;
  }

  .project-detail-value {
    text-align: left;
  }

  .media-row {
    flex-direction: column;
    gap: 2px;
  }

  .media-row img,
  .media-row video {
    width: 100%;
    flex: none;
  }

  .fb-wrap {
    padding: 10% 0;
  }

  .fb-book,
  #fb1-book,
  #fb2-book,
  #fb3-book,
  #fb4-book,
  #fb5-book {
    width: 92% !important;
  }

  .tool-embed-container {
    overflow-x: auto;
  }

  .tool-embed-wrap {
    padding: 32px 0 0;
  }

  /* works page */
  .wpage-top {
    flex-direction: column;
    position: sticky;
  }

  .wpage-logo { display: none; }

  .wpage-header {
    padding: 12px 20px 16px;
  }

  .wfilter-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0 20px;
    grid-template-columns: unset;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .wfilter-grid::-webkit-scrollbar { display: none; }

  .wfilter-item {
    flex-shrink: 0;
    cursor: auto;
    font-size: 11px;
  }

  .wgrid {
    grid-template-columns: 1fr 1fr;
  }

  .wgrid .wcard:nth-child(3n) {
    border-right: 1px solid rgba(255,255,255,.08);
  }

  .wgrid .wcard:nth-child(2n) {
    border-right: none;
  }

  .wgrid.two-col {
    grid-template-columns: 1fr;
  }

  .wgrid.two-col .wcard {
    border-right: none;
  }

  .wcard { cursor: auto; }

  .wcard-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
  }

  .wcard-tags { justify-content: flex-start; }
}
