/* =========================================================
   COLLECT — SALES ROOM v2
   Michael McCafferty Fine Art Photography
   ========================================================= */

.collect-page {
  --c-ink: #151515;
  --c-muted: #6f6b63;
  --c-line: rgba(21, 21, 21, .17);
  --c-light: #f4f1ea;
  --c-soft: #e9e6df;
  --c-charcoal: #171717;
  --c-dark: #0b0b0b;
  --c-white: #f7f4ed;

  background: var(--c-light);
  color: var(--c-ink);
}

.collect-page *,
.collect-page *::before,
.collect-page *::after {
  box-sizing: border-box;
}

.collect-shell {
  width: min(88vw, 1500px);
  margin: 0 auto;
}

.collect-page .theme-light {
  background: var(--c-light);
  color: var(--c-ink);
}

.collect-page .theme-soft {
  background: var(--c-soft);
  color: var(--c-ink);
}

.collect-page .theme-charcoal {
  background: var(--c-charcoal);
  color: var(--c-white);
}

.collect-page .theme-dark {
  background: var(--c-dark);
  color: var(--c-white);
}

.collect-eyebrow,
.collect-index,
.collect-number,
.collect-edition-line {
  font-family: "Inter", sans-serif;
}

.collect-eyebrow {
  margin: 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

.collect-eyebrow.dark {
  color: #757168;
}

.collect-index,
.collect-number {
  margin: 0 0 26px;
  font-size: .65rem;
  letter-spacing: .15em;
  color: #8a857b;
}

.collect-text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid #6e6a62;
  color: #171717;
  font-family: "Inter", sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.collect-text-link span {
  transition: transform .25s ease;
}

.collect-text-link:hover span {
  transform: translateX(5px);
}

.collect-text-link-light {
  color: #fff;
  border-color: rgba(255,255,255,.45);
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.collect-hero {
  min-height: 82vh;
  display: flex;
  align-items: end;
  padding: 180px 0 105px;
}

.collect-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .55fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: end;
}

.collect-hero h1 {
  margin: 22px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(80px, 10vw, 164px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .78;
}

.collect-hero-intro p {
  max-width: 560px;
  margin: 0 0 38px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 2.1vw, 35px);
  line-height: 1.25;
  color: rgba(255,255,255,.78);
}


/* ---------------------------------------------------------
   Editions introduction
   --------------------------------------------------------- */

.collect-editions-intro,
.collect-artist {
  padding: clamp(105px, 11vw, 175px) 0;
}

.collect-heading-grid,
.collect-artist-grid {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1.1fr);
  gap: clamp(70px, 10vw, 170px);
}

.collect-heading-grid h2,
.collect-artist-copy h2,
.collect-closing h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}

.collect-lead {
  max-width: 830px;
  margin: 38px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(25px, 2.2vw, 36px);
  line-height: 1.34;
  color: #3d3a35;
}


/* ---------------------------------------------------------
   Edition cards
   --------------------------------------------------------- */

.collect-edition {
  padding: clamp(90px, 10vw, 155px) 0;
}

.collect-edition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .62fr);
  gap: clamp(65px, 9vw, 145px);
  align-items: center;
}


.collect-artwork {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  text-decoration: none;
}

/* The global site protection can add its own ::after copyright.
   Suppress it here because Collect uses one real HTML copyright label. */
.collect-artwork.protected-artwork::after {
  content: none !important;
  display: none !important;
}

.collect-artwork img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(73vh, 860px);
  object-fit: contain;
}

.collect-artwork-square {
  width: min(760px, 100%);
}

.collect-artwork-square img {
  width: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.collect-image-copyright {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  pointer-events: none;

  font-family: "Inter", sans-serif;
  font-size: clamp(.46rem, .52vw, .58rem);
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;

  color: rgba(255,255,255,.84);
  text-shadow: 0 1px 4px rgba(0,0,0,.62);
}

.collect-edition-copy {
  max-width: 520px;
}

.collect-edition-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5.4vw, 88px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}

.collect-subtitle {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 2vw, 30px);
  font-style: italic;
  color: #605c55;
}

.collect-description {
  max-width: 480px;
  margin: 38px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 1.8vw, 29px);
  line-height: 1.38;
  color: #3f3c36;
}

.collect-edition-line {
  margin: 35px 0 28px;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: #777269;
}

.collect-edition-dark .collect-number {
  color: rgba(255,255,255,.4);
}

.collect-edition-dark .collect-description,
.collect-edition-dark .collect-subtitle {
  color: rgba(255,255,255,.74);
}

.collect-edition-dark .collect-edition-line {
  color: rgba(255,255,255,.5);
}


/* ---------------------------------------------------------
   Printed by artist
   --------------------------------------------------------- */

.collect-artist-copy > p:last-child {
  max-width: 700px;
  margin: 32px 0 0;
  color: #68645d;
  font-family: "Inter", sans-serif;
  font-size: .86rem;
  font-weight: 300;
  line-height: 1.85;
}


/* ---------------------------------------------------------
   Closing CTA
   --------------------------------------------------------- */

.collect-closing {
  padding: clamp(110px, 12vw, 190px) 0;
}

.collect-closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .55fr);
  gap: clamp(80px, 11vw, 180px);
  align-items: end;
}

.collect-closing-copy p {
  max-width: 510px;
  margin: 0 0 38px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(23px, 2vw, 33px);
  line-height: 1.3;
  color: rgba(255,255,255,.72);
}

.collect-outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-width: 235px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.collect-outline-link:hover {
  background: #fff;
  color: #171717;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 980px) {

  .collect-hero {
    min-height: auto;
    padding: 150px 0 90px;
  }

  .collect-hero-grid,
  .collect-heading-grid,
  .collect-edition-grid,
  .collect-artist-grid,
  .collect-closing-grid {
    grid-template-columns: 1fr;
  }

  .collect-hero-grid {
    gap: 70px;
  }

  .collect-heading-grid,
  .collect-artist-grid {
    gap: 48px;
  }

  .collect-edition-grid {
    gap: 58px;
  }


  .collect-edition-copy {
    max-width: 700px;
  }

  .collect-closing-grid {
    gap: 70px;
  }
}

@media (max-width: 640px) {

  .collect-artwork-square {
    width: 100%;
  }

  .collect-image-copyright {
    right: 10px;
    bottom: 9px;
  }

  .collect-shell {
    width: calc(100% - 40px);
  }

  .collect-hero {
    padding: 125px 0 72px;
  }

  .collect-hero h1 {
    font-size: clamp(64px, 20vw, 88px);
  }

  .collect-editions-intro,
  .collect-artist {
    padding: 88px 0;
  }

  .collect-edition {
    padding: 76px 0;
  }

  .collect-edition-copy h3 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .collect-closing {
    padding: 90px 0;
  }
}