.home-page {
  overflow-x: clip;
}

#home-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  min-height: calc(100svh - 64px);
  padding: clamp(0.75rem, 2vw, 1.5rem) 0 clamp(1.25rem, 2.5vw, 2rem);
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.hero-full {
  position: relative;
  width: 100%;
  min-height: clamp(38rem, calc(100svh - 7rem), 52rem);
  margin-inline: auto;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  color: #fff;
  background: #122215;
  isolation: isolate;
}

.hero-full::before,
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.hero-full::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 34, 21, 0.18) 0%, rgba(18, 34, 21, 0.3) 34%, rgba(10, 14, 10, 0.72) 100%);
}

.hero-full::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 30%);
}

.hero-full__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full__poster,
.hero-full__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-full__poster {
  filter: saturate(0.9) contrast(1.05) brightness(0.82);
}

.hero-full__video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-full__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  border: 0;
  transform: translate(-50%, -50%) scale(1.16);
  pointer-events: none;
  opacity: 0.96;
}

.hero-full__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: inherit;
  padding: clamp(4.5rem, 12vw, 8.5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
}

.hero-full__shell {
  width: min(100%, 1180px);
  margin-inline: auto;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero-full__intro {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.hero-full__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.3vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-full__copy {
  max-width: 32rem;
  margin: 1.75rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.65vw, 1.2rem);
  line-height: 1.55;
}

.hero-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  text-decoration: none;
  backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  transform: translateY(-1px);
  color: var(--color-accent);
}

.hero-scroll-cue__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero-scroll-cue__arrow {
  font-size: 1.95rem;
  line-height: 0.75;
}

.hero-full__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-pill {
  min-width: 182px;
  padding: 1.05rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-pill:hover,
.hero-pill:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.hero-pill__eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-pill__label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-full__trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.hero-trust {
  min-height: 5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-trust__icon {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-trust__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.hero-trust__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__image,
.home-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.14) 0%, rgba(12, 10, 9, 0.38) 48%, rgba(12, 10, 9, 0.88) 100%);
}

.home-hero__layout {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-offset) + 3rem) 0 clamp(3rem, 7vw, 6rem);
}

.home-hero__copy {
  width: min(100%, 46rem);
}

.home-hero__title,
.home-work-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.home-hero__title {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8rem);
}

.home-hero__descriptor {
  margin: 1.1rem 0 0;
  color: rgba(255, 248, 242, 0.76);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-hero__manifesto {
  max-width: 24ch;
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.34;
}

.home-hero__actions,
.home-showreel__actions,
.home-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.home-panel {
  position: relative;
}

.home-company__layout,
.home-showreel__layout,
.home-contact__layout,
.home-featured-works__stage {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
}

.home-company__layout,
.home-showreel__layout,
.home-contact__layout {
  align-items: center;
  min-height: 100%;
}

.home-company__content,
.home-showreel__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-company__media {
  width: min(100%, 36rem);
  justify-self: center;
  min-height: clamp(24rem, 62vw, 40rem);
  max-height: min(82svh, 44rem);
  aspect-ratio: 5 / 6;
}

.home-company__image,
.home-showreel__poster,
.home-contact__image,
.home-work-panel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-company__image {
  object-position: center 18%;
}

.home-featured-works__intro {
  max-width: 34rem;
}

.home-featured-works__gallery {
  width: 100%;
  overflow: hidden;
}

.home-featured-works__track {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.home-featured-works__stage > .empty-state {
  margin-top: clamp(1rem, 2vw, 2rem);
}

.eav-no-motion .home-featured-works__gallery {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.eav-no-motion .home-featured-works__track {
  transform: none !important;
}

.eav-no-motion .home-featured-works__item {
  scroll-snap-align: start;
}

.home-work-panel {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  min-width: 0;
  padding: clamp(1.2rem, 2vw, 1.75rem);
  border: 1px solid rgba(255, 248, 242, 0.1);
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(180deg, rgba(31, 27, 24, 0.82), rgba(22, 19, 17, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.home-work-panel__media {
  min-height: clamp(24rem, 60vw, 38rem);
}

.home-work-panel__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.home-work-panel__title,
.home-work-panel__title a {
  margin: 0;
  color: var(--color-cream);
  text-decoration: none;
}

.home-work-panel__title {
  font-size: clamp(2.3rem, 4vw, 4.3rem);
}

.home-work-panel__excerpt {
  margin: 0;
  color: rgba(255, 248, 242, 0.76);
  font-size: 1.04rem;
}

.home-work-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-showreel__layout {
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.home-showreel__copy {
  justify-self: start;
}

.home-showreel__copy .section-heading {
  margin-bottom: clamp(1.25rem, 2.2vw, 1.8rem);
}

.home-showreel__copy .page-intro {
  max-width: 30ch;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
}

.home-showreel__media {
  min-width: 0;
  width: 100%;
  max-width: 58rem;
  justify-self: end;
}

.home-showreel .showreel-embed--stage,
.home-showreel .media-frame--wide {
  width: 100%;
}

.home-contact__panel {
  position: relative;
  min-height: clamp(28rem, 64vw, 42rem);
}

.home-contact__background {
  position: absolute;
  inset: 0;
}

.home-contact__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.12), rgba(12, 10, 9, 0.82));
}

.home-contact__overlay > * {
  width: min(100%, 42rem);
}

.home-contact__actions {
  justify-content: center;
}

.home-contact__text {
  margin: 0;
  color: rgba(255, 248, 242, 0.78);
  font-size: 1.03rem;
}

@media (min-width: 1024px) {
  .home-company__layout,
  .home-showreel__layout,
  .home-contact__layout {
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }

  .home-company__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .home-company__content {
    max-width: 38rem;
  }

  .home-company__media {
    width: min(100%, 34rem);
    justify-self: end;
    min-height: min(76svh, 42rem);
    max-height: min(76svh, 42rem);
    aspect-ratio: 5 / 6;
  }

  .home-showreel__layout {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
    width: min(100% - clamp(2rem, 8vw, 8rem), 1340px);
    margin-inline: auto;
    align-items: center;
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
  }

  .home-showreel__media {
    align-self: center;
  }

  .home-contact__layout {
    display: flex;
    align-items: center;
  }

  .home-contact__panel {
    width: 100%;
    min-height: clamp(34rem, 78svh, 44rem);
  }

  .home-featured-works__intro {
    position: absolute;
    top: calc(var(--header-offset) + 2rem);
    left: 0;
    z-index: 2;
    width: min(34rem, 34vw);
  }

  .home-featured-works__gallery {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.5rem;
  }

  .home-featured-works__track {
    display: flex;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: max-content;
    padding-top: clamp(14rem, 18vw, 17rem);
    padding-inline: clamp(1.25rem, 2vw, 2rem);
  }

  .home-featured-works__item {
    flex: 0 0 min(calc(100vw - (var(--site-padding) * 4)), 84rem);
    width: min(calc(100vw - (var(--site-padding) * 4)), 84rem);
  }

  .home-featured-works__stage > .empty-state {
    margin-top: clamp(14rem, 18vw, 17rem);
  }

  .home-work-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.92fr);
    min-height: clamp(36rem, 74svh, 48rem);
  }

  .home-work-panel__media {
    min-height: 100%;
  }
}

@media (max-width: 1023px) {
  .hero-full {
    min-height: clamp(36rem, 94svh, 48rem);
    border-width: 7px;
    border-radius: 28px;
  }

  .hero-full__content {
    padding:
      clamp(5.25rem, 16vw, 7.5rem)
      clamp(1.25rem, 4vw, 2rem)
      clamp(1.25rem, 3vw, 2rem);
  }

  .hero-full__shell {
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }

  .hero-full__intro {
    max-width: min(100%, 30rem);
  }

  .hero-scroll-cue {
    margin-inline: auto;
    padding: 0.75rem 0.95rem 0.9rem;
  }

  .home-showreel__layout {
    width: min(100% - clamp(1.5rem, 6vw, 3rem), 58rem);
    margin-inline: auto;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  .home-showreel__media {
    order: -1;
    max-width: 100%;
    justify-self: stretch;
  }

  .home-showreel__copy {
    max-width: 36rem;
  }

  .home-company__media {
    width: 100%;
    max-width: min(100%, 40rem);
    max-height: min(66svh, 34rem);
    min-height: clamp(22rem, 72vw, 32rem);
    aspect-ratio: 5 / 4;
  }

  .home-company__image {
    object-position: center 14%;
  }

  .home-featured-works__intro {
    max-width: 100%;
  }
}

@media (max-width: 1080px) {
  .hero-full__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #home-hero {
    min-height: auto;
    padding-top: 0.75rem;
  }

  .hero-full {
    min-height: clamp(34rem, 88svh, 42rem);
    border-width: 6px;
  }

  .hero-full__content {
    padding-top: clamp(5.25rem, 18vw, 7rem);
  }

  .hero-full__title {
    font-size: clamp(3.4rem, 12vw, 5rem);
  }

  .hero-full__intro {
    max-width: 26rem;
  }
}

@media (max-width: 680px) {
  .hero-full__content {
    padding: 5.5rem 1.1rem 1.1rem;
  }

  .hero-full__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-pill {
    width: 100%;
  }

  .hero-full__trust {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    min-height: 4.4rem;
  }

  .hero-full__iframe {
    transform: translate(-50%, -50%) scale(1.25);
  }

  .home-company__media,
  .home-work-panel__media,
  .home-contact__panel,
  .split-panel__media,
  .spotlight-card__media,
  .profile-hero__media,
  .contact-stage__panel {
    min-height: 22rem;
  }

  .home-featured-works__stage {
    gap: 1.5rem;
  }

  .home-featured-works__track {
    gap: 1rem;
  }

  .home-company__media {
    max-height: min(58svh, 28rem);
    min-height: clamp(18rem, 64vw, 24rem);
    aspect-ratio: 4 / 3;
  }

  .home-company__image {
    object-position: center 12%;
  }
}

.home-page {
    --home-stage-bg: var(--color-paper);
    --home-stage-panel: var(--color-sand);
    --home-stage-dark: var(--color-dark-surface);
    --home-stage-ink: var(--color-ink);
    --home-stage-muted: var(--color-muted);
    --home-stage-accent: var(--color-accent);
    --home-stage-accent-dark: var(--color-accent-dark);
    --home-stage-border: var(--color-line);
    --home-stage-border-inverse: var(--color-line-strong);
    --home-stage-font: var(--font-sans);
    --home-stage-display: var(--font-display);
}

.home-page .home-section {
    width: 100%;
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.home-page .home-company,
.home-page .home-featured-works-frame,
.home-page .home-showreel {
    border-radius: 0;
    color: var(--home-stage-ink);
    font-family: var(--home-stage-font);
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}

.home-page .home-contact {
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}

.home-page .home-company,
.home-page .home-featured-works-frame,
.home-page .home-showreel,
.home-page .home-contact {
    position: relative;
    overflow: hidden;
}

.home-page .home-company,
.home-page .home-showreel {
    background: var(--home-stage-bg);
}

.home-page .home-showreel {
    background: var(--home-stage-dark);
    color: var(--color-cream);
}

.home-page .home-featured-works-frame {
    background: var(--home-stage-panel);
}

.home-page [data-home-reveal] {
    opacity: 0;
    transform: translate3d(0, 2rem, 0);
    transition:
        opacity 0.8s ease var(--home-reveal-delay, 0s),
        transform 0.8s ease var(--home-reveal-delay, 0s);
    will-change: opacity, transform;
}

.home-page [data-home-reveal="left"] {
    transform: translate3d(-1.5rem, 0, 0);
}

.home-page [data-home-reveal="right"] {
    transform: translate3d(1.5rem, 0, 0);
}

.home-page [data-home-reveal="scale"] {
    transform: scale(0.96);
}

.home-page [data-home-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.home-page .home-reference-eyebrow {
    margin: 0 0 clamp(1rem, 2vw, 1.4rem);
    color: var(--home-stage-accent);
    font-family: var(--home-stage-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    line-height: 1;
    text-transform: uppercase;
}

.home-page .home-reference-title {
    margin: 0;
    color: var(--home-stage-ink);
    font-family: var(--home-stage-display);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
}

.home-page .home-reference-title span {
    display: block;
}

.home-page .home-reference-title__accent {
    color: var(--home-stage-accent);
}

.home-page .home-showreel .home-reference-title {
    color: var(--color-cream);
}

.home-page .home-reference-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: clamp(1.4rem, 3vw, 2rem);
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--home-stage-accent);
    color: var(--home-stage-ink);
    font-family: var(--home-stage-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.home-page .home-reference-link:hover,
.home-page .home-reference-link:focus-visible {
    color: var(--home-stage-accent);
}

.home-page .home-company__layout,
.home-page .home-showreel__layout {
    width: min(100% - clamp(2rem, 8vw, 12.5rem), 1500px);
    max-width: 1500px;
    margin-inline: auto;
}

.home-page .home-company__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 6vw, 6.25rem);
    align-items: center;
    padding-block: clamp(3.75rem, 12vh, 10rem);
}

.home-page .home-company__content {
    max-width: 34rem;
    min-width: 0;
}

.home-page .home-reference-title--company {
    font-size: clamp(3rem, 6vw, 5.75rem);
}

.home-page .home-company__intro {
    display: grid;
    gap: 1rem;
    margin-top: clamp(1.4rem, 3vw, 2rem);
    min-width: 0;
}

.home-page .home-company__intro p {
    margin: 0;
    color: var(--home-stage-muted);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: 400;
    line-height: 1.8;
}

.home-page .home-company__figure {
    position: relative;
    z-index: 0;
    width: 100%;
    margin: 0;
    min-width: 0;
    justify-self: stretch;
}

.home-page .home-company__media {
    position: relative;
    width: 100%;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    background: var(--home-stage-dark);
}

.home-page .home-company__media::before,
.home-page .home-company__media::after {
    content: "";
    position: absolute;
    z-index: -1;
}

.home-page .home-company__media::before {
    top: -12px;
    right: -12px;
    width: 100px;
    height: 100px;
    border: 2px solid var(--home-stage-accent);
}

.home-page .home-company__media::after {
    bottom: -12px;
    left: -12px;
    width: 60px;
    height: 60px;
    background: var(--home-stage-accent);
}

.home-page .home-company__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.08);
}

.home-page .home-featured-works {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    background: transparent;
}

.home-page .home-featured-works__shell,
.home-page .home-featured-works--carousel > .content-shell,
.home-page .home-featured-works--carousel > .content-shell.content-shell--wide {
    width: min(100% - clamp(2.5rem, 12vw, 12.5rem), 1500px);
    max-width: 1500px;
    margin-inline: auto;
    padding-block: clamp(3.75rem, 10vh, 8.75rem);
}

.home-page .home-featured-works__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.home-page .home-reference-title--works {
    font-size: clamp(3rem, 6vw, 5.75rem);
}

.home-page .home-featured-works__intro {
    max-width: 25rem;
    margin: 0;
    color: var(--home-stage-muted);
    font-size: clamp(0.9375rem, 1.35vw, 1rem);
    font-weight: 400;
    line-height: 1.65;
}

.home-page .home-reference-carousel {
    position: relative;
    width: 100%;
    outline: none;
}

.home-page .home-reference-carousel:focus-visible {
    outline: 2px solid rgba(111, 29, 27, 0.72);
    outline-offset: 0.5rem;
}

.home-page .home-reference-carousel__viewport,
.home-page .home-reference-carousel__track,
.home-page .home-reference-carousel__item {
    min-height: clamp(30rem, 58vh, 35rem);
}

.home-page .home-reference-carousel__viewport {
    position: relative;
    overflow: hidden;
    background: var(--home-stage-panel);
}

.home-page .home-reference-carousel__track {
    position: relative;
}

.home-page .home-reference-carousel__item {
    display: none;
}

.home-page .home-reference-carousel__item:first-child {
    display: block;
}

.home-page .home-reference-carousel__grid {
    min-height: inherit;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2px;
    background: var(--home-stage-panel);
}

.home-page .home-reference-carousel__primary,
.home-page .home-reference-carousel__next-card {
    position: relative;
    overflow: hidden;
    background: var(--home-stage-dark);
}

.home-page .home-reference-carousel__next-card {
    display: block;
    padding: 0;
    border: 0;
    color: var(--home-stage-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.home-page .home-reference-carousel__image,
.home-page .home-reference-carousel__next-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-reference-carousel__image {
    filter: grayscale(15%) contrast(1.05);
}

.home-page .home-reference-carousel__next-image {
    filter: grayscale(60%) brightness(0.5);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.home-page .home-reference-carousel__next-card:hover .home-reference-carousel__next-image,
.home-page .home-reference-carousel__next-card:focus-visible .home-reference-carousel__next-image {
    filter: grayscale(35%) brightness(0.68);
    transform: scale(1.04);
}

.home-page .home-reference-carousel__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 9, 9, 0.18) 0%, rgba(10, 9, 9, 0.08) 34%, rgba(10, 9, 9, 0.92) 100%);
}

.home-page .home-reference-carousel__topline {
    position: absolute;
    top: clamp(1.4rem, 2.6vw, 2rem);
    left: clamp(1.4rem, 2.6vw, 2rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.home-page .home-reference-carousel__tag,
.home-page .home-reference-carousel__next-tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.38rem 0.85rem;
    background: var(--home-stage-accent);
    color: var(--color-cream);
    font-family: var(--home-stage-font);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1;
    text-transform: uppercase;
}

.home-page .home-reference-carousel__count {
    color: rgba(255, 248, 242, 0.72);
    font-family: var(--home-stage-font);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.home-page .home-reference-carousel__copy {
    position: absolute;
    right: clamp(1.5rem, 4vw, 3rem);
    bottom: clamp(1.75rem, 5vw, 2.8rem);
    left: clamp(1.5rem, 4vw, 2.8rem);
    z-index: 2;
    max-width: 36rem;
}

.home-page .home-reference-carousel__meta,
.home-page .home-reference-carousel__subtitle,
.home-page .home-reference-carousel__description {
    margin: 0;
}

.home-page .home-reference-carousel__meta {
    color: var(--home-stage-accent);
    font-family: var(--home-stage-font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-page .home-reference-carousel__title {
    margin: 0.45rem 0 0;
    color: var(--color-cream);
    font-family: var(--home-stage-display);
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
}

.home-page .home-reference-carousel__subtitle {
    margin-top: 0.65rem;
    color: rgba(255, 248, 242, 0.72);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    font-style: italic;
    font-weight: 400;
}

.home-page .home-reference-carousel__description {
    max-width: 32rem;
    margin-top: 1rem;
    color: rgba(242, 237, 232, 0.78);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
}

.home-page .home-reference-carousel__next-label {
    position: absolute;
    top: clamp(1.3rem, 2.4vw, 2rem);
    right: clamp(1.3rem, 2.4vw, 2rem);
    z-index: 2;
    color: rgba(255, 248, 242, 0.72);
    font-family: var(--home-stage-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.home-page .home-reference-carousel__next-copy {
    position: absolute;
    right: clamp(1.4rem, 2.6vw, 2rem);
    bottom: clamp(1.4rem, 2.6vw, 2rem);
    left: clamp(1.4rem, 2.6vw, 2rem);
    z-index: 2;
    display: grid;
    gap: 0.9rem;
}

.home-page .home-reference-carousel__next-title {
    color: var(--color-cream);
    font-family: var(--home-stage-display);
    font-size: clamp(1.75rem, 3vw, 3.25rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
}

.home-page .home-reference-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.home-page .home-reference-carousel__indicators,
.home-page .home-reference-carousel__buttons {
    display: flex;
    align-items: center;
}

.home-page .home-reference-carousel__indicators {
    gap: 0.6rem;
}

.home-page .home-reference-carousel__indicator {
    width: 20px;
    height: 3px;
    padding: 0;
    border: 0;
    background: var(--home-stage-border);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.home-page .home-reference-carousel__indicator.is-active,
.home-page .home-reference-carousel__indicator[aria-current="true"] {
    width: 48px;
    background: var(--home-stage-accent);
}

.home-page .home-reference-carousel__buttons {
    gap: 0.75rem;
}

.home-page .home-reference-carousel__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.9rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--home-stage-border);
    border-radius: 0;
    font-family: var(--home-stage-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-page .home-reference-carousel__button--ghost {
    background: transparent;
    color: var(--home-stage-muted);
}

.home-page .home-reference-carousel__button--accent {
    border-color: var(--home-stage-accent);
    background: var(--home-stage-accent);
    color: var(--color-cream);
}

.home-page .home-reference-carousel__button:hover,
.home-page .home-reference-carousel__button:focus-visible {
    border-color: var(--home-stage-accent-dark);
    background: var(--home-stage-accent-dark);
    color: var(--color-cream);
}

.home-page .home-featured-works__empty {
    max-width: 34rem;
    margin: 0;
    color: var(--home-stage-muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
}

.home-page .home-showreel__layout {
    grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    padding-block: clamp(3.75rem, 10vh, 8.75rem);
}

.home-page .home-showreel--media-only .home-showreel__layout {
    grid-template-columns: 1fr;
}

.home-page .home-showreel__video-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--home-stage-dark);
}

.home-page .home-showreel__video,
.home-page .home-showreel__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-showreel__embed,
.home-page .home-showreel__embed iframe,
.home-page .home-showreel__embed embed,
.home-page .home-showreel__embed object {
    width: 100%;
    height: 100%;
}

.home-page .home-showreel__embed iframe,
.home-page .home-showreel__embed embed,
.home-page .home-showreel__embed object {
    display: block;
    border: 0;
    aspect-ratio: auto;
}

.home-page .home-showreel__label {
    position: absolute;
    top: clamp(1rem, 2vw, 1.5rem);
    left: clamp(1rem, 2vw, 1.5rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.8rem;
    padding: 0.42rem 0.85rem;
    background: var(--home-stage-accent);
    color: var(--color-cream);
    font-family: var(--home-stage-font);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1;
    text-transform: uppercase;
}

.home-page .home-showreel__copy {
    max-width: 24rem;
}

.home-page .home-reference-title--showreel {
    font-size: clamp(3rem, 6vw, 5.75rem);
}

.home-page .home-showreel__text {
    margin: clamp(1.4rem, 3vw, 2rem) 0 0;
    color: rgba(255, 248, 242, 0.82);
    font-size: clamp(0.9375rem, 1.35vw, 1rem);
    font-weight: 400;
    line-height: 1.75;
}

.home-page .home-showreel__meta {
    margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--home-stage-border-inverse);
    color: rgba(255, 248, 242, 0.72);
    font-family: var(--home-stage-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.6;
    text-transform: uppercase;
}

.home-page .home-contact {
    justify-content: flex-end;
    margin-bottom: 0;
    padding-bottom: 0;
    background:
        radial-gradient(circle at top left, rgba(111, 29, 27, 0.1), transparent 24%),
        linear-gradient(180deg, var(--color-paper) 0%, var(--color-sand) 100%);
}

.home-page .home-contact__layout {
    width: min(100% - clamp(2rem, 8vw, 7rem), 1340px);
    margin-inline: auto;
    padding-block: clamp(2.75rem, 6vw, 4.5rem);
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

.home-page .home-contact__panel {
    width: 100%;
    min-height: clamp(28rem, 64vw, 42rem);
    margin-bottom: 0;
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.home-page .home-contact__background {
    position: absolute;
    inset: 0;
}

.home-page .home-contact__background::after {
    display: none;
}

.home-page .home-contact__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .home-contact__overlay {
    position: absolute;
    inset: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(2rem, 5vw, 4rem);
    background:
        linear-gradient(180deg, rgba(12, 10, 9, 0.12), rgba(12, 10, 9, 0.82));
    color: var(--color-cream);
    text-align: center;
}

.home-page .home-contact__overlay > * {
    width: min(100%, 42rem);
}

.home-page .home-contact__overlay .section-title {
    max-width: 10ch;
    font-size: clamp(2.7rem, 5vw, 4.75rem);
    line-height: 0.9;
    color: var(--color-cream);
}

.home-page .home-contact__text {
    margin: 0;
    color: rgba(255, 248, 242, 0.78);
    font-size: 1.03rem;
    line-height: 1.72;
}

.home-page .home-contact__actions {
    justify-content: center;
}

.home-page .home-contact .button--ghost-light {
    border-color: rgba(255, 248, 242, 0.26);
    color: var(--color-cream);
    background: transparent;
}

.home-page .home-contact .button--ghost-light:hover,
.home-page .home-contact .button--ghost-light:focus-visible {
    background: rgba(255, 248, 242, 0.08);
    color: var(--color-cream);
}

@media (max-width: 900px) {
    .home-page .home-section {
        min-height: auto;
    }

    .home-page .home-company__layout,
    .home-page .home-showreel__layout,
    .home-page .home-contact__layout,
    .home-page .home-featured-works__shell,
    .home-page .home-featured-works--carousel > .content-shell,
    .home-page .home-featured-works--carousel > .content-shell.content-shell--wide {
        width: min(100% - 2rem, 1500px);
    }

    .home-page .home-company__layout,
    .home-page .home-showreel__layout,
    .home-page .home-reference-carousel__grid {
        grid-template-columns: 1fr;
    }

    .home-page .home-company__layout,
    .home-page .home-showreel__layout,
    .home-page .home-featured-works__shell {
        padding-block: clamp(2.75rem, 8vh, 4.5rem);
    }

    .home-page .home-company__content,
    .home-page .home-showreel__copy {
        max-width: 100%;
    }

    .home-page .home-company__content {
        overflow-wrap: anywhere;
    }

    .home-page .home-company__figure {
        width: min(100%, 42rem);
        margin-inline: auto;
    }

    .home-page .home-company__media::before {
        width: 76px;
        height: 76px;
    }

    .home-page .home-company__media::after {
        width: 44px;
        height: 44px;
    }

    .home-page .home-featured-works__header,
    .home-page .home-reference-carousel__controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-page .home-featured-works__intro {
        max-width: 38rem;
    }

    .home-page .home-reference-carousel__viewport,
    .home-page .home-reference-carousel__track,
    .home-page .home-reference-carousel__item {
        min-height: auto;
    }

    .home-page .home-reference-carousel__grid {
        min-height: auto;
    }

    .home-page .home-reference-carousel__primary {
        min-height: clamp(28rem, 78vw, 36rem);
    }

    .home-page .home-reference-carousel__next-card {
        min-height: clamp(15rem, 48vw, 22rem);
    }

    .home-page .home-reference-carousel__copy,
    .home-page .home-reference-carousel__next-copy {
        max-width: none;
    }

    .home-page .home-reference-carousel__next-copy {
        gap: 0.65rem;
    }

    .home-page .home-showreel__copy {
        max-width: 38rem;
    }

    .home-page .home-showreel__video-shell {
        aspect-ratio: 16 / 10;
    }

    .home-page .home-contact__overlay {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 680px) {
    .home-page .home-company__layout,
    .home-page .home-showreel__layout,
    .home-page .home-contact__layout,
    .home-page .home-featured-works__shell,
    .home-page .home-featured-works--carousel > .content-shell,
    .home-page .home-featured-works--carousel > .content-shell.content-shell--wide {
        width: min(100% - 2rem, 1500px);
    }

    .home-page .home-reference-title--company,
    .home-page .home-reference-title--works,
    .home-page .home-reference-title--showreel,
    .home-page .home-contact__overlay .section-title {
        font-size: clamp(2.7rem, 13vw, 4.3rem);
    }

    .home-page .home-featured-works__shell {
        padding-block: 1.6rem;
    }

    .home-page .home-featured-works__header {
        margin-bottom: 1rem;
    }

    .home-page .home-company__layout,
    .home-page .home-showreel__layout {
        gap: 1.25rem;
    }

    .home-page .home-company__layout {
        padding-block: 2.25rem 2.5rem;
    }

    .home-page .home-company__content {
        gap: 0.85rem;
    }

    .home-page .home-company .section-heading {
        margin-bottom: 1.5rem;
    }

    .home-page .home-company .section-title,
    .home-page .home-company__intro p,
    .home-page .home-reference-link {
        max-width: 100%;
        min-width: 0;
    }

    .home-page .home-company .section-title {
        overflow-wrap: anywhere;
    }

    .home-page .home-company__intro {
        gap: 0.85rem;
        margin-top: 1.1rem;
    }

    .home-page .home-company__intro p,
    .home-page .home-showreel__text,
    .home-page .home-contact__text {
        font-size: 1rem;
        line-height: 1.68;
    }

    .home-page .home-company__media::before,
    .home-page .home-company__media::after {
        display: none;
    }

    .home-page .home-company__figure {
        width: 100%;
    }

    .home-page .home-company__media {
        width: 100%;
        max-width: 100%;
        min-height: clamp(16rem, 74vw, 21rem);
        max-height: none;
        aspect-ratio: 5 / 4;
    }

    .home-page .home-reference-carousel__primary {
        min-height: clamp(20rem, 88vw, 26rem);
    }

    .home-page .home-reference-carousel__next-card {
        min-height: clamp(8rem, 30vw, 12rem);
    }

    .home-page .home-reference-carousel__copy {
        right: 1.2rem;
        bottom: 1.4rem;
        left: 1.2rem;
    }

    .home-page .home-reference-carousel__topline {
        top: 1rem;
        left: 1rem;
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .home-page .home-reference-carousel__title {
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

    .home-page .home-reference-carousel__subtitle {
        font-size: 0.92rem;
    }

    .home-page .home-reference-carousel__meta,
    .home-page .home-reference-carousel__next-label {
        line-height: 1.5;
    }

    .home-page .home-reference-carousel__next-copy {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .home-page .home-reference-carousel__next-title {
        font-size: clamp(1.5rem, 8vw, 2.35rem);
    }

    .home-page .home-reference-carousel__description {
        display: none;
    }

    .home-page .home-reference-carousel__buttons,
    .home-page .home-reference-carousel__button {
        width: 100%;
    }

    .home-page .home-reference-carousel__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .home-showreel__video-shell {
        aspect-ratio: 4 / 3;
    }

    .home-page .home-contact__panel {
        min-height: clamp(24rem, 112vw, 31rem);
    }

    .home-page .home-contact__overlay {
        padding: 1.5rem 1rem;
    }

    .home-page .home-contact__overlay > * {
        width: min(100%, 30rem);
    }

    .home-page .home-contact__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .home-contact__actions .button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .home-page .home-company__layout,
    .home-page .home-showreel__layout,
    .home-page .home-contact__layout,
    .home-page .home-featured-works__shell,
    .home-page .home-featured-works--carousel > .content-shell,
    .home-page .home-featured-works--carousel > .content-shell.content-shell--wide {
        width: min(100% - 1.25rem, 1500px);
    }

    .hero-full {
        min-height: clamp(30rem, 82svh, 38rem);
        border-width: 5px;
        border-radius: 22px;
    }

    .hero-full__content {
        padding: 5rem 1rem 1rem;
    }

    .hero-full__title {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .hero-scroll-cue {
        padding: 0.65rem 0.85rem 0.8rem;
    }

    .home-page .home-company__layout {
        gap: 1rem;
        padding-block: 2rem 2.25rem;
    }

    .home-page .home-company .section-heading {
        margin-bottom: 1.15rem;
    }

    .home-page .home-company__intro p {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .home-page .home-company__media {
        min-height: 15rem;
        aspect-ratio: 6 / 5;
    }

    .home-page .home-reference-carousel__primary {
        min-height: 18rem;
    }

    .home-page .home-reference-carousel__next-card {
        min-height: 9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page [data-home-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
