@font-face { font-family: "Inter"; src: url("assets/fonts/inter-variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; --paper: #000; --bg: #000; --text: #fff; --muted: #a3a3a3; --body: 18px; --margin: clamp(24px, 5vw, 80px); --ease-settle: cubic-bezier(.19, 1, .22, 1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html.lenis { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--body)/1.58 "Inter", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
::selection { background: #fff; color: #000; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: clamp(42px, 5.5vw, 78px); font-weight: 300; }
h3 { font-size: 18px; letter-spacing: -.025em; }
p + p { margin-top: 1.2em; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - var(--margin) * 2); max-width: 1078px; margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: var(--margin); z-index: 10; padding: 12px 20px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }
.navbar { display: flex; justify-content: space-between; align-items: center; min-height: 112px; gap: 24px; }
.navbar a { text-decoration: none; }
.nav-brand { font-size: 26px; letter-spacing: -.065em; font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-actions a:hover, .nav-actions a[aria-current] { text-decoration: underline; }
.nav-actions .nav-contact, .nav-actions a:last-child { gap: 24px; border: 1px solid currentColor; border-radius: 75px; padding: 8px 24px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 54px; padding: 14px 26px; border: 1px solid currentColor; border-radius: 75px; background: transparent; color: inherit; font-size: 16px; text-decoration: none; transition: background 200ms, color 200ms; }
.button:hover { background: var(--text); color: var(--bg); }
.text-link { display: inline-flex; gap: 32px; align-items: center; min-height: 44px; margin-top: 24px; text-decoration: underline; font-size: 16px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 36px; font-size: 16px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.project-header { padding-block: 60px 96px; }
.project-header h1, .not-found h1 { max-width: 100%; font-size: clamp(48px, 7.2vw, 104px); font-weight: 300; line-height: 1.02; }
.project-summary { max-width: 55ch; font-size: 18px; margin-top: 36px; }
.gallery { margin-bottom: 100px; }
.gallery-heading { font-size: 30px; margin-bottom: 28px; font-weight: 400; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #181818; color: #fff; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-color: var(--text); }
.gallery-slide { flex: 0 0 100%; min-width: 0; position: relative; scroll-snap-align: start; }
.gallery-slide img, .gallery-slide video { width: 100%; height: min(62vh, 680px); object-fit: contain; }
.gallery-slide figcaption { padding: 20px 0 0; font-size: 16px; background: var(--bg); color: var(--text); }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; font-size: 16px; }
.gallery-controls { display: flex; align-items: center; gap: 14px; }
.gallery-controls button { display: grid; place-items: center; background: transparent; border: 1px solid var(--text); border-radius: 50%; width: 48px; height: 48px; }
.gallery-controls button:hover:enabled { background: #333; }
.gallery-controls img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.project-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 80px; padding-bottom: 100px; }
.project-details h2 { font-size: 30px; font-weight: 400; margin-bottom: 28px; }
.project-details p, .project-details ul { max-width: 65ch; }
.project-details p + h2 { margin-top: 48px; }
.project-meta { margin: 0; align-self: start; }
.project-meta div + div { margin-top: 28px; }
.project-meta dt { font-size: 16px; color: var(--muted); margin-bottom: 8px; }
.project-meta dd { margin: 0; }
.project-details ul { padding-left: 22px; }
.project-details li + li { margin-top: 16px; }
.project-next { display: flex; justify-content: space-between; gap: 24px; padding-block: 40px 72px; }
.project-next a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
.footer.wrap { width: 100%; max-width: none; padding: 64px max(var(--margin), calc((100% - 1078px) / 2)) 32px; background: #000; color: #fff; font-size: 16px; }
.footer-name { font-size: clamp(52px, 13vw, 180px); font-weight: 300; line-height: 1; letter-spacing: -.065em; margin-bottom: 48px; }
.media-status { padding: 16px; background: var(--bg); color: var(--text); font-size: 16px; }
.not-found { min-height: 65vh; padding-block: 80px; }
.not-found p { margin-top: 32px; }
@media (max-width: 700px) {
  .navbar { min-height: 92px; gap: 16px; }
  .nav-brand { font-size: 22px; }
  .nav-actions { gap: 18px; }
  .nav-actions a:last-child { padding: 6px 16px; gap: 12px; }
  .nav-actions a[href$="#about"] { display: none; }
  .project-header { padding-block: 40px 64px; }
  .project-header h1, .not-found h1 { font-size: clamp(42px, 10vw, 64px); }
  .project-summary { margin-top: 28px; }
  .gallery { margin-bottom: 64px; }
  .gallery-slide img, .gallery-slide video { height: auto; min-height: 160px; max-height: 60vh; }
  .gallery-toolbar { flex-wrap: wrap; gap: 16px; }
  .project-details { grid-template-columns: 1fr; gap: 64px; padding-bottom: 64px; }
  .project-next { flex-wrap: wrap; padding-block: 12px 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
