/* Home page only. Linked from index.html; everything here was previously
   in styles.css, where it was the single largest block of page-specific
   rules in a file meant for shared primitives. */

body.home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
}

.home-scroll-shell {
  height: 200vh;
  position: relative;
}

.home-hero {
  height: 100vh;
  height: 100svh;
  min-height: 760px;
  position: relative;
  overflow: clip;
  background: var(--linen-100);
}

.home-hero-sticky {
  position: sticky;
  top: 0;
}

.home-hero-grid {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding-top: 88px;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  height: calc(100% - 88px);
  min-height: calc(100svh - 88px);
  padding: 0;
}

.home-copy-viewport {
  width: 100%;
  height: calc(100vh - 88px);
  height: calc(100svh - 88px);
  overflow: hidden;
  padding: 130px 0 72px 0;
}

.home-copy-track {
  max-width: 31rem;
  margin-left: 0;
  will-change: transform;
}

.home-copy-panel {
  min-height: calc(100vh - 88px - 202px);
  min-height: calc(100svh - 88px - 202px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-about-panel {
  padding-top: 72px;
  padding-bottom: 24px;
}

.home-about-panel .page-title {
  margin-bottom: 0;
  max-width: 9ch;
  font-size: clamp(4.25rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.home-about-panel p {
  margin: 0 0 20px;
  max-width: 34ch;
  font-size: clamp(20px, 1.65vw, 22px);
  line-height: 2;
}

.home-about-panel p:last-child {
  margin-bottom: 0;
}

.home-about-panel .section-rule {
  width: 72px;
  margin-top: 28px;
  margin-bottom: 34px;
}

.home-about-panel strong {
  color: var(--navy);
  font-weight: 600;
}

.home-hero-copy p {
  margin: 0;
}

.home-hero-copy p,
.portfolio-intro p,
.card-body p,
.studio-copy p,
.studio-footer p,
.footer-meta span {
  max-width: 65ch;
}

.home-hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 100%;
  width: 100vw;
}

.home-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 52%;
}

.home-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 243, 237, 0.06) 0%, rgba(246, 243, 237, 0) 26%, rgba(13, 20, 25, 0.02) 100%);
  pointer-events: none;
}

.home-hero-copy .section-rule {
  margin-top: 34px;
  margin-bottom: 28px;
}

.home-hero-copy .cta {
  gap: 12px;
  color: var(--gold);
  text-transform: uppercase;
  position: relative;
  letter-spacing: 0.1em;
}

.home-hero-copy .cta-arrow {
  font-size: 20px;
  line-height: 1;
  transform: translateY(-1px);
}

.home-hero-copy .cta:hover,
.home-hero-copy .cta:focus-visible {
  color: var(--navy);
}

body.home .hero-title {
  max-width: 9.2ch;
  font-size: clamp(60px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

body.home .home-hero-copy p {
  max-width: 25rem;
  font-size: 16px;
  line-height: 1.72;
  color: var(--body);
}

body.home .home-hero-copy .content-copy > p:first-of-type {
  max-width: 25rem;
}

body.home .home-hero .page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0;
}

body.home .home-copy-track {
  padding-left: 4.1%;
  padding-top: 0;
}

body.home .home-hero-image img {
  object-position: 63% 52%;
}

body.home .home-hero-image::after {
  background:
    linear-gradient(90deg, rgba(246, 243, 237, 0.08) 0%, rgba(246, 243, 237, 0.02) 18%, rgba(13, 20, 25, 0.02) 100%);
}

body.home .home-hero .section-rule {
  width: 58px;
  margin-top: 28px;
  margin-bottom: 34px;
}

body.home .home-hero .cta {
  margin-top: 20px;
}

@media (max-width: 1024px) {
.home-hero-copy .content-copy {
    max-width: 20rem;
    padding-left: 3%;
    padding-top: 36px;
  }

  .home-about-panel .page-title {
    font-size: clamp(3.6rem, 6vw, 4.5rem);
  }

  .home-about-panel p {
    font-size: 20px;
  }
}

@media (max-width: 720px) {
.home-hero {
    height: 100svh;
    min-height: 560px;
  }

  .home-hero-grid {
    padding-top: 88px;
  }

  .home-hero-copy {
    height: calc(100% - 88px);
    min-height: calc(100svh - 88px);
    align-items: flex-start;
    padding: 92px 0 40px;
  }

  .home-hero-image {
    position: absolute;
    inset: 0;
  }

  .home-hero-image img {
    object-position: 64% center;
  }

  .home-about-panel {
    padding-top: 52px;
  }

  .home-about-panel .page-title {
    max-width: 10ch;
    font-size: clamp(2.9rem, 11vw, 3.8rem);
  }

  .home-about-panel p {
    max-width: 30ch;
    font-size: 18px;
    line-height: 1.72;
  }

  .home-about-panel .section-rule {
    width: 64px;
    margin-bottom: 28px;
  }
}

@media (max-width: 900px) {
.home-hero-copy .content-copy {
    max-width: 18rem;
    padding-left: 3.2%;
    padding-top: 20px;
  }
}
