/* Homepage brand statement: a light map, ultrasound signal and three-stage reveal. */
.s4-brand-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: min(900px, 100svh);
  padding: clamp(35px, 4.2vw, 78px) var(--s3-pad) clamp(36px, 4.2vw, 75px);
  overflow: hidden;
  background: #fff;
  color: #0b3153;
}
.s4-brand-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 48% 32% at 51% 52%, rgba(223, 243, 249, .62), transparent 76%),
              linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #fff 100%);
}
.s4-brand-intro__map {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 48%;
  width: min(1500px, 106vw);
  aspect-ratio: 1440 / 680;
  transform: translate(-50%, -50%);
  background: url('/sample4/assets/brand-world-dots.svg') center / contain no-repeat;
  opacity: .33;
  pointer-events: none;
}
.s4-brand-intro__signal {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 50%;
  width: 100%;
  height: min(700px, 78svh);
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
}
.s4-brand-intro__signal path {
  fill: none;
  stroke: url('#s4-brand-signal');
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  opacity: .68;
}
.s4-brand-intro__signal path:nth-of-type(2) { stroke-width: 1.4; opacity: .4; }
.s4-brand-intro__signal path:nth-of-type(3) { stroke-width: 1; opacity: .23; }
.s4-brand-intro.is-playing .s4-brand-intro__signal path { animation: s4BrandSignal 6.6s linear infinite both; }
.s4-brand-intro.is-playing .s4-brand-intro__signal path:nth-of-type(2) { animation-delay: .4s; }
.s4-brand-intro.is-playing .s4-brand-intro__signal path:nth-of-type(3) { animation-delay: .8s; }
.s4-brand-intro__top,
.s4-brand-intro__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.s4-brand-intro__top {
  font: 700 12px/1.4 "Albert Sans", sans-serif;
  letter-spacing: .13em;
}
.s4-brand-intro__top span:last-child { color: #5e7380; }
.s4-brand-intro__sequence {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(1180px, 100%);
  min-height: 240px;
  margin: auto;
  text-align: center;
}
.s4-brand-intro__phrase {
  grid-area: 1 / 1;
  width: 100%;
  margin: 0;
  color: #0b3153;
  font-family: "Albert Sans", sans-serif;
  font-size: clamp(37px, 5.2vw, 84px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
  transform-origin: center;
  will-change: opacity, transform, filter;
}
.s4-brand-intro__word { display: inline-block; color: inherit; }
.s4-brand-intro__word--accent { color: #168eaf; }
.s4-brand-intro__phrase--two,
.s4-brand-intro__phrase--logo { opacity: 0; }
.s4-brand-intro__phrase--two { font-size: clamp(38px, 4.95vw, 80px); }
.s4-brand-intro__phrase--logo { display: flex; align-items: center; justify-content: center; }
.s4-brand-intro__phrase--logo img {
  display: block;
  width: clamp(220px, 22vw, 310px);
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(17, 103, 151, .13));
}
.s4-brand-intro.is-playing .s4-brand-intro__phrase--one { animation: s4BrandFirst 11s infinite both; }
.s4-brand-intro.is-playing .s4-brand-intro__phrase--two { animation: s4BrandSecond 11s infinite both; }
.s4-brand-intro.is-playing .s4-brand-intro__phrase--logo { animation: s4BrandLogo 11s infinite both; }
.s4-brand-intro.is-playing .s4-brand-intro__phrase--one .s4-brand-intro__word {
  animation: s4BrandWordFirst 11s infinite both;
  animation-delay: calc(var(--word) * .13s);
}
.s4-brand-intro.is-playing .s4-brand-intro__phrase--two .s4-brand-intro__word {
  animation: s4BrandWordSecond 11s infinite both;
  animation-delay: calc(var(--word) * .13s);
}
.s4-brand-intro__progress {
  display: block;
  width: 130px;
  height: 2px;
  background: #dbe6eb;
}
.s4-brand-intro__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #168eaf;
  transform: scaleX(0);
  transform-origin: left;
}
.s4-brand-intro.is-playing .s4-brand-intro__progress i { animation: s4BrandProgress 11s linear infinite both; }
.s4-brand-intro__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  min-height: 44px;
  border-bottom: 1px solid #b8cad3;
  color: #0b3153;
  font: 600 14px/1.4 Pretendard, "Noto Sans KR", sans-serif;
}
.s4-brand-intro__bottom a:hover { border-color: #168eaf; color: #0867b2; }
.s4-brand-intro__bottom a span { font: 500 23px/1 "Albert Sans", sans-serif; }
@keyframes s4BrandFirst {
  0% { opacity: 0; transform: translateY(42px) scale(.94); filter: blur(8px); }
  9%, 25% { opacity: 1; transform: none; filter: blur(0); }
  34%, 100% { opacity: 0; transform: translateY(-42px) scale(1.045); filter: blur(8px); }
}
@keyframes s4BrandSecond {
  0%, 29% { opacity: 0; transform: translateY(48px) scale(.94); filter: blur(8px); }
  39%, 57% { opacity: 1; transform: none; filter: blur(0); }
  67%, 100% { opacity: 0; transform: translateY(-42px) scale(1.045); filter: blur(8px); }
}
@keyframes s4BrandLogo {
  0%, 63% { opacity: 0; transform: translateY(42px) scale(.78) rotate(-3deg); filter: blur(10px); }
  75%, 89% { opacity: 1; transform: none; filter: blur(0); }
  100% { opacity: 0; transform: translateY(-30px) scale(1.14) rotate(2deg); filter: blur(9px); }
}
@keyframes s4BrandWordFirst {
  0% { opacity: 0; transform: translateY(44px) rotateX(-48deg); }
  11%, 25% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-20px); }
}
@keyframes s4BrandWordSecond {
  0%, 29% { opacity: 0; transform: translateY(44px) rotateX(-48deg); }
  40%, 57% { opacity: 1; transform: none; }
  67%, 100% { opacity: 0; transform: translateY(-20px); }
}
@keyframes s4BrandSignal {
  0% { stroke-dashoffset: 100; }
  75%, 88% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}
@keyframes s4BrandProgress { to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .s4-brand-intro { min-height: min(720px, 88svh); padding: 30px 20px 32px; }
  .s4-brand-intro__map { width: 1200px; max-width: none; }
  .s4-brand-intro__map { opacity: .23; }
  .s4-brand-intro__signal { top: 52%; height: 240px; }
  .s4-brand-intro__top { font-size: 10px; }
  .s4-brand-intro__top span:last-child { display: none; }
  .s4-brand-intro__sequence { min-height: 225px; }
  .s4-brand-intro__phrase, .s4-brand-intro__phrase--two { font-size: clamp(34px, 9.2vw, 59px); line-height: 1.12; }
  .s4-brand-intro__phrase--logo img { width: 249px; }
  .s4-brand-intro__progress { width: 80px; }
  .s4-brand-intro__bottom a { gap: 12px; font-size: 13px; }
}
@media (max-width: 360px) {
  .s4-brand-intro__phrase, .s4-brand-intro__phrase--two { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .s4-brand-intro { min-height: 660px; }
  .s4-brand-intro__sequence { display: flex; flex-direction: column; gap: 25px; }
  .s4-brand-intro__phrase, .s4-brand-intro__phrase--two, .s4-brand-intro__phrase--logo {
    opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important;
  }
  .s4-brand-intro__phrase, .s4-brand-intro__phrase--two { font-size: clamp(24px, 3.8vw, 50px); }
  .s4-brand-intro__phrase--logo img { width: 249px; }
  .s4-brand-intro__signal path { animation: none !important; stroke-dashoffset: 0; }
  .s4-brand-intro__progress i { transform: scaleX(1); animation: none !important; }
}
