*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #8B1A1A;
  --paper: #F4F1EB;
  --paper-light: #FAFAF8;
  --ink: #171717;
  --mid: #77736C;
  --rule: #D8D3CB;
  --dark: #090909;
  --white: #FAFAF8;
  --mobile-nav-bg: rgba(250,250,248,.98);
  --mobile-nav-text: #8A8781;
  --mobile-nav-active: #171717;
  --mobile-nav-rule: #D8D3CB;
  --mobile-nav-active-rule: #C6C0B7;
}

html { scroll-behavior: smooth; background: var(--paper); }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}
body.lightbox-open { overflow: hidden; }
main { padding-top: 4rem; }

.eyebrow {
  margin-bottom: 1.2rem;
  color: var(--red);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.prints-intro {
  min-height: 72vh;
  padding: clamp(7rem, 13vh, 10rem) clamp(1.5rem, 8vw, 9rem) 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
}
.prints-intro h1 {
  margin: 0 0 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5.4rem, 12vw, 11.5rem);
  font-weight: 300;
  line-height: .78;
  letter-spacing: -.045em;
}
.intro-copy {
  max-width: 43rem;
  margin-bottom: 2.5rem;
  color: #45413B;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
}
.intro-link {
  display: inline-block;
  padding-bottom: .25rem;
  border-bottom: 1px solid #8D8880;
  color: var(--ink);
  font-size: .61rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
}

.catalogue {
  max-width: 1540px;
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 4.5vw, 4.5rem) clamp(7rem, 10vw, 10rem);
}
.catalogue-group + .catalogue-group { margin-top: clamp(7rem, 11vw, 11rem); }
.catalogue-group__header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 35rem);
  align-items: end;
  gap: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.catalogue-group__header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: .92;
}
.catalogue-group__header p:last-child {
  color: #666159;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.catalogue-group--collector .catalogue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.catalogue-card { min-width: 0; }
.catalogue-card__link { display: block; color: inherit; text-decoration: none; }
.catalogue-card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #E4E0D8;
}
.catalogue-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform .65s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.catalogue-card__link:hover img,
.catalogue-card__link:focus-visible img { transform: scale(1.025); opacity: .96; }
.catalogue-card__paper {
  width: 76%;
  height: 82%;
  padding: var(--card-border, 0);
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(45,39,31,.11);
}
.catalogue-card__paper img { object-fit: contain; }
.catalogue-card__badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  padding: .45rem .62rem;
  background: rgba(250,250,248,.92);
  color: #45413B;
  font-size: .48rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.catalogue-card__meta { padding-top: .95rem; }
.catalogue-card__meta h3 {
  margin-bottom: .3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}
.catalogue-card__meta p {
  color: #77736C;
  font-size: .53rem;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.55;
  text-transform: uppercase;
}
.catalogue-error { padding: 2rem; border: 1px solid var(--rule); color: var(--red); }

.edition-principle {
  padding: clamp(7rem, 12vw, 12rem) clamp(1.5rem, 13vw, 13rem);
  border-top: 1px solid var(--rule);
  background: var(--paper-light);
}
.edition-principle h2 {
  max-width: 58rem;
  margin-bottom: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.025em;
}
.edition-principle > p:last-child {
  max-width: 42rem;
  color: #666159;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.6;
}

.deep-view { background: var(--dark); color: var(--white); }
.deep-category {
  padding: clamp(5rem, 8vw, 8rem) clamp(1.4rem, 5vw, 5rem) 1rem;
  border-top: 1px solid rgba(255,255,255,.09);
}
.deep-category__inner { max-width: 1180px; margin: 0 auto; }
.deep-category h2 {
  margin-bottom: .7rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 300;
}
.deep-category p:last-child { max-width: 42rem; color: rgba(255,255,255,.56); }

.print-reveal {
  scroll-margin-top: 4rem;
  min-height: 100vh;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.1rem, 5vw, 5rem) clamp(7rem, 11vw, 11rem);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.reveal-heading {
  max-width: 1180px;
  margin: 0 auto clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 1.5rem;
}
.reveal-heading__category {
  display: block;
  margin-bottom: .7rem;
  color: rgba(255,255,255,.43);
  font-size: .55rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.reveal-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: .9;
}
.reveal-heading > a {
  color: rgba(255,255,255,.43);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}
.reveal-heading > a:hover { color: #fff; }

.artwork-carousel { width: min(82vw, 980px); margin: 0 auto; overflow: hidden; }
.carousel-track { display: flex; width: 100%; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-height: 30rem;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: zoom-in;
}
.carousel-slide__paper {
  max-width: 90%;
  max-height: 72vh;
  padding: var(--print-border, 0);
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 3.2rem 9rem rgba(0,0,0,.38);
}
.carousel-slide img {
  max-width: 100%;
  max-height: 72vh;
  display: block;
  object-fit: contain;
  box-shadow: 0 3.2rem 9rem rgba(0,0,0,.38);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.carousel-slide__paper img { box-shadow: none; }
.carousel-slide > span {
  position: absolute;
  right: 0;
  bottom: -2.15rem;
  color: rgba(255,255,255,.52);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.carousel-slide:hover img,
.carousel-slide:focus-visible img { transform: scale(1.01); opacity: .96; }
.carousel-slide:not(.is-active) { pointer-events: none; }
.carousel-controls {
  margin-top: 3.1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.carousel-controls > span { display: flex; justify-content: center; gap: 1rem; }
.carousel-controls button {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.48);
  cursor: pointer;
  font: 500 .58rem 'Inter', sans-serif;
  letter-spacing: .16em;
  transition: color .2s ease;
}
.carousel-controls button:hover,
.carousel-controls button.is-active { color: #fff; }

.print-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #050505;
  color: #fff;
  overflow: hidden;
}
.print-lightbox::backdrop { background: rgba(0,0,0,.96); }
.lightbox-stage {
  width: 100%;
  height: calc(100vh - 5rem);
  padding: 2.5rem clamp(1rem, 4vw, 4rem) 1rem;
  display: grid;
  place-items: center;
}
.lightbox-stage img { max-width: 96vw; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 1.35rem;
  right: 1.5rem;
  padding: .5rem;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.66);
  font: 500 .58rem 'Inter', sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  cursor: pointer;
}
.lightbox-bar {
  height: 5rem;
  padding: 0 clamp(1.3rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
}
.lightbox-bar h2 { font: italic 300 1.65rem 'Cormorant Garamond', serif; }
.lightbox-bar > span { color: rgba(255,255,255,.55); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }

@media (max-width: 900px) {
  main { padding-top: 3.55rem; }
  .prints-intro { min-height: 66vh; padding-top: 6rem; padding-bottom: 5rem; }
  .prints-intro h1 { font-size: clamp(5.2rem, 25vw, 8rem); }
  .catalogue-group__header { grid-template-columns: 1fr; gap: 1rem; }
  .catalogue-grid,
  .catalogue-group--collector .catalogue-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .artwork-carousel { width: min(92vw, 760px); }
}

@media (max-width: 520px) {
  .prints-intro {
    min-height: auto;
    padding: 4.75rem 1.2rem 3.75rem;
    align-items: stretch;
  }
  .prints-intro h1 { margin-bottom: 1rem; }
  .intro-copy { margin-bottom: 1.75rem; font-size: 1.25rem; }

  .catalogue { padding: 3.75rem .8rem 4.5rem; }
  .catalogue-group + .catalogue-group { margin-top: 4.25rem; }
  .catalogue-group__header { margin-bottom: 1.65rem; padding-bottom: 1rem; }
  .catalogue-grid,
  .catalogue-group--collector .catalogue-grid { gap: 1.35rem .65rem; }
  .catalogue-card__image { aspect-ratio: 4 / 5.25; }
  .catalogue-card__paper { width: 83%; height: 84%; }
  .catalogue-card__badge { top: .45rem; left: .45rem; padding: .32rem .42rem; font-size: .39rem; }
  .catalogue-card__meta { padding: .65rem .15rem 0; }
  .catalogue-card__meta h3 { margin-bottom: .22rem; font-size: 1.25rem; }
  .catalogue-card__meta p { font-size: .43rem; letter-spacing: .08em; }

  .edition-principle { padding: 4.25rem 1.2rem; }
  .edition-principle h2 { margin-bottom: 1.25rem; }
  .deep-category { padding: 3rem .8rem .35rem; }
  .deep-category h2 { margin-bottom: .45rem; }

  .print-reveal {
    min-height: 0;
    padding: 3rem .8rem;
  }
  .reveal-heading {
    margin-bottom: 1.85rem;
    grid-template-columns: 1fr;
    gap: .65rem;
  }
  .reveal-heading__category { margin-bottom: .45rem; }
  .reveal-heading h2 { font-size: clamp(2.5rem, 14vw, 4.5rem); }
  .artwork-carousel { width: 100%; }
  .carousel-slide { min-height: 0; }
  .carousel-slide img,
  .carousel-slide__paper { max-height: 64vh; }
  .carousel-slide > span { right: .2rem; }
  .carousel-controls { margin-top: 1.35rem; }

  .product-panel {
    margin-top: 2rem;
    padding: 1.1rem;
    gap: 1.35rem;
  }
  .product-panel h3 { margin-bottom: .55rem; }
  .product-panel__description,
  .product-panel__specs,
  .product-panel__note { line-height: 1.58; }
  .product-panel__description { margin-bottom: .5rem; }
  .product-panel__note { margin-top: .45rem; }
  .product-panel__price small { margin-bottom: .8rem; }
  .variant-selector { margin-top: 1rem; }

  .lightbox-stage { padding-right: .5rem; padding-left: .5rem; }
  .lightbox-bar { padding-right: 1rem; padding-left: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .catalogue-card__image img,
  .carousel-track,
  .carousel-slide img { transition: none; }
}
.lightbox-stage img { box-sizing: border-box; }
