/* ============================================================
   ACG Kasa · personal hub
   fresh light-blue / Blue-Archive-inspired UI
   ============================================================ */
:root {
  --bg: #f4f9fd;
  --panel: #ffffff;
  --ink: #1d2b3d;
  --muted: #5e7390;
  --sky: #2f9ce8;
  --sky-deep: #1d7fd0;
  --cyan: #2ec4dd;
  --pink: #f56d97;
  --yellow: #ffd94d;
  --line: #d9e7f3;
  --r: 8px;
  --shadow: 0 10px 30px rgba(47, 124, 190, 0.10);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 85% -80px, rgba(47, 156, 232, 0.14), transparent 60%),
    radial-gradient(720px 460px at -120px 40%, rgba(46, 196, 221, 0.10), transparent 60%),
    radial-gradient(rgba(47, 156, 232, 0.055) 1.1px, transparent 1.6px);
  background-size: auto, auto, 26px 26px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-deep); text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ---------------- splash ---------------- */
#splash {
  position: fixed; inset: 0; z-index: 1000;
  background: #070406;
  cursor: pointer; overflow: hidden;
  display: block; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: opacity 0.5s ease;
}
#splash.out { opacity: 0; pointer-events: none; }
.splash-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  animation: splash-in 0.9s ease 0.05s forwards;
  filter: saturate(1.05);
}
@keyframes splash-in { to { opacity: 1; } }
#splash-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-vig {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(rgba(90, 0, 10, 0.08), rgba(90, 0, 10, 0.08));
  animation: vig-pulse 2.4s ease-in-out infinite;
}
@keyframes vig-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}
.splash-ui {
  position: absolute; inset: auto 0 7vh 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.splash-brand {
  color: #f3e9e6; font-size: 13px; font-weight: 800;
  letter-spacing: 0.55em; padding-left: 0.55em;
  text-shadow: 0 0 14px rgba(200, 20, 40, 0.7);
  opacity: 0; animation: splash-ui-in 0.8s ease 0.9s forwards;
}
.splash-hint {
  color: rgba(240, 226, 224, 0.82); font-size: 12px; letter-spacing: 0.28em; padding-left: 0.28em;
  opacity: 0; animation: splash-ui-in 0.8s ease 1.3s forwards, hint-blink 1.6s ease-in-out 2.1s infinite;
}
@keyframes splash-ui-in { to { opacity: 1; } }
@keyframes hint-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.splash-flash {
  position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none;
}
#splash.leaving .splash-flash { animation: flash 0.5s ease forwards; }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 0.95; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .splash-bg { animation: none; opacity: 1; }
  .splash-vig, .splash-hint { animation: none; opacity: 1; }
  .splash-brand { animation: none; opacity: 1; }
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 253, 255, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 231, 243, 0.9);
}
.nav::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--cyan) 35%, var(--yellow) 68%, var(--pink));
}
.nav-in {
  width: min(1120px, calc(100% - 40px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.logo-halo {
  width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid var(--sky);
  box-shadow: 0 0 0 3px rgba(47, 156, 232, 0.18);
  position: relative;
}
.logo-halo::after {
  content: ""; position: absolute; right: -2px; top: -2px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--yellow);
}
.logo-txt { font-weight: 800; font-size: 17px; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 4px; overflow-x: auto; }
.nav-links a {
  display: flex; flex-direction: column; align-items: center;
  padding: 7px 13px; border-radius: var(--r);
  color: var(--ink); line-height: 1.2; white-space: nowrap;
  position: relative; transition: background 0.2s;
}
.nav-links a b { font-size: 14px; font-weight: 600; }
.nav-links a i {
  font-style: normal; font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--muted); transform: scale(0.9);
}
.nav-links a:hover { background: rgba(47, 156, 232, 0.09); }
.nav-links a.on { color: var(--sky-deep); }
.nav-links a.on i { color: var(--sky); }
.nav-links a.on::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 2px;
  height: 3px; border-radius: 2px; background: var(--sky);
}

/* ---------------- sections ---------------- */
.sec { padding: 84px 0; scroll-margin-top: 60px; position: relative; }
.band {
  background:
    repeating-linear-gradient(135deg, rgba(47, 156, 232, 0.045) 0 16px, transparent 16px 32px),
    #e9f4fc;
  position: relative;
  margin: 30px 0;
}
/* scalloped cloud-like edges */
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 24px;
  background-image: radial-gradient(circle at 12px 24px, #e9f4fc 12px, transparent 13px);
  background-size: 24px 24px; background-repeat: repeat-x;
  pointer-events: none;
}
.band::before { top: -23px; }
.band::after { bottom: -23px; transform: scaleY(-1); }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.sec-no {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 40px;
  background: var(--sky); color: #fff;
  font-weight: 800; font-size: 15px; letter-spacing: 0.05em;
  border-radius: var(--r);
  transform: skewX(-8deg);
  box-shadow: 3px 3px 0 rgba(47, 156, 232, 0.25);
}
.sec-title h2 { margin: 0; font-size: 26px; line-height: 1.25; }
.sec-en {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--sky-deep); text-transform: uppercase;
}
.sec-line {
  flex: 1; height: 2px; margin-left: 8px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ---------------- hero ---------------- */
.hero { padding: 132px 0 96px; overflow: hidden; }
.hero-deco-halo {
  position: absolute; top: 40px; right: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 26px solid rgba(47, 156, 232, 0.07);
  pointer-events: none;
}
.hero-deco-stripes {
  position: absolute; bottom: -30px; left: -60px;
  width: 300px; height: 200px;
  background: repeating-linear-gradient(135deg, rgba(46, 196, 221, 0.12) 0 10px, transparent 10px 26px);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hero-id { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.avatar-ring {
  flex: none; position: relative; width: 96px; height: 96px; border-radius: 50%;
  padding: 4px; background: #fff;
  box-shadow: 0 0 0 3px var(--sky), 0 8px 20px rgba(47, 124, 190, 0.25);
}
.avatar-ring::before {
  content: ""; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 14px; border-radius: 50%;
  border: 3px solid var(--yellow); border-bottom-color: transparent;
  opacity: 0.9;
}
.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero-tag {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.2em;
  color: #fff; background: var(--sky);
  padding: 3px 10px; border-radius: 4px; transform: skewX(-8deg);
}
.hero-name h1 {
  margin: 6px 0 2px; font-size: clamp(34px, 5vw, 46px); line-height: 1.05;
  letter-spacing: 0.01em;
  background: linear-gradient(95deg, #1c66b8, var(--sky) 55%, var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--sky-deep);
  display: inline-block;
}
.h1-star {
  font-style: normal; font-size: 0.42em; vertical-align: super;
  background: none; -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: var(--yellow);
  margin-left: 2px;
  animation: twinkle 2.2s ease-in-out infinite;
  display: inline-block;
}
.hero-sub { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--sky-deep); background: rgba(47, 156, 232, 0.10);
  border: 1px solid rgba(47, 156, 232, 0.22);
  padding: 3px 11px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip-on { color: #1c9c62; background: rgba(48, 190, 120, 0.10); border-color: rgba(48, 190, 120, 0.3); }
.chip .dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%; background: #2fbe78;
  box-shadow: 0 0 0 3px rgba(48, 190, 120, 0.18);
  animation: dot-blink 2s ease-in-out infinite;
}
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.chip-pink { color: #d1447a; background: rgba(245, 109, 151, 0.12); border-color: rgba(245, 109, 151, 0.3); }
.hero-desc { margin: 0 0 24px; font-size: 15.5px; color: #33465e; max-width: 34em; }
.hero-desc b { color: var(--sky-deep); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r);
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: #22334a; color: #fff; box-shadow: 0 6px 16px rgba(34, 51, 74, 0.28); }
.btn-dark:hover { background: #2c4160; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 6px 16px rgba(245, 109, 151, 0.35); }
.btn-pink:hover { background: #f35a8b; }
.btn-line { background: #fff; color: var(--sky-deep); border-color: rgba(47, 156, 232, 0.45); }
.btn-line:hover { background: rgba(47, 156, 232, 0.07); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

.hero-visual {
  margin: 0; position: relative;
  transform: rotate(-1.4deg);
  transition: transform 0.35s ease;
}
.hero-visual:hover { transform: rotate(0deg); }
.hero-visual img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 2px solid rgba(47, 156, 232, 0.28); border-radius: var(--r);
  z-index: -1;
}
.hv-chip {
  position: absolute; top: -12px; left: 14px; z-index: 2;
  background: var(--yellow); color: #5b4a00;
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  padding: 4px 12px; border-radius: 4px; transform: skewX(-8deg);
  box-shadow: 2px 2px 0 rgba(190, 150, 0, 0.25);
}
.hv-cap {
  position: absolute; right: 12px; bottom: 10px;
  font-size: 11px; letter-spacing: 0.14em; color: #fff;
  background: rgba(20, 40, 60, 0.45); backdrop-filter: blur(4px);
  padding: 3px 10px; border-radius: 4px;
}

/* ---------------- blog ---------------- */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; color: var(--ink); display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.bcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 156, 232, 0.5);
}
.bcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.bcard:hover .bcard-img img { transform: scale(1.045); }
.bcard-tag {
  position: absolute; left: 10px; top: 10px;
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  padding: 3px 12px; border-radius: 4px; transform: skewX(-8deg);
}
.t-sky { background: var(--sky); }
.t-pink { background: var(--pink); }
.t-cyan { background: var(--cyan); }
.bcard-body { padding: 16px 18px 4px; flex: 1; }
.bcard-en {
  font-style: normal; font-size: 10px; font-weight: 800;
  letter-spacing: 0.22em; color: var(--sky);
}
.bcard-body h3 { margin: 3px 0 6px; font-size: 19px; }
.bcard-body p { margin: 0; font-size: 13.5px; color: var(--muted); }
.bcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 16px;
}
.soon {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: #8a9cb5; background: #eef4fa; border: 1px dashed #c4d6e8;
  padding: 3px 10px; border-radius: 99px;
}
.arrow { color: var(--sky); font-weight: 700; transition: transform 0.2s; }
.bcard:hover .arrow { transform: translateX(4px); }

/* ---------------- project ---------------- */
.proj {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
}
.proj-info { padding: 34px 38px; }
.proj-name { margin: 14px 0 10px; font-size: 30px; line-height: 1.2; }
.proj-name small { font-size: 17px; font-weight: 600; color: var(--muted); }
.proj-desc { margin: 0 0 20px; color: #33465e; font-size: 15px; max-width: 36em; }
.feat {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.feat li {
  background: #f4f9fd; border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 14px; display: flex; flex-direction: column; gap: 1px;
  border-left: 3px solid var(--sky);
}
.feat b { font-size: 14px; }
.feat span { font-size: 12px; color: var(--muted); }
.proj-star {
  position: relative; min-height: 300px;
  background:
    radial-gradient(420px 260px at 70% 68%, rgba(120, 190, 255, 0.20), transparent 70%),
    linear-gradient(160deg, #1b3a5c, #234b76 55%, #2b5c8e);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px;
}
.spica-star { transform-origin: 240px 205px; animation: spica-pulse 2.6s ease-in-out infinite; }
@keyframes spica-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(0.92); }
}
.pstar-cap {
  position: absolute; bottom: 16px;
  color: rgba(207, 230, 255, 0.75); font-size: 12px; letter-spacing: 0.2em;
}

/* ---------------- video ---------------- */
.vgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.vcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; color: var(--ink); display: block;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.vcard:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: rgba(245, 109, 151, 0.55);
}
.vcard-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vcard:hover .vcard-img img { transform: scale(1.035); }
.vplay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(245, 109, 151, 0.92);
  display: grid; place-items: center; padding-left: 3px;
  box-shadow: 0 8px 26px rgba(180, 40, 90, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.28);
  transition: transform 0.2s;
}
.vcard:hover .vplay { transform: translate(-50%, -50%) scale(1.08); }
.vcard-tag {
  position: absolute; left: 10px; top: 10px;
  background: var(--pink); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  padding: 3px 12px; border-radius: 4px; transform: skewX(-8deg);
}
.vcard-body { padding: 16px 20px 18px; }
.vcard-body h3 { margin: 0 0 4px; font-size: 19px; }
.vcard-body p { margin: 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.vup { color: var(--pink); font-weight: 700; }
.vsep { color: #c8d6e4; }
.vside { display: flex; flex-direction: column; gap: 14px; }
.vchan {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 16px;
}
.vchan > img { border-radius: 50%; border: 2px solid rgba(245, 109, 151, 0.5); }
.vchan-info { flex: 1; display: flex; flex-direction: column; line-height: 1.45; }
.vchan-info b { font-size: 14.5px; }
.vchan-info span { font-size: 12px; color: var(--muted); }
.vslot {
  border: 1.5px dashed #c4d6e8; border-radius: var(--r);
  padding: 18px 16px; text-align: center;
  color: #8a9cb5; font-size: 13px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, 0.5);
}
.vslot-en { font-size: 10px; font-weight: 800; letter-spacing: 0.22em; color: #aebfd4; }

/* ---------------- contact ---------------- */
.contact {
  display: grid; grid-template-columns: 1fr 250px; gap: 40px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 36px 40px;
  position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--cyan) 45%, var(--pink));
}
.contact-info h3 { margin: 0 0 6px; font-size: 22px; }
.contact-info > p { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; }
.cbtns { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.cbtn {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 14px; color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  background: #fbfdff;
}
.cbtn:hover {
  transform: translateX(4px); border-color: rgba(47, 156, 232, 0.5);
  box-shadow: 0 6px 18px rgba(47, 124, 190, 0.12);
}
.cbtn-ic {
  flex: none; width: 40px; height: 40px; border-radius: var(--r);
  display: grid; place-items: center; color: #fff;
}
.c-sky { background: var(--sky); }
.c-dark { background: #22334a; }
.c-pink { background: var(--pink); }
.cbtn-tx { flex: 1; display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.cbtn-tx b { font-size: 14.5px; }
.cbtn-tx span { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.cbtn-arrow { color: var(--sky); font-weight: 700; }
.copy {
  flex: none; border: 1px solid rgba(47, 156, 232, 0.4); background: #fff;
  color: var(--sky-deep); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 99px; cursor: pointer;
  font-family: var(--font); transition: background 0.15s;
}
.copy:hover { background: rgba(47, 156, 232, 0.08); }
.contact-art { margin: 0; position: relative; transform: rotate(2deg); }
.contact-art img {
  border-radius: var(--r); border: 4px solid #fff;
  box-shadow: 0 10px 26px rgba(47, 124, 190, 0.18);
}
.contact-art::before {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 92px; height: 26px; background: rgba(47, 156, 232, 0.35);
  border-radius: 2px; z-index: 2;
}
.contact-art figcaption {
  margin-top: 10px; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--muted);
}

/* ---------------- footer ---------------- */
.foot { border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); }
.foot-in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 22px 0; font-size: 13px; color: var(--muted);
}
.foot-mark { letter-spacing: 0.08em; font-size: 12px; }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: #22334a; color: #fff; font-size: 13.5px;
  padding: 10px 22px; border-radius: 99px;
  opacity: 0; pointer-events: none; z-index: 500;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 10px 26px rgba(20, 35, 55, 0.3);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- reveal ---------------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .spica-star, .chip .dot, .splash-hint { animation: none; }
  .bcard, .vcard, .btn, .cbtn { transition: none; }
}

/* ---------------- anime deco (v2) ---------------- */
.hero-grid { position: relative; z-index: 1; }
.hero-sky {
  position: absolute; top: 0; left: 0; right: 0; height: min(46vh, 420px);
  background: linear-gradient(180deg, rgba(183, 225, 255, 0.5), rgba(224, 242, 255, 0.28) 55%, rgba(244, 249, 253, 0));
  pointer-events: none;
}
.cloud {
  position: absolute; pointer-events: none; opacity: 0.85;
  width: 210px; height: 80px;
  background:
    radial-gradient(closest-side at 28% 68%, #fff 96%, transparent),
    radial-gradient(closest-side at 55% 42%, #fff 96%, transparent),
    radial-gradient(closest-side at 78% 66%, #fff 96%, transparent);
  animation: drift 24s ease-in-out infinite alternate;
}
.c1 { top: 88px; left: 4%; }
.c2 { top: 150px; right: 7%; width: 280px; height: 100px; opacity: 0.7; animation-delay: -8s; }
.c3 { top: 340px; left: 40%; width: 150px; height: 60px; opacity: 0.5; animation-delay: -15s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(48px); } }
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petals i {
  position: absolute; top: -24px; width: 12px; height: 10px;
  background: linear-gradient(135deg, #ffd3e2, #f9a8c4);
  border-radius: 10px 2px 10px 2px; opacity: 0.75;
  animation: fall linear infinite;
}
.petals i:nth-child(1) { left: 8%;  animation-duration: 12s;   animation-delay: 0s; }
.petals i:nth-child(2) { left: 26%; animation-duration: 15s;   animation-delay: 3s; width: 10px; height: 8px; }
.petals i:nth-child(3) { left: 44%; animation-duration: 13s;   animation-delay: 6s; }
.petals i:nth-child(4) { left: 62%; animation-duration: 16s;   animation-delay: 1.5s; width: 9px; height: 8px; }
.petals i:nth-child(5) { left: 78%; animation-duration: 12.5s; animation-delay: 4.5s; }
.petals i:nth-child(6) { left: 92%; animation-duration: 14s;   animation-delay: 7.5s; width: 10px; height: 9px; }
@keyframes fall {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  6%   { opacity: 0.75; }
  50%  { transform: translateY(46vh) translateX(-26px) rotate(240deg); }
  100% { transform: translateY(92vh) translateX(14px) rotate(520deg); opacity: 0.1; }
}
.spark {
  position: absolute; pointer-events: none; color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 217, 77, 0.7);
  animation: twinkle 2.6s ease-in-out infinite;
}
.sp1 { top: 120px; right: 16%; font-size: 20px; }
.sp2 { top: 300px; left: 6%; font-size: 14px; color: #7cc7f5; text-shadow: 0 0 8px rgba(124, 199, 245, 0.7); animation-delay: 0.7s; }
.sp3 { bottom: 150px; right: 5%; font-size: 16px; color: #f9a8c4; text-shadow: 0 0 8px rgba(249, 168, 196, 0.7); animation-delay: 1.3s; }
.sp4 { top: 64px; left: 34%; font-size: 13px; color: #7cc7f5; text-shadow: 0 0 8px rgba(124, 199, 245, 0.7); animation-delay: 1.9s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(18deg); }
}
.hello-bubble {
  position: absolute; top: -30px; left: 78px; z-index: 2;
  background: #fff; border: 1.5px solid var(--sky); color: var(--sky-deep);
  font-size: 12px; font-weight: 700; padding: 3px 10px;
  border-radius: 10px 10px 10px 2px; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(47, 124, 190, 0.15);
  animation: bob 2.8s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-4px) rotate(-1deg); }
}
.chip-sun  { color: #9a7b00; background: rgba(255, 217, 77, 0.22); border-color: rgba(255, 196, 0, 0.45); }
.chip-rose { color: #d1447a; background: rgba(245, 109, 151, 0.12); border-color: rgba(245, 109, 151, 0.32); }
.chip-aqua { color: #0e93ad; background: rgba(46, 196, 221, 0.14); border-color: rgba(46, 196, 221, 0.4); }
.sec-en::before { content: "✦ "; color: var(--yellow); }
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-18deg); transition: left 0.45s ease; pointer-events: none;
}
.btn:hover::before { left: 125%; }
.vplay::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(245, 109, 151, 0.55);
  animation: ring 1.9s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}
.bcard:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--shadow);
  border-color: rgba(47, 156, 232, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .petals, .spark { display: none; }
  .cloud, .hello-bubble, .h1-star, .vplay::after { animation: none; }
  .btn::before { display: none; }
  .hero-visual { transform: none; transition: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 110px; }
  .hero-visual { max-width: 620px; }
  .proj { grid-template-columns: 1fr; }
  .proj-star { min-height: 260px; }
  .vgrid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 28px 24px; }
  .contact-art { max-width: 250px; margin: 8px auto 0; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 60px 0; }
  .hero { padding: 100px 0 64px; }
  .bgrid { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .proj-info { padding: 24px 20px; }
  .nav-in { height: 54px; }
  .sec { scroll-margin-top: 54px; }
  .logo-txt { font-size: 15px; }
  .nav-links a { padding: 6px 9px; }
  .nav-links a i { display: none; }
  .hero-id { gap: 14px; }
  .avatar-ring { width: 76px; height: 76px; }
  .hello-bubble { left: 58px; top: -28px; font-size: 11px; }
  .c1 { width: 150px; height: 60px; }
  .c2 { width: 120px; height: 48px; }
  .c3 { display: none; }
  .sec-head { flex-wrap: wrap; gap: 12px; }
  .hero-desc { font-size: 14.5px; }
}
