/* =========================================================
   HOMEPAGE v2
   Michael McCafferty Fine Art Photography
   ========================================================= */

.home-page {
  --home-ink: #151515;
  --home-muted: #706b63;
  --home-line: rgba(21,21,21,.16);
  --home-light: #f4f1ea;
  --home-soft: #e9e6df;
  --home-charcoal: #171717;
  --home-dark: #0b0b0b;
  --home-white: #f7f4ed;

  background: var(--home-light);
  color: var(--home-ink);
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

.home-shell {
  width: min(88vw, 1480px);
  margin: 0 auto;
}

.home-page .theme-light {
  background: var(--home-light);
  color: var(--home-ink);
}

.home-page .theme-soft {
  background: var(--home-soft);
  color: var(--home-ink);
}

.home-page .theme-charcoal {
  background: var(--home-charcoal);
  color: var(--home-white);
}

.home-page .theme-dark {
  background: var(--home-dark);
  color: var(--home-white);
}

.home-eyebrow,
.home-index {
  margin: 0;
  font-family: "Inter", sans-serif;
}

.home-eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

.home-eyebrow.dark {
  color: #777269;
}

.home-index {
  margin-bottom: 26px;
  font-size: .64rem;
  letter-spacing: .15em;
  color: #8c877e;
}

.home-index.pale {
  color: rgba(255,255,255,.38);
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding-bottom: 7px;
  border-bottom: 1px solid #6f6a62;
  color: #171717;
  font-family: "Inter", sans-serif;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-text-link span,
.home-outline-link span,
.home-work-arrow {
  transition: transform .25s ease;
}

.home-text-link:hover span,
.home-outline-link:hover span,
.home-work-card:hover .home-work-arrow {
  transform: translateX(5px);
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: end;
  background: #0b0b0b;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10) 15%, rgba(0,0,0,.03) 48%, rgba(0,0,0,.62) 100%),
    linear-gradient(90deg, rgba(0,0,0,.34), transparent 58%);
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(88vw, 1480px);
  padding-bottom: clamp(90px, 10vh, 130px);
}

.home-hero h1 {
  width: min(42vw, 560px);
  margin: 18px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 6.3vw, 108px);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .78;
  color: #fff;
}

.home-hero h1 span {
  display: block;
}

.home-hero-line {
  margin: 24px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(25px, 2.1vw, 36px);
  color: rgba(255,255,255,.78);
}

.home-scroll-cue {
  position: absolute;
  z-index: 3;
  right: 6vw;
  bottom: 44px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: rgba(255,255,255,.68);
  font-family: "Inter", sans-serif;
  font-size: .60rem;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-scroll-cue i {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(255,255,255,.48);
}


/* ---------------------------------------------------------
   Artist
   --------------------------------------------------------- */

.home-artist {
  padding: clamp(105px, 11vw, 175px) 0;
}

.home-artist-grid {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(0, .9fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: center;
}

.home-artist-image {
  max-width: 680px;
}

.home-artist-image img {
  display: block;
  width: 100%;
  height: auto;
}

.home-artist-image p {
  margin: 12px 0 0;
  color: #8a857d;
  font-family: "Inter", sans-serif;
  font-size: .57rem;
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1.55;
}

.home-artist-copy {
  max-width: 760px;
}

.home-artist-copy h2,
.home-curated-heading h2,
.home-story-copy h2,
.home-collect h2,
.home-recognition-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}

.home-location {
  margin: 17px 0 0;
  color: #8a857d;
  font-family: "Inter", sans-serif;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-artist-lead {
  max-width: 750px;
  margin: 42px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(27px, 2.35vw, 39px);
  line-height: 1.28;
  color: #2e2c28;
}

.home-body-copy {
  max-width: 640px;
  margin: 28px 0 35px;
  color: #67635c;
  font-family: "Inter", sans-serif;
  font-size: .84rem;
  font-weight: 300;
  line-height: 1.85;
}


/* ---------------------------------------------------------
   Recognition
   --------------------------------------------------------- */

.home-recognition {
  padding: clamp(105px, 12vw, 185px) 0;
}

.home-recognition-heading {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.home-recognition-heading h2 {
  color: #fff;
}

.home-recognition-list {
  width: min(1050px, 78%);
  margin: clamp(70px, 8vw, 115px) 0 0 auto;
  border-top: 1px solid rgba(255,255,255,.18);
}

.home-recognition-row {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 35px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.home-recognition-year {
  padding-top: 3px;
  color: rgba(255,255,255,.42);
  font-family: "Inter", sans-serif;
  font-size: .63rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-recognition-row strong {
  display: block;
  color: #f4f1ea;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.2;
}

.home-recognition-row p {
  max-width: 680px;
  margin: 7px 0 0;
  color: rgba(255,255,255,.55);
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  font-weight: 300;
  line-height: 1.7;
}

.home-recognition-row em {
  font-style: italic;
}


/* ---------------------------------------------------------
   Curated work
   --------------------------------------------------------- */

.home-curated {
  padding: clamp(105px, 11vw, 165px) 0;
}

.home-curated-heading {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.home-curated-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(58px, 6.7vw, 108px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}

.home-curated-heading > div:last-child > p {
  max-width: 600px;
  margin: 30px 0 0;
  color: #6c675f;
  font-family: "Inter", sans-serif;
  font-size: .81rem;
  font-weight: 300;
  line-height: 1.8;
}

.home-curated-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(65px, 7vw, 105px);
  align-items: start;
}

.home-curated-card {
  min-width: 0;
  color: #171717;
  text-decoration: none;
}

.home-curated-visual {
  height: clamp(300px, 28vw, 450px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f1ea;
}

.home-curated-visual img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2,.75,.25,1);
}

.home-curated-card:hover .home-curated-visual img {
  transform: scale(1.012);
}

.home-curated-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(21,21,21,.10);
}

.home-curated-meta span:first-child {
  display: block;
  margin-bottom: 4px;
  color: #89847b;
  font-family: "Inter", sans-serif;
  font-size: .57rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-curated-meta strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 1.8vw, 30px);
  font-weight: 400;
}

.home-curated-arrow {
  color: #777168;
  font-family: "Inter", sans-serif;
  font-size: .8rem;
  transition: transform .25s ease;
}

.home-curated-card:hover .home-curated-arrow {
  transform: translate(3px, -3px);
}

.home-curated-footer {
  margin-top: 55px;
}

/* ---------------------------------------------------------
   Story
   --------------------------------------------------------- */

.home-story {
  padding: clamp(100px, 11vw, 175px) 0;
}

.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .62fr);
  gap: clamp(70px, 9vw, 145px);
  align-items: center;
}

.home-story-image img {
  display: block;
  width: 100%;
  height: auto;
}

.home-story-copy {
  max-width: 610px;
}

.home-story-copy h2 {
  color: #fff;
}

.home-story-subtitle {
  margin: 25px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 1.8vw, 29px);
  font-style: italic;
  color: rgba(255,255,255,.65);
}

.home-story-copy > p:not(.home-story-subtitle):not(.home-index):not(.home-eyebrow) {
  max-width: 500px;
  margin: 29px 0 34px;
  color: rgba(255,255,255,.58);
  font-family: "Inter", sans-serif;
  font-size: .81rem;
  font-weight: 300;
  line-height: 1.8;
}

.home-outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-width: 205px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}

.home-outline-link:hover {
  background: #fff;
  color: #171717;
}


/* ---------------------------------------------------------
   Collect
   --------------------------------------------------------- */

.home-collect {
  padding: clamp(105px, 12vw, 185px) 0;
}

.home-collect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .6fr);
  gap: clamp(80px, 11vw, 180px);
  align-items: end;
}

.home-collect-copy p {
  max-width: 540px;
  margin: 0 0 35px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.35;
  color: #504c45;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 980px) {

  .home-curated-heading {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-curated-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .home-curated-visual {
    height: 330px;
  }


  .home-artist-grid,
  .home-recognition-heading,
  .home-curated-heading,
  .home-story-grid,
  .home-collect-grid {
    grid-template-columns: 1fr;
  }

  .home-artist-grid,
  .home-story-grid {
    gap: 65px;
  }

  .home-recognition-heading,
  .home-selected-heading {
    gap: 45px;
  }

  .home-recognition-list {
    width: 100%;
    margin-left: 0;
  }

  .home-story-copy {
    max-width: 760px;
  }

  .home-collect-grid {
    gap: 60px;
  }
}


@media (max-width: 640px) {

  .home-curated-grid {
    grid-template-columns: 1fr;
  }

  .home-curated-visual {
    height: auto;
  }

  .home-curated-visual img {
    width: 100%;
    max-height: none;
  }


  .home-shell {
    width: calc(100% - 40px);
  }

  .home-hero h1 {
    width: min(88vw, 500px);
    font-size: clamp(58px, 17vw, 84px);
  }

  .home-hero-copy {
    padding-bottom: 105px;
  }

  .home-scroll-cue {
    right: 20px;
    bottom: 28px;
  }

  .home-artist,
  .home-recognition,
  .home-curated,
  .home-story,
  .home-collect {
    padding: 85px 0;
  }

  .home-artist-copy h2,
  .home-curated-heading h2,
  .home-story-copy h2,
  .home-collect h2,
  .home-recognition-heading h2 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .home-recognition-row {
    grid-template-columns: 72px 1fr;
    gap: 18px;
  }
}