:root {
  --paper: #ffffff;
  --ink: #151515;
  --muted: #8a8986;
  --line: #ececea;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--sans); font-size: 13px; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--paper);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 18px; padding-inline: clamp(16px, 3vw, 40px);
}
.nav { display: flex; gap: 28px; }
.nav a { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--muted); transition: color .2s; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.name { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }

main { padding-inline: clamp(16px, 4.5vw, 92px); padding-bottom: 64px; }
#strips { display: flex; flex-direction: column; gap: clamp(28px, 4.5vw, 80px); padding-top: clamp(12px, 2vw, 40px); }
.strip { display: flex; overflow: hidden; }
.strip button { display: block; flex: none; overflow: hidden; background: var(--line); }
.strip img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.strip img.loaded { opacity: 1; }
@media (hover: hover) { .strip button:hover img.loaded { opacity: .85; } }
.empty { color: var(--muted); text-align: center; padding: 20vh 0; }

#contact { max-width: 560px; margin: 12vh auto 0; display: grid; gap: 28px; }
#contact h1 { font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin: 0; }
#contact dl { display: grid; grid-template-columns: 120px 1fr; gap: 12px 24px; margin: 0; }
#contact dt { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; padding-top: 2px; }
#contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
#contact dd a { border-bottom: 1px solid var(--line); }
#contact dd a:hover { border-color: var(--ink); }
@media (max-width: 480px) { #contact dl { grid-template-columns: 1fr; gap: 4px; } #contact dd { margin-bottom: 14px; } }

.lb { position: fixed; inset: 0; z-index: 20; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 3vw, 40px); }
.lb-top button, .lb-bot button { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--muted); padding: 10px 0; }
.lb-top button:hover, .lb-bot button:hover { color: var(--ink); }
.count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.stage { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 0; }
.stage img { display: block; flex: none; background: var(--line); }
.hit { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 1; }
.hit.prev { left: 0; cursor: w-resize; }
.hit.next { right: 0; cursor: e-resize; }
.caption { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) { .stage img { animation: fade .35s ease; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
