.stage { --hero-ink: #f3f6f7; --hero-ink-2: #b7c4ca; --glass-1: #ffffff14; --edge-1: #ffffff2e; }

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 32px clamp(28px, 4vw, 56px); align-items: stretch;
  padding: clamp(24px, 3vw, 40px); border-radius: 26px; color: var(--hero-ink);
  background:
    radial-gradient(55% 70% at 85% 30%, #3cc3d42e 0%, #3cc3d400 60%),
    radial-gradient(45% 60% at 0% 100%, #087e9633 0%, #087e9600 70%),
    var(--night);
  box-shadow: 0 40px 80px -50px #0b1116aa;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, #ffffff1c 1px, transparent 1.5px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(60% 90% at 80% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 90% at 80% 50%, #000 0%, transparent 75%);
}
.stage > * { max-width: none; margin: 0; }

.stage__talk { display: grid; gap: 18px; align-content: center; transition: opacity 0.18s ease, transform 0.18s ease; }
.stage__talk.is-swapping { opacity: 0; transform: translateY(6px); }
.stage__eyebrow { color: var(--hero-ink-2); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.stage__eyebrow em { font-style: normal; color: var(--teal-2); background: linear-gradient(transparent 70%, #3cc3d42e 70%); }
.stage__line { display: grid; gap: 8px; }
.stage__who { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hero-ink-2); }
.stage__line--a .stage__who { color: var(--teal-2); }
.stage__orb { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px #3cc3d455, 0 0 18px #3cc3d466; }
.stage__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.05rem); line-height: 1.22; letter-spacing: -0.012em; color: var(--hero-ink); text-wrap: balance; min-height: 3.66em; }
.stage__a {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.38; color: #e6eef1;
  min-height: calc(2.76em + 34px); padding: 16px 20px; border-radius: 18px; border-top-left-radius: 6px; background: var(--glass-1); border: 1px solid var(--edge-1);
}
.stage__line[dir="rtl"] { text-align: right; }
.stage__line[dir="rtl"] .stage__a { border-radius: 18px; border-top-right-radius: 6px; }
.stage__q:lang(zh), .stage__a:lang(zh), .stage__q:lang(ko), .stage__a:lang(ko) { letter-spacing: 0; }

.stage__sound { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.stage__play {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 0; cursor: pointer; background: var(--teal-2); color: var(--ink);
  font: 500 0.95rem/1 var(--font-body); transition: background 0.2s, box-shadow 0.2s;
}
.stage__play:hover { background: #7fdbe6; box-shadow: 0 10px 28px -10px #3cc3d4aa; }
.stage__play svg { width: 18px; height: 18px; fill: currentColor; }
.stage__play .p-stop, .stage__play[aria-pressed="true"] .p-play { display: none; }
.stage__play[aria-pressed="true"] .p-stop { display: block; }
.stage__play b { font-weight: 600; }
.stage__wave { flex: 1 1 auto; display: flex; align-items: center; gap: 3px; height: 32px; min-width: 0; overflow: hidden; }
.stage__wave i { flex: 1 1 0; min-width: 2px; max-width: 4px; height: calc(10px + 18px * (0.5 + 0.5 * sin(var(--i) * 0.9))); border-radius: 2px; background: #ffffff55; transform-origin: center; transition: background 0.3s; }
.is-playing .stage__wave i { background: var(--teal-2); animation: wwd2-wave 0.9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.07s); }
@keyframes wwd2-wave { from { transform: scaleY(0.35); } to { transform: scaleY(1.15); } }
.stage__time { flex: none; color: var(--hero-ink-2); font-size: 0.78rem; }

.stage__langs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; align-content: stretch; gap: 10px; }
.lang {
  display: grid; gap: 3px; align-content: center; min-height: 64px; padding: 10px 14px; text-align: left; cursor: pointer;
  border-radius: 14px; border: 1px solid #ffffff24; background: #ffffff0a; color: var(--hero-ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.lang:hover { border-color: #ffffff66; background: #ffffff14; }
.lang.is-on { border-color: var(--teal-2); box-shadow: inset 0 0 0 1px var(--teal-2); background: #3cc3d41f; }
.lang b { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; line-height: 1.15; }
.lang span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hero-ink-2); }
.lang.is-on span { color: var(--teal-2); }
.lang:focus-visible { outline-color: var(--teal-2); }
.stage__count { display: grid; align-content: center; gap: 4px; padding: 6px 12px; }
.stage__count b { font: 600 clamp(2.4rem, 2rem + 1vw, 3rem)/0.9 var(--font-display); letter-spacing: -0.05em; color: var(--teal-2); }
.stage__count span { font: 500 0.72rem/1.35 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-ink-2); white-space: nowrap; }

@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; }
  .stage__talk { max-width: 760px; }
}
@media (max-width: 700px) {
  .stage__langs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
  .stage__count { grid-column: span 2; grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .stage__eyebrow { font-size: 0.72rem; letter-spacing: 0.08em; }
  .lang { min-height: 60px; padding: 8px 10px; border-radius: 12px; }
  .lang b { font-size: 0.94rem; letter-spacing: -0.01em; }
  .lang span { font-size: 0.7rem; letter-spacing: 0.07em; }
}
@media (max-width: 560px) {
  .stage { padding: 20px 18px 18px; border-radius: 22px; gap: 24px; }
  .stage__talk { gap: 14px; }
  .stage__sound { flex-wrap: wrap; gap: 10px 12px; }
  .stage__wave { order: 3; flex-basis: 100%; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-playing .stage__wave i { animation: none; transform: none; }
}
.services .stage { margin-bottom: 28px; }
