.hero {
  height: 100svh;
  min-height: 600px;
  padding: 10px;
  position: relative;
}
.hero-frame {
  --p: 0;
  border-radius: var(--r-xl);
  isolation: isolate;
  background: #6fa5e4;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.hero-layer {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-layer img {
  object-fit: cover;
  object-position: var(--op, 50% 100%);
  width: 100%;
  height: 100%;
}
.hero-bg img,
.hero-fg img {
  transform: scale(calc(1 + var(--p) * 0.05));
  transform-origin: 60% 70%;
}
.hero-bg,
.hero-fg {
  animation: layer-in 1.8s var(--ease) both;
}
@keyframes layer-in {
  0% {
    transform: scale(1.06);
  }
}
.hero-fg {
  z-index: 2;
}
.hero-word {
  left: 0;
  right: 0;
  top: var(--word-y, 30%);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--f-display);
  text-transform: uppercase;
  color: #fff;
  font-weight: 860;
  font-size: var(--fit, 24vw);
  letter-spacing: -0.01em;
  transform: translateY(calc(var(--p) * 42%));
  justify-content: center;
  margin: 0;
  line-height: 0.74;
  display: flex;
  position: absolute;
}
.hero-word span {
  display: block;
  transform: translateY(78%);
}
.hero.play .hero-word span {
  animation: 1.5s cubic-bezier(0.2, 0.9, 0.2, 1) 0.25s forwards rise;
}
@keyframes rise {
  to {
    transform: none;
  }
}
.tracer {
  z-index: 3;
  pointer-events: none;
  opacity: calc(1 - var(--p) * 2.2);
  overflow: visible;
}
.tr-line,
.tr-glow {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1px;
  vector-effect: non-scaling-stroke;
}
.tr-line {
  stroke: var(--flag);
  stroke-width: 2.6px;
}
.tr-glow {
  stroke: #d6f25c80;
  stroke-width: 9px;
  filter: blur(4px);
}
.tr-dot {
  fill: #fff;
  opacity: 0;
}
.hero.play .tr-line,
.hero.play .tr-glow {
  animation: 2.3s cubic-bezier(0.3, 0.15, 0.25, 1) 1.3s forwards tracer;
}
.hero.play .tr-dot {
  animation: dot 0.6s var(--ease) 3.45s forwards;
}
@keyframes tracer {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes dot {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.carry {
  z-index: 3;
  left: var(--cx, 50%);
  top: var(--cy, 60%);
  border-radius: var(--r-md);
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  background: #081e12c7;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  padding: 7px 12px 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  position: absolute;
  transform: translate(-50%, calc(-100% - 16px));
}
.carry b {
  font-family: var(--f-display);
  letter-spacing: 0;
  color: var(--flag);
  font-size: 1.5rem;
  line-height: 0.8;
}
.hero.play .carry.ready {
  opacity: calc(1 - var(--p) * 2.2);
  transition-delay: 3.5s, 3.5s;
  transform: translate(-50%, calc(-100% - 10px));
}
.hero-frame:after {
  content: "";
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(#061e1000, #061e109e);
  height: 42%;
  position: absolute;
  inset: auto 0 0;
}
.hero-foot {
  z-index: 4;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.7s forwards;
  justify-content: space-between;
  align-items: end;
  gap: 20px 32px;
  padding: clamp(18px, 2.4vw, 32px);
  display: flex;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.hero-h {
  font-family: var(--f-display);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.005em;
  font-size: clamp(2rem, 1.1rem + 2vw, 3.1rem);
  font-weight: 820;
  line-height: 0.92;
}
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.finder {
  border-radius: var(--r-md);
  background: #fff;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  display: flex;
}
.finder-field {
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
  align-content: center;
  min-width: 150px;
  padding: 6px 40px 6px 20px;
  display: grid;
  position: relative;
}
.finder-field:hover {
  background: var(--paper);
}
.finder-field > span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}
.finder-field .dd {
  display: block;
}
.finder-field .dd-btn {
  width: 100%;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  display: block;
}
.finder-field .dd-list {
  min-width: calc(100% + 60px);
  left: -20px;
}
.finder-field select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  cursor: pointer;
  background: 0 0;
  border: 0;
  outline: none;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
}
.finder-field:after {
  content: "";
  border-right: 1.6px solid var(--ink-2);
  border-bottom: 1.6px solid var(--ink-2);
  pointer-events: none;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-70%) rotate(45deg);
}
.finder-field:has(.dd-btn:focus-visible) {
  box-shadow: inset 0 0 0 2px var(--green-2);
}
.finder-field .dd-btn:focus-visible {
  outline: none;
}
.finder-field + .finder-field {
  position: relative;
}
.finder-field + .finder-field:before {
  content: "";
  background: var(--line-2);
  width: 1px;
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: -2px;
}
.finder-go {
  height: auto;
  min-height: 56px;
}
.finder-go .btn-ico {
  width: 44px;
  height: 44px;
}
.btn--lg {
  height: 60px;
  padding: 0 6px 0 24px;
  font-size: 1.0625rem;
}
.btn--lg .btn-ico {
  width: 48px;
  height: 48px;
}
.btn--lg .btn-ico svg {
  width: 19px;
  height: 19px;
}
@media (width<=980px) {
  .hero-foot {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (width<=700px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: 8px;
  }
  .hero-frame {
    height: 76svh;
    min-height: 520px;
  }
  .hero-frame:after {
    height: 22%;
  }
  .hero-word {
    flex-direction: column;
    align-items: center;
  }
  .hero-word span {
    text-align: center;
  }
  .hero-foot {
    opacity: 1;
    gap: 18px;
    padding: 22px 8px 4px;
    animation: none;
    position: static;
  }
  .hero-h {
    color: var(--green-deep);
    font-size: 2.15rem;
  }
  .hero-word {
    padding-bottom: 0.02em;
    overflow: hidden;
  }
  .finder {
    box-shadow: inset 0 0 0 1px var(--line-2);
    background: var(--bg);
    border-radius: var(--r-lg);
    flex-wrap: wrap;
    padding: 6px;
  }
  .finder-field {
    border-radius: var(--r-md);
    flex: 40%;
    min-width: 0;
    padding: 8px 32px 8px 14px;
  }
  .finder-field:after {
    right: 14px;
  }
  .finder-go {
    border-radius: var(--r-md);
    flex: 100%;
    justify-content: space-between;
    min-height: 52px;
  }
}
