@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&display=swap');

:root {
  --bg: #fffdfb;
  --paper: #ffffff;
  --cream: #fff4f0;
  --ink: #37302e;
  --ink-soft: #766c68;
  --ink-faint: #a89d97;
  --line: #f1e5df;
  --pink: #ef7f9f;
  --pink-deep: #d8587d;
  --pink-soft: #fde9f0;
  --blue: #79add9;
  --blue-deep: #4c8dc2;
  --blue-soft: #e9f2fb;
  --peach: #ffe3d1;
  --cream-yellow: #fff1cf;
  --mint: #e2f3ee;
  --shadow-sm: 0 6px 18px rgba(90, 55, 45, .06);
  --shadow-md: 0 18px 46px rgba(90, 55, 45, .11);
  --r-lg: 28px;
  --r-md: 19px;
  --r-sm: 13px;
  --font-body: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --font-latin: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(900px 620px at 85% -6%, rgba(239, 127, 159, .12), transparent 62%),
    radial-gradient(880px 680px at -8% 28%, rgba(121, 173, 217, .13), transparent 62%),
    radial-gradient(860px 640px at 52% 112%, rgba(239, 127, 159, .09), transparent 62%),
    radial-gradient(620px 420px at 108% 66%, rgba(121, 173, 217, .10), transparent 66%),
    linear-gradient(180deg, #fffdfb 0%, #fff5f8 32%, #f6f9fe 72%, #fffdfb 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--pink-soft); color: var(--pink-deep); }

.container { width: min(1140px, calc(100% - 46px)); margin-inline: auto; }
.hand { font-family: var(--font-latin); }
.kai { font-family: var(--font-body); }

/* ---------- simple pink cursor ---------- */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M5 3 L5 22 L11.5 16.5 L14.5 25 L18 23.5 L14.8 16 L21 16Z' fill='%23ef7f9f' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
}
a, button, [data-work], .media-nav, .work-card {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M5 3 L5 22 L11.5 16.5 L14.5 25 L18 23.5 L14.8 16 L21 16Z' fill='%23ef7f9f' stroke='%23ffffff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, pointer;
}

/* ---------- progress & topbar ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90;
  background: linear-gradient(90deg, var(--pink), #f4b3c5, var(--blue));
  transform-origin: left; transform: scaleX(0);
}
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .35s, box-shadow .35s;
}
.topbar.scrolled {
  background: rgba(255, 253, 251, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar-inner {
  width: min(1160px, calc(100% - 46px));
  margin-inline: auto;
  min-height: 74px;
  display: flex; align-items: center; gap: 18px;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 9px; flex: 0 0 auto;
  font-size: 22px; font-weight: 700; letter-spacing: .05em;
}
.brand i { font-style: normal; color: var(--pink); }
.brand small {
  font-family: var(--font-latin); font-size: 14px; color: var(--ink-faint);
}
.topnav {
  margin-inline: auto;
  display: flex; align-items: center; gap: 3px;
}
.topnav a {
  padding: 8px 15px; border-radius: 99px; font-size: 16px; color: var(--ink-soft);
  transition: background .2s, color .2s, transform .2s;
  position: relative;
}
.topnav a::after {
  content: "♡"; position: absolute; right: 4px; top: -2px; font-size: 8px;
  color: var(--pink); opacity: 0; transform: scale(.4); transition: all .2s;
}
.topnav a:hover { background: var(--pink-soft); color: var(--pink-deep); }
.topnav a:hover::after, .topnav a.active::after { opacity: 1; transform: scale(1); }
.topnav a.active { color: var(--ink); font-weight: 700; }
.topbar-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch { position: relative; }
.lang-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 50%; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  transition: all .2s;
}
.lang-btn .globe { line-height: 1; }
.lang-btn .globe svg { width: 20px; height: 20px; display: block; }
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: var(--pink); color: var(--pink-deep); transform: translateY(-1px); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 132px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 7px; z-index: 81;
  display: none; flex-direction: column; gap: 2px;
}
.lang-switch.open .lang-menu { display: flex; animation: fadeIn .18s ease; }
.lang-menu button {
  border: 0; background: transparent; text-align: left;
  border-radius: 11px; padding: 9px 13px; font-size: 14.5px; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.lang-menu button:hover { background: var(--pink-soft); color: var(--pink-deep); }
.lang-menu button.on { background: var(--cream); color: var(--ink); font-weight: 700; }
.burger {
  display: none; background: #fff; border: 1px solid var(--line); border-radius: 50%;
  width: 42px; height: 42px; font-size: 19px; color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 108px 24px 72px;
  overflow: hidden;
  text-align: left;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 46vw; height: 46vw; right: -16vw; top: -20vw;
  background: radial-gradient(circle at 35% 35%, #ffe2ec, #ffd6e4 52%, transparent 72%);
  animation: drift 11s ease-in-out infinite alternate;
}
.hero::after {
  width: 40vw; height: 40vw; left: -18vw; bottom: -16vw;
  background: radial-gradient(circle at 60% 40%, #ddeeff, #d2e9fb 54%, transparent 74%);
  animation: drift 14s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-2vw, 3vh) scale(1.07); }
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1140px, 100%);
  margin-inline: auto;
  text-align: left;
}
.hero-welcome {
  margin: 0 0 10px;
  font-family: var(--font-latin); font-size: clamp(20px, 3vw, 32px);
  color: var(--pink-deep); line-height: 1.2;
  letter-spacing: .18em; text-transform: lowercase;
}
.hero-title {
  margin: 0; font-family: var(--font-latin); font-weight: 700; color: var(--ink);
  font-size: clamp(58px, 11.5vw, 142px);
  line-height: .98; letter-spacing: .03em;
  text-shadow: 0 8px 24px rgba(216, 88, 125, .13), 0 0 70px rgba(121, 173, 217, .14);
}
.hero-title.en-title { font-size: clamp(46px, 10.6vw, 152px); white-space: nowrap; }
.hero-title .char {
  position: relative; display: inline-block; z-index: 1;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), color .35s;
}
.hero-title .char::before {
  content: ""; position: absolute; inset: -7% -4%; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95), rgba(121,173,217,.22) 58%, rgba(239,127,159,.14));
  opacity: 0; transform: scale(.55); transition: opacity .35s, transform .35s;
  z-index: -1;
}
.hero-title .char:hover {
  transform: translateY(-7px) scale(1.12);
  color: var(--pink-deep);
}
.hero-title .char:hover::before { opacity: 1; transform: scale(1); }
.hero-title .char.space::before { display: none; }
.hero-title .char.space:hover { transform: none; }
.hero-portfolio {
  margin: 24px 0 0;
  display: flex; align-items: center; justify-content: flex-start;
  flex-wrap: wrap; gap: 12px 22px;
}
.hero-portfolio .pf-main {
  font-family: var(--font-latin); font-size: clamp(15px, 2.4vw, 23px);
  letter-spacing: .42em; color: var(--ink);
  font-weight: 700;
}
.hero-cta {
  margin-top: 38px;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 18px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 99px; padding: 15px 30px; font-size: 17px; font-weight: 700;
  border: 1px solid transparent;
  transition: transform .22s, box-shadow .22s, background .22s, border-color .22s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--pink), #f59cae);
  box-shadow: 0 12px 26px rgba(239, 127, 159, .3);
}
.btn-primary:hover { transform: translateY(-3px) rotate(-.5deg); box-shadow: 0 18px 36px rgba(239,127,159,.4); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-deep); transform: translateY(-3px); }
.btn .arrow { transition: transform .2s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  color: var(--ink-faint); font-size: 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 3;
}
.mouse { width: 23px; height: 38px; border: 2px solid #cfc2bb; border-radius: 13px; position: relative; }
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px;
  margin-left: -1.5px; border-radius: 4px; background: var(--pink);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0%{opacity:0; transform: translateY(0)} 35%{opacity:1} 100%{opacity:0; transform: translateY(11px)} }

/* ---------- kitty contact popover ---------- */
.cat-contact { position: relative; display: inline-block; }
.cat-btn { position: relative; z-index: 2; }
.cat-pop {
  position: absolute; left: 50%; top: calc(100% + 16px);
  transform: translateX(-50%) translateY(-10px) scale(.86);
  transform-origin: 50% 0;
  width: min(640px, 94vw);
  opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.2,.8,.25,1.25), opacity .25s;
  z-index: 10;
}
.cat-contact:hover .cat-pop,
.cat-contact.open .cat-pop,
.cat-contact:focus-within .cat-pop { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.hero-cta .cat-pop {
  left: 0; transform-origin: 0 0;
  transform: translateY(-10px) scale(.86);
}
.hero-cta .cat-contact:hover .cat-pop,
.hero-cta .cat-contact.open .cat-pop,
.hero-cta .cat-contact:focus-within .cat-pop { transform: translateY(0) scale(1); }
.cat-card {
  background: linear-gradient(160deg, #ffffff, #fff7fa 78%);
  border: 1px solid #f7cfdc; border-radius: 26px;
  padding: 18px 26px 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 24px 62px rgba(216, 88, 125, .20), 0 6px 18px rgba(239, 127, 159, .08), inset 0 1px 0 rgba(255,255,255,.9);
  position: relative;
}
.cat-card::after {
  content: ""; position: absolute; left: 50%; top: -9px; margin-left: -8px;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-bottom: 9px solid #fffdfc;
}
.plate {
  background: linear-gradient(150deg, #ffffff, #fff4f8 90%);
  border: 1px solid #f2b9ca; border-radius: 999px;
  width: auto; height: auto; padding: 11px 18px;
  display: flex; align-items: center; justify-content: center;
  text-align: left; gap: 9px;
  white-space: nowrap;
  font-family: inherit; color: inherit; cursor: pointer;
  box-shadow: 0 10px 22px rgba(216, 88, 125, .16), inset 0 1px 0 #fff;
  position: relative;
  flex: 1 1 0;
  max-width: 260px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.plate:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(216, 88, 125, .22), inset 0 1px 0 #fff; }
.plate:active { transform: scale(.97); }
.plate small {
  font-size: 12px; color: var(--pink-deep); font-weight: 700; letter-spacing: .08em;
}
.plate b { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1; white-space: nowrap; }
.plate + .cat-fig, .cat-fig + .plate { margin: 0; }
.cat-fig { width: 118px; height: 148px; position: relative; flex: 0 0 auto; }
.cat-svg { display: block; width: 100%; height: 100%; }
.cat-girl { display: block; width: 100%; height: 100%; object-fit: contain; }
.cat-girl { filter: drop-shadow(0 14px 18px rgba(216, 88, 125, .18)); }
.cat-head {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 88px; height: 76px; background: #fff;
  border: 2px solid #f3cdd8; border-radius: 47% 47% 43% 43%;
  z-index: 3;
}
.cat-ear {
  position: absolute; top: -5px; width: 34px; height: 38px;
  background: #fff; border: 2px solid #f3cdd8; z-index: 1;
}
.cat-ear.l { left: 1px; border-radius: 65% 12% 55% 20%; transform: rotate(-13deg); }
.cat-ear.r { right: 1px; border-radius: 12% 65% 20% 55%; transform: rotate(13deg); }
.cat-ear::after {
  content: ""; position: absolute; inset: 8px 6px 6px;
  background: var(--pink-soft); border-radius: inherit;
}
.cat-bow {
  position: absolute; right: -4px; top: 8px; z-index: 4;
  width: 22px; height: 22px;
}
.cat-bow::before, .cat-bow::after {
  content: ""; position: absolute; top: 5px; width: 14px; height: 11px;
  background: var(--pink); border-radius: 90% 10% 90% 10%;
}
.cat-bow::before { left: -8px; transform: rotate(-28deg); }
.cat-bow::after { right: -8px; transform: rotate(28deg); }
.cat-bow b {
  position: absolute; left: 50%; top: 8px; width: 7px; height: 7px;
  margin-left: -3.5px; background: var(--pink-deep); border-radius: 50%;
}
.cat-eyes { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 24px; }
.cat-eyes i { width: 5px; height: 7px; border-radius: 90%; background: #5b4a46; display: block; }
.cat-nose { position: absolute; top: 48px; left: 50%; margin-left: -2px; width: 4px; height: 3px; background: var(--pink); border-radius: 50% 50% 60% 60%; }
.cat-mouth {
  position: absolute; top: 51px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 5px; border-bottom: 1.5px solid #5b4a46;
  border-radius: 0 0 10px 10px;
}
.cat-blush { position: absolute; top: 43px; width: 9px; height: 6px; border-radius: 50%; background: #ffd3de; }
.cat-blush.l { left: 12px; } .cat-blush.r { right: 12px; }
.cat-whisk { position: absolute; top: 49px; width: 22px; height: 1.5px; background: #e4c6cf; }
.cat-whisk.l { left: -18px; transform: rotate(7deg); }
.cat-whisk.r { right: -18px; transform: rotate(-7deg); }
.cat-whisk.l2 { left: -18px; top: 55px; transform: rotate(-5deg); }
.cat-whisk.r2 { right: -18px; top: 55px; transform: rotate(5deg); }
.cat-body {
  position: absolute; top: 66px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 62px; background: #fff;
  border: 2px solid #f3cdd8; border-radius: 45% 45% 50% 50%;
  z-index: 2;
}
.cat-arm {
  position: absolute; top: 78px; width: 38px; height: 18px; background: #fff;
  border: 2px solid #f3cdd8; border-radius: 20px; z-index: 1;
}
.cat-arm.l { left: 12px; transform: rotate(24deg); }
.cat-arm.r { right: 12px; transform: rotate(-24deg); }
.cat-paw { width: 17px; height: 13px; background: #fff; border: 2px solid #f3cdd8; border-radius: 60% 60% 50% 50%; position: absolute; }
.cat-paw.l { left: 8px; top: 13px; }
.cat-paw.r { right: 8px; top: 13px; }
@media (max-width: 900px) {
  .cat-card { flex-wrap: wrap; padding: 16px; }
  .plate { flex: 1 1 100%; max-width: none; }
  .cat-fig { order: -1; }
  .cat-pop { top: calc(100% + 8px); }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; overflow: hidden; padding: 13px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; gap: 38px;
  white-space: nowrap; font-size: 17px; color: var(--ink-soft);
}
.marquee i { font-style: normal; color: var(--pink); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 104px 0; position: relative; }
.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.section-index {
  font-size: 17px; color: var(--pink); border: 1.5px solid currentColor;
  border-radius: 99px; padding: 4px 16px; font-weight: 700;
}
.section-en { font-size: 13px; letter-spacing: .26em; color: var(--ink-faint); text-transform: uppercase; font-family: var(--font-latin); }
.section-title {
  margin: 0; font-family: var(--font-latin);
  font-size: clamp(34px, 5.2vw, 56px); font-weight: 700;
  line-height: 1.2; letter-spacing: .04em;
}
.section-note { margin: 8px 0 0; color: var(--pink-deep); font-size: 20px; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.ribbon {
  position: absolute; width: 42px; height: 14px; background: var(--pink); opacity: .12;
  transform: rotate(-35deg);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 4px; width: 9px; height: 9px;
  background: var(--pink);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ribbon::before { left: -8px; } .ribbon::after { right: -8px; transform: scaleX(-1); }

/* ---------- about ---------- */
.about { background: transparent; }
.about-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; margin-top: 50px; }
.about-photo { position: relative; justify-self: start; width: min(380px, 100%); }
.photo-clip {
  position: absolute; left: 50%; top: -13px; z-index: 2; transform: translateX(-50%);
  width: 58px; height: 26px; background: #d9b08a;
  border-radius: 6px 6px 10px 10px; box-shadow: inset 0 2px 0 rgba(255,255,255,.35);
}
.photo-clip::before {
  content: ""; position: absolute; left: 9px; right: 9px; top: 8px; height: 5px;
  border-radius: 4px; background: #c69b74; box-shadow: 0 1px 0 rgba(255,255,255,.3);
}
.photo-frame {
  background: #fff; border: 1px solid #efe4dd; border-radius: 18px;
  padding: 18px 18px 34px;
  box-shadow: 0 26px 64px rgba(239, 127, 159, .13), 0 10px 30px rgba(121, 173, 217, .09);
  transform: rotate(-1.2deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.photo-frame:hover {
  transform: rotate(1.4deg) translateY(-5px);
  box-shadow: 0 26px 60px rgba(90,55,45,.16);
}
.photo-slot {
  aspect-ratio: 4/5; border-radius: 12px; overflow: hidden;
  background: #f7f4f1;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.about-info { min-width: 0; }
.about-name { margin: 0 0 4px; font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.about-note { margin: 0 0 24px; color: var(--ink-soft); font-size: 16px; }
.wh-char {
  display: inline-block;
  transition: color .22s ease, text-shadow .22s ease;
}
.wh-char.lit {
  color: #a7d2f7;
  text-shadow: 0 0 8px rgba(150, 205, 245, .65), 0 0 20px rgba(150, 205, 245, .3);
}
.about-block { padding: 18px 0; border-top: 1px solid var(--line); }
.ab-label { font-size: 13px; letter-spacing: .16em; color: var(--pink-deep); font-weight: 700; margin-bottom: 8px; }
.ab-line { margin: 0; font-size: 16px; color: var(--ink); }
.ab-line + .ab-line { margin-top: 5px; }
.ab-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.ab-list li { position: relative; padding-left: 18px; font-size: 16px; color: #4c423e; }
.ab-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.about-stats {
  margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.about-stats .stat { padding: 15px 8px; border-radius: 16px; }
.about-stats .stat b { font-size: clamp(19px, 2.2vw, 24px); }
.about-stats .stat span { font-size: 12px; }
.about-copy h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.55; margin: 0 0 22px; }
.about-copy p { color: #5d514d; font-size: 16.5px; margin: 0 0 15px; }
.about-highlight {
  display: inline-block; margin-top: 12px; padding: 10px 20px; border-radius: 18px;
  background: var(--cream-yellow); transform: rotate(-1.2deg);
  color: var(--ink); border: 1px dashed #ecd7a4;
}
.profile-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--shadow-sm); position: relative;
}
.profile-meta .tagline { color: var(--pink-deep); margin: 2px 0 8px; font-size: 15px; }
.photo-box {
  aspect-ratio: 5/5.4; border-radius: 22px; overflow: hidden; position: relative;
  background: radial-gradient(circle at 30% 22%, #ffe1ec 0, transparent 55%),
              radial-gradient(circle at 76% 70%, #dcecfb 0, transparent 55%), #faf5f2;
  border: 1.5px dashed #ecd2c8;
  display: grid; place-items: center; color: var(--ink-faint); text-align: center;
}
.photo-box .ph-note { font-size: 19px; padding: 10px; }
.photo-box .ph-ico { font-size: 38px; margin-bottom: 8px; }
.profile-meta { padding: 18px 10px 6px; }
.meta-row { display: grid; grid-template-columns: 70px 1fr; padding: 6px 0; font-size: 15px; border-bottom: 1px dashed #f3e6df; }
.meta-row:last-of-type { border-bottom: 0; }
.meta-row dt { color: var(--ink-faint); }
.meta-row dd { margin: 0; }
.profile-tagline { margin: 2px 0 10px; font-size: 15px; color: var(--pink-deep); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 22px 14px; text-align: center; transition: transform .25s, box-shadow .25s;
}
.stat:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-md); }
.stat b { display: block; font-size: clamp(23px, 3vw, 32px); line-height: 1.3; }
.stat span { font-size: 13px; color: var(--ink-faint); }
.stat:nth-child(1) b, .stat:nth-child(3) b { color: var(--pink-deep); }
.stat:nth-child(2) b, .stat:nth-child(4) b { color: var(--blue-deep); }

/* ---------- experience ---------- */
.timeline { margin-top: 58px; }
.exp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 32px; margin-bottom: 22px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.exp-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(180deg, var(--accent, var(--pink)), transparent);
}
.exp-card:nth-child(odd) { --accent: var(--pink); }
.exp-card:nth-child(even) { --accent: var(--blue); }
.exp-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.exp-emoji { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; font-size: 28px; background: var(--cream); }
.exp-org { font-size: clamp(21px, 2.7vw, 27px); font-weight: 700; }
.exp-role { color: var(--ink-soft); font-size: 15.5px; }
.exp-period { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--blue-deep); background: var(--blue-soft); padding: 7px 15px; border-radius: 99px; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 6px; }
.tag { font-size: 13px; padding: 5px 13px; border-radius: 99px; background: #faf3f0; border: 1px solid var(--line); color: var(--ink-soft); }
.exp-points { margin: 14px 0 4px; padding-left: 2px; display: grid; gap: 8px; list-style: none; }
.exp-points li { position: relative; padding-left: 19px; color: #5a4e4a; font-size: 15.5px; }
.exp-points li::before { content: "♡"; position: absolute; left: 0; top: 0; color: var(--pink); font-size: 12px; }
.exp-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.metric-pill { border-radius: 16px; padding: 8px 16px; font-size: 13.5px; background: var(--cream); border: 1px solid var(--line); }
.metric-pill b { font-size: 16px; margin-right: 6px; color: var(--pink-deep); }
.exp-card:nth-child(even) .metric-pill b { color: var(--blue-deep); }
.exp-card:nth-child(even) .metric-pill { background: var(--blue-soft); border-color: #d9e9f8; }

/* ---------- works ---------- */
.works { background: transparent; }
.works-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.preview-note { font-size: 15px; color: var(--ink-faint); max-width: 460px; text-align: right; }
.works-stack {
  width: calc(100% + 120px);
  max-width: 1260px;
  margin: 30px 0 0 -60px;
}
.expander {
  margin-top: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
  box-shadow: 0 16px 44px rgba(239, 127, 159, .08), 0 8px 26px rgba(121, 173, 217, .06);
}
.expander.open { box-shadow: var(--shadow-md); }
.expander + .expander { margin-top: -20px; }
.expander:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.expander:nth-child(1) { z-index: 4; }
.expander:nth-child(2) { z-index: 3; }
.expander:nth-child(3) { z-index: 2; }
.expander:nth-child(4) { z-index: 1; }
.expander-head {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  background: transparent; border: 0; padding: 28px 30px;
  transition: background .2s;
  min-height: 134px;
}
.expander-head:hover { background: #fffaf8; }
.expander-emoji { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 25px; background: var(--cream); flex: 0 0 auto; }
.expander-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.expander-title { font-size: clamp(20px, 2.7vw, 27px); font-weight: 700; color: var(--ink); }
.expander-sub { font-size: 13.5px; color: var(--ink-soft); }
.expander-note { margin-left: auto; font-size: 15px; color: var(--ink-faint); text-align: right; }
.expander-links-inline { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.expander-links-inline .link-chip { padding: 6px 13px; font-size: 12.5px; white-space: nowrap; }
.expander-plus {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 400;
  color: var(--pink-deep); background: var(--pink-soft); transition: transform .3s;
}
.expander-plus.plus-auto { margin-left: auto; }
.expander.open .expander-plus { transform: rotate(45deg); }
.expander-body {
  display: none; padding: 0 24px 26px; border-top: 1px solid var(--line);
}
.expander.open .expander-body { display: block; animation: fadeIn .4s ease; }
.expander-divider { height: 1px; background: var(--line); margin: 22px 0; }
.expander-links { margin-top: 20px; }
.expander-links .wi-block-title { margin-bottom: 8px; }
.project-block { margin-top: 64px; }
.project-block + .project-block { margin-top: 86px; }
.project-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; }
.project-dot { width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto; }
.project-dot.pink { background: var(--pink); box-shadow: 0 0 0 6px var(--pink-soft); }
.project-dot.blue { background: var(--blue); box-shadow: 0 0 0 6px var(--blue-soft); }
.project-meta { width: 100%; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.project-note { color: var(--ink-soft); font-size: 18px; }
.project-period { margin-left: auto; font-size: 13.5px; color: var(--ink-faint); }
.works-grid { margin-top: 26px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; text-align: left; padding: 0; position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.work-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: var(--shadow-md); }
.work-cover { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.work-cover .cv-bg { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .5s ease; }
.work-card:hover .cv-bg { transform: scale(1.06); }
.work-cover .emoji { font-size: 46px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.12)); }
.cover-img, .cover-video { width: 100%; height: 100%; object-fit: contain; }
.cover-video { background: transparent; }
.cv-pink { background: linear-gradient(135deg, #ffe0ea, #ffedf3 60%, #dceefd); }
.cv-blue { background: linear-gradient(135deg, #dceefd, #eaf4fd 60%, #ffe0ea); }
.cv-cream { background: linear-gradient(135deg, #fff0e6, #fff7f0 55%, #dff2ec); }
.play-ring {
  position: absolute; inset: 0; margin: auto; width: 60px; height: 60px;
  border-radius: 50%; background: rgba(255,255,255,.95); color: var(--pink-deep);
  display: grid; place-items: center; font-size: 19px;
  box-shadow: 0 10px 24px rgba(0,0,0,.15); transition: transform .25s;
}
.work-card:hover .play-ring { transform: scale(1.12); }
.cv-watermark { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: rgba(0,0,0,.4); background: rgba(255,255,255,.75); padding: 3px 10px; border-radius: 99px; }
.work-body { padding: 17px 19px 19px; }
.work-title { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.work-role { font-size: 13.5px; color: var(--pink-deep); font-weight: 700; margin-bottom: 7px; }
.work-desc { font-size: 14px; color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-open { margin-top: 13px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.work-open .arrow { transition: transform .2s; }
.work-card:hover .work-open .arrow { transform: translateX(4px); }

/* ---------- skills ---------- */
.skills-grid { margin-top: 52px; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.skill-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.skill-card::after {
  content: ""; position: absolute; width: 110px; height: 110px; right: -34px; top: -34px;
  border-radius: 50%; opacity: .6;
  background: radial-gradient(circle, var(--dot, var(--pink-soft)), transparent 70%);
}
.skill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.skill-card:nth-child(3n+1) { --dot: var(--pink-soft); }
.skill-card:nth-child(3n+2) { --dot: var(--blue-soft); }
.skill-card:nth-child(3n+3) { --dot: #fff0d4; }
.skill-emoji { font-size: 31px; }
.skill-title { font-size: 20px; font-weight: 700; margin: 10px 0 5px; }
.skill-desc { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.skill-items { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 14px; }
.skill-items span { font-size: 13px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fdfaf8; }

/* ---------- contact closing ---------- */
.contact {
  background: transparent; overflow: hidden; position: relative;
  min-height: 96vh; padding-bottom: 220px;
}
.contact::before, .contact::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(6px);
}
.contact::before {
  width: 560px; height: 560px; left: 8%; top: 0;
  background: radial-gradient(circle, rgba(239, 127, 159, .18), rgba(239,127,159,0) 68%);
  animation: drift 12s ease-in-out infinite alternate;
}
.contact::after {
  width: 700px; height: 700px; right: -4%; bottom: -18%;
  background: radial-gradient(circle, rgba(121, 173, 217, .18), rgba(121,173,217,0) 66%);
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
.contact-wrap { text-align: center; position: relative; z-index: 1; }
.heart-trail {
  position: absolute; z-index: 0; pointer-events: none;
  font-size: 18px; line-height: 1;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.closing-deco { position: relative; }
.closing-h {
  margin: 58px auto 6px; font-family: var(--font-latin);
  font-size: clamp(42px, 7.4vw, 84px); font-weight: 700; line-height: 1.25;
}
.closing-note {
  font-size: clamp(13px, 2vw, 20px); color: var(--ink-soft);
  margin: 6px 0 20px; white-space: nowrap;
}
.cat-hero-contact { margin: 10px auto 46px; display: inline-block; }
.contact-card {
  background: #fff; border-radius: 30px; border: 1px solid var(--line);
  padding: clamp(26px, 4.5vw, 52px); text-align: left;
  box-shadow: var(--shadow-sm); position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px;
}
.contact-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -110px;
  border-radius: 50%; background: radial-gradient(circle, var(--pink-soft), transparent 70%);
}
.contact-left h4 { font-size: 22px; margin: 0 0 4px; }
.contact-left .c-note { color: var(--ink-soft); margin: 0 0 24px; font-size: 15.5px; }
.contact-row { display: flex; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-row .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; flex: 0 0 auto; }
.contact-row:nth-child(1) .ico { background: var(--pink-soft); }
.contact-row:nth-child(2) .ico { background: var(--blue-soft); }
.contact-row:nth-child(3) .ico { background: #fff0d4; }
.contact-row b { display: block; font-size: 13px; color: var(--ink-faint); font-weight: 700; }
.contact-row a { font-size: clamp(16px, 2vw, 19px); font-weight: 700; }
.contact-row a:hover { color: var(--pink-deep); }
.contact-right { display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.contact-right h4 { margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); }
.platform-links { display: grid; gap: 11px; }
.platform-link {
  display: flex; align-items: center; gap: 13px; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 16px; background: #fffdfb;
  transition: transform .2s, border-color .2s;
}
.platform-link:hover { transform: translateX(5px); border-color: var(--pink); }
.platform-link .p-ico { font-size: 22px; }
.platform-link span b { display: block; font-size: 14.5px; }
.platform-link span small { color: var(--ink-faint); font-size: 12.5px; }
.platform-link .go { margin-left: auto; color: var(--ink-faint); }
footer { padding: 34px 0 46px; text-align: center; color: var(--ink-faint); font-size: 14px; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(55, 48, 46, .34); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal.open { display: flex; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-shell {
  width: min(1160px, 100%); max-height: calc(100svh - 48px);
  background: var(--paper); border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 90px rgba(55,48,46,.28);
  animation: pop .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { transform: translateY(24px) scale(.98); opacity: 0; } }
.modal-top { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.modal-back { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 16px; font-size: 14px; font-weight: 700; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.modal-back:hover { border-color: var(--pink); color: var(--pink-deep); }
.modal-project { font-size: 13px; font-weight: 700; color: var(--pink-deep); }
.modal-close { margin-left: auto; border: 0; background: #f6efeb; width: 35px; height: 35px; border-radius: 50%; font-size: 15px; color: var(--ink); transition: all .2s; }
.modal-close:hover { background: var(--pink); color: #fff; transform: rotate(90deg); }
.modal-body { display: grid; grid-template-columns: 1.35fr .9fr; min-height: 0; overflow-y: auto; }
.media-area { padding: 24px; background: linear-gradient(150deg, #fdf4f7, #f1f8fe); min-height: 420px; }
.media-stage { position: relative; height: clamp(300px, 58vh, 560px); }
.media-item {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s;
  box-shadow: 0 18px 44px rgba(90,55,45,.14);
  background: #fff; display: flex;
}
.media-item video, .media-item iframe { width: 100%; height: 100%; object-fit: contain; border: 0; }
.media-item img { width: 100%; height: 100%; object-fit: contain; background: #fff7f9; }
.media-open {
  width: 100%; height: 100%; display: grid; place-items: center;
  text-align: center; color: var(--blue-deep);
}
.media-open .mo-ico {
  display: inline-block; font-size: 17px; font-weight: 700;
  background: rgba(255,255,255,.92); padding: 14px 26px; border-radius: 99px;
  border: 1px solid var(--blue-soft); box-shadow: var(--shadow-md);
  transition: transform .25s;
}
.media-open:hover .mo-ico { transform: translateY(-3px) scale(1.04); }
.media-ph { width: 100%; display: grid; place-content: center; text-align: center; color: #8b7f79; }
.media-ph .mp-ico { font-size: 58px; margin-bottom: 12px; }
.media-ph .mp-title { font-size: 21px; color: var(--ink); font-weight: 700; }
.media-ph .mp-note { font-size: 17px; margin-top: 6px; }
.media-item.slot0 { transform: translate(0,0) rotate(0); opacity: 1; z-index: 3; }
.media-item.slot1 { transform: translate(18px, 14px) rotate(1.4deg) scale(.96); opacity: .82; z-index: 2; }
.media-item.slot2 { transform: translate(-14px, 30px) rotate(-1.8deg) scale(.92); opacity: .55; z-index: 1; }
.media-item:not(.slot0):not(.slot1):not(.slot2) { opacity: 0; transform: translate(40px, 30px) scale(.8); z-index: 0; }
.media-controls { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.media-nav { border: 1px solid var(--line); background: #fff; border-radius: 99px; width: 42px; height: 42px; font-size: 17px; transition: all .2s; }
.media-nav:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.media-dots { display: flex; gap: 8px; }
.media-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e3d7d1; transition: all .25s; }
.media-dots i.on { background: var(--pink); width: 23px; border-radius: 99px; }
.media-count { font-size: 13px; color: var(--ink-faint); min-width: 46px; text-align: center; }
.work-info { padding: 30px; display: flex; flex-direction: column; min-width: 0; }
.work-info .wi-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.work-info h3 { font-size: clamp(23px, 3vw, 32px); font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.work-info .wi-role { color: var(--pink-deep); font-weight: 700; font-size: 15px; margin: 0 0 16px; }
.work-info .wi-desc { color: #5a4e4a; font-size: 15.5px; margin: 0 0 18px; }
.wi-block-title { font-size: 12px; letter-spacing: .18em; color: var(--ink-faint); font-weight: 700; text-transform: uppercase; margin: 4px 0 10px; }
.wi-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 22px; }
.wi-metric { background: var(--cream); border-radius: 15px; padding: 11px 8px; text-align: center; }
.wi-metric b { display: block; font-size: 18px; }
.wi-metric span { font-size: 11.5px; color: var(--ink-soft); }
.wi-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.link-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 99px; transition: all .2s; }
.link-chip.primary { background: var(--ink); color: #fff; }
.link-chip.primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.link-chip.ghost { border: 1px solid var(--line); color: var(--ink-soft); }
.link-chip.ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }
.wi-note { margin-top: auto; font-size: 16px; color: var(--ink-faint); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .topnav {
    position: fixed; top: 76px; left: 16px; right: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; box-shadow: var(--shadow-md); display: none; z-index: 80;
  }
  .topnav.open { display: flex; }
  .topnav a { padding: 12px 16px; }
  .topbar-right { margin-left: auto; }
  .burger { display: block; }
  .hero { padding-top: 92px; }
  .doodle.cloud-l { left: 2vw; top: 13%; width: 56px; }
  .doodle.cloud-r { right: 3vw; top: 17%; width: 44px; }
  .doodle.cake { left: 4vw; bottom: 12%; font-size: 25px; }
  .doodle.bow { right: 6vw; top: 30%; font-size: 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .works-stack { width: 100%; max-width: none; margin: 24px 0 0; }
  .expander-head { flex-wrap: wrap; }
  .expander-note { margin-left: 0; flex-basis: 100%; text-align: left; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .media-area { min-height: 300px; padding: 16px; }
  .media-stage { height: 46vh; }
  .work-info { padding: 22px; }
}
@media (max-width: 560px) {
  .container, .topbar-inner { width: calc(100% - 28px); }
  section { padding: 76px 0; }
  .brand small { display: none; }
  .skills-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .exp-period, .project-period { margin-left: 0; }
  .preview-note { text-align: left; }
  .wi-metrics { grid-template-columns: 1fr; }
  .media-stage { height: 42vh; }
  .cat-pop { width: 92vw; }
  .plate { flex: 1 1 100%; max-width: none; padding: 9px 12px; }
  .plate b { font-size: 13px; }
  .cat-fig { width: 84px; height: 110px; transform: scale(.9); }
}
