
.imgc-hero {
  --imgc-end: 0px;
  --i-bg: var(--paper);
  --i-fg: var(--ink);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  block-size: 100svh;
  overflow: hidden;
  background-color: var(--i-bg);
  color: var(--i-fg);
  box-shadow: 200px 0 0 var(--i-bg);
}
@media (min-width: 992px) {
  .imgc-hero { --imgc-end: var(--rail); inline-size: calc(100% + var(--rail)); }
}
@media (max-width: 991.98px) {
  .imgc-hero { block-size: auto; min-block-size: 100svh; }
}

.imgc-hero__stage {
  position: relative;
  flex: 1 1 auto;
  min-block-size: 0;
  padding: var(--space-2) calc(var(--gutter) + var(--imgc-end)) var(--space-1) var(--prod-start);
}

.imgc-hero__stage { display: grid; place-items: center; container-type: size; }
.imgc-hero__type { position: relative; display: grid; place-items: center; inline-size: 100%; block-size: 100%; }
.imgc-hero__type img { display: none; }
.imgc-hero__word {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: min(22cqi, 60cqb);
  line-height: 1;
  white-space: nowrap;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 1.4s var(--prod-ease) .3s, translate 1.6s var(--prod-ease) .3s;
}
.imgc-hero__chips { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; min-block-size: 1.6em; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: var(--text-xs); line-height: 1.4; transition: opacity 1s var(--prod-ease), translate 1.1s var(--prod-ease); transition-delay: calc(.6s + var(--i) * 90ms); }
.imgc-hero__chips li { display: flex; align-items: center; gap: .55em; }
.imgc-hero__chips .imgc-dot { inline-size: .9em; block-size: .9em; border-radius: 50%; }
.imgc-hero__chips .imgc-hex { font-family: var(--font-heading); font-weight: 600; font-variant-numeric: tabular-nums; }

.imgc-hero__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem 4rem;
  padding: 0 calc(var(--gutter) + var(--imgc-end)) var(--space-2) var(--prod-start);
}
.imgc-hero__text { min-inline-size: 0; }
.imgc-hero__lines { display: grid; row-gap: .3em; max-inline-size: 32em; margin: 0; font-size: var(--text-base); line-height: 1.8; }
.imgc-hero__line { display: block; overflow: clip; overflow-clip-margin: .3em; }
.imgc-hero__line > span { display: block; transition: translate 1.1s var(--prod-ease); transition-delay: calc(.6s + var(--i) * 90ms); }
.imgc-hero__line:first-child { font-weight: 700; letter-spacing: .02em; }
.imgc-hero__line:last-child { font-size: var(--text-sm); letter-spacing: .04em; opacity: .7; }
.imgc-hero__cta { flex-shrink: 0; margin: 0; transition: opacity 1s var(--prod-ease) 1s, translate 1.2s var(--prod-ease) 1s; }
@media (min-width: 1200px) {
  .imgc-hero__bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

[data-motion="on"] .imgc-hero:not([data-in]) .imgc-hero__line > span { translate: 0 110%; }
[data-motion="on"] .imgc-hero:not([data-in]) :is(.imgc-hero__cta, .imgc-hero__chips) { opacity: 0; translate: 0 1.6rem; }
[data-motion="on"] .imgc-hero:not([data-in]) .imgc-hero__word { opacity: 0; translate: 0 2.4rem; }

@media (max-width: 991.98px) {
  .imgc-hero__stage { padding: 2rem var(--gutter) 2.5rem; }
  .imgc-hero__stage { container-type: inline-size; }
  .imgc-hero__type { block-size: auto; padding-block: 2rem; }
  .imgc-hero__word { font-size: 24cqi; }
  .imgc-hero__bottom { align-items: stretch; padding: 0 var(--gutter) var(--space-2); }
}

@media (max-width: 767.98px) {
  .imgc-hero__stage { flex: 1 1 auto; min-block-size: 0; padding-block: var(--gap-block) var(--gap-heading); }
  .imgc-hero__bottom { flex-shrink: 0; gap: var(--gap-heading); padding-block-end: var(--section-pad-x); }
  .imgc-hero__bottom > * { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .imgc-hero *, .imgc-hero *::before, .imgc-hero *::after { transition: none !important; }
}
