@font-face {
  font-family: Archivo;
  src: url("archivo-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #1b1d1a;
  --paper: #eeeee5;
  --muted: #b9bcb2;
  --line: #4e5149;
  --accent: #d9e29c;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color: var(--paper);
  background: var(--ink);
  font-family: Archivo, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  scrollbar-color: #74796a var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--accent); }
a { color: inherit; text-underline-offset: .3em; text-decoration-thickness: 1px; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
p { line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
.skip-link { position: absolute; z-index: 30; inset: 8px auto auto 16px; transform: translateY(-160%); padding: 12px 18px; background: var(--paper); color: var(--ink); }
.skip-link:focus { transform: none; }
.demo-bar { min-height: 35px; padding: 6px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: #272a23; color: #d4d7cb; font-size: .75rem; }
.demo-bar a { display: flex; align-items: center; gap: 9px; text-decoration: none; min-height: 25px; }
.demo-bar a:hover { text-decoration: underline; }
.demo-bar svg { width: 14px; height: 14px; }
.site-header { min-height: 95px; padding: 20px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 2.3rem; line-height: 1; font-weight: 650; letter-spacing: -.04em; }
.brand-slash { font-weight: 350; color: var(--muted); }
.brand-discipline { font-size: .75rem; font-weight: 400; letter-spacing: .015em; }
.site-header nav { display: flex; gap: 34px; align-items: center; font-size: .875rem; }
.site-header nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .65em; }
.site-header .nav-contact { color: var(--accent); }
.site-header nav svg { width: 18px; height: 18px; }

/* The home is a single worktable. Each photograph is a separate project sheet. */
.atlas { position: relative; width: min(100% - 96px, 1500px); height: min(760px, calc(100svh - 165px)); min-height: 730px; margin-inline: auto; isolation: isolate; }
.atlas-intro { position: absolute; top: 22px; left: 1%; width: 330px; z-index: 1; }
.atlas-intro h1 { font-size: clamp(2.65rem, 3.65vw, 3.55rem); line-height: 1.07; }
.atlas-intro > p { margin-top: 20px; font-size: .95rem; color: var(--muted); }
.mobile-hint { display: none; }
.board-deck { position: absolute; inset: 0 0 80px; pointer-events: none; }
.board-deck:focus-visible { outline-offset: 10px; }
/* The link stays still. Entrance and hover belong to separate visual layers. */
.board {
  position: absolute;
  display: block;
  padding: 28px;
  text-decoration: none;
  pointer-events: auto;
}
.board-arrival {
  display: block;
  pointer-events: none;
  animation: spread-sheets .8s var(--ease) backwards;
  animation-delay: var(--arrival-delay);
}
.board-sheet {
  display: block;
  padding: 10px 10px 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 38px rgba(0, 0, 0, .3);
  transform: rotate(var(--angle));
  transform-origin: center;
  transition: transform .32s var(--ease);
}
.board-1 { left: calc(1% - 28px); top: calc(33% - 28px); width: calc(44% + 56px); z-index: 2; --angle: -5deg; --start-x: 28%; --start-y: -16%; --arrival-delay: 0s; }
.board-2 { left: calc(39% - 28px); top: calc(5% - 28px); width: calc(42% + 56px); z-index: 3; --angle: 5deg; --start-x: -18%; --start-y: 10%; --arrival-delay: .06s; }
.board-3 { left: calc(61% - 28px); top: calc(44% - 28px); width: calc(36% + 56px); z-index: 1; --angle: -4deg; --start-x: -36%; --start-y: -20%; --arrival-delay: .12s; }
.board-sheet > img { aspect-ratio: 1.65; object-fit: cover; }
.board-caption { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 7px; }
.board-caption strong { display: block; font-size: clamp(1.03rem, 1.65vw, 1.5rem); font-weight: 550; letter-spacing: -.025em; line-height: 1.2; }
.board-caption > span > span { display: block; margin-top: 5px; color: #575d4e; font-size: .75rem; }
.board-caption > svg { width: 24px; height: 24px; }
.board:focus-visible { z-index: 10; outline: none; }
.board:focus-visible .board-sheet { transform: translateY(-6px) rotate(0); outline: 3px solid var(--accent); outline-offset: 5px; }
.atlas-index { position: absolute; bottom: 10px; left: 1%; right: 1%; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; column-gap: 27px; row-gap: 0; }
.atlas-index > span { color: var(--muted); font-size: .75rem; margin-right: 6px; }
.atlas-index a { display: flex; align-items: center; min-height: 44px; font-size: .8rem; text-decoration: none; }
.atlas-index a:hover { color: var(--accent); text-decoration: underline; }
.site-footer { width: calc(100% - 96px); max-width: 1500px; margin-inline: auto; border-top: 1px solid var(--line); padding: 20px 0 23px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.site-footer p { color: var(--muted); font-size: .75rem; }
.site-footer > a { display: flex; gap: 12px; align-items: center; min-height: 35px; font-size: .75rem; text-decoration: none; flex-shrink: 0; }
.site-footer > a:hover { text-decoration: underline; }
.site-footer svg { width: 16px; height: 16px; }
@media (hover: hover) {
  .board:hover { z-index: 10; }
  .board:hover .board-sheet { transform: translateY(-6px) rotate(0); }
}
@keyframes spread-sheets {
  from { transform: translate(var(--start-x), var(--start-y)); }
  to { transform: translate(0, 0); }
}

/* Project pages give one photograph and its story the whole page. */
.project-main, .studio-main, .contact-main { width: min(100% - 96px, 1500px); margin-inline: auto; }
.back-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-size: .8rem; text-decoration: none; color: var(--muted); margin: 9px 0 25px; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 19px; height: 19px; }
.project-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr); gap: 55px; align-items: start; }
.project-photograph img { aspect-ratio: 1.35; object-fit: cover; }
.project-photograph figcaption { color: var(--muted); font-size: .75rem; line-height: 1.55; margin-top: 16px; }
.project-story h1 { font-size: clamp(2.5rem, 4.25vw, 4.8rem); line-height: 1.06; margin-bottom: 24px; }
.project-story > p { font-size: .95rem; color: var(--muted); max-width: 68ch; margin-top: 18px; }
.project-story .project-lead { color: var(--paper); font-size: 1.13rem; margin-top: 0; line-height: 1.45; }
.project-meta { border-top: 1px solid var(--line); margin: 30px 0 0; padding-top: 19px; font-size: .78rem; }
.project-meta > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.project-meta dt { color: var(--muted); }
.project-meta dd { margin: 0; text-align: right; }
.project-story .concept-note, .concept-note { font-size: .75rem; color: var(--muted); line-height: 1.7; }
.project-navigation { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin: 43px 0 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.project-navigation > a { display: flex; align-items: center; gap: 18px; min-height: 44px; text-decoration: none; font-size: .83rem; }
.project-navigation > a:hover { color: var(--accent); }
.project-navigation .next-project { display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; text-align: right; }
.next-project > span { font-size: .75rem; color: var(--muted); }
.next-project > strong { font-size: 1.25rem; font-weight: 500; grid-column: 1; }
.next-project > svg { grid-column: 2; grid-row: 1 / 3; width: 28px; height: 28px; }
.studio-main { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; padding: 53px 0 70px; }
.studio-intro { position: sticky; top: 45px; align-self: start; }
.studio-intro h1 { font-size: clamp(3rem, 5.5vw, 5.7rem); line-height: 1.05; }
.studio-intro > p { margin-top: 29px; font-size: 1.1rem; color: var(--muted); }
.text-link { display: inline-flex; gap: 15px; align-items: center; min-height: 44px; font-size: .875rem; margin-top: 23px; }
.studio-content > p { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 68ch; margin-top: 21px; }
.studio-content .studio-statement { color: var(--paper); font-size: 1.7rem; line-height: 1.3; letter-spacing: -.025em; margin-top: 7px; }
.studio-content h2 { font-size: 2.5rem; line-height: 1.1; margin-top: 45px; }
.method-list { list-style: none; padding: 0; margin: 29px 0 0; counter-reset: method; }
.method-list li { counter-increment: method; display: grid; grid-template-columns: 30px 1fr; gap: 5px 17px; border-top: 1px solid var(--line); padding: 19px 0 16px; }
.method-list li::before { content: counter(method, decimal-leading-zero); color: var(--accent); font-size: .75rem; font-variant-numeric: tabular-nums; padding-top: 5px; }
.method-list h3 { font-size: 1.5rem; }
.method-list p { grid-column: 2; color: var(--muted); font-size: .94rem; }
.studio-content .concept-note { font-size: .75rem; }
.contact-main { padding: 78px 0 95px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 110px; align-items: start; min-height: calc(100svh - 225px); }
.contact-title h1 { font-size: clamp(3.1rem, 5.3vw, 5.7rem); line-height: 1.07; }
.contact-title > svg { margin-top: 36px; width: 90px; height: 90px; stroke-width: .65; color: var(--accent); }
.contact-copy > p { color: var(--muted); font-size: 1rem; margin-top: 23px; max-width: 68ch; }
.contact-copy .contact-lead { color: var(--paper); font-size: 1.5rem; line-height: 1.35; margin-top: 6px; }
.contact-action { display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: .95rem; line-height: 1.5; text-decoration: none; color: var(--accent); padding: 17px 0; margin-top: 30px; border-bottom: 1px solid var(--accent); }
.contact-action:hover { text-decoration: underline; }

@media (min-width: 1700px) {
  .site-header, .demo-bar { padding-inline: max(48px, calc((100vw - 1500px) / 2)); }
  .atlas { height: 850px; min-height: 850px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .atlas-intro { width: 290px; }
  .atlas-intro h1 { font-size: 2.65rem; }
  .atlas-intro > p { font-size: .875rem; }
  .board-1 { top: calc(40% - 28px); }
  .board-2 { top: calc(15% - 28px); }
  .board-3 { top: calc(57% - 28px); }
  .board-caption { min-height: 65px; padding-inline: 4px; gap: 10px; }
  .board-caption strong { font-size: 1.03rem; }
  .board-caption > span > span { font-size: .75rem; }
  .board-caption > svg { width: 18px; height: 18px; }
  .project-layout { gap: 33px; grid-template-columns: 1.35fr 1fr; }
  .project-photograph img { aspect-ratio: .85; }
  .studio-main, .contact-main { gap: 60px; }
}
@media (max-width: 860px) {
  .project-layout { display: block; }
  .project-photograph img { aspect-ratio: 1.4; }
  .project-story { max-width: 70ch; margin-top: 32px; }
  .project-story h1 { font-size: 3.1rem; max-width: 560px; }
  .project-meta { max-width: 540px; }
}
@media (max-width: 760px) {
  .demo-bar { padding: 9px 22px; gap: 16px; font-size: .75rem; }
  .demo-bar p { max-width: 185px; line-height: 1.4; }
  .demo-bar a { white-space: nowrap; min-height: 32px; gap: 5px; }
  .demo-bar svg { width: 12px; height: 12px; }
  .site-header { display: block; padding: 22px 24px 10px; min-height: 128px; }
  .brand { width: fit-content; font-size: 2.2rem; gap: 12px; }
  .brand-discipline { font-size: .75rem; }
  .site-header nav { gap: 24px; margin-top: 12px; justify-content: flex-start; font-size: .875rem; }
  .site-header nav a { min-height: 39px; gap: 8px; }
  .site-header nav a[aria-current="page"] { text-underline-offset: .45em; }
  .atlas { width: 100%; height: auto; min-height: 0; padding-bottom: 22px; }
  .atlas-intro { position: static; width: auto; padding: 24px 24px 0; }
  .atlas-intro h1 { font-size: clamp(2.65rem, 8.5vw, 3.5rem); line-height: 1.07; }
  .atlas-intro > p { margin-top: 17px; font-size: .94rem; }
  .atlas-intro .mobile-hint { display: flex; gap: 9px; align-items: center; margin-top: 19px; font-size: .75rem; color: var(--accent); }
  .mobile-hint svg { width: 19px; height: 19px; }
  .board-deck { position: relative; inset: auto; display: flex; align-items: center; gap: 23px; overflow-x: auto; overflow-y: hidden; padding: 29px 24px 38px; scroll-snap-type: x proximity; scroll-padding-inline: 24px; scrollbar-width: thin; scrollbar-color: var(--accent) #343a2b; pointer-events: auto; }
  .board { position: relative; inset: auto; width: min(78vw, 410px); flex: 0 0 min(78vw, 410px); padding: 0; scroll-snap-align: center; }
  .board-arrival { animation: none; }
  .board-sheet { padding: 8px 8px 0; box-shadow: 0 14px 24px rgba(0, 0, 0, .25); }
  .board-1 { --angle: -2deg; }
  .board-2 { --angle: 2deg; }
  .board-3 { --angle: -1.5deg; }
  .board-sheet > img { aspect-ratio: 1.24; }
  .board-caption { min-height: 75px; gap: 12px; padding: 14px 6px; }
  .board-caption strong { font-size: 1.1rem; }
  .board-caption > span > span { font-size: .75rem; line-height: 1.4; }
  .board-caption > svg { width: 21px; height: 21px; }
  .board:focus-visible .board-sheet { transform: rotate(0); }
  .atlas-index { position: static; padding: 7px 24px 0; justify-content: flex-start; column-gap: 20px; }
  .atlas-index > span { flex-basis: 100%; font-size: .75rem; margin: 3px 0 0; }
  .atlas-index a { font-size: .75rem; min-height: 36px; }
  .site-footer { width: calc(100% - 48px); padding: 20px 0 24px; display: block; }
  .site-footer p { font-size: .75rem; line-height: 1.6; max-width: 42ch; }
  .site-footer > a { width: fit-content; min-height: 40px; margin-top: 8px; }
  .project-main, .studio-main, .contact-main { width: calc(100% - 48px); }
  .back-link { margin: 6px 0 17px; font-size: .8rem; }
  .project-photograph img { aspect-ratio: 1.04; }
  .project-photograph figcaption { font-size: .75rem; margin-top: 12px; }
  .project-story { margin-top: 29px; }
  .project-story h1 { font-size: 2.8rem; margin-bottom: 21px; }
  .project-story > p { font-size: .95rem; margin-top: 19px; }
  .project-story .project-lead { font-size: 1.15rem; margin-top: 0; }
  .project-story .concept-note { font-size: .75rem; }
  .project-meta { margin-top: 25px; font-size: .8rem; }
  .project-navigation { display: block; margin: 30px 0 27px; padding-top: 15px; }
  .project-navigation > a { font-size: .82rem; }
  .project-navigation .next-project { width: fit-content; margin: 22px 0 0 auto; text-align: right; }
  .next-project > strong { font-size: 1.2rem; }
  .studio-main { display: block; padding: 34px 0 46px; }
  .studio-intro { position: static; }
  .studio-intro h1 { font-size: 3.3rem; }
  .studio-intro > p { font-size: 1.05rem; margin-top: 23px; }
  .text-link { font-size: .83rem; margin-top: 17px; gap: 13px; }
  .studio-content { margin-top: 39px; border-top: 1px solid var(--line); padding-top: 28px; }
  .studio-content .studio-statement { font-size: 1.7rem; margin-top: 0; }
  .studio-content > p { font-size: .96rem; }
  .studio-content h2 { font-size: 2.3rem; margin-top: 35px; }
  .method-list { margin-top: 25px; }
  .method-list li { grid-template-columns: 26px 1fr; gap: 6px 13px; }
  .method-list h3 { font-size: 1.4rem; }
  .method-list p { font-size: .91rem; }
  .contact-main { display: block; min-height: 0; padding: 37px 0 50px; }
  .contact-title { position: relative; }
  .contact-title h1 { font-size: clamp(2.6rem, 8.6vw, 3.5rem); line-height: 1.07; }
  .contact-title > svg { width: 55px; height: 55px; margin-top: 22px; stroke-width: 1; }
  .contact-copy { margin-top: 33px; }
  .contact-copy .contact-lead { font-size: 1.45rem; margin-top: 0; }
  .contact-copy > p { font-size: .96rem; margin-top: 21px; }
  .contact-action { font-size: .875rem; gap: 16px; margin-top: 24px; }
}
@media (max-width: 380px) {
  .demo-bar { padding-inline: 20px; gap: 12px; }
  .demo-bar p { max-width: 170px; }
  .site-header { padding-inline: 22px; }
  .atlas-intro { padding-inline: 22px; }
  .atlas-intro h1 { font-size: 2.6rem; }
  .board-deck { padding-inline: 22px; scroll-padding-inline: 22px; gap: 20px; }
  .board-caption strong { font-size: 1rem; }
  .board-caption > svg { width: 18px; height: 18px; }
  .atlas-index { padding-inline: 22px; column-gap: 16px; }
  .atlas-index a { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .board:hover .board-sheet, .board:focus-visible .board-sheet { transform: rotate(var(--angle)); }
}
