/* one look everywhere: black background, white text, square corners */
:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #141414;
  --ink: #f2f1ed;
  --muted: #9b9994;
  --line: #262624;
  --accent: #f2f1ed;
  --radius: 0px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --track: 0.28em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.eyebrow { margin: 0; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--ink); }
.lede { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }

/* ---------- header ---------- */
/* solid black bar across the top of every page */
.site-header {
  --bar-h: 60px;
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: #0b0b0b; color: #fff;
}
.brand { font-size: 14px; letter-spacing: var(--track); text-transform: uppercase; text-decoration: none; white-space: nowrap; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.7); white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav .nav-cta { color: #111; background: #fff; padding: 9px 16px; }
.nav .nav-cta:hover { color: #111; opacity: .85; }
@media (max-width: 560px) {
  .site-header { --bar-h: 54px; gap: 12px; }
  .brand { font-size: 12px; letter-spacing: .2em; }
  .nav { gap: 14px; }
  .nav a { font-size: 11px; letter-spacing: .1em; }
  .nav .nav-cta { padding: 7px 11px; }
}

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section[id] { scroll-margin-top: 70px; }

/* ---------- hero: big photos sliding slowly sideways, your name underneath ---------- */
.hero {
  --gap: 18px;
  height: calc(100vh - 60px); height: calc(100svh - 60px); min-height: 520px;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  background: #0b0b0b; color: #fff; overflow: hidden;
}
.strip-wrap { position: relative; min-height: 0; min-width: 0; overflow: hidden; }
.strip { height: 100%; display: flex; flex-direction: column; gap: var(--gap); overflow: hidden; }
.strip-row { flex: 1; min-height: 0; overflow: hidden; }
.strip-track { display: flex; height: 100%; width: max-content; will-change: transform; }

/* ‹ › buttons on the strip's edges: tap to whoosh, hold to keep going */
.strip-btn {
  position: absolute; z-index: 2; top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  background: #0b0b0b; color: #fff; border: 0; border-radius: 0; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
  opacity: .9; transition: opacity .2s, background .2s;
}
.strip-btn:hover { opacity: 1; background: #000; }
.strip-btn:active { background: #222; }
.strip-btn svg { width: 22px; height: 22px; stroke-width: 1.8; }
.strip-btn:hover svg { transform: none; }
.strip-btn.prev { left: 0; }
.strip-btn.next { right: 0; }
@media (max-width: 700px) { .strip-btn { width: 42px; height: 42px; } }
/* spacing lives on each photo (not the row) so the loop joins up seamlessly */
.strip-track a { height: 100%; flex: none; padding-right: var(--gap); }
.strip-track img { height: 100%; width: auto; aspect-ratio: var(--r); object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.strip-track img.in { opacity: 1; }
@keyframes slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* name, then one line underneath: description on the left, buttons on the right */
.hero-intro { padding: 26px var(--gutter) clamp(28px, 4vh, 44px); }
.hero-name { width: max-content; margin: 0 0 0 -.04em; font-size: clamp(48px, 10.5vw, 180px); line-height: .82; font-weight: 300; letter-spacing: -.025em; text-transform: uppercase; white-space: nowrap; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-meta p { margin: 0; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.7); line-height: 1.8; }
.hero-meta p b { font-weight: 500; color: #fff; }
.hero-actions { display: flex; gap: 8px; }
.hero .button { background: #fff; color: #111; padding: 13px 18px; font-size: 11px; border-radius: 0; }
.hero .button svg { display: none; }
.hero .button.outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.hero .button.outline:hover { box-shadow: inset 0 0 0 1px #fff; opacity: 1; }

@media (max-width: 700px) {
  .hero { --gap: 10px; height: calc(100vh - 54px); height: calc(100svh - 54px); }
  /* the name is sized by site.js to fill ~80% of the width, like desktop */
  .hero-intro { padding-top: 20px; }
  .hero-meta { margin-top: 16px; padding-top: 16px; }
  .hero-meta p { font-size: 10px; letter-spacing: .2em; }
  .hero-meta p span { display: block; }
  .hero-actions { width: 100%; }
  .hero .button { flex: 1; text-align: center; }
}

/* ---------- about (left, stays put) + recent work (right) ---------- */
.intro { padding: clamp(72px, 10vw, 140px) 0; }
.intro-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.intro-about { position: sticky; top: 90px; }
.intro-photo { max-width: 360px; margin-bottom: 28px; }
/* shown at whatever shape the photo is (square, portrait...) so your own crop is kept */
.intro-photo img { width: 100%; height: auto; }
.kicker { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.statement { font-size: clamp(28px, 2.8vw, 44px); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 22px; }
.statement em { font-style: normal; color: var(--muted); }
.intro-bio p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.intro-bio strong { color: var(--ink); font-weight: 500; }
.intro-clients { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.intro-clients li { font-size: 12px; border: 1px solid var(--line); padding: 7px 12px; color: var(--muted); }
.intro-cta { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.intro-cta svg, .intro-head a svg { width: 16px; height: 16px; transition: transform .2s; }
.intro-cta:hover svg, .intro-head a:hover svg { transform: translateX(3px); }
.intro-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(24px, 3vw, 40px); }
.intro-head h2 { font-size: clamp(30px, 4.2vw, 60px); font-weight: 300; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.intro-head a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); white-space: nowrap; }
.intro-head a:hover { color: var(--ink); }
.recent { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.recent-card { position: relative; display: block; text-decoration: none; color: #fff; }
.recent-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.recent-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.recent-card:hover .recent-img img { transform: scale(1.035); }
.recent-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 70px clamp(16px, 2vw, 28px) clamp(14px, 1.6vw, 22px); background: linear-gradient(to top, rgba(0,0,0,.72), transparent); }
.recent-cap h3 { margin: 0; font-size: clamp(20px, 2.2vw, 32px); font-weight: 300; }
.recent-cap time { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.recent-cap small { color: rgba(255,255,255,.75); white-space: nowrap; }
/* phones/tablets: About first, recent work underneath */
@media (max-width: 900px) { .intro-split { grid-template-columns: 1fr; } .intro-about { position: static; } .intro-work { margin-top: 32px; } }

/* ---------- contact ---------- */
.contact { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.contact-title { font-size: clamp(48px, 10.5vw, 180px); font-weight: 300; line-height: .85; letter-spacing: -.025em; text-transform: uppercase; margin: 0 0 clamp(24px, 3vw, 40px) -.04em; }
.contact-intro { color: var(--muted); margin: 0 0 clamp(24px, 3vw, 40px); max-width: 560px; }
.contact-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-btns a { display: flex; justify-content: space-between; align-items: center; padding: clamp(20px, 3vw, 34px) clamp(18px, 2.4vw, 30px); background: var(--bg); text-decoration: none; font-size: clamp(16px, 1.8vw, 24px); font-weight: 300; transition: background .2s, color .2s; }
.contact-btns a svg { width: 20px; height: 20px; transition: transform .2s; }
.contact-btns a:hover { background: var(--ink); color: var(--bg); }
.contact-btns a:hover svg { transform: translateX(4px); }
@media (max-width: 700px) { .contact-btns { grid-template-columns: 1fr; } }
.contact-more { margin-top: 28px; }
.contact-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); list-style: none; }
.contact-more summary::-webkit-details-marker { display: none; }
.contact-more summary svg { width: 16px; height: 16px; transition: transform .2s; }
.contact-more[open] summary { color: var(--ink); margin-bottom: 20px; }
.contact-more[open] summary svg { transform: rotate(90deg); }
.contact-more .contact-form { max-width: 720px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 300; letter-spacing: -.01em; margin-bottom: 20px; }
.contact-form { text-align: left; display: grid; gap: 14px; background: var(--surface); padding: clamp(20px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.contact-form em { font-style: normal; opacity: .7; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .hp { display: none; }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 14px/1 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--bg); background: var(--ink); border: 0; border-radius: 0; padding: 16px 26px; cursor: pointer; transition: opacity .2s, transform .2s;
}
button:hover, .button:hover { opacity: .88; }
button svg, .button svg { width: 18px; height: 18px; transition: transform .2s; }
button:hover svg, .button:hover svg { transform: translateX(3px); }
button[disabled] { opacity: .5; cursor: wait; }
.form-status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.form-status.ok { color: #6fd08c; }
.form-status.err { color: #ff8a80; }

/* ---------- category & album pages ---------- */
.page-head { text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 300; letter-spacing: -.015em; margin-top: 12px; line-height: 1.15; }

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 3vw, 36px) 20px; }
.album-card { text-decoration: none; display: block; }
.album-img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--line); margin-bottom: 14px; }
.album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.album-card:hover img { transform: scale(1.04); }
.album-card .eyebrow { font-size: 11px; margin-bottom: 4px; }
.album-card h3 { font-size: 18px; font-weight: 500; }
.album-card small { color: var(--muted); font-size: 13px; }

/* justified rows: photos keep their order left-to-right and their shape */
.gallery { --row: 300px; display: flex; flex-wrap: wrap; gap: 10px; }
.gallery::after { content: ""; flex-grow: 999999; }
.photo { flex: var(--r) 1 calc(var(--r) * var(--row)); display: block; overflow: hidden; background: var(--line); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; aspect-ratio: var(--r); object-fit: cover; transition: opacity .3s; }
.photo:hover img { opacity: .9; }
@media (max-width: 900px) { .gallery { --row: 200px; } }
@media (max-width: 560px) { .gallery { --row: 130px; gap: 6px; } }

.album-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 56px 0 0; margin-top: 40px; border-top: 1px solid var(--line); }
.album-nav a { text-decoration: none; font-size: 15px; }
.album-nav small { display: block; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.album-nav .next { text-align: right; }
.album-nav .all { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 10px 16px; border-radius: 0; }
.album-nav .all:hover { border-color: var(--ink); }
@media (max-width: 600px) { .album-nav { grid-template-columns: 1fr 1fr; } .album-nav .all { grid-column: 1 / -1; grid-row: 1; justify-self: center; } }

.cta-band { text-align: center; margin: clamp(64px, 10vw, 120px) 0 0; padding: clamp(48px, 8vw, 88px) 24px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

.empty { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter) 40px; }
.socials { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background .2s; }
.socials a:hover { background: var(--line); }
.site-footer p { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: #0a0a0a; display: none; touch-action: pan-y; }
.lb.open { display: block; }
.lb figure { position: absolute; inset: 56px 64px; margin: 0; display: grid; place-items: center; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .25s; }
.lb img.loading { opacity: .3; }
.lb button { position: absolute; background: none; color: #fff; padding: 14px; border-radius: 50%; letter-spacing: 0; }
.lb button:hover { background: rgba(255,255,255,.1); opacity: 1; }
.lb button svg { width: 26px; height: 26px; }
.lb button:hover svg { transform: none; }
.lb .lb-close { top: 8px; right: 8px; }
.lb .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 20px; left: 24px; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .1em; }
@media (max-width: 700px) {
  .lb figure { inset: 56px 0; }
  .lb .lb-prev, .lb .lb-next { top: auto; bottom: 6px; transform: none; }
}
body.lb-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .strip-track { animation: none !important; }
}
