:root {
  --ink: #0a0b10;
  --paper: #e8e3d5;
  --acid: #d9ff43;
  --orange: #ff5d29;
  --violet: #7668ff;
  --line: rgba(232, 227, 213, 0.24);
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--acid); }

.noise, .scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.noise {
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.scanlines { opacity: .04; background: repeating-linear-gradient(0deg, transparent 0 3px, #fff 4px); }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }

.site-header {
  position: fixed; z-index: 40; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 3vw; mix-blend-mode: difference;
}
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }
.brand-icon { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.brand-copy { font: 500 10px/1.15 var(--mono); letter-spacing: .14em; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 48px); }
.site-nav a { font: 400 11px var(--mono); letter-spacing: .08em; transition: opacity .25s; }
.site-nav a span { opacity: .45; margin-right: 6px; }
.site-nav a:hover { opacity: .55; }
.menu-toggle { display: none; color: inherit; background: none; border: 1px solid currentColor; padding: 8px 12px; }

.section { padding: 140px 3vw; border-bottom: 1px solid var(--line); }
.works-section { padding-top: 150px; }
.works-section .section-heading { grid-template-columns: 1fr 3fr; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 25px; align-items: end; margin-bottom: 70px; }
.eyebrow { margin: 0; font-size: 10px; color: var(--acid); }
.section-heading h2, .section-heading h1 { margin: 0; font-size: clamp(72px, 11vw, 160px); line-height: .72; letter-spacing: -.07em; }
.section-heading > p:last-child { margin: 0; font-size: 13px; line-height: 1.7; }

.work-filters { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin: -34px 0 42px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-label { margin: 0; font-size: 8px; opacity: .58; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 8px 11px; color: var(--paper); background: transparent; border: 1px solid var(--line); font: 400 9px var(--mono); letter-spacing: .06em; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.filter-button span { margin-left: 5px; opacity: .48; }
.filter-button:hover { border-color: var(--paper); }
.filter-button.is-active { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.project-card[hidden] { display: none; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 20px; width: 100%; min-width: 0; }
.project-card--wide { grid-column: 1 / -1; }
.project-card, .work-card-link { display: block; width: 100%; min-width: 0; }
.project-visual { height: clamp(360px, 48vw, 680px); position: relative; overflow: hidden; background: #171923; border: 1px solid var(--line); }
.project-card:not(.project-card--wide) .project-visual { height: clamp(360px, 55vw, 650px); }
.project-card.video-project .project-visual.work-thumb { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; background: #050608; }
.work-thumb img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08) brightness(.72); transition: transform .5s ease, filter .35s ease; }
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,6,8,.68)); }
.work-thumb .visual-label { padding: 5px 8px; color: var(--acid); background: rgba(10,11,16,.82); border: 1px solid rgba(217,255,67,.35); }
.detail-cta { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 9px; }
.work-card-link:hover .work-thumb img { transform: scale(1.025); filter: saturate(1) contrast(1.05) brightness(.9); }
.work-card-link:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.visual-label { position: absolute; z-index: 4; left: 18px; top: 18px; font-size: 9px; }
.project-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; min-width: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.project-meta h3 { margin: 5px 0 0; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.35; overflow-wrap: normal; word-break: keep-all; text-wrap: balance; }
.work-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.work-tags span { display: inline-flex; padding: 3px 6px; color: var(--orange); border: 1px solid currentColor; font-size: 7px; line-height: 1; }
.project-meta .mono, .project-meta p { font-size: 9px; opacity: .6; }
.project-arrow { font-size: 26px; transition: .3s; }
.project-card:hover .project-arrow { transform: translate(4px,-4px); color: var(--acid); }

.about-section { background: var(--paper); color: var(--ink); }
.about-section .section-heading { border-bottom: 1px solid rgba(10,11,16,.25); padding-bottom: 40px; }
.about-grid { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 8vw; }
.portrait-frame { min-height: 0; position: relative; display: flex; align-items: end; aspect-ratio: 1; margin: 0; padding: 20px; background: #c6c0b2; overflow: hidden; }
.portrait-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 48%, rgba(255,255,255,.45) 49%, transparent 50%), repeating-linear-gradient(90deg, transparent 0 39px, rgba(10,11,16,.08) 40px); }
.portrait-image { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.about-copy { padding-top: 5vh; }
.about-copy .lead { margin: 0 0 50px; font-size: clamp(40px, 5vw, 76px); line-height: 1.12; letter-spacing: -.055em; }
.about-copy > p:not(.lead) { max-width: 560px; margin: 0 0 65px; line-height: 2; font-size: 15px; }
.profile-list { margin: 0; border-top: 1px solid rgba(10,11,16,.25); }
.profile-list div { display: grid; grid-template-columns: 120px 1fr; padding: 17px 0; border-bottom: 1px solid rgba(10,11,16,.25); font-size: 10px; }
.profile-list dt { opacity: .55; }
.profile-list dd { margin: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 3vw; font-size: 9px; }

.work-detail { width: 100%; max-width: 100%; padding: 138px 3vw 120px; overflow: hidden; }
.detail-breadcrumb { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 54px; font-size: 9px; opacity: .7; }
.detail-breadcrumb:hover { color: var(--acid); opacity: 1; }
.detail-kicker { margin: 0 0 20px; color: var(--acid); font-size: 10px; }
.detail-title { margin: 0; font-size: clamp(13px, 4.2vw, 76px); line-height: 1.1; letter-spacing: -.045em; white-space: nowrap; }
.detail-title small { margin-inline-start: .45em; font-size: .55em; letter-spacing: -.025em; }
.detail-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; border: 1px solid var(--line); background: var(--line); }
.detail-data div { min-width: 0; padding: 18px; background: var(--ink); }
.detail-data dt { margin-bottom: 10px; color: var(--acid); font-size: 8px; }
.detail-data dd { margin: 0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.detail-player { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; margin-top: 62px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.detail-player iframe { display: block; width: 100%; height: 100%; max-width: 100%; border: 0; }
.youtube-facade { position: relative; cursor: pointer; }
.detail-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.youtube-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(5,11,18,.55)); pointer-events: none; }
.youtube-play-button {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 12px 18px;
  color: var(--paper-bright);
  background: var(--orange);
  border: 1px solid var(--paper-bright);
  font: 500 12px var(--mono);
  letter-spacing: .08em;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.youtube-play-button:hover { background: var(--ink); transform: translate(-50%, -50%) scale(1.04); }
.youtube-play-icon { font-size: 18px; line-height: 1; }
.stills-section { padding-top: 120px; }
.stills-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 35px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stills-heading h2 { margin: 0; font-size: clamp(40px, 6vw, 92px); line-height: .9; letter-spacing: -.055em; }
.stills-heading p { margin: 0; font-size: 9px; opacity: .65; }
.placeholder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-still { width: 100%; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #000; }
.project-still img { display: block; width: 100%; height: 100%; object-fit: contain; }
.image-placeholder { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; color: rgba(232,227,213,.55); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(118,104,255,.12), rgba(255,93,41,.09)), repeating-linear-gradient(45deg, transparent 0 19px, rgba(232,227,213,.035) 20px); }
.image-placeholder:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.image-placeholder::before, .image-placeholder::after { content: ""; position: absolute; background: var(--line); }
.image-placeholder::before { width: 1px; height: 140%; transform: rotate(45deg); }
.image-placeholder::after { width: 140%; height: 1px; transform: rotate(45deg); }
.image-placeholder span { position: relative; z-index: 1; padding: 8px 12px; color: var(--acid); background: var(--ink); border: 1px solid var(--line); font-size: 9px; }
.detail-next { display: flex; justify-content: space-between; align-items: center; margin-top: 100px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(24px, 4vw, 58px); letter-spacing: -.04em; }
.detail-next:hover { color: var(--acid); }

@media (max-width: 800px) {
  .site-header { mix-blend-mode: normal; background: rgba(10,11,16,.92); }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 28px 3vw; background: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; }
  .site-nav.is-open { display: flex; }
  .section { padding: 100px 5vw; }
  .works-section { padding-top: 118px; }
  .works-section .section-heading { margin-bottom: 36px; }
  .works-section .section-heading { grid-template-columns: 1fr; }
  .work-filters { grid-template-columns: 1fr; margin: -10px 0 30px; }
  .filter-label { grid-column: 1 / -1; }
  .filter-buttons { grid-column: 1 / -1; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p:last-child { max-width: 320px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: auto; }
  .project-card .project-visual, .project-card:not(.project-card--wide) .project-visual { width: 100%; max-width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .project-meta { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .project-meta p { display: none; }
  .project-meta h3 { display: block; margin: 6px 0 0; font-size: 13px; }
  .work-detail { padding: 112px 5vw 90px; }
  .detail-breadcrumb { margin-bottom: 34px; }
  .detail-data { grid-template-columns: 1fr; margin-top: 38px; }
  .detail-player { margin-top: 38px; }
  .stills-section { padding-top: 80px; }
  .stills-heading { align-items: start; flex-direction: column; gap: 14px; }
  .stills-heading h2 { font-size: clamp(38px, 11vw, 58px); line-height: .96; }
  .placeholder-grid { gap: 14px; }
  .image-placeholder:first-child { grid-column: auto; aspect-ratio: 16 / 9; }
  .detail-next { margin-top: 70px; }
  .youtube-play-button { min-height: 44px; padding: 10px 14px; font-size: 11px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { min-height: 0; }
  .site-footer span:nth-child(2) { display: none; }
}

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

/* Research archive visual system */
:root {
  --ink: #102b46;
  --paper: #f0ede4;
  --paper-bright: #f8f5ec;
  --acid: #f04d22;
  --orange: #f04d22;
  --violet: #2867c7;
  --blue: #2867c7;
  --yellow: #f0db24;
  --line: rgba(16, 43, 70, .28);
}

body {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(16,43,70,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,43,70,.045) 1px, transparent 1px);
  background-size: 42px 42px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.7), transparent 34%), radial-gradient(circle at 80% 60%, rgba(40,103,199,.035), transparent 30%);
}

::selection { color: var(--paper-bright); background: var(--orange); }
.scanlines { display: none; }
.noise { opacity: .035; mix-blend-mode: multiply; }
.site-header {
  min-height: 86px;
  padding: 18px 3vw;
  color: var(--ink);
  background: rgba(240,237,228,.94);
  border-bottom: 1px solid var(--ink);
  mix-blend-mode: normal;
  backdrop-filter: blur(12px);
}

.site-header::after {
  content: "35.6762° N / 139.6503° E";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font: 400 8px var(--mono);
  letter-spacing: .12em;
  opacity: .48;
}

.brand { gap: 13px; }
.brand-mark { width: 47px; height: 47px; color: var(--paper-bright); background: var(--ink); border: 0; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.brand-copy { color: var(--ink); font-size: 9px; line-height: 1.28; }
.site-nav { gap: clamp(18px, 2.7vw, 42px); }
.site-nav a { position: relative; padding: 9px 0; font-weight: 500; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .25s; }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { right: 0; }
.menu-toggle { color: var(--ink); border-color: var(--ink); background: var(--paper-bright); }

.section { padding: 142px 3vw; border-bottom: 1px solid var(--ink); }
.works-section { padding-top: 154px; }
.works-section .section-heading { position: relative; display: block; margin-bottom: 62px; padding-bottom: 34px; border-bottom: 1px solid var(--ink); text-align: left; }
.works-section .section-heading::after {
  content: "VISUAL ARCHIVE / TOKYO, EARTH\A CATALOGUING CREATIVE SIGNALS";
  white-space: pre;
  position: absolute;
  right: 0;
  bottom: 35px;
  max-width: 220px;
  font: 400 8px/1.65 var(--mono);
  letter-spacing: .1em;
  text-align: right;
  display: none;
}
.works-section .section-heading .eyebrow { margin-bottom: 30px; }
.section-heading h2, .section-heading h1 { color: var(--ink); font-size: clamp(72px, 10vw, 144px); line-height: .78; letter-spacing: -.065em; text-align: left; text-wrap: balance; }
.eyebrow { color: var(--orange); font-weight: 500; }

.work-filters { margin: -38px 0 42px; padding: 15px 0; border-color: var(--ink); }
.filter-label { opacity: .62; }
.filter-button { color: var(--ink); background: rgba(248,245,236,.6); border-color: var(--ink); }
.filter-button:hover { color: var(--orange); border-color: var(--orange); }
.filter-button.is-active { color: var(--paper-bright); background: var(--orange); border-color: var(--orange); }

.project-grid { gap: 32px 20px; counter-reset: archive-card; }
.project-card { position: relative; padding: 38px 12px 12px; background: rgba(248,245,236,.82); border: 1px solid var(--line); box-shadow: 4px 5px 0 rgba(16,43,70,.08); }
.project-card::before {
  content: "WORK";
  position: absolute;
  left: 16px;
  top: 13px;
  color: var(--blue);
  font: 500 9px var(--mono);
  letter-spacing: .1em;
}
.project-card::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: -18px 0 0 rgba(16,43,70,.15);
}
.project-visual { border-color: var(--ink); background: #d9d7ce; }
.work-thumb img { filter: saturate(.82) contrast(1.02); }
.work-thumb::after { background: linear-gradient(180deg, transparent 65%, rgba(16,43,70,.35)); }
.work-thumb .visual-label { color: var(--paper-bright); background: var(--orange); border: 0; }
.project-card:nth-child(3n+2) .work-thumb .visual-label,
.project-card:nth-child(3n) .work-thumb .visual-label { color: var(--paper-bright); background: var(--orange); }
.detail-cta { color: var(--paper-bright); }
.project-meta { padding: 16px 4px 5px; border-color: var(--ink); }
.project-meta h3 { font-weight: 700; }
.project-meta .mono, .project-meta p { opacity: .72; }
.project-arrow { color: var(--orange); }

.work-thumb::before {
  content: "";
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  top: -8%;
  height: 3px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--orange) 12%, var(--yellow) 50%, var(--orange) 88%, transparent);
  box-shadow: 0 0 16px rgba(240,77,34,.9), 0 8px 32px rgba(240,219,36,.32);
}
.project-card.is-scanned .work-thumb::before { animation: observationScan .82s cubic-bezier(.3,.2,.25,1) both; }

@keyframes observationScan {
  0% { top: -8%; opacity: 0; }
  10% { opacity: 1; }
  82% { opacity: .9; }
  100% { top: 108%; opacity: 0; }
}

.work-preview-fan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.preview-frame {
  position: absolute;
  left: 50%;
  top: 51%;
  width: clamp(110px, 38%, 250px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  opacity: 0;
  background: var(--paper-bright);
  border: 4px solid var(--paper-bright);
  box-shadow: 0 9px 24px rgba(16,43,70,.3), 0 0 0 1px var(--ink);
  transform-origin: 50% 125%;
  transition: transform .46s cubic-bezier(.2,.75,.2,1), opacity .22s ease;
}
.preview-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); }
.preview-frame:nth-child(1) img { object-position: 15% 50%; }
.preview-frame:nth-child(2) img { object-position: 38% 42%; }
.preview-frame:nth-child(3) img { object-position: 65% 45%; }
.preview-frame:nth-child(4) img { object-position: 88% 50%; }
.preview-frame:nth-child(1) { transform: translate(-70%, -38%) rotate(-8deg) scale(.7); }
.preview-frame:nth-child(2) { transform: translate(-62%, -42%) rotate(-3deg) scale(.7); }
.preview-frame:nth-child(3) { transform: translate(-52%, -42%) rotate(3deg) scale(.7); }
.preview-frame:nth-child(4) { transform: translate(-44%, -38%) rotate(8deg) scale(.7); }
.work-card-link:hover .preview-frame,
.work-card-link:focus-visible .preview-frame,
.work-card-link.is-preview-open .preview-frame { opacity: 1; }
.work-card-link:hover .preview-frame:nth-child(1),
.work-card-link:focus-visible .preview-frame:nth-child(1),
.work-card-link.is-preview-open .preview-frame:nth-child(1) { transform: translate(-112%, -45%) rotate(-15deg) scale(1); }
.work-card-link:hover .preview-frame:nth-child(2),
.work-card-link:focus-visible .preview-frame:nth-child(2),
.work-card-link.is-preview-open .preview-frame:nth-child(2) { transform: translate(-79%, -58%) rotate(-5deg) scale(1); }
.work-card-link:hover .preview-frame:nth-child(3),
.work-card-link:focus-visible .preview-frame:nth-child(3),
.work-card-link.is-preview-open .preview-frame:nth-child(3) { transform: translate(-21%, -58%) rotate(5deg) scale(1); }
.work-card-link:hover .preview-frame:nth-child(4),
.work-card-link:focus-visible .preview-frame:nth-child(4),
.work-card-link.is-preview-open .preview-frame:nth-child(4) { transform: translate(12%, -45%) rotate(15deg) scale(1); }
.work-card-link:hover .work-thumb > img,
.work-card-link:focus-visible .work-thumb > img,
.work-card-link.is-preview-open .work-thumb > img { transform: scale(1.035); filter: saturate(.55) contrast(.92) brightness(.72); }
.preview-instruction {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 16px;
  display: none;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 7px 9px;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--paper-bright);
  font-size: 7px;
}

.archive-transition {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: clamp(28px, 5vw, 76px);
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(16,43,70,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(16,43,70,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
  transform: translateY(102%);
  transition: transform .5s cubic-bezier(.78,0,.2,1);
}
.archive-transition::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--ink); }
.archive-transition.is-active { transform: translateY(0); }
.archive-transition-label { align-self: start; color: var(--orange); font-size: 9px; }
.archive-transition-title { position: relative; z-index: 1; max-width: 1100px; font-size: clamp(38px, 7.5vw, 116px); line-height: .9; letter-spacing: -.06em; overflow-wrap: anywhere; }
.archive-transition-line { align-self: end; display: block; width: 100%; height: 5px; background: var(--ink); transform-origin: left; animation: archiveLoad .55s linear infinite; }
.project-card.is-opening { z-index: 60; animation: fileExtract .55s cubic-bezier(.2,.7,.2,1) both; }
.is-file-opening { overflow: hidden; }

@keyframes fileExtract { to { transform: translateY(-16px) scale(1.025); box-shadow: 18px 26px 45px rgba(16,43,70,.18); } }
@keyframes archiveLoad { from { transform: scaleX(.08); } to { transform: scaleX(1); } }

.work-detail { animation: archiveArrival .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes archiveArrival { from { opacity: 0; transform: translateY(18px); } }

.observation-scale {
  position: fixed;
  z-index: 32;
  right: 10px;
  top: 25%;
  display: grid;
  grid-template-columns: auto 3px auto;
  gap: 9px;
  align-items: start;
  color: var(--ink);
  pointer-events: none;
}
.scale-title { writing-mode: vertical-rl; font-size: 7px; letter-spacing: .12em; opacity: .48; }
.scale-track { position: relative; display: block; width: 3px; height: min(42vh, 360px); background: rgba(16,43,70,.16); }
.scale-progress { position: absolute; inset: 0; display: block; background: var(--orange); transform: scaleY(0); transform-origin: top; }
.scale-current { writing-mode: vertical-rl; padding: 6px 4px; color: var(--paper-bright); background: var(--ink); font-size: 7px; letter-spacing: .08em; }
.scale-sections { position: absolute; left: -18px; top: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; font-size: 7px; line-height: 1; opacity: .46; }

.observation-cursor {
  --cursor-x: -100px;
  --cursor-y: -100px;
  position: fixed;
  z-index: 95;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate(calc(var(--cursor-x) + 14px), calc(var(--cursor-y) + 14px));
  transition: opacity .16s ease;
}
.observation-cursor.is-visible { opacity: 1; }
.cursor-crosshair { position: relative; display: block; width: 32px; height: 32px; border: 1px solid var(--orange); border-radius: 50%; background: rgba(240,237,228,.72); }
.cursor-crosshair::before, .cursor-crosshair::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--orange); transform: translate(-50%,-50%); }
.cursor-crosshair::before { width: 42px; height: 1px; }
.cursor-crosshair::after { width: 1px; height: 42px; }

.floating-terms {
  --terms-x: -400px;
  --terms-y: -400px;
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  width: clamp(190px, 18vw, 260px);
  height: 276px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--terms-x), var(--terms-y), 0);
  transition: opacity .24s ease, transform .08s linear;
}
.floating-terms.is-visible { opacity: 1; }
.floating-term {
  position: absolute;
  display: block;
  padding: 8px 11px;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--orange);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  animation: float-term-a 5s ease-in-out infinite alternate;
}
.floating-term:nth-child(1) { left: 8%; top: 7%; animation-name: float-term-a; animation-duration: 4.6s; }
.floating-term:nth-child(2) { left: 38%; top: 43%; background: var(--ink); animation-name: float-term-b; animation-duration: 5.8s; animation-delay: -1.3s; }
.floating-term:nth-child(3) { left: 4%; top: 75%; background: var(--ink); animation-name: float-term-c; animation-duration: 6.4s; animation-delay: -2.7s; }
.floating-term:nth-child(4) { left: 48%; top: 88%; animation-name: float-term-b; animation-duration: 5.3s; animation-delay: -3.4s; }

@keyframes float-term-a {
  from { transform: translate3d(-24px, 20px, 0) rotate(-4deg); }
  to { transform: translate3d(30px, -28px, 0) rotate(4deg); }
}
@keyframes float-term-b {
  from { transform: translate3d(28px, 18px, 0) rotate(3deg); }
  to { transform: translate3d(-30px, -24px, 0) rotate(-4deg); }
}
@keyframes float-term-c {
  from { transform: translate3d(-20px, -18px, 0) rotate(-3deg); }
  to { transform: translate3d(36px, 26px, 0) rotate(5deg); }
}

.about-section { color: var(--ink); background: #dfe7eb; }
.about-section .section-heading { border-color: var(--ink); }
.portrait-frame { min-height: 0; background: #c8d7df; border: 1px solid var(--ink); }
.portrait-frame::before { background: linear-gradient(120deg, transparent 48%, rgba(255,255,255,.62) 49%, transparent 50%), repeating-linear-gradient(90deg, transparent 0 39px, rgba(16,43,70,.1) 40px); }
.profile-list, .profile-list div { border-color: rgba(16,43,70,.34); }
.site-footer { color: var(--paper-bright); background: var(--ink); }

.work-detail { color: var(--ink); }
.detail-breadcrumb { opacity: .72; }
.detail-breadcrumb:hover { color: var(--orange); }
.detail-kicker { color: var(--orange); }
.detail-title { color: var(--ink); }
.detail-data { border-color: var(--ink); background: var(--ink); }
.detail-data div { background: var(--paper-bright); }
.detail-data dt { color: var(--orange); }
.detail-player { border-color: var(--ink); box-shadow: 7px 8px 0 rgba(16,43,70,.12); }
.stills-heading { border-color: var(--ink); }
.image-placeholder { color: rgba(16,43,70,.65); border-color: var(--ink); background: linear-gradient(135deg, rgba(40,103,199,.08), rgba(240,77,34,.06)), repeating-linear-gradient(0deg, transparent 0 39px, rgba(16,43,70,.055) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(16,43,70,.055) 40px); }
.image-placeholder::before, .image-placeholder::after { background: var(--line); }
.image-placeholder span { color: var(--paper-bright); background: var(--orange); border: 0; }
.detail-next { border-color: var(--ink); }
.detail-next:hover { color: var(--orange); }

.page-main { min-height: calc(100svh - 86px); }
.standalone-section { min-height: calc(100svh - 86px); padding-top: 154px; }
.site-nav a[aria-current="page"]::after { right: 0; }

@media (max-width: 800px) {
  .site-header { min-height: 76px; padding: 14px 5vw; }
  .site-header::after { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .site-nav { top: 76px; padding: 25px 5vw; color: var(--ink); background: var(--paper-bright); border-color: var(--ink); }
  .section { padding: 96px 5vw; }
  .works-section { padding-top: 116px; }
  .works-section .section-heading { grid-template-columns: 1fr; margin-bottom: 45px; padding-bottom: 28px; }
  .works-section .section-heading::after { display: none; }
  .section-heading h2, .section-heading h1 { font-size: clamp(58px, 20vw, 88px); line-height: .82; letter-spacing: -.055em; }
  .work-filters { margin: -10px 0 28px; padding: 13px 0; }
  .filter-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .filter-button { width: 100%; min-height: 38px; }
  .project-grid { gap: 22px; }
  .project-card { padding: 36px 10px 10px; box-shadow: 3px 4px 0 rgba(16,43,70,.08); }
  .project-meta { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-inline: 2px; }
  .project-meta h3 { font-size: clamp(13px, 3.8vw, 16px); line-height: 1.4; }
  .work-tags { gap: 4px; margin-top: 9px; }
  .work-tags span { padding: 3px 5px; font-size: 6px; }
  .preview-frame { width: 37%; border-width: 3px; }
  .work-card-link.is-preview-open .preview-instruction { display: block; }
  .work-card-link.is-preview-open .detail-cta { opacity: 0; }
  .portrait-frame { min-height: 0; }
  .detail-data div { background: var(--paper-bright); }
  .archive-transition { padding: 24px; }
  .archive-transition::before { inset: 10px; }
  .archive-transition-title { font-size: clamp(34px, 11vw, 58px); }
  .observation-scale { right: 2px; top: 32%; grid-template-columns: 2px auto; gap: 4px; }
  .scale-title, .scale-sections { display: none; }
  .scale-track { width: 2px; height: 29vh; }
  .scale-current { padding: 5px 3px; font-size: 6px; }
  .observation-cursor, .floating-terms { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .work-card-link { cursor: none; }
  .work-card-link:hover .detail-cta { opacity: 0; }
}

/* Profile controls, live coordinates, and readability refinements */
.site-header::after { content: none; display: none; }
.site-coordinates {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: .12em;
  opacity: .58;
  white-space: nowrap;
}
.brand-copy { font-size: 11px; }
.site-nav a { font-size: 12px; }
.eyebrow { font-size: 13px; }
.filter-label { font-size: 12px; }
.filter-button { font-size: 12px; }
.visual-label, .detail-cta { font-size: 11px; }
.project-card::before { font-size: 11px; }
.project-meta .mono, .project-meta p { font-size: 11px; }
.work-tags span { padding: 4px 7px; font-size: 11px; line-height: 1.2; }
.preview-instruction { font-size: 10px; }
.archive-transition-label { font-size: 11px; }
.scale-title, .scale-current, .scale-sections { font-size: 9px; }
.floating-term { font-size: 11px; }
.detail-breadcrumb, .detail-kicker { font-size: 12px; }
.detail-data dt { font-size: 11px; }
.detail-data dd { font-size: 13px; }
.stills-heading p, .image-placeholder span { font-size: 11px; }
.site-footer { font-size: 11px; }

.about-section.standalone-section .section-heading {
  display: block;
  margin-bottom: 38px;
  text-align: left;
}
.about-section.standalone-section .section-heading .eyebrow { margin-bottom: 28px; }
.about-section.standalone-section .section-heading h1 { width: 100%; text-align: left; }
.profile-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  margin: 0 0 48px;
  border: 1px solid var(--ink);
}
.profile-switch-button {
  min-height: 46px;
  padding: 10px 24px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: 500 13px var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
}
.profile-switch-button + .profile-switch-button { border-left: 1px solid var(--ink); }
.profile-switch-button.is-active { color: var(--paper-bright); background: var(--orange); }
.profile-switch-button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.about-grid { align-items: start; }
.profile-panels { min-width: 0; }
.profile-panel { padding-top: 0; }
.profile-panel[hidden] { display: none; }
.profile-copy { max-width: 700px; }
.profile-copy p {
  margin: 0 0 1.45em;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.95;
  text-wrap: pretty;
}
.profile-copy p:last-child { margin-bottom: 52px; }
.profile-list div { grid-template-columns: 112px 1fr; gap: 16px; font-size: 12px; line-height: 1.7; }
.role-list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.role-list span { white-space: nowrap; }
.status-mark { display: inline-block; margin-right: 7px; color: var(--orange); font-size: 16px; line-height: 1; transform: translateY(1px); }
.team-profile-link {
  display: inline-flex;
  margin-top: 24px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  font-size: 12px;
  transition: color .2s, background .2s;
}
.team-profile-link:hover { color: var(--paper-bright); background: var(--orange); }
.profile-contact-link, .profile-social-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s;
}
.profile-contact-link:hover, .profile-social-links a:hover { color: var(--orange); }
.profile-social-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.personal-section .section-heading { grid-template-columns: 1fr 3fr; }
.personal-project-card::before { content: "PERSONAL FILE"; }
.personal-card-shell { display: block; width: 100%; min-width: 0; }
.personal-placeholder-visual {
  display: grid;
  place-items: center;
  color: rgba(16,43,70,.62);
  background-color: #e5e4dc !important;
  background-image: linear-gradient(rgba(16,43,70,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(16,43,70,.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.personal-placeholder-visual::after { background: linear-gradient(180deg, transparent 68%, rgba(16,43,70,.08)); }
.personal-placeholder-label {
  position: relative;
  z-index: 3;
  padding: 10px 13px;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid var(--ink);
  font: 500 12px var(--mono);
  letter-spacing: .08em;
}
.personal-project-card .project-arrow { opacity: .3; }

@media (max-width: 800px) {
  .site-coordinates {
    display: block;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90vw;
    padding: 4px 8px;
    border: 1px solid var(--ink);
    background: var(--paper-bright);
    font-size: 9px;
  }
  .brand-copy { font-size: 10px; }
  .site-nav a { font-size: 14px; }
  .eyebrow { font-size: 13px; }
  .filter-label, .filter-button { font-size: 12px; }
  .visual-label, .detail-cta { font-size: 11px; }
  .project-card::before { font-size: 11px; }
  .project-meta .mono, .project-meta p { font-size: 11px; }
  .work-tags span { padding: 4px 6px; font-size: 11px; }
  .about-section.standalone-section .section-heading { margin-bottom: 30px; }
  .profile-switch { display: grid; width: 100%; margin-bottom: 34px; }
  .profile-switch-button { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .about-grid { gap: 34px; }
  .profile-copy p { font-size: 16px; line-height: 1.9; }
  .profile-copy p:last-child { margin-bottom: 40px; }
  .profile-list div { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; font-size: 12px; }
  .role-list { display: grid; gap: 4px; }
  .personal-section .section-heading { grid-template-columns: 1fr; }
  .personal-placeholder-label { font-size: 11px; }
  .site-footer { font-size: 10px; }
}
