@import url("https://use.typekit.net/pnt8jhs.css");
/* brandnewalias */
:root {
  --ink: #1f1f1f;
  --red: #d92b1f;
  --mute: #5c5c5c;
  --line: #d4d6d8;
  --ph: #eceeef;
  --ph-alt: #e3e5e7;
  /* Apple devices have Helvetica Neue built in and use it; Windows and Android fall through to the Adobe kit */
  --font: "Helvetica Neue", "neue-haas-grotesk-text", Helvetica, Arial, sans-serif;
  --font-display: "Helvetica Neue", "neue-haas-grotesk-display", Helvetica, Arial, sans-serif;
  --pad: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; }
a { color: var(--ink); text-decoration: none; }
a:hover, a[aria-current="page"] { color: var(--red); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2 { margin: 0; }

/* display face: Neue Haas Grotesk Display for big type, Text for everything else */
.home-nav, .site-header, .page-head h1, .project-head h1, .card-title, .about-list dd, .notfound h1, .set-copy h2, .print-row h2 { font-family: var(--font-display); }
.about-list .soft { font-family: var(--font); }

/* ---------- home ---------- */
.home { min-height: 100vh; min-height: 100svh; padding: var(--pad); display: flex; gap: 48px; align-items: flex-start; }
.home-left { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.home-nav { display: flex; flex-direction: column; font-weight: 700; letter-spacing: -0.015em; line-height: 0.98; }
.home-nav a { font-size: clamp(24px, 2.3vw, 34px); width: fit-content; }
.home-nav .home-wordmark { font-size: clamp(32px, 3vw, 44px); margin-bottom: 4px; color: var(--ink); }
.home-nav .home-wordmark:hover { color: var(--red); }
.has-tag { display: flex; align-items: baseline; gap: 14px; }
.tag { font-weight: 500; font-size: 14px; letter-spacing: 0; line-height: 1.2; color: var(--red); border: 1.5px solid var(--red); border-radius: 999px; padding: 4px 10px; transform: translateY(-0.25em); }
.nav-off { color: #b3b5b8; cursor: default; }
.home-nav .nav-off { font-size: clamp(24px, 2.3vw, 34px); width: fit-content; }
.home-nav .tag { font-size: 12px; padding: 2px 8px; transform: translateY(-0.15em); }
.tag-off { color: #8a8d91; border-color: #b3b5b8; }
.home-image { flex: 0 1 auto; margin-left: auto; min-width: 0; }
.home-image img { height: calc(100vh - 2 * var(--pad)); height: calc(100svh - 2 * var(--pad)); min-height: 360px; width: auto; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--ph); }

.socials { display: flex; justify-content: space-between; align-items: center; max-width: 420px; margin-left: -5px; }
.socials a { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; }
.socials svg { width: 26px; height: 26px; }

/* ---------- inner pages ---------- */
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; padding: var(--pad) var(--pad) 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1; }
.wordmark { font-size: 40px; }
.site-header nav { display: flex; gap: 28px; font-size: 28px; }
.wrap { padding: 56px var(--pad) 64px; }

.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.page-head h1, .project-head h1 { font-weight: 700; letter-spacing: -0.015em; line-height: 0.95; }
.page-head h1 { font-size: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 500 15px var(--font); cursor: pointer; }
.filters button span { font-weight: 400; opacity: 0.6; }
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 4 / 5; background: var(--ph); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: opacity 0.2s; }
.card:hover .card-img img { opacity: 0.88; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.15; }
.card-title .year { font-weight: 400; font-size: 13px; color: var(--mute); white-space: nowrap; letter-spacing: 0; }
.card-meta { font-size: 13px; color: var(--mute); margin-top: -6px; }
.card:hover .card-title { color: var(--red); }

.card-img { position: relative; }
.ph-label { position: absolute; left: 14px; bottom: 12px; font-size: 12px; color: var(--mute); }
.ph-gallery { position: relative; aspect-ratio: 3 / 2; max-width: 960px; }

/* project page */
.project-head { margin-bottom: 32px; }
.project-head h1 { font-size: clamp(40px, 5.2vw, 76px); }
.meta { margin: 14px 0 0; font-size: 15px; color: var(--mute); }
.meta a { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.meta a:hover { color: var(--red); }
.prose { max-width: 680px; font-size: 17px; line-height: 1.6; margin-bottom: 48px; }
.prose h2 { font-size: 17px; font-weight: 700; margin: 28px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.gallery { columns: 2; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; background: var(--ph); }
.gallery-single { columns: 1; max-width: 960px; }
/* magazine layout: cover beside the text, spreads full width */
.project-intro { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 520px); gap: 48px; align-items: start; margin-bottom: 48px; }
.project-intro .prose { margin-bottom: 0; }
.intro-figure { margin: 0; position: sticky; top: 32px; }
.intro-carousel .carousel-item { height: min(80vh, 780px); padding: 0; }
.gallery-spreads { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-spreads figure { margin: 0; }
.gallery-spreads .wide { grid-column: 1 / -1; }
.gallery-spreads img { width: 100%; }
/* carousel */
.carousel { margin-bottom: 8px; }
.carousel-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-item { flex: 0 0 100%; height: min(78vh, 760px); padding: 24px 0; border: 0; background: #f4f5f6; cursor: zoom-in; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.carousel-plain .carousel-item { background: transparent; }
.carousel-track.is-dragging .carousel-item { cursor: grabbing; }
.carousel-item img { height: 100%; width: auto; max-width: 100%; object-fit: contain; user-select: none; transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
.carousel-item:hover img { transform: scale(1.02); }
.carousel-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.carousel-count { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button, .lightbox button { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 500 18px var(--font); cursor: pointer; }
.carousel-arrows button:hover { border-color: var(--red); color: var(--red); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 20, 20, 0.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox-img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; }
.lightbox button { position: absolute; background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.lightbox button:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.lightbox-close { top: 20px; right: 20px; font-size: 24px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
html.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } .carousel-item img { transition: none; } }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; }

/* shop */
.shop-intro { margin: 0 0 48px; max-width: 520px; font-size: 18px; line-height: 1.5; }
.prints { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 24px; }
.print { display: flex; flex-direction: column; gap: 14px; }
.ph { background: var(--ph); aspect-ratio: 4 / 5; }
.ph.alt { background: var(--ph-alt); }
.ph-print { display: flex; align-items: flex-end; padding: 14px; }
.ph-print span { font-size: 12px; color: var(--mute); }
.print-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.print-row h2 { font-size: 22px; letter-spacing: -0.01em; }
.price { font-size: 16px; font-weight: 500; }
.print-meta { margin: -6px 0 0; font-size: 14px; color: var(--mute); }
.buy { min-height: 48px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 500; font-size: 15px; }
.buy:hover { background: var(--red); color: #fff; }
.set { margin-top: 56px; border-top: 2px solid var(--ink); padding-top: 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.set-images { flex: 2 1 480px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-self: start; }
.set-copy { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.set-copy h2 { font-size: 40px; letter-spacing: -0.015em; line-height: 1; }
.set-copy p { margin: 10px 0 0; font-size: 15px; color: var(--mute); }
.set-copy .set-price { margin: 0 0 12px; font-size: 22px; font-weight: 500; color: var(--ink); }
.shop-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px 64px; font-size: 13px; line-height: 1.6; color: var(--mute); }
.shop-foot p { margin: 0; max-width: 320px; }
.shop-foot a { color: var(--mute); text-decoration: underline; }

/* about */
.about-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; margin-bottom: 48px; }
.about-row .about-list { flex: 1 1 560px; min-width: 0; margin-bottom: 0; }
.about-portrait { flex: 0 1 380px; width: 380px; max-width: 100%; height: auto; display: block; }
.about-list { margin: 0 0 48px; max-width: 900px; }
.about-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--line); }
.about-list dt { font-size: 14px; color: var(--mute); padding-top: 6px; }
.about-list dd { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.about-list dd p { margin: 12px 0 0; }
.about-list dd p.bio-detail { margin-top: 14px; font-size: 0.786em; }
.about-list .soft { display: block; font-weight: 400; font-size: 0.7em; color: var(--mute); margin-top: 4px; letter-spacing: 0; }
.about-list a:hover { color: var(--red); }

.notfound h1 { font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.015em; }
.notfound a { text-decoration: underline; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --pad: 16px; }
  .home { flex-direction: column; gap: 32px; }
  .home-left { flex: none; gap: 28px; }
  .home-image { margin-left: 0; width: 100%; }
  .home-image img { width: 100%; height: auto; min-height: 0; }
  .socials { margin-left: -6px; max-width: 360px; }
  .wordmark { font-size: 30px; }
  .site-header nav { font-size: 22px; gap: 20px; }
  .wrap { padding-top: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card-title { font-size: 16px; flex-direction: column; gap: 2px; }
  .card-meta { margin-top: -4px; font-size: 12px; }
  .gallery { columns: 1; }
  .carousel-item { height: min(70vh, 125vw); padding: 12px 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-count { bottom: 26px; }
  .project-intro, .gallery-spreads { grid-template-columns: 1fr; }
  .intro-figure { position: static; }
  .prose { font-size: 16px; }
  .about-list > div { grid-template-columns: 1fr; gap: 4px; }
  .about-list dt { padding-top: 0; }
  .set-images { flex-basis: 100%; }
}
