/* KIHPS home student voices options: 1 Spotlight · 2 Wall · 3 Stack. One shows via :root[data-voices]. */
.vv { display: none; }
:root[data-voices="1"] .vv-1, :root[data-voices="2"] .vv-2, :root[data-voices="3"] .vv-3 { display: block; }
.hero-switching .vv { animation: heroIn .7s var(--ease); }
.vv-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .side.vv-side { justify-items: end; align-self: end; padding-bottom: 10px; }
.vv-stat { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: var(--frost); border: 1px solid var(--line-2); font-size: calc(14px * var(--ts, 1)); color: var(--muted); }
.vv-stat b { font: 700 calc(22px * var(--hs, 1))/1 var(--serif); color: var(--red); }
.vq { width: 44px; height: 36px; fill: var(--red); opacity: .9; }

/* ---------- 1 · Spotlight */
.vs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px);
  border-radius: 32px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.vs::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; opacity: .05;
  background: linear-gradient(var(--red), var(--red)) center / 100% 30% no-repeat, linear-gradient(var(--red), var(--red)) center / 30% 100% no-repeat; transform: rotate(12deg); }
.vs-left { display: grid; justify-items: center; gap: 22px; }
.vs-portrait { position: relative; width: 220px; height: 220px; }
.vs-ring { position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed var(--sky-200); animation: spin 40s linear infinite; }
.vs-photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: 0; transform: scale(.85) rotate(-8deg);
  transition: opacity .55s, transform .8s cubic-bezier(.34,1.4,.5,1); box-shadow: 0 24px 50px -24px rgba(3,26,56,.6); border: 6px solid var(--card); }
.vs-photo.on { opacity: 1; transform: none; }
.vs-photo img { width: 100%; height: 100%; object-fit: cover; }
.vs-cross { position: absolute; right: 4px; bottom: 10px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red);
  box-shadow: 0 12px 24px -10px rgba(204,29,41,.8); }
.vs-cross svg { width: 26px; height: 26px; animation: heartbeat 1.7s ease-in-out infinite; }
.vs-cross svg path { fill: #fff; stroke: none; }
.vs-avs { display: flex; gap: 10px; }
.vs-av { position: relative; width: 60px; height: 60px; border-radius: 50%; transition: transform .5s cubic-bezier(.34,1.5,.5,1); }
.vs-av img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); border-radius: 50%; object-fit: cover; filter: grayscale(.6); opacity: .7; transition: filter .4s, opacity .4s; }
.vs-av svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vs-av circle { fill: none; stroke: var(--line); stroke-width: 3; }
.vs-av:hover { transform: translateY(-4px); }
.vs-av:hover img, .vs-av.on img { filter: none; opacity: 1; }
.vs-av.on circle { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 207.3; stroke-dashoffset: 207.3; animation: ringFill 7s linear forwards; }
@keyframes ringFill { to { stroke-dashoffset: 0; } }
.vs-quotes { display: grid; }
.vs-q { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .5s, transform .7s var(--ease); }
.vs-q.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .1s; }
.vs-q blockquote { margin: 16px 0 24px; font: 700 calc(clamp(22px, 2.2vw, 31px) * var(--hs, 1))/1.42 var(--serif); color: var(--ink); letter-spacing: -.005em; }
.vs-q figcaption b { display: block; font-size: calc(17px * var(--ts, 1)); color: var(--ink); }
.vs-q figcaption span { display: block; margin-top: 3px; font-size: calc(14px * var(--ts, 1)); color: var(--muted); }

/* ---------- 2 · Wall */
.vw-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.vw { position: relative; display: flex; flex-direction: column; margin: 0; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line-2);
  transition: transform .6s cubic-bezier(.34,1.4,.5,1), box-shadow .5s, border-color .4s; }
.vw:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-lg); border-color: var(--sky-200); }
.vw .vq { width: 34px; height: 28px; transition: transform .6s cubic-bezier(.4,1.6,.5,1); }
.vw:hover .vq { transform: scale(1.15) rotate(-6deg); }
.vw blockquote { flex: 1; margin: 14px 0 20px; font-size: calc(15.5px * var(--ts, 1)); line-height: 1.65; color: var(--text); }
.vw figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.vw figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sky-50); transition: transform .5s cubic-bezier(.34,1.5,.5,1); }
.vw:hover figcaption img { transform: scale(1.08); }
.vw figcaption b { display: block; font-size: calc(15px * var(--ts, 1)); color: var(--ink); }
.vw figcaption small { display: block; font-size: calc(12.5px * var(--ts, 1)); color: var(--muted); }
.vw-tag { margin-left: auto; padding: 5px 10px; border-radius: 99px; background: var(--sky-50); color: var(--navy); font: 600 calc(11px * var(--ts, 1))/1 var(--sans); font-style: normal; letter-spacing: .04em; white-space: nowrap; }
.vw-feat { grid-row: 1 / 3; background: radial-gradient(130% 120% at 100% 0, #0a3a75 0, var(--abyss) 70%); border-color: transparent; color: #c3d1e2; }
.vw-feat .vq { width: 54px; height: 44px; fill: var(--gold); }
.vw-feat blockquote { font: 700 calc(clamp(22px, 2vw, 28px) * var(--hs, 1))/1.45 var(--serif); color: #fff; }
.vw-feat figcaption { border-top-color: rgba(255,255,255,.15); }
.vw-feat figcaption b { color: #fff; }
.vw-feat figcaption small { color: #9fb2c8; }
.vw-feat .vw-tag { background: var(--red); color: #fff; }
.vw-feat figcaption img { border-color: rgba(255,255,255,.15); }
.vw:nth-child(4) { grid-column: 2 / 4; }

/* ---------- 3 · Stack */
.vk-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vk-copy .lead { margin-bottom: 26px; }
.vk-ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vk-hint { margin-left: 6px; font-size: calc(13px * var(--ts, 1)); color: var(--muted); }
.vk-deck { position: relative; height: 390px; cursor: pointer; }
.vk { position: absolute; inset: 0; margin: 0; padding: 30px 32px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.3,1.25,.4,1), opacity .6s, filter .6s; }
.vk:nth-child(odd) { background: linear-gradient(160deg, var(--card), var(--frost)); }
.vk-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.vk-top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sky-50); }
.vk-top b { display: block; font-size: calc(17px * var(--ts, 1)); color: var(--ink); }
.vk-top small { display: block; font-size: calc(13px * var(--ts, 1)); color: var(--muted); }
.vk-n { margin-left: auto; font: 700 calc(40px * var(--hs, 1))/1 var(--serif); color: var(--red); }
.vk-n i { font-size: calc(16px * var(--ts, 1)); color: var(--muted); }
.vk blockquote { margin: 12px 0 0; font: 700 calc(clamp(19px, 1.8vw, 24px) * var(--hs, 1))/1.5 var(--serif); color: var(--ink); }
.vk.fly { transform: translate(60%, -10%) rotate(14deg) !important; opacity: 0 !important; }

@media (max-width: 1020px) {
  .section-head .side.vv-side { justify-items: start; }
  .vs { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .vs-q .vq { margin: 0 auto; display: block; }
  .vw-grid { grid-template-columns: 1fr 1fr; }
  .vw-feat { grid-row: auto; grid-column: 1 / -1; }
  .vw:nth-child(4) { grid-column: auto; }
  .vk-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .vs { padding: 24px 18px; }
  .vs-portrait { width: 170px; height: 170px; }
  .vs-av { width: 52px; height: 52px; }
  .vw-grid { grid-template-columns: 1fr; }
  .vw { padding: 20px; }
  .vk-deck { height: 440px; }
  .vk { padding: 22px; }
  .vk-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vs-ring, .vs-cross svg { animation: none; } }
.vv figcaption::before { display: none; }
.vv figcaption { margin-top: 0; font-size: inherit; color: inherit; }
.vs-q figcaption { display: block; }
.vs::before { right: -90px; top: -90px; opacity: .035; }
.vw-tag { display: none; }
