/* KIHPS home welcome options: 1 Spotlight · 2 Tabs · 3 Pillars. One shows via :root[data-welcome]. */
.wv { display: none; }
:root[data-welcome="1"] .wv-1, :root[data-welcome="2"] .wv-2, :root[data-welcome="3"] .wv-3 { display: block; }
.hero-switching .wv { animation: heroIn .7s var(--ease); }
.wv h2 em { color: var(--red); }

/* ---------- 1 · Spotlight */
.wv1-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.wv1-copy h2 { font-size: calc(clamp(32px, 3.4vw, 48px) * var(--hs, 1)); margin-bottom: 16px; }
.wv1-copy .lead { margin-bottom: 24px; font-size: calc(17px * var(--ts, 1)); }
.wv1-values { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.wv1-values li { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 10px 24px -18px rgba(3,26,56,.35); transition: transform .5s cubic-bezier(.34,1.4,.5,1), border-color .3s, box-shadow .4s; }
.wv1-values li:hover { transform: translateX(8px); border-color: var(--sky-200); box-shadow: var(--shadow); }
.wv-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--navy);
  transition: background .35s, color .35s, transform .5s cubic-bezier(.4,1.6,.5,1); }
.wv-ico svg { width: 24px; height: 24px; }
.wv1-values li:hover .wv-ico { background: var(--red); color: #fff; transform: rotate(-8deg); }
.wv1-values b { display: block; font-weight: 600; font-size: calc(16px * var(--ts, 1)); color: var(--ink); }
.wv1-values small { display: block; margin-top: 2px; font-size: calc(14px * var(--ts, 1)); line-height: 1.45; color: var(--muted); }
.wv1-media { position: relative; min-height: 500px; --mx: 0; --my: 0; }
.wv1-main, .wv1-small, .wv1-vision { transition: translate .9s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.34,1.35,.5,1), box-shadow .6s var(--ease); }
.wv1-main { position: absolute; left: 0; top: 0; width: 78%; height: 84%; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  translate: calc(var(--mx) * -10px) calc(var(--my) * -10px); }
.wv1-small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; margin: 0; border-radius: 24px; overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow-lg);
  translate: calc(var(--mx) * 18px) calc(var(--my) * 18px); }
.wv1-main img, .wv1-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.wv1-vision { position: absolute; left: 5%; bottom: 3%; width: 48%; padding: 18px 20px; border-radius: 18px; background: var(--abyss); color: #c3d1e2; box-shadow: var(--shadow-lg);
  translate: calc(var(--mx) * 14px) calc(var(--my) * 14px); }
.wv1-vision span { display: inline-flex; align-items: center; gap: 8px; font: 600 calc(11.5px * var(--ts, 1))/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.wv1-vision span svg { width: 16px; height: 16px; transition: transform .9s var(--ease); }
.wv1-vision p { margin: 10px 0 0; font: 700 calc(15.5px * var(--hs, 1))/1.45 var(--serif); color: #fff; }
.wv1-badge { position: absolute; right: 4%; top: 6%; z-index: 2; width: 116px; height: 116px; translate: calc(var(--mx) * 26px) calc(var(--my) * 26px);
  animation: chipBob 6s ease-in-out infinite; transition: translate .9s cubic-bezier(.2,.8,.2,1); }
.wv1-badge-in { position: relative; width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 14px; text-align: center; background: radial-gradient(circle at 35% 30%, #e23440, var(--red) 55%, #a9141f); color: #fff;
  box-shadow: 0 18px 36px -14px rgba(204,29,41,.8);
  transition: transform .7s cubic-bezier(.34,1.45,.5,1), box-shadow .6s var(--ease); }
.wv1-badge-in::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.55); transition: transform 1.6s var(--ease); }
.wv1-badge-in svg { width: 22px; height: 22px; margin-bottom: 2px; }
.wv1-badge-in b { display: block; font: 700 calc(16px * var(--ts, 1))/1 var(--sans); letter-spacing: .01em; }
.wv1-badge-in small { display: block; font: 600 calc(9px * var(--ts, 1))/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
/* group hover: everything moves a little */
.wv1-media:hover .wv1-main img { transform: scale(1.05); }
.wv1-media:hover .wv1-small { transform: translateY(-6px) rotate(-1.5deg); }
.wv1-media:hover .wv1-vision { transform: translateY(-6px); }
.wv1-media:hover .wv1-vision span svg { transform: rotate(180deg); }
.wv1-media:hover .wv1-badge-in::before { transform: rotate(180deg); }
/* the piece under the cursor moves a little more */
.wv1-main:hover { box-shadow: 0 40px 80px -40px rgba(3,26,56,.7); }
.wv1-media .wv1-small:hover { transform: translateY(-12px) rotate(-3deg) scale(1.04); box-shadow: 0 40px 70px -30px rgba(3,26,56,.7); }
.wv1-small:hover img { transform: scale(1.08); }
.wv1-media .wv1-vision:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 40px 70px -30px rgba(2,10,22,.8); }
.wv1-badge:hover .wv1-badge-in { transform: scale(1.1) rotate(-6deg); box-shadow: 0 26px 50px -16px rgba(204,29,41,.95); }
.wv1-badge:hover .wv1-badge-in::before { transform: rotate(360deg); }

/* ---------- 2 · Tabs */
.wv2-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border-radius: 32px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.wv2-text { padding: clamp(28px, 4vw, 56px); }
.wv2-text h2 { font-size: calc(clamp(30px, 3vw, 44px) * var(--hs, 1)); margin-bottom: 26px; }
.wv2-tabs { position: relative; display: inline-flex; gap: 2px; max-width: 100%; padding: 5px; margin-bottom: 24px; border-radius: 99px; background: var(--frost); border: 1px solid var(--line-2); }
.wv2-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; white-space: nowrap;
  font-weight: 600; font-size: calc(14.5px * var(--ts, 1)); color: var(--muted); transition: color .35s; }
.wv2-tabs button svg { width: 17px; height: 17px; }
.wv2-tabs button:hover { color: var(--ink); }
.wv2-tabs button[aria-selected="true"] { color: #fff; }
.wv2-ink { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 0; border-radius: 99px; background: var(--brand); box-shadow: 0 8px 18px -8px rgba(7,72,149,.7);
  transition: transform .55s cubic-bezier(.3,1.25,.4,1), width .55s cubic-bezier(.3,1.25,.4,1), height .55s; }
.wv2-panes { display: grid; }
.wv2-pane { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s, transform .6s var(--ease); }
.wv2-pane.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .08s; }
.wv2-pane h3 { font-size: calc(clamp(22px, 2vw, 28px) * var(--hs, 1)); margin-bottom: 10px; }
.wv2-pane p { margin: 0 0 22px; color: var(--muted); font-size: calc(16px * var(--ts, 1)); line-height: 1.65; }
.wv2-pics { position: relative; min-height: 460px; background: var(--abyss); }
.wv2-pics figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.07); transition: opacity .7s, transform 1.4s var(--ease); }
.wv2-pics figure.on { opacity: 1; transform: none; }
.wv2-pics img { width: 100%; height: 100%; object-fit: cover; }
.wv2-pics::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(2,16,36,.55)); }
.wv2-cross { position: absolute; left: 24px; bottom: 24px; z-index: 2; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--red);
  box-shadow: 0 16px 30px -12px rgba(204,29,41,.8); }
.wv2-cross svg { width: 32px; height: 32px; animation: heartbeat 1.7s ease-in-out infinite; }
.wv2-cross svg path { fill: #fff; stroke: none; }

/* ---------- 3 · Pillars */
.wv3-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 30px; }
.wv3-head h2 { font-size: calc(clamp(30px, 3.2vw, 46px) * var(--hs, 1)); }
.wv3-head p { margin: 0 0 14px; color: var(--muted); }
.wv3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wv3-card { position: relative; height: 380px; border-radius: 26px; overflow: hidden; color: #fff; background: var(--abyss); isolation: isolate; outline: 0;
  transition: transform .7s cubic-bezier(.34,1.4,.5,1), box-shadow .5s; }
.wv3-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.wv3-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,16,36,.05) 25%, rgba(2,16,36,.9)); transition: opacity .5s; }
.wv3-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,72,149,.55), rgba(3,26,56,.95)); opacity: 0; transition: opacity .55s; }
.wv3-card:hover, .wv3-card:focus-visible { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.wv3-card:hover::before, .wv3-card:focus-visible::before { opacity: 1; }
.wv3-card:hover img, .wv3-card:focus-visible img { transform: scale(1.08); }
.wv3-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.wv3-n { position: absolute; top: 18px; right: 24px; font: 700 calc(46px * var(--hs, 1))/1 var(--serif); color: rgba(255,255,255,.4); }
.wv3-ico { width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--red);
  transition: transform .6s cubic-bezier(.4,1.6,.5,1); }
.wv3-ico svg { width: 25px; height: 25px; }
.wv3-card:hover .wv3-ico { transform: rotate(-12deg) scale(1.08); }
.wv3-body h3 { color: #fff; font-size: calc(26px * var(--hs, 1)); margin-bottom: 6px; }
.wv3-short { margin: 0; font-size: calc(15px * var(--ts, 1)); line-height: 1.5; color: #d4e1ef; }
.wv3-more { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: calc(14.5px * var(--ts, 1)); line-height: 1.55; color: #c3d1e2; transition: max-height .6s var(--ease), opacity .45s, margin .5s; }
.wv3-card:hover .wv3-more, .wv3-card:focus-visible .wv3-more { max-height: 110px; opacity: 1; margin-top: 10px; }

@media (max-width: 1020px) {
  .wv1-grid, .wv2-card, .wv3-head { grid-template-columns: 1fr; }
  .wv1-media { min-height: 420px; }
  .wv2-pics { order: -1; min-height: 280px; }
  .wv3-cards { grid-template-columns: 1fr 1fr; }
  .wv3-cards .wv3-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .wv1-media { min-height: 360px; }
  .wv1-vision { width: 66%; padding: 14px 16px; }
  .wv1-vision p { font-size: calc(14px * var(--ts, 1)); }
  .wv1-badge { width: 92px; height: 92px; }
  .wv1-badge-in b { font-size: calc(14px * var(--ts, 1)); }
  .wv1-badge-in small { font-size: calc(8px * var(--ts, 1)); }
  .wv1-badge-in svg { width: 18px; height: 18px; }
  .wv2-tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; width: 100%; }
  .wv2-tabs button { justify-content: center; border-radius: 16px; }
  .wv2-ink { border-radius: 16px; }
  .wv2-pics { min-height: 220px; }
  .wv3-cards { grid-template-columns: 1fr; }
  .wv3-card { height: 300px; }
  .wv3-more { max-height: 110px; opacity: 1; margin-top: 8px; }
}
