.hero__text { container-type: inline-size; }
.hero__title--pair {

  font-size: min(var(--fs-hero), 9.3cqi);
  line-height: 1.02;
  text-wrap: nowrap;
}
.hero__title--pair > span { display: block; }
.hero__l1 { color: var(--gold); }
.hero__l2 { color: var(--cream); }

@media (max-width: 600px) {

  .hero__title--pair { font-size: min(var(--fs-hero), 12.5vw); text-wrap: balance; }
}

.how__steps--pics .how__step { gap: 10px; }

@media (min-width: 900px) {
  .how__steps--pics {
    --hp: clamp(20px, 2.4vw, 36px);
    padding-inline: max(0px, calc(var(--pad) - var(--hp)));
  }
  .how__steps--pics .how__step,
  .how__steps--pics .how__step:first-child { padding-inline: var(--hp); }
}
.how__pic {
  position: relative;
  margin-bottom: 10px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--well);
  border-radius: 10px;
}
.how__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how__pic .how__num {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  margin: 0;
  font-size: 1.375rem;
  border-radius: 6px;
}
.how__cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: stretch;
}
.how__who {
  flex: none;
  display: flex;
  align-items: center;
  padding: 6px 8px;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.how__said {
  padding: 6px 10px 7px;
  background: var(--deep);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.stage__top { justify-content: flex-end; }

.what .feat__btn { align-items: center; }

.home .what .feat__btn { gap: 14px; padding-block: 12px; }
.home .what .feat__ico { width: 36px; height: 36px; }
.home .what .feat__ico .ico { width: 19px; height: 19px; }
.home .what .feat__name { font-size: clamp(1.0625rem, 1.2vw, 1.25rem); }
.home .what .feat__line { margin-top: 3px; }
.home .what .stage__top { padding-block: 5px; }

@media (min-width: 1025px) {
  .home .what .what__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
}

.langs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 18px;
  align-items: center;
  padding: 14px 14px 14px 20px;
  background: var(--night);
  color: var(--cream);
}
.langs__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.langs__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: none;
}
.langs__hint { font-size: var(--fs-note); line-height: 1.4; color: var(--pale); }

.langs__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.lang {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 60px;
  padding: 8px 10px 9px 12px;
  border: 1px solid var(--night-rule);
  border-radius: 6px;
  background: var(--night-raised);
  color: var(--cream);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--dur-state) ease, border-color var(--dur-state) ease;
  --focus: var(--cream);
}
.lang__name { font-size: 1.0625rem; font-weight: 700; line-height: 1.15; }
.lang__en { font-size: 0.75rem; font-weight: 500; line-height: 1.25; color: var(--pale); }
.lang:hover { border-color: var(--pale); }
.lang:active { transform: var(--lift); }
.lang:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.lang[aria-pressed="true"] {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--deep);
  box-shadow: inset 0 -4px 0 var(--orange);
}
.lang[aria-pressed="true"] .lang__en { color: var(--moss); }

.lang[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 16px;
  height: 16px;
  background: var(--deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5.5-4.5v15L7 15H3z'/%3E%3Cpath d='M16 8.5c1.3 1 2 2.2 2 3.5s-.7 2.5-2 3.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5.5-4.5v15L7 15H3z'/%3E%3Cpath d='M16 8.5c1.3 1 2 2.2 2 3.5s-.7 2.5-2 3.5' fill='none' stroke='black' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.langs__more {
  display: flex;
  align-items: center;
  padding: 8px 4px 8px 10px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--gold);
}

@media (min-width: 900px) {
  .home .what .stage { --langs-h: 196px; }
  .home .what .langs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: var(--langs-h);
  }
  .home .what .stage:has(.langs:not([hidden])) .stage__cap { bottom: calc(var(--langs-h) + 14px); }
}

.models--focus video[hidden] { display: none; }

.tacmini {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--night);
}
.tacmini__canvas {
  position: absolute;
  top: 14px;
  left: 50%;
  width: auto;
  height: calc(100% - 28px);
  max-width: calc(100% - 28px);
  aspect-ratio: 5 / 4;
  transform: translateX(-50%);
  visibility: hidden;
}
.tacmini.is-live .tacmini__canvas { visibility: visible; }
.tacmini__name {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px 8px;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: none;
}

.home .more > .hs__in {
  background: var(--pale);
  border-radius: var(--panel-r);
  overflow: clip;
  --ink: var(--deep);
  --ink-2: var(--moss);
  --rule: var(--rule-light);
  --focus: var(--deep);
}

.home .what::before,
.home .what::after { display: none; }
.home .more { position: relative; }
.home .more::before,
.home .more::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.home .more::after {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--chalk-line);
}
.home .more::before {
  left: 50%;
  bottom: 0;
  width: calc(2 * var(--r));
  height: calc(2 * var(--r));
  border: 2px solid var(--chalk-line);
  border-radius: 50%;
  transform: translate(-50%, 50%);
  background: radial-gradient(circle, var(--chalk-line) 0 5px, transparent 5.5px);
}

.more__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}
.mcard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 36px) clamp(20px, 2.4vw, 36px) clamp(24px, 2.8vw, 40px);
}
.mcard--hl { padding-left: var(--pad); }
.mcard + .mcard { border-left: 1px solid var(--rule); }
.mcard__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3-lg);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--deep);
}
.mcard__line { margin-top: 8px; max-width: 46ch; font-size: var(--fs-body); line-height: 1.5; color: var(--moss); }

.hl {
  position: relative;
  flex: 1 1 auto;
  min-height: 300px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--well);
}
.hl__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, color-mix(in oklab, var(--night-deep), transparent 8%) 0%, color-mix(in oklab, var(--night-deep), transparent 45%) 45%, transparent 100%);
  pointer-events: none;
}
.hl__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.hl__label {
  color: var(--cream);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hl__strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 480px);
  min-height: 1px;
}
.hl__chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 6px;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--cream);
  border-radius: 6px;
  background: var(--deep);
  color: var(--cream);
  font-size: 0.75rem;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.hl__pic {
  grid-column: 1 / -1;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--night-raised) url("../../assets/images/demo-clip-poster.jpg") center / cover no-repeat;
}
.hl__pic canvas { display: block; width: 100%; height: 100%; }
.hl__name {
  min-width: 0;
  padding: 4px 0 5px 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}
.hl__time { padding: 4px 7px 5px 0; font-weight: 700; color: var(--gold); }

.spot { margin: 0; overflow: hidden; border-radius: 10px; background: var(--night); color: var(--cream); }
.spot--pitch { position: relative; aspect-ratio: 16 / 9; }
.spot--pitch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__cap { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-note); line-height: 1.4; color: var(--pale); }
.spot__cap b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}
.spot--pitch .spot__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 8px 12px 9px;
  border-radius: 6px;
  background: var(--deep);
}
.spot--voice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
}
.spot__play {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--on-orange);
  cursor: pointer;
  transition: background-color var(--dur-state) ease;
  --focus: var(--cream);
}
.spot__play:hover { background: var(--orange-hover); }
.spot__play:active { transform: var(--lift); }
.spot__play:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.spot__play .ico { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.spot__i-stop { display: none; }
.spot.is-on .spot__i-play { display: none; }
.spot.is-on .spot__i-stop { display: block; }
.spot__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.spot__bar { height: 6px; overflow: hidden; border-radius: 3px; background: var(--night-rule); }
.spot__bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.spot__time {
  flex: none;
  align-self: flex-end;
  color: var(--gold);
  font-size: var(--fs-note);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.more__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  border-top: 1px solid var(--rule);
}
.more__item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 10px;
  justify-items: center;
  padding: clamp(22px, 2.4vw, 34px) clamp(18px, 2vw, 30px) clamp(24px, 2.6vw, 36px);
  text-align: center;
}
.more__item:first-child { padding-left: var(--pad); }
.more__item + .more__item { border-left: 1px solid var(--rule); }
.more__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--deep);
}
.more__ico .ico { width: 22px; height: 22px; stroke-width: 1.75; }
.more__name {
  font-family: var(--font-display);
  font-weight: 600;

  font-size: var(--fs-h3-lg);
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: none;
  text-wrap: balance;
  color: var(--deep);
}
.more__line { font-size: var(--fs-small); line-height: 1.5; color: var(--moss); }

.more__foot {
  display: flex;
  justify-content: center;
  padding: clamp(20px, 2.4vw, 32px) var(--pad);
  border-top: 1px solid var(--rule);
  background: var(--pale-2);
}

.cost__grid--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cost__grid--even .cost__cell { justify-content: space-between; gap: 18px; min-height: clamp(220px, 20vw, 290px); }
.cost__grid--even .cost__cell--them .cost__value { font-size: clamp(4rem, 9vw, 8rem); }

@media (max-width: 899.98px) {
  .more__grid { grid-template-columns: minmax(0, 1fr); }
  .mcard, .mcard--hl { padding-inline: var(--pad); }
  .mcard + .mcard { border-left: 0; border-top: 1px solid var(--rule); }
  .hl { flex: none; min-height: 0; aspect-ratio: 16 / 10; }

  .more__list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .more__item { display: flex; flex-direction: column; grid-row: auto; padding-inline: var(--pad); }
  .more__item + .more__item { border-left: 0; border-top: 1px solid var(--rule); }
}

@media (max-width: 600px) {
  .how__said { font-size: 0.8125rem; }

  .langs { padding: 12px; }
  .langs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .langs__more { grid-column: 1 / -1; padding: 4px 2px 0; }
  .lang { min-height: 54px; }

  .tacmini__canvas { top: 8px; height: calc(100% - 16px); max-width: calc(100% - 16px); }
  .tacmini__name { left: 8px; bottom: 8px; padding: 4px 8px 5px; font-size: 0.8125rem; }

  .hl { aspect-ratio: 4 / 3.4; }
  .hl__foot { padding: 10px; gap: 6px; }
  .hl__strip { gap: 5px; }
  .hl__chip { font-size: 0.625rem; border-width: 1.5px; }
  .hl__name { padding: 3px 0 4px 4px; letter-spacing: 0.02em; }
  .hl__time { padding: 3px 4px 4px 0; }
  .spot--voice { gap: 12px; padding: 12px; }
  .spot__play { width: 48px; height: 48px; }
  .spot--pitch .spot__cap { font-size: 0.8125rem; }

  .cost__grid--even { grid-template-columns: minmax(0, 1fr); }
  .cost__grid--even .cost__cell { min-height: 0; }
}

body.home .shead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1.2vw, 16px);
  margin: 0;
  padding: clamp(15px, 1.7vw, 24px) clamp(20px, 2.4vw, 36px);
  border-radius: var(--panel-r, 0px) var(--panel-r, 0px) 0 0;

  background: var(--night-raised);
  box-shadow: inset 0 0 0 1px var(--bar-edge);
  color: var(--cream);
  text-align: center;
  --ink: var(--cream);
  --ink-2: var(--pale);
  --rule: var(--rule-deep);
  --accent-ink: var(--orange);
  --focus: var(--cream);
}
body.home .shead__title {
  max-width: 20em;
  margin-inline: auto;
}
