:root {
  --wall: #000;
  --wall-2: #0d0d0d;
  --ink: #f3f0ea;
  --stone: #9b968e;
  --rule: #2c2b29;
  --amber: #c98a43;
  --amber-ink: #e0a463;
  --line: 1px solid rgba(255, 255, 255, .92);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { background: #000; color-scheme: dark; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--amber); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--wall); padding: .5rem 1rem; z-index: 100; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding-top: 1.5rem; padding-bottom: 1.5rem;
}
.wordmark {
  font: 500 1.375rem/1 var(--display); text-decoration: none; letter-spacing: -.01em;
}
.wordmark small { display: block; font: 400 .8125rem/1.4 var(--text); color: var(--stone); margin-top: .3rem; letter-spacing: .01em; }
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); font-size: .9375rem; }
.nav a { text-decoration: none; padding: .25rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--ink); color: var(--ink);
    font: 500 .875rem var(--text); padding: .45rem .9rem; border-radius: 99px; cursor: pointer;
  }
  .site-head { align-items: center; flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { font: 400 1.75rem/1.2 var(--display); padding: .7rem 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- hero: the name passes through the picture ---------- */
.hero { position: relative; padding-top: clamp(1rem, 4vw, 3rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.stage { position: relative; display: grid; }
.stage > * { grid-area: 1 / 1; }
.hero-name {
  margin: 0; font: 400 clamp(4.25rem, 15.2vw, 14.5rem)/.84 var(--display);
  letter-spacing: -.035em; color: var(--ink);
}
.hero-name span { display: block; }
.hero-name span + span { padding-left: 13%; }
.hero-name.front {
  position: relative; align-self: start; pointer-events: none; z-index: 3;
  clip-path: inset(56% 0 0 0);
}
.hero-figure {
  position: relative; z-index: 2; margin: 5% 4% 0 0;
  justify-self: end; align-self: start; width: min(46%, 640px);
  border: var(--line);
  animation: develop 1.6s cubic-bezier(.2, .6, .2, 1) both;
}
.hero-figure img { width: 100%; }
@keyframes develop {
  from { opacity: 0; filter: grayscale(1) brightness(1.6) contrast(.6); }
  to { opacity: 1; filter: none; }
}
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 34rem) auto; justify-content: space-between; align-items: end;
  gap: 2rem; margin-top: clamp(2rem, 5vw, 4rem);
}
.hero-foot p { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; }
.hero-caption { font-size: .875rem; color: var(--stone); text-align: right; }
.hero-caption a { color: var(--ink); }

@media (max-width: 760px) {
  .hero-name { font-size: 17vw; line-height: .9; }
  .hero-name span + span { padding-left: 7%; }
  .stage { display: block; }
  .hero-figure { width: 100%; margin: 1.75rem 0 0; }
  .hero-name.front { display: none; }
  .hero-foot { grid-template-columns: 1fr; margin-top: 2rem; }
  .hero-caption { text-align: left; }
}

/* ---------- sections ---------- */
.section { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--rule); }
.h2 { font: 400 clamp(2.5rem, 5.5vw, 4.75rem)/1 var(--display); letter-spacing: -.02em; margin: 0 0 .4em; }
.h3 { font: 400 clamp(1.75rem, 2.6vw, 2.25rem)/1.1 var(--display); letter-spacing: -.01em; margin: 0; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 38rem; margin: 0; }
.muted { color: var(--stone); }

/* collections index: alternating, image-led */
.collections { list-style: none; margin: 0; padding: 0; }
.collection a {
  display: grid; grid-template-columns: 1fr minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  text-decoration: none; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--rule);
}
.collection:last-child a { border-bottom: 1px solid var(--rule); }
.collection .c-text { display: grid; gap: .75rem; align-content: center; }
.collection .c-title { font: 400 clamp(2.75rem, 6.5vw, 6rem)/.95 var(--display); letter-spacing: -.03em; transition: color .2s; }
.collection .c-desc { max-width: 28rem; color: var(--stone); margin: 0; }
.collection .c-count { font-size: .875rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.collection .c-img { height: clamp(220px, 30vw, 420px); overflow: hidden; background: var(--wall-2); border: var(--line); }
.collection .c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .6, .2, 1); }
.collection:nth-child(even) .c-text { order: 2; }
.collection a:hover .c-title { color: var(--amber-ink); }
.collection a:hover .c-img img { transform: scale(1.03); }
@media (max-width: 760px) {
  .collection a { grid-template-columns: 1fr; }
  .collection:nth-child(even) .c-text { order: 0; }
}

/* biography teaser */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.split .prose p:first-child { margin-top: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 36rem; }
.prose p { margin: 0 0 1.1em; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts b { font: 400 1.25rem/1.2 var(--display); font-variant-numeric: lining-nums; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; border-radius: 99px;
  background: var(--ink); color: var(--wall); text-decoration: none; font-weight: 500; font-size: .9375rem; border: 0; cursor: pointer;
}
.btn:hover { background: var(--amber); color: #000; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--wall); }

/* prints band */
.prints { background: var(--wall); color: var(--ink); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prints .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.prints .h2 { color: var(--ink); }
.prints p { color: var(--stone); max-width: 32rem; margin: 0 0 1.5rem; }
.prints .btn { background: var(--ink); color: var(--wall); }
.prints .btn:hover { background: var(--amber); color: #000; }
@media (max-width: 760px) { .prints .wrap { grid-template-columns: 1fr; } }

/* ---------- page header ---------- */
.page-head { padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-head h1 { font: 400 clamp(3.5rem, 11vw, 10rem)/.88 var(--display); letter-spacing: -.035em; margin: 0 0 .35em; }
.page-head .row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.crumbs { font-size: .875rem; color: var(--stone); margin-bottom: 1.25rem; }
.crumbs a { color: var(--stone); }

/* collection switcher */
.switcher { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.switcher a { text-decoration: none; font-size: .875rem; padding: .4rem .9rem; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--rule); }
.switcher a:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.switcher a[aria-current="page"] { background: var(--ink); color: var(--wall); box-shadow: none; }

/* ---------- gallery ---------- */
.gallery { columns: 4 260px; column-gap: clamp(1rem, 2vw, 1.75rem); padding-bottom: 5rem; }
.tile { break-inside: avoid; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.tile button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.tile button:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.tile .ph { background: transparent; }
.tile img { width: 100%; border: var(--line); transition: opacity .3s; }
.tile figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; margin-top: .6rem; line-height: 1.35; }
.tile figcaption span:last-child { color: var(--stone); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile button:hover img { opacity: .88; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 50; background: #000; color: #e9e6e0; display: none; grid-template-rows: auto 1fr auto; }
.lb.open { display: grid; }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--gutter); font-size: .875rem; }
.lb-count { color: #8f8a83; font-variant-numeric: tabular-nums; }
.lb button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: .5rem .25rem; }
.lb button:hover { color: #fff; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lb-stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border: var(--line); animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; } }
.lb-prev, .lb-next { position: absolute; top: 0; bottom: 0; width: 30%; cursor: pointer; }
.lb-prev { left: 0; cursor: w-resize; } .lb-next { right: 0; cursor: e-resize; }
.lb-title { font: 400 1.5rem/1.2 var(--display); }
.lb-bot a { color: #e9e6e0; text-decoration-color: var(--amber); }
.lb-arrows { display: flex; gap: 1rem; }

/* ---------- biography ---------- */
.portrait-note { font-size: .875rem; color: var(--stone); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.timeline .yr { font: 400 2rem/1 var(--display); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.timeline ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.timeline.compact > li { grid-template-columns: 5rem 1fr; padding: .7rem 0; }
.timeline.compact .yr { font-size: 1.25rem; }
.decade { font: 400 clamp(3rem, 8vw, 6rem)/1 var(--display); color: var(--rule); margin: 2.5rem 0 .5rem; letter-spacing: -.03em; }
@media (max-width: 600px) { .timeline > li { grid-template-columns: 1fr; gap: .4rem; } }
.toggle-more[hidden] { display: none; }

/* ---------- books ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.book + .book { margin-top: clamp(4rem, 9vw, 8rem); padding-top: clamp(4rem, 9vw, 8rem); border-top: 1px solid var(--rule); }
.book .cover { padding: 0; }
.book .cover img { margin: 0; }
.book .cover img { margin: 0 auto; max-height: 560px; width: auto; border: var(--line); }
.book .sub { font: italic 400 1.375rem/1.3 var(--display); color: var(--stone); margin: .4rem 0 1.25rem; }
.book .meta { font-size: .875rem; color: var(--stone); margin: 0 0 1.5rem; }
.book blockquote { margin: 2rem 0; padding: 0; font: 400 1.5rem/1.35 var(--display); max-width: 30rem; }
.book blockquote cite { display: block; font: 400 .875rem/1.4 var(--text); font-style: normal; color: var(--stone); margin-top: .75rem; }
.book .actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.book .actions form { margin: 0; }
.spreads { display: flex; gap: .75rem; overflow-x: auto; margin-top: 2rem; padding-bottom: .75rem; scroll-snap-type: x mandatory; }
.spreads button { all: unset; flex: 0 0 auto; cursor: zoom-in; scroll-snap-align: start; }
.spreads img { height: 120px; width: auto; border: var(--line); }
.spreads button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }

/* ---------- video ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); padding-bottom: 5rem; }
.video .frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border: var(--line); }
.video .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.video .frame button { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video .frame button:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.video .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.6); border: var(--line); display: grid; place-items: center; transition: transform .2s; }
.video .play::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.video .frame button:hover .play { transform: scale(1.08); }
.video .frame button:hover + img, .video .frame:hover img { opacity: 1; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h2 { font: 400 1.75rem/1.15 var(--display); margin: 1rem 0 .2rem; }
.video p { margin: 0; color: var(--stone); font-size: .875rem; font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.contact-mail { font: 400 clamp(2rem, 6vw, 5rem)/1 var(--display); letter-spacing: -.02em; word-break: break-word; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); font: 400 1.75rem/1 var(--display); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding-top: 2.5rem; padding-bottom: 3rem; font-size: .875rem; color: var(--stone); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-foot a { color: var(--ink); }
.site-foot nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .site-head { padding-top: 1rem; padding-bottom: 1rem; }
  .wordmark { font-size: 1.2rem; }
  .gallery { columns: 2; column-gap: .75rem; }
  .tile { margin-bottom: 1.25rem; }
  .tile figcaption { flex-direction: column; gap: 0; font-size: .8125rem; }
  .page-head h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .switcher { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .switcher a { flex: 0 0 auto; }
  .collection .c-title { font-size: 2.6rem; }
  .collection .c-img { height: 56vw; }
  .facts li { grid-template-columns: 3.75rem 1fr; }
  .lb-top, .lb-bot { padding: .75rem 1rem; }
  .lb-stage { padding: 0 .5rem; }
  .lb-bot { flex-direction: column; align-items: flex-start; }
  .lb-title { font-size: 1.15rem; }
  .lb-arrows { width: 100%; justify-content: space-between; }
  .lb-arrows button, .lb-close { min-height: 44px; }
  .book blockquote { font-size: 1.25rem; }
  .book .cover img { max-height: 70vh; }
  .contact-mail { font-size: 7.4vw; }
  .steps li { grid-template-columns: 2.25rem 1fr; }
  .video h2 { font-size: 1.4rem; }
  .site-foot .wrap { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
