/* ============================================================
   GG PORTFOLIO — public styles v2
   Light editorial theme: purple/lavender/pink glow, curved
   floating nav, Elian-style hero, Material Symbols icons
   ============================================================ */

:root {
  --bg: #f4f2f8;
  --bg-2: #ffffff;
  --ink: #17131f;
  --ink-dim: #6f6885;
  --line: rgba(23, 19, 31, 0.09);
  --violet: #7c3aed;
  --purple: #a855f7;
  --lavender: #c4b5fd;
  --magenta: #ec4899;
  --pink-soft: #f9a8d4;
  --grad: linear-gradient(100deg, var(--violet), var(--purple) 45%, var(--magenta));
  --card: #ffffff;
  --card-shadow: 0 10px 34px rgba(76, 49, 140, 0.1);
  --font-display: 'Playfair Display', serif;
  --font-serif: 'Playfair Display', serif;
  --font-hero: 'Archivo Black', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
/* continuous ambient wash — sections blend into one flowing canvas */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 42% at 12% 16%, rgba(196, 181, 253, 0.18), transparent 70%),
    radial-gradient(48% 38% at 90% 28%, rgba(249, 168, 212, 0.13), transparent 70%),
    radial-gradient(56% 46% at 50% 88%, rgba(168, 85, 247, 0.1), transparent 72%);
}
::selection { background: var(--purple); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-size: 1.25em; line-height: 1; vertical-align: -0.22em;
  display: inline-block;
}

/* ---------------------------------------------------- scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #d6cfe6; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ---------------------------------------------------- loader */
.page-loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--bg); transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 8vw, 6rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: loaderPulse 1.1s ease-in-out infinite;
}
@keyframes loaderPulse { 0%, 100% { opacity: 0.35; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.02); } }

/* ---------------------------------------------------- cursor glow */
.cursor-glow {
  position: fixed; width: 460px; height: 460px; border-radius: 50%;
  pointer-events: none; z-index: 1; left: 0; top: 0;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 65%);
  transform: translate(-50%, -50%);
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ============================================================ NAV
   Floating curved box that tightens + frosts on scroll */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 18px clamp(12px, 3vw, 32px) 0;
  pointer-events: none;
}
.nav-box {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px);
  width: min(1160px, 100%);
  padding: 12px 12px 12px 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(76, 49, 140, 0.1);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: width 0.5s var(--ease-out), padding 0.4s, box-shadow 0.4s, background 0.4s, border-radius 0.5s var(--ease-out);
}
.nav.scrolled .nav-box {
  width: min(880px, 100%);
  padding: 8px 8px 8px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 44px rgba(76, 49, 140, 0.16);
}
.nav-logo {
  font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-dim);
  padding: 9px 16px; border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a .material-symbols-rounded { font-size: 1.15rem; opacity: 0.8; }
.nav-links a:hover { color: var(--ink); background: rgba(124, 58, 237, 0.08); }
.nav-links a.active { color: #fff; background: var(--ink); box-shadow: 0 6px 18px rgba(23, 19, 31, 0.25); }
.nav-burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem;
}
.nav-burger .material-symbols-rounded { font-size: 1.4rem; vertical-align: middle; transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.nav-burger .ic-close { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: rotate(-90deg); }
.nav.menu-open .ic-open { opacity: 0; transform: rotate(90deg); }
.nav.menu-open .ic-close { opacity: 1; transform: none; }

/* ---------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 100px; border: 0;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}
.btn .material-symbols-rounded { transition: transform 0.3s var(--ease-out); }
.btn:hover .material-symbols-rounded { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 28px rgba(23, 19, 31, 0.28); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(23, 19, 31, 0.35); background: #2a2138; }
.btn-glow { background: var(--grad); color: #fff; box-shadow: 0 8px 28px rgba(168, 85, 247, 0.35); }
.btn-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 40px rgba(236, 72, 153, 0.4); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); background: rgba(168, 85, 247, 0.06); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; }
.btn-xl { padding: 20px 44px; font-size: 1.1rem; }
.nav-cta { padding: 11px 22px; font-size: 0.88rem; white-space: nowrap; }

/* ---------------------------------------------------- sections & reveal */
.section { position: relative; padding: clamp(80px, 12vh, 140px) 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.section-tag {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 16px; padding: 7px 16px;
  border: 1px solid rgba(124, 58, 237, 0.25); border-radius: 100px; background: rgba(124, 58, 237, 0.05);
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.02em;
}
.section-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { color: var(--ink-dim); max-width: 560px; margin-top: 18px; }
.section-head { margin-bottom: clamp(36px, 6vh, 64px); }

.reveal {
  opacity: 0; transform: translateY(56px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

.section-divider { height: 1px; margin: 0 clamp(20px, 6vw, 80px); position: relative; background: var(--line); }
.divider-sweep {
  position: absolute; top: -1px; left: 0; height: 3px; width: 0%;
  background: var(--grad); border-radius: 3px; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
  transition: width 1.3s var(--ease-out);
}
.section-divider.in .divider-sweep { width: 100%; }

.glass {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--card-shadow);
}

/* ============================================================ HERO */
.hero {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center; padding: 150px 20px 0; overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* big purple/pink glow behind the portrait — the "wow" wash */
.hero-glow {
  position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
  width: min(1150px, 125vw); aspect-ratio: 1.45; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 46% at 50% 46%, rgba(236, 72, 153, 0.5), transparent 70%),
    radial-gradient(ellipse 60% 62% at 50% 42%, rgba(168, 85, 247, 0.55), transparent 72%),
    radial-gradient(ellipse 78% 80% at 50% 40%, rgba(196, 181, 253, 0.55), transparent 75%);
  filter: blur(14px);
  animation: glowBreathe 9s ease-in-out infinite;
}
@keyframes glowBreathe { 0%, 100% { opacity: 0.9; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.045); } }

/* frosted pixel-mosaic fade (from the purple reference) */
.hero-mosaic {
  position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 2px, transparent 2px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 85%);
}

.hero-inner { position: relative; z-index: 2; width: min(1160px, 100%); }

.hero-award {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 100px; font-size: 0.82rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 22px rgba(76, 49, 140, 0.1); backdrop-filter: blur(8px);
  color: var(--ink); margin-bottom: 26px;
  animation: wordIn 0.9s var(--ease-out) both 0.25s;
}
.hero-award .material-symbols-rounded { color: var(--violet); }

.hero-title { position: relative; z-index: 3; }
.hero-line1 {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em;
}
.hero-line2 {
  display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.9rem, 8.2vw, 6.6rem); line-height: 1.04; letter-spacing: -0.01em;
  margin-top: 2px;
  background: linear-gradient(100deg, #4c1d95, var(--violet) 35%, var(--magenta) 75%, var(--pink-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-word {
  display: inline-block; opacity: 0; transform: translateY(60px) rotate(3deg);
  animation: wordIn 0.9s var(--ease-out) forwards; animation-delay: calc(0.35s + var(--wi, 0) * 0.12s);
}
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-role-swap { display: inline-block; min-height: 1.1em; }
.hero-role-swap::after { content: '|'; font-style: normal; font-weight: 300; animation: caret 1s steps(1) infinite; margin-left: 4px; color: var(--lavender); }
@keyframes caret { 50% { opacity: 0; } }

/* portrait stage with floating cards */
.hero-stage {
  position: relative; margin-top: clamp(-30px, -3vw, -56px); z-index: 2;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: clamp(320px, 46vw, 520px);
}
.hero-photo {
  width: clamp(280px, 36vw, 470px); position: relative; z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(76, 49, 140, 0.35));
  animation: photoIn 1.2s var(--ease-out) both 0.55s;
}
@keyframes photoIn { from { opacity: 0; transform: translateY(70px) scale(0.96); } }

.hero-float { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 18px; max-width: 270px; }
.hf-left { left: clamp(0px, 4vw, 60px); bottom: 22%; align-items: flex-start; text-align: left; animation: floatInL 1s var(--ease-out) both 0.9s; }
.hf-right { right: clamp(0px, 4vw, 60px); bottom: 18%; align-items: flex-end; text-align: right; animation: floatInR 1s var(--ease-out) both 1.05s; }
@keyframes floatInL { from { opacity: 0; transform: translateX(-40px); } }
@keyframes floatInR { from { opacity: 0; transform: translateX(40px); } }

.avail-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  background: #fff; border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(76, 49, 140, 0.14);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: pulseDot 1.8s infinite; flex-shrink: 0; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); } 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }

.trust { display: flex; align-items: center; gap: 12px; }
.trust-avatars { display: flex; flex-shrink: 0; }
.trust-avatars span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; color: #fff;
  background: var(--grad); border: 2px solid #fff; margin-left: -10px;
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-avatars span:nth-child(2) { background: linear-gradient(120deg, var(--magenta), var(--pink-soft)); }
.trust-avatars span:nth-child(3) { background: linear-gradient(120deg, #4c1d95, var(--purple)); }
.trust p { font-size: 0.78rem; color: var(--ink-dim); line-height: 1.45; max-width: 175px; }
.trust p b { color: var(--ink); }

.hero-blurb { font-size: 0.92rem; color: var(--ink); opacity: 0.85; line-height: 1.55; max-width: 250px; }

/* company logo marquee at the very bottom of hero */
.hero-logos {
  position: relative; z-index: 4; width: 100%; margin-top: auto;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(12px);
  overflow: hidden; padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.logos-track { display: flex; gap: 54px; width: max-content; animation: marquee 30s linear infinite; }
.logo-item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: #b6afc9; letter-spacing: 0.02em;
}
.logo-item .material-symbols-rounded { font-size: 1.1rem; color: #cfc8e0; }
.logo-item img {
  width: 30px; height: 30px; object-fit: contain; border-radius: 8px;
  filter: grayscale(1) opacity(0.55); transition: filter 0.3s;
}
.logo-item:hover img { filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================ STATS STRIP */
.stats-strip { padding: clamp(48px, 7vh, 80px) 0 clamp(30px, 5vh, 60px); }
.stats-card {
  display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: var(--card-shadow); padding: clamp(26px, 4vw, 44px);
}
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.8vw, 3rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 0.8rem; color: var(--ink-dim); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* ============================================================ ABOUT */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.about-card { padding: clamp(28px, 4vw, 48px); }
.about-bio { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.75; color: #3c3550; }
.about-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 100px; font-size: 0.86rem; font-weight: 500;
  background: rgba(124, 58, 237, 0.07); border: 1px solid rgba(124, 58, 237, 0.2); color: var(--ink);
}
.chip .material-symbols-rounded { color: var(--violet); font-size: 1.1rem; }
.about-highlights { display: flex; flex-direction: column; gap: 18px; }
.hl-card { padding: 24px 28px; transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.hl-card:hover { transform: translateX(8px); box-shadow: 0 16px 44px rgba(124, 58, 237, 0.16); }
.hl-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem !important; color: var(--violet);
  background: rgba(124, 58, 237, 0.09);
}
.hl-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 12px 0 4px; }
.hl-card p { color: var(--ink-dim); font-size: 0.92rem; }

/* ============================================================ WORK */
.work-controls {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-dim); font-size: 0.88rem; font-weight: 500;
  transition: all 0.3s var(--ease-out);
}
.pill:hover { border-color: var(--purple); color: var(--ink); transform: translateY(-2px); }
.pill.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35); }
.pill .pc { opacity: 0.7; font-size: 0.78rem; margin-left: 4px; }

.work-search { position: relative; }
.work-search .material-symbols-rounded {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-dim); font-size: 1.2rem; pointer-events: none;
}
.work-search input {
  padding: 12px 22px 12px 46px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 0.92rem; width: 260px;
  outline: none; transition: border-color 0.3s, width 0.4s var(--ease-out), box-shadow 0.3s;
}
.work-search input:focus { border-color: var(--purple); width: 310px; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12); }
.work-search input::placeholder { color: var(--ink-dim); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.grid-loading { color: var(--ink-dim); padding: 60px 0; text-align: center; grid-column: 1 / -1; }

.work-card {
  position: relative; border-radius: 22px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--card);
  box-shadow: 0 6px 24px rgba(76, 49, 140, 0.07);
  opacity: 0; transform: translateY(40px) scale(0.97);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.work-card.in { opacity: 1; transform: none; }
.work-card:hover { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 26px 60px rgba(76, 49, 140, 0.2); transform: translateY(-6px); }
.wc-media { position: relative; aspect-ratio: 1; overflow: hidden; }
.wc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.work-card:hover .wc-media img { transform: scale(1.06); }
.wc-type {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 13px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 100px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); color: var(--ink);
}
.wc-slides-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 6px 11px; font-size: 0.74rem; border-radius: 100px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px); color: var(--ink);
}
.wc-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(23, 19, 31, 0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s; padding: 20px;
}
.work-card:hover .wc-overlay { opacity: 1; }
.wc-overlay span { font-weight: 600; font-size: 0.95rem; color: #fff; }
.wc-body { padding: 18px 20px; }
.wc-title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.wc-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.wc-cat { font-size: 0.78rem; color: var(--ink-dim); }
.wc-stats { display: flex; gap: 14px; font-size: 0.8rem; color: var(--ink-dim); }
.wc-stats b { color: var(--ink); font-weight: 600; }
.wc-stats .liked { color: var(--magenta); }
.work-more { text-align: center; margin-top: 44px; }
.work-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-dim); padding: 70px 0; font-size: 1.05rem; }

/* ============================================================ TOOLS */
.tools-marquee { overflow: hidden; padding: 10px 0 4px; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.tools-track { display: flex; gap: 22px; width: max-content; animation: marquee 32s linear infinite; padding: 6px 0 16px; }
.tools-marquee:hover .tools-track { animation-play-state: paused; }
.tool-card {
  position: relative; display: grid; place-items: center;
  width: 92px; height: 92px; flex-shrink: 0;
  border-radius: 24px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 6px 20px rgba(76, 49, 140, 0.07); cursor: default;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.tool-card:hover, .tool-card:focus-visible {
  transform: translateY(-8px) scale(1.05); border-color: var(--tc);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--tc) 26%, transparent);
  outline: none;
}
/* software name appears on hover, like a premium tooltip */
.tool-card::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(6px); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 7px 14px; border-radius: 100px; pointer-events: none;
  opacity: 0; transition: opacity 0.25s, transform 0.25s var(--ease-out); z-index: 5;
}
.tool-card::before {
  content: ''; position: absolute; bottom: calc(100% + 3px); left: 50%;
  transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink);
  opacity: 0; transition: opacity 0.25s; z-index: 5;
}
.tool-card:hover::after, .tool-card:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.tool-card:hover::before, .tool-card:focus-visible::before { opacity: 1; }
.tool-logo { width: 52px; height: 52px; object-fit: contain; }
.tool-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--font-body); font-weight: 800; font-size: 1.05rem;
  border-radius: 14px; background: color-mix(in srgb, var(--tc) 14%, #fff);
  color: var(--tc); border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent);
}

/* ============================================================ EXPERIENCE */
.exp-list { display: flex; flex-direction: column; gap: 16px; }
.exp-row {
  display: flex; align-items: center; gap: clamp(18px, 4vw, 44px);
  padding: 26px clamp(22px, 4vw, 44px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.exp-row:hover { transform: scale(1.015); box-shadow: 0 20px 50px rgba(236, 72, 153, 0.14); }
.exp-index {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: transparent; -webkit-text-stroke: 1.3px #c9c2da;
}
.exp-logo {
  width: 58px; height: 58px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 16px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(76, 49, 140, 0.08); overflow: hidden;
}
.exp-logo img { width: 42px; height: 42px; object-fit: contain; }
.exp-info { flex: 1; }
.exp-info h3 { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); }
.exp-info p { color: var(--ink-dim); font-size: 0.92rem; }
.exp-period { color: var(--ink-dim); font-size: 0.88rem; white-space: nowrap; }

/* ============================================================ OUTRO */
.outro { padding-bottom: 0; }
.outro-inner { text-align: center; padding-bottom: clamp(70px, 10vh, 120px); }
.outro-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 40px;
}
.outro-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outro-mail { margin-top: 22px; color: var(--ink-dim); letter-spacing: 0.04em; }
/* ============================================================ FOOTER v2 — dark premium closing */
.footer2 {
  position: relative; margin-top: clamp(40px, 7vh, 90px);
  background: linear-gradient(175deg, #1c1628, #17131f 55%);
  color: #cfc8e0; border-radius: 44px 44px 0 0; overflow: hidden;
}
.f2-glow {
  position: absolute; left: 50%; top: -30%; transform: translateX(-50%);
  width: 900px; aspect-ratio: 2; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 40%, color-mix(in srgb, var(--purple) 26%, transparent), transparent 72%);
  filter: blur(20px);
}
.f2-inner { position: relative; padding: clamp(56px, 8vh, 90px) clamp(20px, 4vw, 48px) 26px; }
.f2-top {
  display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(36px, 5vh, 60px);
}
.f2-script { display: block; font-size: 1.6rem; margin-bottom: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f2-logo { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: #fff; }
.f2-logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f2-logo i { font-style: normal; font-size: 1rem; color: var(--pink-soft); }
.f2-tag { font-size: 0.92rem; line-height: 1.7; margin: 14px 0 20px; max-width: 300px; color: #9b93b4; }
.f2-tag em.hl { font-weight: 600; }
.f2-socials { display: flex; gap: 10px; }
.f2-socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff; transition: all 0.3s var(--ease-out);
}
.f2-socials a:hover { background: var(--grad); transform: translateY(-3px); border-color: transparent; }
.f2-socials .material-symbols-rounded { font-size: 1.15rem; }
.f2-col { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.f2-col h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: #6f6885; margin-bottom: 6px;
}
.f2-col a, .f2-col span { color: #b5adcc; display: inline-flex; align-items: center; gap: 7px; width: fit-content; }
.f2-col a { position: relative; transition: color 0.25s; }
.f2-col a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0;
  background: var(--grad); transition: width 0.3s var(--ease-out);
}
.f2-col a:hover { color: #fff; }
.f2-col a:hover::after { width: 100%; }
.f2-col .material-symbols-rounded { font-size: 1rem; color: var(--purple); }
.f2-avail { color: #8ce0ae !important; font-size: 0.85rem; }
.f2-col .btn { margin-top: 10px; align-self: flex-start; }

.f2-watermark {
  font-family: var(--font-hero); font-size: clamp(3rem, 11.5vw, 10.5rem);
  line-height: 0.8; text-align: center; letter-spacing: 0.02em;
  white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.005));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -0.06em;
}
.f2-bottom {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 22px;
  font-size: 0.82rem; color: #6f6885;
}
.f2-fine { margin-left: auto; }
.f2-top-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06); color: #fff;
  transition: all 0.3s var(--ease-out);
}
.f2-top-btn:hover { background: var(--grad); transform: translateY(-4px); border-color: transparent; }
.f2-top-btn .material-symbols-rounded { font-size: 1.2rem; vertical-align: middle; }
@media (max-width: 900px) {
  .f2-top { grid-template-columns: 1fr 1fr; }
  .f2-bottom { justify-content: center; text-align: center; }
  .f2-fine { margin-left: 0; }
}
@media (max-width: 560px) { .f2-top { grid-template-columns: 1fr; } }

/* ============================================================ MODALS */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 19, 31, 0.45); backdrop-filter: blur(10px); animation: fadeIn 0.35s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-panel { position: relative; z-index: 2; animation: panelIn 0.5s var(--ease-out); max-height: min(92vh, 100%); }
@keyframes panelIn { from { opacity: 0; transform: translateY(46px) scale(0.97); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.modal-close .material-symbols-rounded { font-size: 1.25rem; vertical-align: middle; }
.modal-close:hover { background: var(--magenta); color: #fff; transform: rotate(90deg); }

/* work modal */
.work-panel {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  width: min(1160px, 100%); background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; overflow: hidden; box-shadow: 0 40px 100px rgba(23, 19, 31, 0.3);
}
.wp-media { background: #efecf5; display: flex; align-items: center; }
.wp-carousel { position: relative; width: 100%; overflow: hidden; }
.wp-slides { display: flex; transition: transform 0.55s var(--ease-out); }
.wp-slides img { width: 100%; flex-shrink: 0; object-fit: contain; max-height: 92vh; }
.wp-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  backdrop-filter: blur(6px); transition: background 0.3s, color 0.3s;
}
.wp-nav .material-symbols-rounded { font-size: 1.5rem; vertical-align: middle; }
.wp-nav:hover { background: var(--violet); color: #fff; }
.wp-prev { left: 14px; }
.wp-next { right: 14px; }
.wp-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; z-index: 3; }
.wp-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(23, 19, 31, 0.25); transition: 0.3s; padding: 0; }
.wp-dots button.active { background: var(--ink); width: 22px; border-radius: 5px; }

.wp-side { padding: 30px 28px; overflow-y: auto; max-height: 92vh; display: flex; flex-direction: column; gap: 18px; }
.wp-cat { display: inline-block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.wp-head h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.wp-meta { color: var(--ink-dim); font-size: 0.88rem; margin-top: 6px; }
.wp-desc { color: #4a4360; font-size: 0.95rem; }
.wp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.wp-tags span { font-size: 0.78rem; padding: 5px 13px; border-radius: 100px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-dim); }

.wp-actions { display: flex; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.wp-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 0.9rem; font-weight: 600;
  transition: all 0.3s;
}
.wp-action .wa-icon { font-size: 1.15rem; }
button.wp-action:hover { border-color: var(--magenta); background: rgba(236, 72, 153, 0.07); transform: translateY(-2px); }
.wp-action.liked { background: rgba(236, 72, 153, 0.1); border-color: var(--magenta); color: var(--magenta); }
.wp-action.liked .wa-icon { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; animation: likePop 0.45s var(--ease-out); }
@keyframes likePop { 40% { transform: scale(1.5); } }
.wp-views { border: 0; color: var(--ink-dim); cursor: default; background: transparent; }

.wp-comments h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 14px; }
.wp-comment-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.wpc { padding: 13px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.wpc.is-reply { margin-left: 26px; border-left: 3px solid var(--purple); }
.wpc-head { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.wpc-avatar {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; background: var(--grad); color: #fff; flex-shrink: 0;
}
.wpc-name { font-weight: 600; font-size: 0.88rem; }
.wpc-name .owner-badge {
  font-size: 0.64rem; background: var(--grad); color: #fff; padding: 2px 8px;
  border-radius: 100px; margin-left: 6px; vertical-align: middle; letter-spacing: 0.05em;
}
.wpc-date { font-size: 0.72rem; color: var(--ink-dim); margin-left: auto; }
.wpc-text { font-size: 0.88rem; color: #3c3550; }
.wpc-reply-btn { background: none; border: 0; color: var(--violet); font-size: 0.76rem; margin-top: 6px; padding: 0; font-weight: 600; }
.wpc-reply-btn:hover { text-decoration: underline; }
.wpc-empty { color: var(--ink-dim); font-size: 0.88rem; padding: 8px 0; }

.wp-comment-form { display: flex; flex-direction: column; gap: 10px; }
.wp-comment-form input[type=text], .wp-comment-form textarea,
.contact-panel input, .contact-panel textarea {
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-size: 0.9rem;
  outline: none; resize: vertical; transition: border-color 0.3s, box-shadow 0.3s;
}
.wp-comment-form input:focus, .wp-comment-form textarea:focus,
.contact-panel input:focus, .contact-panel textarea:focus {
  border-color: var(--purple); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1); background: #fff;
}
.cf-replying {
  font-size: 0.8rem; color: var(--violet); background: rgba(124, 58, 237, 0.07);
  padding: 7px 12px; border-radius: 10px; display: flex; align-items: center; gap: 8px;
}
.cf-replying button { margin-left: auto; background: none; border: 0; color: var(--ink-dim); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

/* contact modal */
.contact-panel { width: min(560px, 100%); padding: clamp(28px, 5vw, 44px); overflow-y: auto; }
.cp-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); }
.cp-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cp-sub { color: var(--ink-dim); font-size: 0.92rem; margin: 10px 0 24px; }
.contact-panel form { display: flex; flex-direction: column; gap: 16px; }
.contact-panel label { display: flex; flex-direction: column; gap: 7px; font-size: 0.84rem; color: var(--ink-dim); }
.cp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cp-alt { text-align: center; font-size: 0.84rem; color: var(--ink-dim); }
.cp-alt a { color: var(--violet); font-weight: 600; }
.cp-alt a:hover { text-decoration: underline; }
.cp-success { text-align: center; padding: 30px 0 10px; }
.cp-check {
  display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: var(--grad); font-size: 2rem; color: #fff; margin-bottom: 18px;
  animation: likePop 0.6s var(--ease-out);
}
.cp-check .material-symbols-rounded { font-size: 2.2rem; }
.cp-success h4 { font-family: var(--font-display); font-size: 1.4rem; }
.cp-success p { color: var(--ink-dim); margin-top: 6px; }

/* toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 13px 26px; border-radius: 100px; z-index: 300; font-size: 0.9rem;
  box-shadow: 0 14px 44px rgba(23, 19, 31, 0.35); animation: toastIn 0.4s var(--ease-out);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } }

/* ============================================================ HERO v3 (cover-style) */
.script { font-family: 'Great Vibes', cursive; font-weight: 400; }
em.hl {
  font-style: normal; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero3 { min-height: 100svh; display: flex; flex-direction: column; padding: 128px 0 0; text-align: left; }
.hero3-glow {
  position: absolute; right: -12%; top: -8%; width: min(900px, 90vw); aspect-ratio: 1;
  pointer-events: none; filter: blur(18px);
  background:
    radial-gradient(circle at 55% 45%, rgba(196, 181, 253, 0.65), transparent 62%),
    radial-gradient(circle at 60% 60%, rgba(236, 72, 153, 0.18), transparent 70%);
  animation: glowBreathe2 9s ease-in-out infinite;
}
@keyframes glowBreathe2 { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.hero3-dots {
  position: absolute; width: 130px; height: 90px; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(124, 58, 237, 0.45) 1.7px, transparent 1.7px);
  background-size: 16px 16px;
}
.hero3-dots-a { left: 4%; bottom: 18%; }

/* layered composition (cover-style): copy flows full width,
   the photo is an absolute layer bottom-right overlapping the ghost word */
.hero3-grid {
  position: relative; z-index: 2; flex: 1; width: 100%;
  display: flex; align-items: center;
}
.hero3-copy { position: relative; z-index: 1; flex: 1; min-width: 0; padding: 4px 0 46px; }

.hero3-year {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  animation: wordIn 0.8s var(--ease-out) both 0.15s;
}
.hero3-year .script { font-size: 1.7rem; color: var(--violet); }
.hero3-year i { display: block; width: 150px; height: 1.5px; background: linear-gradient(90deg, var(--violet), transparent); }
.hero3-year .material-symbols-rounded { color: var(--purple); font-size: 1.1rem; }

.hero3-eyebrow {
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.2em;
  font-size: clamp(0.82rem, 1.3vw, 1rem); margin-bottom: 6px;
  animation: wordIn 0.8s var(--ease-out) both 0.25s;
}
.hero3-eyebrow span { color: var(--purple); margin-left: 14px; }

.hero3-stack { position: relative; }
.hero3-port {
  display: block; font-family: var(--font-hero); font-weight: 400;
  font-size: clamp(3.4rem, 10.2vw, 9.2rem); line-height: 0.95; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #b39cf2 0%, #cbb8f5 55%, rgba(214, 200, 245, 0.25) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordIn 0.9s var(--ease-out) both 0.35s;
  user-select: none;
}
.hero3-hello {
  position: relative; z-index: 3; display: block; width: fit-content;
  margin: -0.72em 0 0 0.06em;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; color: var(--ink);
  text-shadow: 0 2px 16px rgba(244, 242, 248, 0.95), 0 0 30px rgba(244, 242, 248, 0.7);
  animation: wordIn 0.9s var(--ease-out) both 0.55s;
}
.hero3-name {
  font-family: var(--font-hero); font-weight: 400; width: fit-content;
  font-size: clamp(2.5rem, 5.1vw, 4.9rem); line-height: 1; letter-spacing: 0.01em;
  animation: wordIn 0.9s var(--ease-out) both 0.45s;
}
.hero3-tag {
  font-size: clamp(1.02rem, 1.8vw, 1.3rem); font-weight: 600; margin-top: 22px;
  max-width: 620px;
  animation: wordIn 0.9s var(--ease-out) both 0.65s;
}

.hero3-services {
  display: flex; flex-wrap: wrap; margin-top: 28px;
  border-top: 1px solid var(--line); padding-top: 22px; max-width: 620px;
  animation: wordIn 0.9s var(--ease-out) both 0.75s;
}
.hs-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  padding: 0 clamp(10px, 1vw, 14px); border-right: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out);
}
.hs-item:first-child { padding-left: 0; }
.hs-item:last-child { border-right: 0; padding-right: 0; }
.hs-item:hover { transform: translateY(-4px); }
.hs-item:hover .material-symbols-rounded { color: var(--magenta); }
.hs-item .material-symbols-rounded { font-size: 1.7rem; color: var(--violet); transition: color 0.3s; }
.hs-item small { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.09em; color: var(--ink-dim); max-width: 92px; line-height: 1.5; }

.hero3-contact {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px;
  animation: wordIn 0.9s var(--ease-out) both 0.85s;
}
.hc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: transform 0.3s var(--ease-out), background 0.3s;
}
.hc-icon:hover { transform: translateY(-3px); background: var(--violet); }
.hc-icon .material-symbols-rounded { font-size: 1.2rem; }
.hc-mail { font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em; }
.hc-mail:hover { color: var(--violet); }
.hero3-cta { margin-left: 8px; padding: 12px 24px; font-size: 0.9rem; }

.hero3-visual {
  position: absolute; right: clamp(0px, 1.4vw, 26px); bottom: 0; z-index: 2;
  width: clamp(300px, 34vw, 540px); pointer-events: none;
}
.hero3-photo-glow {
  position: absolute; inset: -4% -14% 0; pointer-events: none; border-radius: 40px;
  background: radial-gradient(ellipse 62% 58% at 50% 55%, rgba(168, 85, 247, 0.42), rgba(236, 72, 153, 0.16) 58%, transparent 76%);
  filter: blur(14px);
}
.hero3-photo {
  position: relative; width: 100%; display: block;
  filter: drop-shadow(0 26px 54px rgba(76, 49, 140, 0.32));
  animation: photoIn 1.1s var(--ease-out) both 0.5s;
}
.hero3-avail {
  position: absolute; top: 3%; right: 0; z-index: 3; pointer-events: auto;
  animation: floatInR 1s var(--ease-out) both 0.9s;
}
.hero3-trust {
  position: absolute; bottom: 7%; left: -14px; z-index: 3; pointer-events: auto;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 100px;
  padding: 9px 18px 9px 10px; box-shadow: 0 10px 30px rgba(76, 49, 140, 0.14);
  animation: floatInL 1s var(--ease-out) both 1.05s;
}
.hero3-trust p { max-width: none; }

/* ============================================================ ABOUT v2 */
.about2-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.about2-visual { position: relative; padding: 30px 10px 30px 0; }
.av-backdrop {
  position: absolute; inset: 6% 12% 4% 0; border-radius: 30px; transform: rotate(-4deg);
  background: linear-gradient(150deg, rgba(196, 181, 253, 0.55), rgba(249, 168, 212, 0.4));
}
.av-dots {
  position: absolute; right: 2%; top: -6px; width: 110px; height: 80px; opacity: 0.6;
  background-image: radial-gradient(rgba(124, 58, 237, 0.45) 1.7px, transparent 1.7px);
  background-size: 15px 15px;
}
.av-frame {
  position: relative; border-radius: 26px; overflow: hidden; margin-right: 14%;
  background: linear-gradient(170deg, #e9dffb, #f7ecf7 60%, #fbe9f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 60px rgba(76, 49, 140, 0.2);
}
.av-frame img { width: 100%; aspect-ratio: 0.9; object-fit: cover; object-position: top; }

.av-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 16px;
  padding: 10px 16px 10px 10px; box-shadow: 0 12px 32px rgba(76, 49, 140, 0.16);
  animation: chipFloat 5.5s ease-in-out infinite;
}
.av-chip .material-symbols-rounded {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 1.2rem; color: #fff; background: var(--grad); flex-shrink: 0;
}
.av-chip b { display: block; font-size: 0.82rem; line-height: 1.2; }
.av-chip small { color: var(--ink-dim); font-size: 0.7rem; }
.av-chip-1 { top: 8%; right: 0; animation-delay: 0s; }
.av-chip-2 { top: 42%; right: -4%; animation-delay: 1.6s; }
.av-chip-3 { bottom: 10%; right: 6%; animation-delay: 3.2s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.av-stamp {
  position: absolute; left: -18px; bottom: -14px; z-index: 3; width: 108px; height: 108px;
  display: grid; place-items: center;
  background: #fff; border-radius: 50%; box-shadow: 0 14px 36px rgba(76, 49, 140, 0.2);
}
.av-stamp svg { position: absolute; inset: 6px; animation: stampSpin 18s linear infinite; }
.av-stamp svg text { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; fill: var(--violet); font-family: var(--font-body); }
.av-stamp > .material-symbols-rounded { font-size: 1.7rem; color: var(--magenta); }
@keyframes stampSpin { to { transform: rotate(360deg); } }

.about2-copy .about-bio { font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.7; }
.bio-reveal .w { color: #c6bfd8; transition: color 0.5s ease; }
.bio-reveal .w.on { color: var(--ink); }
.bio-reveal em.hl { color: transparent; }
.bio-reveal em.hl .w { color: #d8c8f5; -webkit-background-clip: initial; }
.bio-reveal em.hl .w.on {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bio-reveal .w:hover { color: var(--magenta); }
.about2-copy .about-chips { margin-top: 30px; }
.about2-foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.signature { font-size: 2.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================ PAGE HERO (work / certificates) */
.page-hero {
  position: relative; padding: 190px 0 60px; text-align: center; overflow: hidden;
}
.page-hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.04; letter-spacing: -0.02em;
  animation: wordIn 0.9s var(--ease-out) both 0.2s;
}
.page-hero-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .section-sub { margin-left: auto; margin-right: auto; }
.ab-glow {
  position: absolute; left: 50%; top: -30%; transform: translateX(-50%);
  width: min(1000px, 120vw); aspect-ratio: 1.6; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 50% 50%, rgba(236, 72, 153, 0.22), transparent 70%),
    radial-gradient(ellipse 70% 75% at 50% 45%, rgba(168, 85, 247, 0.28), transparent 74%);
  filter: blur(16px);
}

/* ============================================================ ABOUT PAGE */
.ab-hero { padding: 170px 0 40px; overflow: hidden; }
.ab-hero .ab-glow { top: 0; }
.ab-grid {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: clamp(20px, 3vw, 44px);
}
.ab-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 11vw, 9rem); line-height: 0.95; letter-spacing: -0.04em;
  animation: wordIn 0.9s var(--ease-out) both 0.2s;
}
.ab-tagline {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin-top: 18px; max-width: 330px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordIn 0.9s var(--ease-out) both 0.35s;
}
.ab-cta { margin-top: 30px; animation: wordIn 0.9s var(--ease-out) both 0.5s; }
.ab-photo-wrap { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.ab-photo-glow {
  position: absolute; inset: -12% -22%; pointer-events: none;
  background: radial-gradient(ellipse 60% 62% at 50% 55%, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.18) 55%, transparent 74%);
  filter: blur(12px); border-radius: 40px;
}
.ab-photo {
  position: relative; width: clamp(240px, 26vw, 360px);
  filter: drop-shadow(0 26px 50px rgba(76, 49, 140, 0.3));
  animation: photoIn 1.1s var(--ease-out) both 0.45s;
}
.ab-rail { display: flex; flex-direction: column; gap: 18px; }
.ab-rail-block {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--card-shadow); padding: 22px 24px;
}
.ab-rail-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.ab-open-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ab-open-list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.ab-open-list .material-symbols-rounded { color: var(--magenta); }
.ab-rail-quote .testi-quote { margin-bottom: 2px; }
.ab-rail-quote p { font-size: 0.9rem; color: #4a4360; margin-bottom: 12px; }
.ab-rail-quote small { color: var(--ink-dim); }
.ab-rail-quote small b { color: var(--ink); }

.ab-story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.ab-chips { margin-top: 24px; }
.ab-paragraphs p {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.85; color: #3c3550;
  margin-bottom: 26px;
}
.ab-paragraphs p::first-letter { font-family: var(--font-serif); font-size: 1.6em; color: var(--violet); }

.journey { position: relative; display: flex; flex-direction: column; gap: 26px; max-width: 780px; }
.journey::before {
  content: ''; position: absolute; left: 86px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--lavender), var(--pink-soft));
}
.journey-row { display: flex; align-items: flex-start; gap: 22px; }
.journey-year {
  width: 64px; flex-shrink: 0; text-align: right; padding-top: 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.journey-dot {
  position: relative; z-index: 2; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  margin-top: 24px; background: var(--grad); box-shadow: 0 0 0 5px rgba(168, 85, 247, 0.18);
}
.journey-body { flex: 1; padding: 20px 26px; }
.journey-body h3 { font-family: var(--font-display); font-size: 1.12rem; margin-bottom: 5px; }
.journey-body p { color: var(--ink-dim); font-size: 0.93rem; }

/* ============================================================ TESTIMONIALS — flowing marquee */
.testi-flow {
  overflow: hidden; padding: 16px 0 6px;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.testi-track {
  display: flex; align-items: stretch; gap: 24px; width: max-content;
  padding: 14px 0 26px;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.testi-flow:hover .testi-track { animation-play-state: paused; }
.testi-card {
  position: relative; width: clamp(300px, 30vw, 400px); flex-shrink: 0;
  padding: 28px 30px; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
}
.testi-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 70px rgba(124, 58, 237, 0.24);
  border-color: rgba(168, 85, 247, 0.45);
  z-index: 2;
}
.testi-featured { background: linear-gradient(160deg, #fff 55%, #f6efff); border: 1.5px solid rgba(168, 85, 247, 0.35); }
.testi-hint {
  text-align: center; color: var(--ink-dim); font-size: 0.8rem; letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px;
}
.testi-hint .material-symbols-rounded { font-size: 1rem; color: var(--purple); }
.testi-quote {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.6rem !important; color: #fff; background: var(--grad);
  transform: scaleX(-1);
}
.testi-card blockquote { font-size: 1rem; line-height: 1.7; color: #3c3550; flex: 1; }
.testi-featured blockquote { font-size: 1.15rem; font-family: var(--font-serif); font-style: italic; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: var(--grad); flex-shrink: 0;
}
.testi-who { display: flex; flex-direction: column; }
.testi-who b { font-size: 0.95rem; }
.testi-who small { color: var(--ink-dim); font-size: 0.8rem; }

/* ============================================================ CERTIFICATES */
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.certs-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.certs-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; padding: 8px 0 16px; }
.certs-marquee:hover .certs-track { animation-play-state: paused; }
.cert-mini {
  display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px;
  border-radius: 18px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 6px 20px rgba(76, 49, 140, 0.07);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.cert-mini:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(124, 58, 237, 0.18); }
.cert-mini img { width: 84px; height: 60px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.cert-mini-body { display: flex; flex-direction: column; }
.cert-mini-body b { font-size: 0.92rem; white-space: nowrap; }
.cert-mini-body small { color: var(--ink-dim); font-size: 0.78rem; }

.cert-wall-section { padding-top: 40px; }
.cert-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.cert-card { padding: 16px 16px 22px; transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.cert-card:nth-child(odd) { transform: rotate(-0.6deg); }
.cert-card:nth-child(even) { transform: rotate(0.5deg); }
.cert-card:hover { transform: rotate(0) translateY(-8px) scale(1.02); box-shadow: 0 26px 60px rgba(124, 58, 237, 0.2); z-index: 2; }
.cert-frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(140deg, #faf8ff, #f0eafc);
}
.cert-frame img { width: 100%; aspect-ratio: 1200 / 850; object-fit: cover; }
.cert-card figcaption { padding: 16px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.cert-card figcaption b { font-family: var(--font-display); font-size: 1.02rem; }
.cert-card figcaption small { color: var(--ink-dim); display: inline-flex; align-items: center; gap: 6px; }
.cert-card figcaption small .material-symbols-rounded { color: var(--violet); font-size: 1.05rem; }
.cert-verify { color: var(--violet); font-size: 0.84rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; }
.cert-verify:hover { text-decoration: underline; }
.cert-verify .material-symbols-rounded { font-size: 0.95rem; }

.about-more { margin-top: 26px; }

/* ============================================================ SEARCH TIP + EMPTY STATE */
.search-tip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.86rem; color: var(--ink-dim); margin: -18px 0 30px;
}
.search-tip .material-symbols-rounded { color: var(--amberish, #f59e0b); font-size: 1.1rem; }
.search-tip button {
  background: rgba(124, 58, 237, 0.07); border: 1px solid rgba(124, 58, 237, 0.22);
  color: var(--violet); font-size: 0.8rem; font-weight: 600; padding: 3px 12px;
  border-radius: 100px; transition: all 0.25s;
}
.search-tip button:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }

.search-empty { padding: 60px 20px !important; }
.se-icon {
  font-size: 3rem !important; display: inline-grid; place-items: center;
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 18px;
  background: rgba(124, 58, 237, 0.08); color: var(--violet);
}
.search-empty h3 { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); margin-bottom: 12px; }
.search-empty h3 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-empty p { max-width: 520px; margin: 0 auto 24px; line-height: 1.7; }
.se-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ FLOATING WIDGETS */
.widget-close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--ink-dim); font-size: 0.8rem; z-index: 3;
}
.widget-close:hover { background: var(--magenta); color: #fff; }

/* feedback */
.fb-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 140;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--violet); box-shadow: 0 12px 34px rgba(76, 49, 140, 0.22);
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s;
}
.fb-fab .material-symbols-rounded { font-size: 1.4rem; vertical-align: middle; }
.fb-fab:hover { transform: translateY(-4px) scale(1.06); background: var(--grad); color: #fff; }
.fb-panel {
  position: fixed; left: 22px; bottom: 86px; z-index: 141;
  width: min(320px, calc(100vw - 44px)); padding: 26px 24px; text-align: center;
  animation: cardUp 0.4s var(--ease-out);
}
@keyframes cardUp { from { opacity: 0; transform: translateY(18px) scale(0.97); } }
.fb-panel h4 { font-family: var(--font-display); font-size: 1.2rem; }
.fb-panel p { color: var(--ink-dim); font-size: 0.86rem; margin: 6px 0 16px; }
.fb-thumbs { display: flex; gap: 14px; justify-content: center; }
.fb-thumb {
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(124, 58, 237, 0.06); color: var(--violet); font-size: 1.4rem;
  transition: all 0.3s var(--ease-out);
}
.fb-thumb .material-symbols-rounded { font-size: 1.6rem; vertical-align: middle; }
.fb-thumb:hover { transform: translateY(-4px) scale(1.08); background: var(--grad); color: #fff; border-color: transparent; }
.fb-thumb.fb-down { color: var(--ink-dim); background: rgba(23, 19, 31, 0.05); }
.fb-thumb.fb-down:hover { background: var(--ink); color: #fff; }
.fb-panel textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); font-size: 0.88rem; resize: vertical; outline: none; margin-bottom: 14px;
}
.fb-panel textarea:focus { border-color: var(--purple); }
.fb-done .cp-check { width: 60px; height: 60px; margin-bottom: 10px; }
.fb-done .cp-check .material-symbols-rounded { font-size: 1.6rem; }

/* AI twin */
.ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 140;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px 8px 8px; border-radius: 100px; border: 0;
  background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 14px 40px rgba(23, 19, 31, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.ai-fab:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(124, 58, 237, 0.4); }
.ai-orb {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); position: relative;
}
.ai-orb::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(236, 72, 153, 0.5); animation: orbPulse 2.2s ease-out infinite;
}
@keyframes orbPulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.ai-orb .material-symbols-rounded { font-size: 1.2rem; }

.ai-panel {
  position: fixed; right: 22px; bottom: 86px; z-index: 141;
  width: min(390px, calc(100vw - 44px)); height: min(560px, calc(100vh - 130px));
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 34px 90px rgba(23, 19, 31, 0.3);
  animation: cardUp 0.45s var(--ease-out); overflow: hidden;
}
.ai-panel[hidden] { display: none; }
.ai-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.08));
  border-bottom: 1px solid var(--line); position: relative;
}
.ai-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.ai-avatar i { font-style: normal; font-size: 0.6rem; vertical-align: super; }
.ai-head-info b { display: block; font-size: 0.98rem; }
.ai-head-info small { color: var(--ink-dim); font-size: 0.76rem; display: flex; align-items: center; gap: 6px; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulseDot 1.8s infinite; }

.ai-chat { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.ai-msg { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: 0.88rem; line-height: 1.55; animation: cardUp 0.3s var(--ease-out); }
.ai-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.ai-user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.ai-msg b { color: var(--violet); }
.ai-user b { color: #fff; }
.ai-action {
  display: inline-block; margin-top: 8px; padding: 7px 14px; border-radius: 100px;
  background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--violet); font-weight: 600; font-size: 0.82rem;
}
.ai-action:hover { background: var(--grad); color: #fff; }
.ai-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender); animation: typin 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typin { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

.ai-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; background: var(--bg); scrollbar-width: none; }
.ai-chips::-webkit-scrollbar { display: none; }
.ai-chips button {
  flex-shrink: 0; padding: 7px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink-dim); transition: all 0.25s;
}
.ai-chips button:hover { border-color: var(--purple); color: var(--violet); transform: translateY(-2px); }
.ai-form { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.ai-form input {
  flex: 1; padding: 11px 16px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--bg); font-size: 0.88rem; outline: none;
}
.ai-form input:focus { border-color: var(--purple); }
.ai-form button {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--grad); color: #fff; transition: transform 0.25s;
}
.ai-form button:hover { transform: scale(1.08); }
.ai-form button .material-symbols-rounded { font-size: 1.15rem; vertical-align: middle; }

@media (max-width: 600px) {
  .ai-fab-label { display: none; }
  .ai-fab { padding: 8px; }
}

/* ============================================================ WELCOME POP-UP */
.welcome-pop { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; }
.welcome-pop[hidden] { display: none; }
.wp2-backdrop {
  position: absolute; inset: 0; background: rgba(23, 19, 31, 0.5);
  backdrop-filter: blur(12px); animation: fadeIn 0.5s;
}
.wp2-card {
  position: relative; z-index: 2; width: min(520px, 100%); text-align: center;
  background: linear-gradient(165deg, #ffffff 60%, #f6efff);
  border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 30px;
  padding: clamp(36px, 6vw, 54px) clamp(26px, 5vw, 48px);
  box-shadow: 0 50px 120px rgba(23, 19, 31, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.12);
  animation: welcomeIn 0.9s var(--ease-out);
  overflow: hidden;
}
@keyframes welcomeIn {
  0% { opacity: 0; transform: translateY(60px) scale(0.88) rotate(-1.5deg); }
  60% { transform: translateY(-8px) scale(1.02) rotate(0.3deg); }
  100% { opacity: 1; transform: none; }
}
.welcome-pop.closing .wp2-card { animation: welcomeOut 0.45s var(--ease-out) forwards; }
.welcome-pop.closing .wp2-backdrop { animation: fadeOut 0.45s forwards; }
@keyframes welcomeOut { to { opacity: 0; transform: translateY(40px) scale(0.92); } }
@keyframes fadeOut { to { opacity: 0; } }
.wp2-aura {
  position: absolute; inset: -40% -30% auto; height: 90%; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(168, 85, 247, 0.22), rgba(236, 72, 153, 0.1) 55%, transparent 75%);
  filter: blur(10px); animation: glowBreathe2 6s ease-in-out infinite;
}
.wp2-star { position: absolute; color: var(--purple); animation: starTwinkle 2.6s ease-in-out infinite; pointer-events: none; }
.ws-1 { top: 26px; left: 30px; font-size: 1.3rem; }
.ws-2 { top: 60px; right: 54px; font-size: 0.9rem; animation-delay: 0.8s; color: var(--magenta); }
.ws-3 { bottom: 70px; left: 46px; font-size: 1rem; animation-delay: 1.6s; }
@keyframes starTwinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.25) rotate(28deg); } }
.wp2-hello { display: block; position: relative; font-size: 1.7rem; color: var(--violet); margin-bottom: 8px; }
.wp2-title {
  position: relative; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.15; margin-bottom: 16px;
}
.wp2-text { position: relative; color: #4a4360; font-size: 0.98rem; line-height: 1.75; margin-bottom: 26px; }
.wp2-sign { display: block; position: relative; margin-top: 20px; font-size: 1.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================ responsive */
@media (max-width: 1120px) {
  .nav-links a { padding: 9px 12px; }
  .nav-links a .material-symbols-rounded { display: none; }
}
@media (max-width: 1024px) {
  .work-panel { grid-template-columns: 1fr; overflow-y: auto; }
  .wp-side { max-height: none; }
  .wp-slides img { max-height: 55vh; }
}
@media (max-width: 1024px) {
  .ab-grid { grid-template-columns: 1fr 1fr; }
  .ab-rail { grid-column: span 2; flex-direction: row; }
  .ab-rail-block { flex: 1; }
}
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero3 { padding-top: 110px; text-align: center; }
  .hero3-grid { flex-direction: column; }
  .hero3-copy { padding-bottom: 8px; width: 100%; }
  .hero3-year { justify-content: center; }
  .hero3-year i { width: 70px; }
  .hero3-hello { margin: -0.6em auto 0; white-space: nowrap; }
  .hero3-name { margin: 0 auto; font-size: clamp(2.3rem, 8.6vw, 4rem); }
  .hero3-tag { margin-left: auto; margin-right: auto; }
  .hero3-services { justify-content: center; max-width: none; }
  .hs-item { padding: 8px clamp(10px, 3vw, 16px); }
  .hero3-contact { justify-content: center; }
  .hero3-cta { margin-left: 0; }
  .hero3-visual { position: static; width: min(84vw, 420px); margin: 26px auto 0; }
  .hero3-avail { top: 0; right: 50%; transform: translateX(50%); }
  .hero3-trust { left: 50%; transform: translateX(-50%); bottom: -8px; }
  .about2-grid { grid-template-columns: 1fr; }
  .about2-visual { margin: 0 auto; max-width: 430px; padding-right: 0; }
  .av-chip-2 { right: -2%; }
  .about2-foot { justify-content: center; }
  .about2-copy { text-align: left; }
  .ab-grid { grid-template-columns: 1fr; text-align: center; }
  .ab-tagline { margin-left: auto; margin-right: auto; }
  .ab-rail { grid-column: span 1; flex-direction: column; }
  .ab-story-grid { grid-template-columns: 1fr; }
  .testi-card { width: min(78vw, 340px); }
  .journey::before { left: 14px; }
  .journey-row { flex-direction: column; gap: 8px; padding-left: 40px; position: relative; }
  .journey-year { text-align: left; padding-top: 0; width: auto; }
  .journey-dot { position: absolute; left: 8px; top: 6px; margin-top: 0; }
  .hero-stage { flex-direction: column; align-items: center; min-height: 0; margin-top: 10px; }
  .hero-float { position: static; max-width: 420px; align-items: center; text-align: center; }
  .hf-left { order: 2; margin-top: 26px; }
  .hf-right { order: 3; margin-top: 20px; }
  .hero-photo { order: 1; }
  .trust { justify-content: center; }
}
@media (max-width: 820px) {
  .nav-box { padding: 10px 10px 10px 20px; }
  .nav-links {
    position: fixed; left: 12px; right: 12px; top: 86px; margin: 0;
    flex-direction: column; gap: 6px; padding: 18px;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(20px);
    border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 24px 60px rgba(76, 49, 140, 0.2);
    opacity: 0; visibility: hidden; transform: translateY(-14px) scale(0.98);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 1rem; padding: 13px 18px; border-radius: 14px; }
  .nav-links a .material-symbols-rounded { display: inline-block; }
  .nav-burger { display: block; flex-shrink: 0; margin-left: auto; }
  .nav-cta { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .cp-row { grid-template-columns: 1fr; }
  .exp-row { flex-wrap: wrap; }
  .work-search { width: 100%; }
  .work-search input, .work-search input:focus { width: 100%; }
  .stats-card { justify-content: space-between; }
  .hero-stat { flex: 1 1 40%; }
}
