/* 千里馬 KV styles */
.kv{--red:#d3221c;--gold:#d0ac3f;--cream:#fdf7ea;
  position:relative;container-type:inline-size;width:100%;max-width:100%;overflow:hidden;background:#fff;font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;color:#fff}
/* Webflow guard: an Embed inside a flex section shrinks to its content, and the KV (a size container) has none -> width 0.
   Force the embed wrapper and its parent to full width. */
.w-embed:has(> .kv), :has(> .w-embed > .kv){width:100%;flex:1 1 100%;min-width:0;align-self:stretch}
/* background layer: a child, so container queries can restyle it (they can't restyle the container itself) */
.kv-ground{position:absolute;inset:0;background:#fff}
/* stage = 1920x1040 artboard (horse-kv_3.ai, plus ribbon & red ground a further 20px lower); top % = artboard y / 1040 */
.kv-stage{position:relative;width:100%;aspect-ratio:1920/1040;overflow:hidden}
/* positions taken from the artboard: left/top/width = artboard px / 1920 (x) or / 1040 (y) */
.kv-bg{position:absolute;left:0;top:0;width:100%;height:97.965%;display:block}
.kv-sun{position:absolute;display:block;height:auto;overflow:visible;will-change:transform}
.kv-sun--big{left:60.05%;top:-8.269%;width:28.04%}
.kv-sun--small{left:53.8%;top:15.288%;width:21.46%}
.kv-belt{position:absolute;left:-4.117%;top:61.949%;width:105.755%;height:auto;display:block}
/* the PNG's ribbons are cut at its left edge, so the horse only ever moves left of x=0 */
.kv-horse{position:absolute;left:0;top:4.615%;width:51.9%;will-change:transform;pointer-events:none;user-select:none}
.kv-horse-img{display:block;width:100%;height:auto}
/* transparent videos sit exactly on top of the still; only one of img/video is visible at a time */
.kv-horse-vid{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;display:block}
/* faux italic: skewY lifts the baseline to the right, skewX leans the strokes right (per line via .kv-i) */
/* sizes & spacing from horse-kv_2.ai (artboard px / 19.2 = cqw); column centred at x=1285, baseline rising ~7.6deg */
.kv-copy{position:absolute;left:66.93%;top:10.865%;width:34cqw;transform:translateX(-50%) skewY(-7.6deg);text-align:center;display:grid;justify-items:center}
.kv-i{display:inline-block;transform:skewX(-9deg)}
.kv-copy-in{display:grid;justify-items:center;will-change:transform}
/* tagline: ~90% of the headline's width */
.kv-tag{font-weight:400;font-size:1.488cqw;letter-spacing:.02em;line-height:1;margin:0}
.kv-head{font-weight:900;font-size:3.11cqw;line-height:1;letter-spacing:.01em;margin:.95cqw 0 0;transform:skewX(-9deg);text-shadow:0 .2cqw .5cqw rgba(110,10,5,.25);white-space:nowrap}
.kv-head span,.kv-code span{display:inline-block}
.kv-warn br.m{display:none}
.kv-code{font-weight:900;font-size:7.07cqw;line-height:1;letter-spacing:-.005em;margin:.34cqw 0 0;transform:skewX(-9deg);white-space:nowrap;text-shadow:0 .25cqw .7cqw rgba(110,10,5,.25)}
/* light streak under the headline: tapered glow (ellipse) + a thin bright core */
.kv-glint{position:relative;width:36cqw;height:1.1cqw;margin:1.02cqw 0 0;transform-origin:50% 50%;
  background:radial-gradient(50% 50% at 50% 50%,rgba(255,226,170,.8) 0%,rgba(255,180,100,.35) 40%,rgba(255,150,80,0) 100%)}
.kv-glint::after{content:"";position:absolute;left:0;right:0;top:50%;height:.13cqw;transform:translateY(-50%);
  background:radial-gradient(50% 50% at 50% 50%,#fff 0%,#fff3d2 30%,rgba(255,226,170,.6) 65%,rgba(255,220,160,0) 100%)}
.kv-fund{display:grid;justify-items:center;margin-top:.27cqw}
.kv-name{font-weight:700;font-size:1.557cqw;line-height:1;margin:0;transform:skewX(-9deg)}
.kv-warn{font-weight:700;font-size:1.557cqw;line-height:1;color:var(--gold);margin:.37cqw 0 0;transform:skewX(-9deg);white-space:nowrap}
/* wrapper lets the two edge flares spill outside the badge (the badge itself clips its shine) */
.kv-badge-wrap{position:relative;margin-top:1.55cqw}
.kv-flare{position:absolute;width:11cqw;height:1.9cqw;margin:-.95cqw 0 0 -5.5cqw;pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(50% 50% at 50% 50%,#fff 0%,#fff 6%,rgba(255,244,210,.95) 12%,rgba(255,222,160,.6) 26%,rgba(255,196,130,.22) 52%,rgba(255,190,120,0) 100%)}
.kv-flare--top{left:24%;top:0}
.kv-flare--bot{left:52%;top:100%}
.kv-badge{position:relative;margin-top:0;padding:.35cqw 1.25cqw .4cqw;background:linear-gradient(100deg,#c98f2c 0%,#f6dc8e 22%,#e9b94f 48%,#fbe7a8 70%,#c48a2a 100%);box-shadow:0 .3cqw .8cqw rgba(90,20,0,.25);overflow:hidden;white-space:nowrap}
/* date numerals: Barlow Condensed on every device; 1px white shadow (x:0, y:1) under the whole date line */
.kv-date{display:inline-flex;align-items:center;line-height:1;gap:.55cqw;transform:skewX(-9deg);color:#c3161c;vertical-align:middle;white-space:nowrap;text-shadow:0 1px 0 #fff}
.kv-date .y{font-weight:700;font-size:1.453cqw;line-height:1}
.kv-date .d{font-family:"Barlow Condensed","Noto Sans TC",sans-serif;font-weight:800;font-size:2.71cqw;line-height:1;letter-spacing:.01em}
.kv-date .t{font-weight:700;font-size:1.302cqw;line-height:1;margin-left:.2cqw}
.kv-shine{position:absolute;top:-20%;bottom:-20%;left:0;width:30%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);transform:translateX(-150%) skewX(-20deg);pointer-events:none}
/* legal text 13px, fund code 12px, at every width; left edge on the warning's left edge */
.kv-legal{position:absolute;left:51.98%;top:calc(60.577% - max(0px, (1440px - 100cqw) * .07));width:max(29.1%, 452px);box-sizing:border-box;border-top:1px solid rgba(250,245,225,.55);padding:15px 0 0 14px;font-size:13px;line-height:1.65;font-weight:700;color:#faf5e1;text-align:justify;margin:0;font-feature-settings:'palt' 1;letter-spacing:-.01em}
.kv-legal .code{font-size:12px;margin-left:.3em;white-space:nowrap}
.kv-anim .kv [data-a]{visibility:hidden}

/* phone / narrow: stack copy over horse */
@container (max-width:640px){
  .kv-ground{background:linear-gradient(to bottom,var(--red) calc(100% - 30cqw),#fff calc(100% - 30cqw))}
  .kv-stage{position:static;aspect-ratio:auto;height:192.5cqw;overflow:visible}
  .kv-sun--big{left:46cqw;top:-34cqw;width:92cqw}
  .kv-sun--small{left:-4cqw;top:26cqw;width:64cqw}
  /* red ground + ribbon keep the desktop geometry, scaled so the ribbon's right half runs along the bottom */
  .kv-bg{display:block;top:auto;bottom:3.1cqw;left:-91.6cqw;width:203.3cqw;height:101.2cqw}
  .kv-belt{left:-100cqw;top:auto;bottom:0;width:215cqw}
  /* same slant as desktop: baseline rising 7.6deg, letters leaning 9deg (skewX rules inherited from desktop) */
  .kv-copy{left:50%;top:13cqw;width:96cqw;transform:translateX(-50%) skewY(-7.6deg)}
  .kv-tag{font-size:4.79cqw}
  .kv-head{font-size:10cqw;margin-top:2.2cqw}
  .kv-glint{width:88cqw;height:2.2cqw;margin-top:2.4cqw}.kv-glint::after{height:.35cqw}
  .kv-code{font-size:22.6cqw;margin-top:-.6cqw;letter-spacing:-.015em}
  .kv-fund{margin-top:.2cqw}.kv-name{font-size:4.8cqw}
  .kv-warn{font-size:4.8cqw;margin-top:1cqw}
  .kv-badge-wrap{margin-top:3.6cqw}.kv-badge{padding:1.5cqw 4cqw 1.7cqw}
  .kv-flare{width:22cqw;height:4cqw;margin:-2cqw 0 0 -11cqw}
  .kv-date{gap:1.8cqw}.kv-date .y{font-size:4.3cqw}.kv-date .d{font-size:8.6cqw}.kv-date .t{font-size:3.9cqw}
  .kv-horse{width:102.6cqw;left:0;top:87.5cqw}
  .kv-legal{position:relative;z-index:3;width:auto;left:auto;top:auto;margin:0 3.5cqw;padding:4cqw 1cqw 36cqw;border-top:1px solid rgba(250,245,225,.55);font-size:13px;font-weight:500;line-height:1.65;background:none;text-align:left;font-feature-settings:normal;letter-spacing:0}
}
@media (prefers-reduced-motion:reduce){.kv-anim .kv [data-a]{visibility:visible}}
