@font-face {
  font-family: "Suisse Intl Local";
  src: local("Suisse Int’l Regular"), local("Suisse Int'l Regular"), local("SuisseIntl-Regular");
  font-weight: 400;
}
body[data-page="home"] {
  --home-display-font: "Suisse Intl Local", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --home-title-size: max(12px, 7.8125vw);
  --home-statement-size: max(12px, 4.6875vw);
  --home-label-size: max(12px, 1.5625vw);
}
.hero-scroll { --reading-distance: clamp(260px, 46svh, 520px); display: flow-root; }
/* The sticky scene stays visible throughout the passage's scroll distance. */
.hero-scroll::after { content: ""; display: block; height: var(--reading-distance); }
.hero-scroll .hero {
  position: sticky;
  top: 0;
  height: auto;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(12px, 1.8svh, 22px);
  padding: clamp(94px, 12svh, 128px) 3.5% clamp(16px, 2.4svh, 26px);
}
.hero-film {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #282823 url("assets/hero/obumex-poster.jpg") center / cover no-repeat;
}
.hero-film-actions { display: flex; align-items: center; gap: 18px; }
.hero-film-actions :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: inherit; font: inherit; }
.hero-film-actions button[hidden] { display: none; }
.hero-film-actions :is(a, button):hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-scroll .hero::after {
  background: linear-gradient(180deg, rgb(227 227 225 / 88%), transparent 115px),
    linear-gradient(90deg, rgb(25 21 16 / 65%), transparent 70%),
    linear-gradient(180deg, rgb(20 17 15 / 42%), transparent 24%, transparent 68%, rgb(20 17 15 / 35%));
}
.home-statement-track {
  align-self: center;
  width: min(100%, 28ch);
  font-size: clamp(24px, min(2.5vw, 4.1svh), 44px);
  padding-block: 6px;
}
.hero-scroll .hero-bottom { position: static; align-items: end; }
.hero-scroll .hero-caption { text-shadow: 0 1px 4px rgb(0 0 0 / 65%); }
.home-statement-copy,
.home-statement-label,
body[data-page="home"] :is(.hero-head h1, .surface-edit .section-heading h2, .projects-section .section-heading h2) {
  font-family: var(--home-display-font);
  letter-spacing: normal;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 400;
}
.home-statement-copy { font-size: inherit; margin: 0; line-height: 1.04; text-wrap: pretty; }
.home-statement-label { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.home-statement-track > .pill { margin-top: clamp(14px, 2svh, 24px); font-size: 12px; }
body[data-page="home"] .hero-head h1 { font-size: var(--home-label-size); font-weight: 700; }
body[data-page="home"] :is(.surface-edit, .projects-section) .section-heading h2 {
  max-width: none;
  font-size: var(--home-title-size);
  color: #1d1d1b;
}
body[data-page="home"] :is(.surface-edit, .projects-section) .section-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 20px;
}
body[data-page="home"] :is(.surface-edit, .projects-section) .section-heading > div:first-child { grid-column: 1 / -1; }
body[data-page="home"] :is(.surface-edit, .projects-section) .section-heading > :last-child { grid-column: 2; justify-self: end; }
.home-reading-word, .home-title-letter { display: inline-block; }
.home-title-word { display: inline-flex !important; overflow: hidden; vertical-align: top; }
.home-title-letter { position: relative; }
.home-title-ink { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 767.98px) {
  body[data-page="home"] {
    --home-title-size: max(12px, 11.5384615385vw);
    --home-statement-size: max(12px, 6.6666666667vw);
    --home-label-size: max(12px, 4.6153846154vw);
  }
  .hero-scroll .hero { padding: 88px 6% 20px; gap: 16px; }
  .hero-scroll .hero::after {
    background: linear-gradient(180deg, rgb(227 227 225 / 90%), transparent 96px),
      linear-gradient(90deg, rgb(19 16 13 / 67%), rgb(19 16 13 / 49%) 74%, rgb(19 16 13 / 27%)),
      linear-gradient(180deg, rgb(19 16 13 / 24%), transparent 24%, transparent 72%, rgb(19 16 13 / 24%));
  }
  .home-statement-track { font-size: clamp(23px, 5.8vw, 34px); }
  body[data-page="home"] .projects-section .section-heading > p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after { height: 0; }
  .hero-scroll .hero { position: relative; }
}
.slab-rail-viewport {
  overflow: clip;
}

