body[data-page="home"] {
  --paper: #101823;
  --bg: var(--paper);
  --ink: #f5f1e8;
  --muted: #bac6d8;
  --accent: #b0c5ff;
  --accent-hover: #d4dfff;
  --line: #39414b;
  --home-serif: Georgia, "Times New Roman", serif;
}

@media screen and (forced-colors: none) {
  body[data-page="home"]:not([data-page="admin"]) {
    --printed-dots: none;
    --edge-shade: linear-gradient(90deg, var(--bg), transparent 90%);
    --edge-light: radial-gradient(ellipse 65% 22rem at 95% 15rem, #1b2737, transparent);
  }

  body[data-page="home"] .cursor-light {
    background: radial-gradient(closest-side, rgb(146 170 244 / 13%), transparent);
  }
}

.photo-home .studio-wrap {
  width: min(90.4%, var(--content-width));
  margin-inline: auto;
}

/* Homepage headline and featured build */
.home-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 8%;
  padding-block: clamp(2.6rem, 5.15vw, 5.2rem);
}

.hero-copy {
  min-width: 0;
}

.photo-home .hero-copy h1 {
  margin: 0;
  font: 700 clamp(1.75rem, 4.15vw, 3.65rem)/1.03 var(--font-body);
  letter-spacing: -.075em;
}

.hero-copy h1 em {
  display: block;
  color: var(--accent);
  font: italic 400 1.48em/.96 var(--home-serif);
  letter-spacing: -.074em;
}

.hero-copy p {
  max-width: 23.5em;
  margin-block: clamp(1.35rem, 2.6vw, 2.25rem) clamp(1.05rem, 2.15vw, 1.8rem);
  color: #dde3ef;
  font-size: clamp(.8125rem, 1.38vw, 1.125rem);
  line-height: 1.58;
}

.hero-copy .lab-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78em 1.32em;
  border: 1px solid transparent;
  border-radius: .17rem;
  background: var(--ink);
  color: #101823;
  font-size: clamp(.78rem, 1.32vw, 1rem);
  line-height: 1.25;
  font-weight: 500;
  text-decoration: none;
}

.hero-copy .lab-explore:hover {
  background: var(--accent-hover);
}

/* Featured controller print */
.hero-build {
  position: relative;
  display: block;
  min-width: 0;
  padding: clamp(.35rem, .76vw, .65rem);
  padding-bottom: 0;
  background: #eae7de;
  color: #111922;
  box-shadow: 0 .6rem 1.9rem rgb(0 0 0 / 15%);
  transform: rotate(.8deg);
  text-decoration: none;
}

.print-photo {
  display: block;
  aspect-ratio: 1.52;
  overflow: hidden;
  background: #dedbd3;
}

.hero-controller {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  transform: scale(1.035);
  transform-origin: center top;
}

.hero-controller.portrait-print {
  width: 67%;
  margin-inline: auto;
  object-position: center 40%;
  transform: none;
}

/* Crop positions for portrait photos in the wide print. */
.hero-build[data-home-photo="itachi"] .portrait-print {
  width: 89%;
  object-position: center 27%;
}

.hero-build[data-home-photo="chicago-white-sox"] .portrait-print {
  width: 85%;
  object-position: center 36%;
}

.hero-build[data-home-photo="dallas-cowboys-xbox"] .portrait-print {
  width: 88%;
  object-position: center;
}

.hero-build[data-home-photo="venom"] .portrait-print {
  object-position: center 65%;
}

.hero-build[data-home-photo="mexico"] .portrait-print {
  width: 100%;
  object-position: center 46%;
}

.hero-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .38em .26em .55em;
}

.print-title {
  font: italic 400 clamp(1.02rem, 1.86vw, 1.5rem)/1.2 var(--home-serif);
  letter-spacing: -.035em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .12em;
}

.print-meta {
  flex: none;
  font-size: clamp(.59rem, 1vw, .77rem);
  font-weight: 600;
  letter-spacing: .095em;
  word-spacing: .14em;
  text-transform: uppercase;
}

.print-badge {
  position: absolute;
  top: -4.6%;
  right: -2.4%;
  width: 16%;
  height: auto;
  aspect-ratio: 1;
  border: 3px solid #f6f2e9;
  border-radius: 50%;
  object-fit: cover;
  transform: rotate(-8deg);
  box-shadow: 0 2px 3px rgb(16 24 35 / 27%);
}

/* Ordering questions */
.studio-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-block: clamp(2.6rem, 5.4vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.photo-home .studio-faq h2 {
  margin: 0;
  font: 400 clamp(1.85rem, 3.5vw, 3rem)/1.1 var(--home-serif);
  letter-spacing: -.045em;
}

.studio-faq details {
  border-bottom: 1px solid var(--line);
}

.studio-faq summary {
  min-height: 44px;
  padding-block: .8rem;
}

.studio-faq details p {
  color: var(--muted);
  padding-bottom: 1rem;
}

@media (max-width: 43rem) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding-block: 2.25rem 2.5rem;
  }

  .photo-home .hero-copy h1 {
    font-size: clamp(2rem, 10.6vw, 4.25rem);
  }

  .hero-copy p {
    font-size: .9375rem;
  }

  .hero-copy .lab-explore {
    font-size: .875rem;
    min-height: 44px;
  }

  .hero-build {
    width: min(98%, 30rem);
    justify-self: center;
  }

  .hero-signature {
    padding-block: .45rem .55rem;
  }

  .studio-faq {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (forced-colors: active) {
  .hero-build, .hero-copy .lab-explore {
    border: 1px solid ButtonText;
  }
}
