/* hero — single ownership; responsive overrides remain with their component. */
.hero-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}

.hero-heading>div:first-child {
  min-width:0;
  flex:1;
}

.hero-heading h1 {
  font-size:clamp(64px,8vw,128px);
}

.hero-visual {
  overflow:hidden;
  position:relative;
  border-block:1px solid var(--line);
  touch-action:pan-y;
}

.hero-track {
  height:100%;
  display:flex;
  width:100%;
}

.hero-slide {
  width:100%;
  height:100%;
  flex:0 0 100%;
  overflow:hidden;
  position:relative;
}

.hero-media {
  position:absolute;
  inset:-12% 0;
  background:#f1f1f1;
}

.hero-slide:nth-child(2) .hero-media {
  background:#e6e6e6;
}

.hero-slide:nth-child(3) .hero-media {
  background:#dcdcdc;
}

.hero-video {
  width:100%;
  height:100%;
  object-fit:cover;
}

.media-note {
  position:absolute;
  top:15%;
  right:var(--gutter);
  font-size:11px;
  color:#727272;
  letter-spacing:.06em;
}

.dummy-mark {
  position:absolute;
  right:8%;
  top:28%;
  font-size:clamp(100px,18vw,250px);
  line-height:1;
  color:rgba(0,0,0,.035);
}

.hero-copy {
  position:absolute;
  left:var(--gutter);
  bottom:48px;
  pointer-events:none;
}

.hero-progress {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
}

.hero-progress span {
  display:block;
  height:100%;
}

@media(max-width:760px) {
  .hero-heading {
    display:block;
  }
}

@media(max-width:760px) {
  .hero-heading h1 {
    letter-spacing:-.06em;
    white-space:nowrap;
  }
}

@media(max-width:760px) {
  .hero-heading .controls {
    justify-content:flex-end;
  }
}

@media(max-width:760px) {
  .hero-visual {
    height:54svh;
    min-height:360px;
  }
}

@media(max-width:760px) {
  .hero-copy {
    bottom:32px;
  }
}

.hero {
  position:relative;
  height:calc(100svh - var(--header-height));
}

.hero-visual {
  height:100%;
  min-height:0;
  border-top:0;
}

.hero-heading {
  position:absolute;
  left:0;
  right:0;
  top:0;
  z-index:2;
  padding:clamp(32px,7vh,80px) var(--gutter) 0;
  pointer-events:none;
}

.hero-heading .controls {
  pointer-events:auto;
  align-self:flex-start;
}

.hero-heading h1 {
  margin-top:18px;
}

.hero .media-note {
  top:42%;
}

@media(max-width:760px) {
  .hero-heading {
    padding:32px 24px 0;
  }
}

@media(max-width:760px) {
  .hero-heading h1 {
    font-size:clamp(32px,10.5vw,48px);
  }
}

@media(max-width:760px) {
  .hero-heading .controls {
    margin-top:20px;
  }
}

.hero {
  scroll-snap-align:start;
  scroll-margin-top:var(--header-height);
}

.hero-heading h1 {
  position:relative;
  left:-.055em;
}

.has-media>.media-note {
  display:none;
}

.has-media>.dummy-mark {
  display:none;
}

.hero-media {
  background-image:linear-gradient(#0000000b 1px,transparent 1px),linear-gradient(90deg,#0000000b 1px,transparent 1px);
  background-size:80px 80px;
}

.hero-title {
  display:grid;
  align-items:start;
}

.hero-title .headline {
  grid-area:1/1;
}

.hero-title .line {
  display:block;
  overflow:hidden;
  padding-bottom:.08em;
  margin-bottom:-.08em;
  white-space:nowrap;
}

.hero-title .char {
  display:inline-block;
}

.hero-copy .line {
  display:block;
  overflow:hidden;
  padding-bottom:.06em;
  margin-bottom:-.06em;
}

.hero-copy .line>span {
  display:inline-block;
}

.hero-progress {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
  background:none;
  height:3px;
}

.hero-progress span {
  width:auto;
  background:#0000001f;
}

.hero-progress i {
  display:block;
  height:100%;
  background:#111;
}

.hero-copy {
  display:grid;
  align-items:end;
  font-size:var(--hero-sub-size,var(--title));
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.04em;
  max-width:min(18em,calc(50vw - var(--gutter) - 80px));
  word-break:keep-all;
}

.hero-copy .copy {
  grid-area:1/1;
}

.hero[data-sub=top] .hero-copy {
  position:static;
  margin-top:24px;
  align-items:start;
  line-height:1.35;
  letter-spacing:-.02em;
  max-width:100%;
}

.hero[data-sub=top] .hero-copy .copy {
  display:flex;
  flex-wrap:wrap;
  column-gap:.28em;
}

.hero-visual.has-zone {
  cursor:pointer;
}

.scroll-cue {
  position:absolute;
  left:50%;
  bottom:28px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  font-size:11px;
  letter-spacing:.08em;
}

.scroll-cue-next {
  color:#666;
}

.scroll-cue-line {
  width:1px;
  height:44px;
  background:#0000002a;
  position:relative;
  overflow:hidden;
  order:3;
}

.scroll-cue-line:after {
  content:'';
  position:absolute;
  inset:0;
  background:#111;
}

.aff-scrollCue-off .scroll-cue {
  display:none;
}

@media(max-width:760px) {
  .hero-copy {
    font-size:min(var(--hero-sub-size,30px),30px);
    max-width:none;
    right:24px;
  }
}

@media(max-width:760px) {
  .scroll-cue {
    bottom:20px;
  }
}

@media(max-width:760px) {
  .scroll-cue-next {
    display:none;
  }
}

