/* Global design tokens. Motion and typography can be tuned here without editing content. */
:root {
  font-family: 'Instrument Sans Variable', sans-serif;
  --paper: #f6f1eb;
  --ink: #151513;
  --muted: #706d67;
  --line: #d6d0c8;
  --placeholder: #e7e1d8;
  --gutter: 12px;
  --header-height: 76px;
  --serif: 'Instrument Serif', Georgia, serif;
  --reveal-duration: 780ms;
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
  --menu-duration: 300ms;
  --theme-duration: 250ms;
  --home-frame-ratio: 3 / 4; /* Trial crop for the three homepage photographs. */
  font-synthesis: none;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
}
:root[data-theme='dark'] { --paper: #040404; --ink: #f6f1eb; --muted: #aaa59e; --line: #37342f; --placeholder: #1a1917; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); transition: background-color var(--theme-duration), color var(--theme-duration); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { opacity: .24; cursor: default; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex='0']:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
::selection { background: var(--ink); color: var(--paper); }
h1, h2, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
svg { display: block; flex: 0 0 auto; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 12px; padding: 12px; z-index: 100; background: var(--paper); }
.skip-link:focus { top: 12px; }
.header { height: var(--header-height); padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; position: relative; z-index: 5; }
.nav-toggle { min-width: 44px; min-height: 44px; display: flex; gap: 0; align-items: center; width: max-content; font-size: 13px; }
.nav-toggle span { font-size: 22px; line-height: 1; font-weight: 350; }
.wordmark { font-size: 12px; letter-spacing: -.04em; font-weight: 450; min-height: 44px; display: flex; align-items: center; }
.brackets { position: relative; display: inline-block; padding: 7px 9px; }
.brackets i { position: absolute; width: 4px; height: 4px; border-color: currentColor; border-style: solid; border-width: 0; }
.brackets i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.brackets i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.brackets i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.brackets i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.theme-controls { display: flex; justify-self: end; }
.icon-button { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.theme-controls .icon-button svg { width: 20px; height: 20px; }
.theme-controls button[aria-pressed='false'] { opacity: .55; }
.theme-controls button:hover { opacity: 1; }
.hero { min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; padding: 6svh var(--gutter) 0; }
.hero h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(48px, 13.7vw, 94px); line-height: .99; letter-spacing: -.025em; }
.hero-line { display: block; overflow: hidden; padding: .04em .04em .12em 0; }
.hero-line > span { display: block; animation: opening 520ms var(--reveal-ease) both; animation-delay: calc(var(--line-index) * 90ms + 80ms); }
@keyframes opening { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.home-sequence { padding: 24px var(--gutter) 0; }
.carousel { width: 100%; margin-inline: auto; overflow-anchor: none; }
.home-carousel { max-width: 680px; }
.carousel-track { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.carousel-slide .photo { width: 100%; }
.carousel-controls { display: flex; justify-content: space-between; margin-top: 1px; }
.carousel-controls .icon-button:first-child { justify-items: start; }
.carousel-controls .icon-button:last-child { justify-items: end; }
.carousel-controls svg { width: 15px; height: 15px; }
.photo { aspect-ratio: var(--image-ratio); width: 100%; overflow: hidden; }
.photo img { width: 100%; height: auto; }
.home-carousel .carousel-track, .home-carousel .photo { aspect-ratio: var(--home-frame-ratio); }
.home-carousel .photo img { height: 100%; object-fit: cover; object-position: var(--image-position); }
.reveal { clip-path: inset(49% 0 49% 0); transition: clip-path var(--reveal-duration) var(--reveal-ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { clip-path: inset(0 0 0 0); }
.image-placeholder { height: 100%; display: grid; place-items: center; background: var(--placeholder); color: var(--muted); font-size: 11px; transition: background-color var(--theme-duration); }
.editorial-paths { margin: 100px var(--gutter) 140px; }
.editorial-paths > a, .editorial-paths > button { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; width: 100%; text-align: left; font-family: var(--serif); font-style: italic; font-size: 29px; line-height: 1.1; }
.editorial-paths > :first-child:not(:last-child) { border-bottom: 1px solid var(--line); }
.editorial-paths svg { width: 18px; height: 18px; }
#selected-stories { scroll-margin-top: 24px; }
.project-list { padding-inline: var(--gutter); max-width: 924px; margin: 0 auto; }
.project-card { margin-bottom: 105px; }
.project-card > a { display: block; }
.project-caption { min-height: 48px; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.project-caption h2 { font-weight: 400; font-size: 15px; line-height: 1.4; letter-spacing: -.025em; }
.project-caption svg { width: 15px; height: 15px; }
.page { padding-top: 52px; }
.editorial-heading { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(43px, 10vw, 76px); line-height: 1; letter-spacing: -.025em; margin: 0 var(--gutter) 64px; }
.project-page { padding-inline: var(--gutter); max-width: 924px; margin-inline: auto; }
.project-intro { font-size: 13px; line-height: 1.5; }
.metadata > div { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.metadata dt { color: var(--muted); flex: 0 0 auto; }
.metadata dd { min-width: 0; }
.discipline { margin-top: 4px; }
.study { margin-top: 38px; margin-bottom: 40px; }
.study h2 { font-size: inherit; font-weight: 400; color: var(--muted); margin-bottom: 10px; }
.study p { max-width: 580px; line-height: 1.5; }
.project-gallery { display: grid; gap: 8px; }
.gallery-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; align-items: start; }
.project-pagination { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 13px; }
.project-pagination > :last-child { text-align: right; }
.project-pagination a { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-height: 64px; }
.project-pagination > :last-child a { align-items: flex-end; }
.project-pagination a > span:last-child { color: var(--muted); }
.back-stories { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; margin-top: 64px; width: max-content; }
.back-stories svg { width: 12px; height: 12px; }
.feed { max-width: 680px; padding-inline: var(--gutter); margin: 0 auto; }
.feed-entry { margin-bottom: 100px; }
.entry-caption { padding-top: 18px; font-size: 13px; line-height: 1.6; }
.entry-meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; margin-top: 8px; }
.feed-entry .carousel-controls { margin-bottom: -12px; }
.me-layout { padding-inline: var(--gutter); max-width: 1000px; margin-inline: auto; }
.me-layout > .photo { max-width: 480px; }
.me-copy { margin-top: 48px; max-width: 460px; font-size: 14px; line-height: 1.6; }
.introduction { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.15; margin-bottom: 28px; }
.me-copy .editorial-paths { margin: 48px 0 20px; }
.contacts { display: flex; gap: 2px; }
.footer { margin: 130px var(--gutter) 0; padding: 32px 0 24px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; row-gap: 28px; align-items: start; }
.footer-name { font-size: 12px; min-height: 44px; display: flex; align-items: center; }
.footer nav { grid-column: 1; display: flex; flex-direction: column; }
.footer nav a { display: flex; align-items: center; min-height: 44px; }
.footer .contacts { grid-column: 2; grid-row: 1; margin-top: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; margin-top: 58px; }
.navigation { max-width: none; max-height: none; width: 100%; height: 100dvh; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--paper); transition: background-color var(--theme-duration), color var(--theme-duration); }
.navigation[open] { display: flex; flex-direction: column; animation: menu-in var(--menu-duration) var(--reveal-ease) both; }
.navigation::backdrop { background: var(--paper); }
.navigation.is-closing { animation: menu-out var(--menu-duration) ease both; }
.menu-links { margin: auto var(--gutter); padding: 48px 0; }
.menu-links > a, .menu-links > button { font-family: var(--serif); font-style: italic; font-size: clamp(31px, 8.5vw, 58px); width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; min-height: 74px; gap: 20px; }
.menu-links > * + * { position: relative; }
.menu-links > * + *::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--line); transform: scaleY(.5); transform-origin: top; pointer-events: none; }
.menu-links svg { width: 20px; height: 20px; }
.menu-links > .menu-symbiosis { font-size: 26px; min-height: 86px; }
.menu-bottom { display: flex; align-items: center; justify-content: space-between; margin: 0 var(--gutter); padding: 20px 0 max(24px, env(safe-area-inset-bottom)); font-size: 11px; color: var(--muted); }
.menu-bottom .contacts { color: var(--ink); }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(8px); } }
.contact-notice { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 100; font-size: 12px; background: var(--paper); border: 1px solid var(--line); padding: 14px 22px; max-width: calc(100vw - 24px); width: max-content; }
.contact-notice:empty { display: none; }
.not-found { padding-bottom: 100px; }
.not-found > a { margin: 0 var(--gutter); display: flex; align-items: center; gap: 20px; }
@media (min-width: 760px) {
  :root { --gutter: 32px; --header-height: 96px; }
  .nav-toggle, .wordmark { font-size: 14px; }
  .hero { padding-left: 8vw; }
  .hero h1 { font-size: clamp(80px, 8vw, 112px); }
  .home-sequence { padding-top: 48px; }
  .home-carousel { max-width: min(900px, 60svh); } /* 3:4 frame occupies up to 80% of the viewport height. */
  .editorial-paths { max-width: 680px; margin: 130px auto 160px; }
  .editorial-paths > a, .editorial-paths > button { font-size: 36px; min-height: 88px; }
  .project-caption h2 { font-size: 17px; }
  .project-caption { padding-top: 4px; }
  .project-card { margin-bottom: 140px; }
  .page { padding-top: 80px; }
  .editorial-heading { margin-bottom: 90px; }
  .project-intro { font-size: 15px; }
  .study { margin-top: 58px; margin-bottom: 64px; }
  .project-pagination { font-size: 15px; margin-top: 90px; }
  .feed { padding: 0; }
  .entry-caption { font-size: 14px; }
  .me-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
  .me-copy { margin-top: 8px; }
  .me-copy .editorial-paths > button { font-size: 30px; }
  .footer { margin-top: 160px; padding-top: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr auto; }
  .footer nav { grid-column: 2; grid-row: 1; flex-direction: row; gap: 30px; }
  .footer .contacts { grid-column: 3; }
  .footer-bottom { margin-top: 75px; }
  .menu-links { width: min(680px, calc(100% - 64px)); margin: auto; }
  .menu-links > a { min-height: 96px; }
  .menu-links > .menu-symbiosis { font-size: 34px; min-height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal { clip-path: none !important; }
}
