:root { color-scheme: light; --paper: #ECE6D6; --ink: #3B2E24; --soft: #6E5E50; --accent: #7A5C43; --rule: #CFC4AB; --red: #B4432C; }

:root[data-theme="dark"] { color-scheme: dark; --paper: #161513; --ink: #E8E2D0; --soft: #A39D8E; --accent: #FFFFFF; --rule: #3A3833; --red: #E0806F; }

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

html, body { margin: 0; background: var(--paper); color: var(--ink); }

body { font-family: "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 15px; line-height: 1.25; -webkit-font-smoothing: antialiased; }

a { color: inherit; }

a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.front-side { position: absolute; top: 0; left: 0; width: 280px; padding: 40px 0 40px 40px; }

.front-name { display: inline-block; font-family: "Alegreya", Georgia, "Times New Roman", serif; font-size: 84px; font-weight: 400; letter-spacing: -0.01em; line-height: 1; text-decoration: none; white-space: nowrap; }
.front-name:hover { color: var(--accent); }

.front-menu { position: absolute; top: 184px; left: 40px; }

.front-divider { position: absolute; top: -19px; left: 0; width: 84%; height: 3px; background: var(--ink); }

.front-menu ul { list-style: none; margin: 0; padding: 0; }

.front-menu li { height: 32px; }

.front-menu a { font-family: "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 19px; font-weight: 500; letter-spacing: 0.01em; line-height: 21.6px; text-decoration: none; }
.front-menu a[aria-current="page"] { color: var(--accent); }

.front-theme { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 0; border: 0; background: none; color: inherit; font: 500 14px/1 "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; cursor: pointer; }
.front-theme svg { width: 18px; height: 18px; display: block; }
.front-theme:hover { color: var(--accent); }

.front-social { display: flex; gap: 12px; margin-top: 12px !important; }
.front-social li { height: auto; }
.front-social a { display: block; width: 22px; height: 22px; }
.front-social svg { width: 100%; height: 100%; display: block; }

.front-main { padding: 184px 40px 40px 280px; }

.still { margin: 0; }
.still img { width: auto; height: auto; max-width: min(100%, 900px); max-height: min(640px, calc(100vh - 184px - 90px)); }
.still figcaption { margin-top: 20px; font-family: "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14.5px; line-height: 20px; }
.still figcaption strong { text-transform: uppercase; }

.still--portrait { display: flex; align-items: flex-end; gap: 20px; }
.still--portrait img { min-width: 0; }
.still--portrait figcaption { margin-top: 0; white-space: nowrap; }

.front-page { max-width: 736px; font-size: 16px; line-height: 1.5; }
.front-page h1 { margin: 0 0 24px; font-size: 18px; font-weight: 700; letter-spacing: 0.13em; line-height: 15px; text-transform: uppercase; }
.front-page p { margin: 0 0 1em; }

.front-page h1, .front-page p { font-family: "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; letter-spacing: normal; }
.front-page h1 { font-size: 20px; font-weight: 600; letter-spacing: 0.06em; }
.front-page p { font-size: 17px; font-weight: 400; }

.front-page p.disclaimer { margin-top: 2em; font-size: 15px; font-style: italic; font-weight: 400; line-height: 1.5; }

.about-photo { width: 220px; float: right; margin: 6px 0 16px 28px; }

.front-page .disclaimer { clear: both; }

.front-note { color: var(--soft); }

.front--pinned .front-side { position: fixed; z-index: 2; }
.front--pinned .front-page h1 { position: sticky; top: 0; z-index: 1; margin: -184px 0 0; padding: 184px 0 24px; background: var(--paper); }

.front-page p.project-text { margin: 0; font-size: 16px; }

.project-name { text-transform: uppercase; letter-spacing: 0.04em; }

.front-page.studio { max-width: 1000px; }

.studio p.studio-lede { max-width: 56ch; margin: 0 0 28px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.studio button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.studio button:hover { color: var(--accent); }
.studio .studio-hist, .studio .studio-bar, .studio .studio-grid { display: none; }
.studio.is-live .studio-hist, .studio.is-live .studio-bar { display: block; }
.studio.is-live .studio-bar { display: flex; }
.studio.is-live .studio-grid { display: grid; }
.studio [hidden] { display: none !important; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.studio-hist { margin-bottom: 28px; }

.studio-bars, .studio-years { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; }

.studio-bars { height: 56px; align-items: end; border-bottom: 1px solid var(--ink); }

.studio-bars i { display: block; min-height: 1px; background: var(--rule); }

.studio-bars i.on { background: var(--ink); }

.studio-years { margin-top: 4px; font-size: 10px; color: var(--soft); font-variant-numeric: tabular-nums; }

.studio-years span { text-align: center; white-space: nowrap; }

.studio-years span:not(.tick) { visibility: hidden; }

.studio-years span:first-child { text-align: left; }

.studio-years span:last-child { text-align: right; direction: rtl; }

.studio-bar { justify-content: space-between; align-items: end; gap: 24px; padding-top: 12px; border-top: 6px solid var(--ink); }

.studio-bar button { font-size: 14px; color: var(--soft); flex: none; }

.studio-bar button[aria-pressed="true"] { color: var(--ink); text-decoration: underline 2px; text-underline-offset: 5px; }

.studio-bar sup { margin-left: 2px; font-size: 10px; color: var(--red); }

.studio-views { display: flex; gap: 18px; flex: none; }

p.studio-about { max-width: 52em; margin-top: 26px; color: var(--soft); }

.studio-filters { --l: 0px; --r: 0px; display: flex; gap: 18px; flex: 1 1 0; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: 4px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--l), #000 calc(100% - var(--r)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--l), #000 calc(100% - var(--r)), transparent); }
.studio-filters::-webkit-scrollbar { display: none; }
.studio-filters.fade-l { --l: 40px; }
.studio-filters.fade-r { --r: 40px; }

.studio-thumb { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--rule); }

.studio-thumb.is-wide { aspect-ratio: 4 / 3; }

.studio-thumb.is-square { aspect-ratio: 1; }

.studio-thumb img { width: 100%; height: 100%; object-fit: cover; }

.studio-no { color: var(--red); font-size: 12px; font-variant-numeric: tabular-nums; }

.studio-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 28px 20px; margin: 0; padding: 24px 0 0; list-style: none; }

.studio-tile { display: block; width: 100%; text-align: left; }

.studio-slot { display: flex; align-items: flex-end; aspect-ratio: 2 / 3; margin-bottom: 8px; }

.studio-slot .studio-thumb { width: 100%; transition: transform 0.25s ease; }

.studio-tile:hover .studio-thumb { transform: translateY(-3px); }

.studio-tile .studio-no, .studio-tile .studio-date { display: block; font-size: 12px; line-height: 1.35; }

.studio-tile .studio-date { color: var(--soft); }

.studio-tile .studio-title { display: block; font: 400 16px/1.2 "Alegreya", Georgia, "Times New Roman", serif; }

.studio-list { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }

.studio-list th { padding: 14px 12px 8px 0; border-bottom: 1px solid var(--ink); text-align: left; white-space: nowrap; }

.studio-list th button { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }

.studio-list th button.is-sorted { color: var(--ink); }

.studio-list th button.is-sorted::after { content: " \2193"; }

.studio-list th button.is-sorted.is-asc::after { content: " \2191"; }

.studio-list td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }

.studio-row { cursor: pointer; }

.studio-list tbody { scroll-margin-top: 248px; }

.studio.is-live .studio-row:hover td { background: color-mix(in srgb, var(--rule) 45%, transparent); }

.studio-row .studio-no { width: 40px; }

.studio-cell-thumb { width: 46px; }

.studio-cell-thumb .studio-thumb { width: 30px; }

.studio-row .studio-title { font: 400 15px/1.25 "Alegreya", Georgia, "Times New Roman", serif; }

.studio-muted { color: var(--soft); font-size: 12px; }

.studio.is-live .studio-detail { display: none; }

.studio.is-live .is-open .studio-detail { display: table-row; }

.is-open .studio-row td { border-bottom-color: transparent; }

.studio-detail td { padding: 8px 0 40px; border-bottom: 1px solid var(--ink); }

.studio-open { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 40px; }

.studio-images img + img { margin-top: 20px; }

.is-live .studio-images img { cursor: zoom-in; }

.studio-zoom { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, 0.88); cursor: zoom-out; }
.studio-zoom[open] { display: flex; align-items: center; justify-content: center; }
.studio-zoom::backdrop { background: transparent; }
.studio-zoom img { max-width: 94vw; max-height: 94vh; width: auto; height: auto; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }

.studio-notes { align-self: start; position: sticky; top: 248px; }
.studio-notes .studio-label { margin: 0 0 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.studio-notes h2 { margin: 0 0 2px; font: 400 28px/1.15 "Alegreya", Georgia, "Times New Roman", serif; }
.studio-notes p.studio-meta { margin: 0 0 16px; font-size: 13px; color: var(--soft); }
.studio-notes p { max-width: 58ch; font-size: 16px; }
.studio-notes dl { display: grid; grid-template-columns: 100px 1fr; gap: 4px 12px; margin: 24px 0 0; font-size: 12px; }
.studio-notes dt { text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); }
.studio-notes dd { margin: 0; }

@media (max-width: 767px) { .front-side, .front--pinned .front-side { position: static; width: auto; padding: 24px 20px 0; }
  .front-name { font-size: 72px; }
  .front-menu { position: relative; top: auto; left: auto; margin-top: 40px; width: max-content; }
  .front-main { padding: 32px 20px 40px; }
  .still img { max-width: 100%; max-height: none; }
  .still--portrait { display: block; }
  .still--portrait figcaption { margin-top: 20px; }
  .front--pinned .front-page h1 { position: static; margin: 0 0 24px; padding: 0; }
  .about-photo { float: none; margin: 0 0 28px; }
  .studio-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-wide { display: none; }
  .studio-years span:not(:first-child):not(:last-child) { visibility: hidden; }
  .studio-open { grid-template-columns: 1fr; gap: 20px; }
  .studio-notes { position: static; }
  .studio-list tbody { scroll-margin-top: 16px; } }
