.home-page {
  --home-gutter: clamp(24px, 6vw, 96px);
  --home-max: 1500px;
  background: #fff;
}

.home-page .site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
  transform: translateY(-110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .45s ease, color .45s ease, background-color .45s ease, border-color .45s ease, visibility 0s linear .45s;
}

.home-page .site-nav.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.home-page .site-nav .mark img {
  filter: invert(1);
  transition: filter .45s ease;
}

.home-page .site-nav .site-search-input {
  border-color: rgba(255, 255, 255, .46);
  color: inherit;
}

.home-page .site-nav .site-search-input::placeholder {
  color: rgba(255, 255, 255, .72);
}

.home-page .site-nav.is-over-content {
  color: #000;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--rule);
}

.home-page .site-nav.is-over-content .mark img {
  filter: none;
}

.home-page .site-nav.is-over-content .site-search-input {
  border-color: rgba(0, 0, 0, .1);
}

.home-page .site-nav.is-over-content .site-search-input::placeholder {
  color: rgba(0, 0, 0, .42);
}

.home-page .site-search-results {
  color: #000;
}

.home-page-shell {
  min-height: 100vh;
  margin-top: calc(-1 * var(--home-nav-height, var(--nav-height)));
  padding: 0 0 clamp(110px, 14vw, 210px);
  overflow: clip;
}

.home-cinematic-hero {
  position: sticky;
  top: calc(-1 * var(--home-nav-height, var(--nav-height)));
  z-index: 1;
  width: 100vw;
  margin-top: 0;
  min-height: calc(100vh + var(--home-nav-height, var(--nav-height)));
  min-height: calc(100svh + var(--home-nav-height, var(--nav-height)));
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.home-cinematic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .12), transparent 42%),
    linear-gradient(to bottom, transparent 69%, rgba(255, 255, 255, calc(var(--hero-progress, 0) * .84)) 100%);
}

.home-hero-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: calc(100vh + var(--home-nav-height, var(--nav-height)));
  height: calc(100svh + var(--home-nav-height, var(--nav-height)));
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0;
  transform: translateY(calc(var(--hero-progress, 0) * -2.2vh)) scale(calc(1 + (var(--hero-progress, 0) * .012)));
  transform-origin: center;
  transition: opacity 1.15s ease;
  will-change: transform, opacity;
}

.home-hero-frame.is-active {
  opacity: calc(1 - (var(--hero-progress, 0) * .34));
}

.home-hero-frame:nth-of-type(2) {
  object-position: 50% 50%;
}

.home-hero-frame:nth-of-type(3) {
  object-position: 50% 43%;
}

.home-hero-frame:nth-of-type(4) {
  object-position: 50% 50%;
}

.home-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 42px);
  z-index: 2;
  width: 54px;
  height: 53px;
  --scroll-chevron-color: #fff;
  transform: translateX(-50%);
  opacity: calc(1 - var(--hero-progress, 0));
}

.home-projects {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: min(calc(100% - (2 * var(--home-gutter))), var(--home-max));
  margin: clamp(120px, 15vw, 230px) auto 0;
  padding-top: clamp(72px, 8vw, 120px);
}

.home-projects::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
  border-radius: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0 0;
}

.home-projects-heading {
  display: grid;
  grid-template-columns: minmax(120px, .32fr) 1fr;
  gap: clamp(30px, 7vw, 118px);
  align-items: baseline;
  margin-bottom: clamp(78px, 11vw, 170px);
}

.home-projects-heading .eyebrow {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
}

.home-projects-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 9vw, 9.6rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.055em;
}

.home-project-list {
  display: grid;
  gap: clamp(92px, 14vw, 220px);
}

.home-project {
  justify-self: center;
  width: min(88%, 1240px);
}

.home-project a,
.home-project figure,
.home-project-media {
  display: block;
  margin: 0;
}

.home-project-media {
  position: relative;
  overflow: visible;
  background: transparent;
}

.home-project-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity .5s ease;
}

.home-project figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding-top: clamp(14px, 1.8vw, 24px);
}

.home-project-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3.1vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.home-project-year {
  flex: 0 0 auto;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-project a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .home-project a:hover {
    color: inherit;
  }

  .home-project a:hover .home-project-media img {
    opacity: .94;
  }
}

@media (max-width: 900px) {
  .home-page .site-nav {
    background: transparent;
  }

  .home-page .site-nav.is-over-content {
    background: rgba(255, 255, 255, .96);
  }

}

@media (max-width: 680px) {
  .home-page {
    --home-gutter: 20px;
  }

  .home-hero-frame {
    object-position: 52% 44%;
  }

  .home-hero-frame:nth-of-type(2) {
    object-position: 50% 50%;
  }

  .home-hero-frame:nth-of-type(3) {
    object-position: 50% 45%;
  }

  .home-hero-frame:nth-of-type(4) {
    object-position: 50% 50%;
  }

  .home-projects {
    margin-top: 132px;
  }

  .home-projects-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 76px;
  }

  .home-project-list {
    gap: 92px;
  }

  .home-project,
  .home-project:nth-child(3n + 1),
  .home-project:nth-child(3n + 2),
  .home-project:nth-child(3n) {
    justify-self: stretch;
    width: 100%;
  }

  .home-project figcaption {
    display: grid;
    gap: 7px;
  }

  .home-project-title {
    font-size: clamp(1.65rem, 8vw, 2.5rem);
  }

  .home-project-year {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .site-nav,
  .home-page .site-nav .mark img,
  .home-project-media img {
    transition: none;
  }

  .home-hero-frame {
    opacity: 0;
    transform: none;
    transition: none;
  }

  .home-hero-frame.is-active {
    opacity: 1;
  }

  .home-project a:hover .home-project-media img {
    transform: none;
  }
}

/* Homepage project sizing */
@media (min-width: 769px) {
  .home-project {
    width: min(68vw, 1120px);
    margin-inline: auto;
  }

  .home-project-title {
    font-size: clamp(1.35rem, 2vw, 2rem);
  }
}

@media (max-width: 768px) {
  .home-project {
    width: calc(100% - 32px);
    margin-inline: auto;
  }

  .home-project-title {
    font-size: 1rem;
  }
}

.home-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: calc(100vh + var(--home-nav-height, var(--nav-height)));
  height: calc(100svh + var(--home-nav-height, var(--nav-height)));
  object-fit: cover;
  object-position: center;
  opacity: calc(1 - (var(--hero-progress, 0) * .34));
  transform: translateY(calc(var(--hero-progress, 0) * -2.2vh)) scale(calc(1 + (var(--hero-progress, 0) * .012)));
  transform-origin: center;
  will-change: transform, opacity;
}

@media (orientation: landscape) {
  .home-hero-frame {
    display: none;
  }
}

@media (orientation: portrait) {
  .home-hero-video {
    display: none;
  }
}

.home-hero-video-portrait {
  display: none;
}

@media (orientation: landscape) {
  .home-hero-video-landscape {
    display: block;
  }

  .home-hero-video-portrait,
  .home-hero-frame {
    display: none;
  }
}

@media (orientation: portrait) {
  .home-hero-video-landscape,
  .home-hero-frame {
    display: none;
  }

  .home-hero-video-portrait {
    display: block;
  }
}

.home-intro {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (2 * var(--home-gutter))), var(--home-max));
  margin: clamp(72px, 8vw, 120px) auto 0;
}

.home-intro-inner {
  max-width: 980px;
  margin: 0 auto;
}

.home-intro p {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

@media (max-width: 700px) {
  .home-intro {
    margin-top: 56px;
  }

  .home-intro p {
    font-size: clamp(1.35rem, 7vw, 2rem);
    line-height: 1.18;
  }
}

/* Homepage editorial introduction */
.home-intro {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: -1px;
  padding: clamp(110px, 14vw, 220px) var(--home-gutter);
  background: #fff;
  border-radius: clamp(30px, 4vw, 64px) clamp(30px, 4vw, 64px) 0 0;
}

.home-intro-inner {
  width: min(100%, var(--home-max));
  margin: 0 auto;
}

.home-intro::before {
  content: "ABOUT";
  display: block;
  margin-bottom: clamp(30px, 5vw, 70px);
  font-size: clamp(.68rem, .7vw, .82rem);
  font-weight: 500;
  letter-spacing: .28em;
  color: #111;
}

.home-intro p {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(2.4rem, 5.2vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 400;
  text-wrap: balance;
  color: #080808;
}

.home-intro strong {
  font-weight: 650;
}

@media (max-width: 760px) {
  .home-intro {
    padding: 88px 24px 110px;
    border-radius: 28px 28px 0 0;
  }

  .home-intro::before {
    margin-bottom: 34px;
  }

  .home-intro p {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 4rem);
    line-height: 1.02;
  }
}

/* Homepage stacked paper transition */
.home-intro {
  position: relative;
  z-index: 3;
  min-height: 200svh;
  margin: -1px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.home-intro-inner {
  position: sticky;
  top: var(--home-nav-height, var(--nav-height));
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - var(--home-nav-height, var(--nav-height)));
  margin: 0;
  padding: clamp(90px, 10vw, 160px) var(--home-gutter);
  background: #fff;
  border-radius: clamp(30px, 4vw, 64px) clamp(30px, 4vw, 64px) 0 0;
}

.home-intro::before {
  display: none;
}

.home-intro p {
  width: min(100%, 1050px);
  margin: 0 auto;
}

.home-projects {
  z-index: 4;
  margin-top: 0;
  background: #fff;
  border-radius: clamp(30px, 4vw, 64px) clamp(30px, 4vw, 64px) 0 0;
}

@media (max-width: 760px) {
  .home-intro {
    min-height: 180svh;
  }

  .home-intro-inner {
    padding: 72px 24px 90px;
    border-radius: 28px 28px 0 0;
  }

  .home-projects {
    border-radius: 28px 28px 0 0;
  }
}

/* Fix: Projects paper slides over sticky intro */
.home-projects {
  position: relative;
  z-index: 5;
  margin-top: -100svh;
}

@media (max-width: 760px) {
  .home-projects {
    margin-top: -80svh;
  }
}

/* Gallery wall typography */
.home-intro-inner {
  justify-content: center;
  padding: clamp(150px, 18vw, 280px) var(--home-gutter);
}

.home-intro p {
  width: min(100%, 760px);
  font-size: clamp(1.7rem, 3.1vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 400;
  text-align: left;
}

@media (max-width: 760px) {
  .home-intro-inner {
    padding: 120px 32px 150px;
  }

  .home-intro p {
    width: 100%;
    font-size: clamp(1.65rem, 7.4vw, 2.7rem);
    line-height: 1.12;
  }
}

/* Scroll text over hero video */
.home-intro {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  margin: -100svh 0 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.home-intro-inner {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: var(--home-gutter);
  background: transparent;
  border-radius: 0;
}

.home-intro::before {
  display: none;
}

.home-intro p {
  width: min(82vw, 760px);
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.1vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: justify;
  text-align-last: left;
  opacity: 0;
  transform: translateY(5vh) scale(.22);
  transform-origin: center;
  transition: none;
  will-change: transform, opacity;
}

.home-projects {
  position: relative;
  z-index: 6;
  margin-top: 0;
  background: #fff;
  border-radius: clamp(30px, 4vw, 64px) clamp(30px, 4vw, 64px) 0 0;
}

@media (max-width: 760px) {
  .home-intro p {
    width: min(84vw, 560px);
    font-size: clamp(1.55rem, 7vw, 2.7rem);
    line-height: 1.12;
  }

  .home-projects {
    border-radius: 28px 28px 0 0;
  }
}

/* Final hero text overlay correction */
.home-intro {
  min-height: 220svh;
  margin-top: -100svh;
}

.home-intro-inner {
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding: 12vh var(--home-gutter);
  background: transparent;
  border-radius: 0;
}

.home-intro p {
  width: min(78vw, 760px);
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-align: left;
  text-align-last: auto;
  text-wrap: balance;
}

.home-projects {
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

@media (max-width: 760px) {
  .home-intro {
    min-height: 200svh;
  }

  .home-intro p {
    width: min(84vw, 540px);
    font-size: clamp(1.8rem, 8vw, 3.2rem);
  }
}

/* Museum-style intro typography */
.home-intro p {
  display: grid;
  gap: clamp(10px, 1.2vw, 18px);
  width: min(82vw, 980px);
  max-width: 980px;
  text-align: left;
  text-wrap: normal;
}

.home-intro p span {
  display: block;
}

.intro-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 7.8rem);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 500;
}

.intro-line {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 400;
}

.intro-final {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 500;
  margin-top: clamp(8px, 1vw, 16px);
}

@media (max-width: 760px) {
  .home-intro p {
    width: min(86vw, 560px);
    gap: 10px;
  }

  .intro-name {
    font-size: clamp(2.8rem, 14vw, 5.2rem);
  }

  .intro-line {
    font-size: clamp(1.2rem, 5.7vw, 2rem);
  }

  .intro-final {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
}

/* Restore simple square intro block */
.home-intro p {
  display: block;
  width: min(78vw, 760px);
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  color: #fff;
}

.home-intro p span {
  display: inline;
  font: inherit;
}

.home-intro strong {
  font-family: var(--font-sans);
  font-weight: 700;
}
EOFcat >> static/home.css <<'EOF'

/* Restore simple square intro block */
.home-intro p {
  display: block;
  width: min(78vw, 760px);
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  color: #fff;
}

.home-intro p span {
  display: inline;
  font: inherit;
}

.home-intro strong {
  font-family: var(--font-sans);
  font-weight: 700;
}

/* Restore simple square intro block */
.home-intro p {
  display: block;
  width: min(78vw, 760px);
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 400;
  text-align: left;
  text-wrap: balance;
  color: #fff;
}

.home-intro p span {
  display: inline;
  font: inherit;
}

.home-intro strong {
  font-family: var(--font-sans);
  font-weight: 700;
}

.intro-name-syne {
  font-family: var(--font-serif);
  font-weight: 400;
}

.intro-name-syne {
  font-family: var(--font-serif);
  font-weight: 400;
}

/* Final homepage intro typography */
.home-intro p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72) !important;
}

.home-intro p .intro-name-syne {
  font-family: var(--font-serif) !important;
  font-style: italic;
  font-weight: 400 !important;
  color: #fff !important;
}

.home-intro p strong {
  font-family: inherit;
  font-weight: inherit !important;
  color: inherit !important;
}

/* Correct intro size and opacity */
.home-intro p {
  width: min(72vw, 680px);
  max-width: 680px;
  font-size: clamp(1.8rem, 3.4vw, 4rem);
  color: #fff !important;
  font-weight: 300;
}

.home-intro p .intro-name-syne {
  color: #fff !important;
}

.home-intro p strong {
  color: #fff !important;
  font-weight: 300 !important;
}

@media (max-width: 760px) {
  .home-intro p {
    width: min(82vw, 500px);
    font-size: clamp(1.65rem, 7vw, 2.8rem);
  }
}

/* Restore intro weight and center alignment */
.home-intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-intro p {
  width: min(72vw, 680px);
  max-width: 680px;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #fff !important;
  transform: translateX(0);
}

.home-intro p .intro-name-syne {
  font-family: var(--font-serif) !important;
  font-style: italic;
  font-weight: 500 !important;
  color: #fff !important;
}

.home-intro p strong {
  font-weight: 400 !important;
  color: inherit !important;
}


/* Homepage intro staged composition */
.home-intro p {
  position: relative;
}

.home-intro p .intro-name-syne {
  display: block;
  width: 100%;
  font-family: var(--font-serif) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  text-align: center;
  transform-origin: center;
  will-change: opacity, transform;
}

.home-intro .intro-description {
  display: block;
  margin-top: 0.18em;
}

.home-intro .intro-word {
  display: inline-block;
  will-change: opacity, transform;
}


/* Homepage intro centered line sequence */
.home-intro {
  min-height: 300svh;
}

.home-intro-inner {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 0 var(--home-gutter);
}

.home-intro .intro-sequence {
  position: relative;
  width: min(90vw, 1100px);
  height: 1.35em;
  margin: 0;
  text-align: center;
  transform: none !important;
}

.home-intro .intro-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
}

.home-intro .intro-line-name {
  font-family: var(--font-serif) !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

.home-intro .intro-word {
  display: inline-block;
  white-space: pre;
  will-change: opacity, transform;
}

@media (max-width: 760px) {
  .home-intro .intro-sequence {
    width: min(90vw, 620px);
    height: 2.5em;
  }
}


/* Definitive intro sequence visibility */
.home-intro {
  position: relative;
  z-index: 6;
  min-height: 300svh;
}

.home-intro-inner {
  position: sticky;
  top: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  background: transparent;
}

.home-intro .intro-sequence {
  position: relative;
  z-index: 8;
  width: min(90vw, 1100px);
  max-width: none;
  height: 1.4em;
  margin: 0;
  color: #fff !important;
  text-align: center;
  opacity: 1 !important;
  transform: none !important;
}

.home-intro .intro-line {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #fff !important;
  text-align: center;
}

.home-intro .intro-line-name {
  font-family: var(--font-serif) !important;
  font-style: normal !important;
  font-weight: 700 !important;
}

/* Restore visible spacing between animated words */
.home-intro .intro-line {
  column-gap: 0.24em;
  row-gap: 0.08em;
}


/* Final homepage name and description sequence */
.home-intro {
  position: relative;
  z-index: 6;
  min-height: 240svh;
}

.home-intro-inner {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
}

.home-intro .intro-sequence {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(84vw, 920px);
  height: auto;
  margin: 0;
  text-align: center;
  color: #fff;
  opacity: 1 !important;
  transform: none !important;
}

.home-intro .intro-line {
  position: relative;
  inset: auto;
  width: 100%;
  color: #fff;
  text-align: center;
}

.home-intro .intro-line-name {
  display: block;
  font-family: var(--font-serif) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1;
  transform-origin: center;
}

.home-intro .intro-line-description {
  display: block;
  margin-top: 0.38em;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
}

.home-intro .intro-word {
  display: inline-block;
  white-space: normal;
  will-change: opacity, transform;
}

@media (max-width: 760px) {
  .home-intro .intro-sequence {
    width: min(88vw, 620px);
  }

  .home-intro .intro-line-description {
    margin-top: 0.5em;
  }
}

/* Slightly smaller intro description */
.home-intro .intro-line-description {
  font-size: 0.72em;
  line-height: 1.16;
}

/* Keep homepage scroll arrows visible above the intro overlay */
.home-scroll-indicator {
  z-index: 20;
  pointer-events: none;
}


/* Scroll-arrow contrast over light Projects background */
.home-scroll-indicator {
  transition: --scroll-chevron-color 180ms ease;
}

.home-scroll-indicator.is-on-light {
  --scroll-chevron-color: #111;
}


/* Final scroll indicator position and contrast */
.home-scroll-indicator {
  bottom: clamp(52px, 7vh, 88px);
  z-index: 20;
  --scroll-chevron-color: #fff;
}

.home-scroll-indicator.is-on-light {
  --scroll-chevron-color: #111 !important;
}

.home-scroll-indicator.is-on-light .scroll-chevron {
  color: #111 !important;
}

/* Keep scroll arrows visible through the intro */
.home-scroll-indicator {
  opacity: 1 !important;
  bottom: clamp(64px, 8vh, 96px);
}

.home-scroll-indicator.is-on-light .scroll-chevron {
  color: #111 !important;
}


/* Definitive arrow color over Projects */
.home-scroll-indicator {
  --scroll-chevron-color: #fff;
}

.home-scroll-indicator.is-on-light {
  --scroll-chevron-color: #111 !important;
}

.home-scroll-indicator.is-on-light .scroll-chevron {
  color: #111 !important;
  border-color: #111 !important;
}

/* Center the hero in the visible phone viewport without zooming it. */
@media (max-width: 600px) {
  .home-page-shell {
    margin-top: 0;
  }

  .home-cinematic-hero {
    top: 0;
    min-height: 100vh;
    min-height: 100svh;
  }

  .home-hero-video,
  .home-hero-frame {
    height: 100vh;
    height: 100svh;
  }
}

/* The standalone Projects route starts with the same project wall as home. */
.projects-page {
  --home-gutter: clamp(24px, 6vw, 96px);
  --home-max: 1500px;
  background: #fff;
}

.projects-page-shell {
  min-height: 100vh;
}

.projects-page .site-nav {
  z-index: 20;
}

.projects-page .home-projects {
  margin-top: 0;
  padding-bottom: clamp(120px, 12vw, 190px);
}
