.hero-story {
  --story-ink: var(--charcoal);
  --story-paper: var(--cream);
  --story-accent: var(--orange);
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  background: var(--story-ink);
  color: var(--story-paper);
  font-family: var(--sans);
}

.hero-story *,
.hero-story *::before,
.hero-story *::after {
  box-sizing: border-box;
}

.hero-story__shell {
  width: 100%;
  padding: clamp(2.4rem, 6vw, 5.5rem) clamp(1.4rem, 4.2vw, 5.5rem);
  border-top: 1px solid rgba(241, 240, 236, 0.18);
  border-bottom: 1px solid rgba(241, 240, 236, 0.18);
}

.hero-story__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-story__statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(3rem, 0.65fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(0.8rem, 2.8vw, 2.2rem);
}

.hero-story__raw,
.hero-story__complete {
  margin: 0;
  min-width: 0;
  min-height: 1.08em;
  align-self: stretch;
  display: flex;
  align-items: center;
  font-size: clamp(1.05rem, 3.1vw, 2.7rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-story__raw {
  color: rgba(241, 240, 236, 0.62);
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: 0.08em;
} 

.hero-story__complete {
  color: var(--story-paper);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  justify-content: flex-end;
  text-align: right;
  text-wrap: balance;
}

.hero-story__arrow {
  position: relative;
  align-self: center;
  min-width: 3rem;
  height: 1.2rem;
  color: var(--story-accent);
}

.hero-story__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.12rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.hero-story__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.12rem;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

@media (max-width: 520px) {
  .hero-story__shell {
    padding: 2.2rem 1.25rem;
  }

  .hero-story__statement {
    grid-template-columns: minmax(0, 1fr) minmax(2.7rem, 0.35fr) minmax(0, 1.3fr);
    gap: 0.55rem;
  }

  .hero-story__raw,
  .hero-story__complete {
    font-size: clamp(0.9rem, 3.8vw, 1.25rem);
  }

  .hero-story__complete {
    max-width: 12ch;
    justify-self: end;
  }
}

.about {
  min-height: 54svh;
  padding: clamp(4.5rem, 7vw, 8rem) clamp(1.4rem, 4.2vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(10rem, 0.38fr) minmax(0, 1.62fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 7rem);
  background: var(--charcoal);
  color: var(--cream);
}

.about-copy {
  width: 100%;
  max-width: 64rem;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.35vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.4;
}

.about-copy span {
  display: block;
  padding: 1.05rem 0 1.15rem;
}

.about-copy span + span {
  border-top: 1px solid rgba(241, 240, 236, 0.22);
}

.about-copy span:first-child {
  padding-top: 0;
}

.about-copy span:last-child {
  padding-bottom: 0;
}

.contact {
  scroll-margin-top: 4.6rem;
  padding-top: clamp(4.8rem, 7vw, 8rem);
}

.contact > h2 {
  max-width: 14ch;
  margin: 1rem 0 clamp(3rem, 5vw, 5rem);
  font-size: clamp(2.5rem, 5.2vw, 6.2rem);
  letter-spacing: -0.058em;
  line-height: 0.92;
}

.contact-grid {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--charcoal);
}

.contact-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(5rem, 7vw, 6.6rem);
  background: var(--orange);
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 140ms ease;
  will-change: transform;
}

.contact-grid:has(> .contact-row:is(:hover, :focus-visible))::before {
  opacity: 1;
}

.contact-grid:has(> .contact-row:nth-of-type(2):is(:hover, :focus-visible))::before {
  transform: translateY(100%);
}

.contact-rule {
  display: none;
}

.contact-row {
  position: relative;
  z-index: 1;
  order: 1;
  min-height: clamp(5rem, 7vw, 6.6rem);
  padding: 0.9rem 0;
  display: grid;
  grid-template-columns: 2.2rem minmax(7rem, 0.35fr) minmax(0, 1fr) 2rem;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease;
}

.contact-row::before {
  content: none;
}

.contact-row:is(:hover, :focus-visible) {
  color: var(--charcoal);
  transform: none;
}

.contact-row > * {
  position: relative;
  z-index: 1;
}

.contact-icon {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.contact-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.contact-kind {
  color: var(--grey);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.contact-row:is(:hover, :focus-visible) .contact-kind {
  color: var(--charcoal);
}

.contact-row strong,
.contact-row[href^="mailto:"] strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 1.55vw, 1.48rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: none;
}

.contact-row i {
  display: grid;
  place-items: center;
}

.contact-row i svg {
  width: 1.4rem;
  height: 1.4rem;
  transition: transform 220ms ease;
}

.contact-row:hover i svg {
  transform: translate(0.22rem, -0.06rem);
}

.contact-colophon {
  order: 2;
  padding: 1.5rem 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.contact-colophon p {
  margin: 0;
}

/* Keep a visible frame on top while React replaces the player video. */
.player-stage {
  isolation: isolate;
}

.player-stage:not(.player-stage--layered)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #090909 var(--player-transition-poster, none) center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
}

html.player-is-switching .player-shell:not(.dubbing-player)
  .player-stage:not(.player-stage--layered)::after {
  opacity: 1;
}

html.player-is-switching.player-frame-ready .player-shell:not(.dubbing-player)
  .player-stage:not(.player-stage--layered)::after {
  opacity: 0;
  transition: opacity 150ms ease;
}

.player-transition-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090909;
  opacity: 1;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.player-transition-cover.is-leaving {
  opacity: 0;
}

/* A hover preview is only revealed once its first real frame is ready. */
.carousel-media video.is-playing {
  opacity: 0;
}

.carousel-media video.is-playing.has-frame {
  opacity: 1;
}

@media (max-width: 860px) {
  .about {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .about-copy {
    max-width: none;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
  }
}

@media (max-width: 600px) {
  .about {
    padding: 4.5rem 1.25rem;
  }

  .about-copy {
    font-size: 1rem;
    line-height: 1.42;
  }

  .contact {
    padding: 4.5rem 1.25rem 2rem;
  }

  .contact > h2 {
    max-width: 12ch;
    margin-bottom: 3rem;
    font-size: clamp(2.65rem, 11.5vw, 4.6rem);
  }

  .contact-row {
    min-height: 5.2rem;
    grid-template-columns: 1.9rem minmax(0, 1fr) 1.7rem;
    gap: 0.7rem;
  }

  .contact-grid::before {
    height: 5.2rem;
  }

  .contact-icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .contact-kind {
    display: none;
  }

  .contact-row strong,
  .contact-row[href^="mailto:"] strong {
    font-size: clamp(0.96rem, 4.7vw, 1.22rem);
  }

  .contact-colophon {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-transition-cover,
  .contact-grid::before {
    transition: none;
  }
}
