body {
  line-height: 1.75;
}

.wrap {
  width: min(var(--about-max), calc(100% - 40px));
}

.about-scroll-hero {
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
  height: 185vh;
}

.about-scroll-stage {
  --scene-progress: 0;
  --mobile-index: 0;
  --topbar-offset: 76px;
  position: sticky;
  top: var(--topbar-offset);
  height: calc(100vh - var(--topbar-offset));
  overflow: hidden;
  touch-action: pan-y;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-scroll-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(6, 6, 8, calc(0.44 * (1 - min(1, calc(var(--scene-progress) * 1.18)))));
  backdrop-filter: blur(calc(14px * (1 - min(1, calc(var(--scene-progress) * 1.18)))));
  pointer-events: none;
}

.about-image-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  height: 100%;
}

.about-wall-shot {
  margin: 0;
  min-width: 0;
}

.about-wall-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.about-wall-shot:nth-child(1) img {
  object-position: center 20%;
}

.about-wall-shot:nth-child(2) img {
  object-position: center 40%;
}

.about-wall-shot:nth-child(3) img {
  object-position: center 48%;
}

.about-hero-overlay {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  bottom: auto;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 10, 0.44);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  opacity: max(0, calc(1 - (var(--scene-progress) * 1.25)));
  transform: translateY(-50%);
}

.about-hero-overlay .eyebrow {
  color: var(--about-muted);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
}

.about-hero-overlay h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 18px 0 0;
  max-width: 640px;
}

.about-hero-overlay .lead {
  margin-top: 24px;
  max-width: 620px;
  color: var(--about-soft);
  font-size: 1.12rem;
}

.about-mobile-dots {
  display: none;
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 18px;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.about-mobile-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.about-mobile-dot.is-active {
  transform: scale(1.25);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
}

.section {
  padding: 18px 0 10px;
}

.section .card {
  margin-top: 18px;
  padding: 26px;
  border-radius: var(--about-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.section .card h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.section .card p {
  margin: 0;
  color: var(--about-soft);
}

.section .card p + p {
  margin-top: 16px;
}

.quote {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  color: var(--about-muted);
  font-style: italic;
}

main footer {
  padding: 42px 0 60px;
  color: var(--about-muted);
  font-size: 0.92rem;
}

.job-hero {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(320px, 1fr);
  align-items: start;
  gap: 40px;
  padding-top: 0;
  padding-bottom: 48px;
  margin-right: calc((100vw - 100%) / -2);
}

.job-hero-text {
  min-width: 0;
  max-width: 480px;
  padding-top: 90px;
}

.job-hero-photo {
  position: relative;
  flex-shrink: 0;
  min-height: 100vh;
  overflow: hidden;
  justify-self: stretch;
  border-radius: 16px 0 0 16px;
}

.job-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(6, 6, 6, 1) 0%,
      rgba(6, 6, 6, 0.95) 2%,
      rgba(6, 6, 6, 0.82) 6%,
      rgba(6, 6, 6, 0.60) 10%,
      rgba(6, 6, 6, 0.36) 16%,
      rgba(6, 6, 6, 0.14) 23%,
      rgba(6, 6, 6, 0.04) 34%,
      rgba(6, 6, 6, 0.00) 100%
    );
  pointer-events: none;
}

.job-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to top,
      rgba(6, 6, 6, 0.28) 0%,
      rgba(6, 6, 6, 0.10) 24%,
      rgba(6, 6, 6, 0.00) 48%
    );
  pointer-events: none;
}

.job-photo {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.98) contrast(1.02);
}

.job-scroll-hero {
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
  height: 185vh;
}

.job-scroll-hero-split {
  height: auto;
}

.job-scroll-hero-split .job-scroll-stage {
  position: relative;
  top: 0;
  margin-top: var(--topbar-offset);
  height: calc(100vh - var(--topbar-offset));
}

.job-scroll-stage {
  --scene-progress: 0;
  --topbar-offset: 76px;
  position: sticky;
  top: var(--topbar-offset);
  height: calc(100vh - var(--topbar-offset));
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.job-scroll-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(6, 6, 8, calc(0.44 * (1 - min(1, calc(var(--scene-progress) * 1.18)))));
  backdrop-filter: blur(calc(14px * (1 - min(1, calc(var(--scene-progress) * 1.18)))));
  pointer-events: none;
}

.job-scroll-photo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.job-scroll-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.98) contrast(1.02);
}

.job-scroll-overlay {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 10, 0.44);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  opacity: max(0, calc(1 - (var(--scene-progress) * 1.25)));
  transform: translateY(-50%);
}

.job-scroll-overlay .eyebrow {
  color: var(--about-muted);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
}

.job-scroll-overlay h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 18px 0 0;
  max-width: 640px;
}

.job-scroll-overlay .lead {
  margin-top: 24px;
  max-width: 620px;
  color: var(--about-soft);
  font-size: 1.12rem;
}

@media (min-width: 961px) {
  .job-scroll-hero-split .job-scroll-stage::before {
    display: none;
  }

  .job-scroll-hero-split .job-scroll-overlay {
    position: relative;
    z-index: 3;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    display: flex;
    align-items: center;
  }

  .job-scroll-hero-split .job-scroll-copy {
    width: min(620px, calc(100% - 40px));
    margin-left: max(20px, calc((100vw - var(--max)) / 2 + 20px));
    padding-top: 110px;
    padding-bottom: 70px;
    padding-right: 42px;
  }

  .job-scroll-hero-split .job-scroll-photo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: min(50vw, 760px);
    height: 100%;
    overflow: hidden;
  }

  .job-scroll-hero-split .job-scroll-photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(
        90deg,
        rgba(6, 6, 6, 1) 0%,
        rgba(6, 6, 6, 0.95) 3%,
        rgba(6, 6, 6, 0.82) 8%,
        rgba(6, 6, 6, 0.60) 14%,
        rgba(6, 6, 6, 0.36) 22%,
        rgba(6, 6, 6, 0.14) 33%,
        rgba(6, 6, 6, 0.04) 46%,
        rgba(6, 6, 6, 0.00) 92%
      );
    pointer-events: none;
  }

  .job-scroll-hero-split .job-scroll-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(
        to top,
        rgba(6, 6, 6, 0.28) 0%,
        rgba(6, 6, 6, 0.10) 24%,
        rgba(6, 6, 6, 0.00) 48%
      );
    pointer-events: none;
  }
}

@media (max-width: 680px) {
  .job-hero {
    grid-template-columns: 1fr;
    margin-right: 0;
  }

  .job-hero-text {
    padding-top: 0;
  }

  .job-photo {
    width: 100%;
    height: 260px;
  }
}

@media (max-width: 720px) {
  .about-scroll-stage {
    --topbar-offset: 68px;
  }

  .job-scroll-stage {
    --topbar-offset: 68px;
  }
}

@media (max-width: 900px) {
  .about-image-wall {
    display: flex;
    width: 300%;
    height: 100%;
    transform: translateX(calc(var(--mobile-index) * -33.333333%));
    transition: transform 0.42s ease;
  }

  .about-wall-shot {
    flex: 0 0 33.333333%;
  }

  .about-wall-shot img {
    min-height: 100%;
  }

  .about-mobile-dots {
    display: flex;
  }

  .about-hero-overlay {
    width: calc(100% - 24px);
    padding: 18px 18px;
  }

  .job-scroll-overlay {
    width: calc(100% - 24px);
    padding: 18px 18px;
  }
}