/* ── S3 Layout (pin 기반, base .section 일부 오버라이드) ── */
#s3 {
  display: block;
  height: 100vh;
  min-height: unset;
  padding: 0;
  --s-accent: var(--color-muted-amber);
}

.s3-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Stats (공통) ── */
.s3-stat,
.s3-statement {
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  padding: 0 var(--container-px);
  max-width: 1232px;
  width: 100%;
}

/* ── Stat Eyebrow ── */
.s3-stat-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--color-muted-amber);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── Stat Number (130만, 3200억) ── */
.s3-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(92px, 17.6vw, 189px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-warm-ivory);
  margin-bottom: 24px;
}

/* ── Stat Word (약물 오남용) ── */
.s3-stat-word {
  font-family: var(--font-display);
  font-size: clamp(46px, 7.7vw, 90px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--color-warm-ivory);
  margin-bottom: 24px;
}

.s3-stat-detail {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.38);
  letter-spacing: 0.04em;
}

/* ── Statement ── */
.s3-statement-line {
  width: 1px;
  height: 56px;
  background: rgba(245, 240, 232, 0.2);
  margin: 0 auto 40px;
}

.s3-statement-copy {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-warm-ivory);
}

/* ── Statement Underline ── */
.s3-highlight {
  position: relative;
  display: inline-block;
}

.s3-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 14px;
  overflow: visible;
}

.s3-underline path {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  transition: stroke-dashoffset 0s linear;
}

.statement-active .s3-underline path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s ease;
}

/* ── Callout — 밑줄 오른쪽 끝 → 오른쪽 빈공간 ── */
.s3-callout {
  position: absolute;
  bottom: -4px;   /* 밑줄과 같은 높이 */
  left: 100%;     /* 하이라이트 span 오른쪽 끝 */
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0s;
  white-space: nowrap;
}

.statement-active .s3-callout {
  opacity: 1;
  transition: opacity 0.01s ease 0.85s;
}

.s3-callout-arrow {
  width: 180px;
  height: 70px;
  flex-shrink: 0;
}

.s3-arrow-path {
  stroke: rgba(245, 240, 232, 0.6);
  stroke-width: 1.8;
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  transition: stroke-dashoffset 0s;
}

.statement-active .s3-arrow-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.75s ease 0.9s;
}

.s3-arrow-head {
  stroke: rgba(245, 240, 232, 0.6);
  stroke-width: 1.8;
  fill: none;
  opacity: 0;
  transition: opacity 0s;
}

.statement-active .s3-arrow-head {
  opacity: 1;
  transition: opacity 0.25s ease 1.6s;
}

.s3-callout-text {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.8);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0s;
}

.statement-active .s3-callout-text {
  opacity: 1;
  transition: opacity 0.5s ease 1.65s;
}

/* ── Blink Text ── */
.s3-mobile-br { display: none; }

.s3-blink-text {
  margin-top: 46px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f0c050;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0s;
  -webkit-text-stroke: 0.5px rgba(200, 140, 20, 0.6);
  text-shadow:
    1px 1px 0 #b87e18,
    2px 2px 0 #9e6a10,
    3px 3px 0 #7a500a,
    4px 4px 0 #5a3a04;
}

.statement-active .s3-blink-text {
  animation: s3-fadein 0.9s ease-out 1.2s forwards;
}

@keyframes s3-fadein {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Review Label ── */
.s3-review-label {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(245, 240, 232, 0.45);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0s;
}

.statement-active .s3-review-label {
  opacity: 1;
  transition: opacity 0.7s ease 1.8s;
}

/* ── Progress Dots ── */
.s3-progress {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.s3-pdot {
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: rgba(245, 240, 232, 0.2);
  transition: background 0.4s, transform 0.4s;
}

.s3-pdot.on {
  background: var(--color-muted-amber);
  transform: scaleX(2.5);
}
