/* ============ Vicky Tran, Portfolio ============ */

:root {
  --bg: #FBFAF7;
  --bg-tint: #F7F3EE;
  --ink: #2A2235;
  --ink-soft: #5B5468;
  --ink-mute: #8A8395;
  --line: #ECE5DA;
  --line-soft: #F2EDE4;
  --card: #FFFFFF;

  --lav-pale: #F4ECFD;
  --lav: #E4D7F9;
  --lilac: #D4BFF5;
  --rose-pale: #FBE6EF;
  --rose: #F5C9D9;
  --rose-deep: #EFA6BF;

  /* Tonal lavender to soft rose, dreamy, cohesive */
  --iris: linear-gradient(125deg, #E4D7F9 0%, #ECCFEC 50%, #F5C9D9 100%);
  --iris-soft: linear-gradient(125deg, #EFE6FB 0%, #F4DCEF 50%, #FBE6EF 100%);
  --iris-bright: linear-gradient(125deg, #C9B5F2 0%, #DDB0DC 50%, #EFA6BF 100%);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.serif { font-family: "Instrument Serif", "Plus Jakarta Sans", serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: "JetBrains Mono", ui-monospace, monospace; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.shell { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .shell { padding: 0 22px; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: backdrop-filter .3s ease, background .3s ease, border-color .3s ease, padding .3s ease;
  padding: 22px 0;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(251, 250, 247, 0.72);
  border-bottom-color: var(--line-soft);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo { gap: 8px; padding: 4px 6px; border-radius: 999px; transition: background .25s; }
.logo:hover { background: rgba(228, 215, 249, .25); }
.logo-bloom {
  width: 16px; height: 16px;
  filter: drop-shadow(0 2px 6px rgba(196, 165, 240, .45));
  transition: transform 1.2s cubic-bezier(.4,1.4,.6,1);
  transform-origin: center;
  flex-shrink: 0;
}
.logo:hover .logo-bloom { transform: rotate(180deg); }
.logo-word {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover { color: var(--ink); background: rgba(228, 215, 249, .35); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 2px; background: var(--iris-bright);
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  background: var(--iris);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px -8px rgba(214, 180, 240, .5);
  transition: transform .2s ease, box-shadow .3s ease, background-position .6s ease;
  background-size: 200% 200%; background-position: 0% 50%;
}
.btn-pill:hover { transform: translateY(-1px); background-position: 100% 50%; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 30px -8px rgba(214, 180, 240, .7); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  border: 1px solid var(--line); color: var(--ink);
  background: var(--card);
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Sticky Contact ---------- */
.sticky-contact {
  position: fixed; bottom: 28px; right: 28px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: 999px;
  background: var(--iris);
  background-size: 220% 220%;
  background-position: 0% 50%;
  font-weight: 600; font-size: 15px; color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 10px 28px -8px rgba(214, 180, 240, .55),
    0 4px 14px -4px rgba(245, 201, 217, .4);
  animation: irisShift 8s ease-in-out infinite alternate, floatBob 5s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .3s ease;
}
.sticky-contact { white-space: nowrap; }
.sticky-contact:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 36px -8px rgba(214, 180, 240, .75); }
.sticky-contact .sc-emoji { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.55); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
@keyframes irisShift { to { background-position: 100% 50%; } }
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }
section.section-ai { padding: 40px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--iris-bright);
}

.section-title { font-size: 44px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 14px 0 12px; }
.section-sub { font-size: 18px; color: var(--ink-soft); max-width: 540px; line-height: 1.55; }

.gradient-text {
  background: linear-gradient(120deg, #8B6FD4 0%, #B47AAC 50%, #C26B8F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Hero (editorial 2-col) ---------- */
.hero { padding-top: 140px; padding-bottom: 0; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 120px; }
}

.hero-marker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--ink-mute);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.hero-marker-line {
  width: 60px; height: 1px; background: var(--ink-mute); opacity: .4;
}

.hero-greet {
  font-size: 14px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(228,215,249,.5) 0%, rgba(245,201,217,.4) 100%);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  width: fit-content;
}
.hero-greet .spark {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(196, 165, 240, .4));
}

.hero-name {
  font-size: clamp(80px, 11vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.12em;
  font-weight: 800;
}
.hero-name-vicky {
  background: linear-gradient(120deg, #8B6FD4 0%, #B47AAC 50%, #C26B8F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-name-tran {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-tagline {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 28ch;
}
.hero-tagline strong { color: var(--ink); font-weight: 600; }
.hero-sub {
  font-size: 16px; color: var(--ink-mute); line-height: 1.55; max-width: 50ch;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Right side: portrait + spinning badge */
.hero-right {
  position: relative;
  height: 480px;
  display: flex; align-items: center; justify-content: center;
  padding-right: 32px;
}
@media (max-width: 920px) { .hero-right { height: 440px; margin-top: 8px; } }

.hero-portrait {
  position: relative;
  width: 280px;
  transform: rotate(-3.5deg);
  transition: transform .5s cubic-bezier(.4,1.4,.6,1);
}
.hero-portrait:hover { transform: rotate(-1deg) translateY(-6px); }
.hero-portrait-inner {
  background: #fff;
  border-radius: 6px;
  padding: 16px 16px 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 26px 60px -20px rgba(180, 150, 220, .35),
    0 10px 30px -10px rgba(200, 150, 200, .25);
}
.hero-portrait-inner .placeholder-mono {
  position: relative; inset: auto;
  height: 320px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 30% 30%, #E4D7F9 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, #F5C9D9 0%, transparent 60%),
    linear-gradient(135deg, #F4ECFD 0%, #FBE6EF 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-soft); opacity: .7;
  border: none;
}
.hero-portrait-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.hero-portrait-tape {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 80px; height: 22px;
  background: linear-gradient(120deg, rgba(228,215,249,.7) 0%, rgba(245,201,217,.7) 100%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 2px 6px rgba(180,150,220,.2);
}

.hero-badge {
  position: absolute;
  top: -10px; right: 20px;
  width: 130px; height: 130px;
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 920px) {
  .hero-badge { width: 110px; height: 110px; top: -10px; right: 24px; }
  .hero-portrait { width: 240px; }
  .hero-portrait-inner .placeholder-mono { height: 280px; }
}
.hero-badge > svg {
  width: 100%; height: 100%;
  animation: badgeSpin 16s linear infinite;
}
@keyframes badgeSpin { to { transform: rotate(360deg); } }
.hero-badge-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(180,150,220,.4);
}
.hero-badge-core svg { width: 32px; height: 32px; animation: bloomTilt 6s ease-in-out infinite; }
@keyframes bloomTilt { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

/* Marquee strip */
.hero-marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  overflow: hidden;
  padding: 16px 0;
  margin-top: 0;
}
.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.hero-marquee-group {
  display: flex; align-items: center; gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-marquee-group .serif { font-size: 18px; color: var(--ink); }
.hero-marquee-dot {
  background: linear-gradient(120deg, #C9B5F2 0%, #EFA6BF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-size: 12px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* Orbs */
.orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb.o1 { width: 460px; height: 460px; background: radial-gradient(circle, #D4BFF5 0%, transparent 70%); top: -120px; left: -80px; animation-duration: 24s; }
.orb.o2 { width: 520px; height: 520px; background: radial-gradient(circle, #EFCBE2 0%, transparent 70%); top: -60px; right: -160px; animation-duration: 28s; animation-delay: -6s; }
.orb.o3 { width: 380px; height: 380px; background: radial-gradient(circle, #E0C9F5 0%, transparent 70%); top: 280px; left: 38%; animation-duration: 30s; animation-delay: -12s; }
.orb.o4 { width: 340px; height: 340px; background: radial-gradient(circle, #F2BBCE 0%, transparent 70%); top: 360px; right: 12%; animation-duration: 26s; animation-delay: -4s; }
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.08); }
  100% { transform: translate(-30px,40px) scale(.95); }
}

/* ---------- Tag chips ---------- */
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all .2s;
  white-space: nowrap;
}
.chip:hover { background: var(--iris-soft); border-color: transparent; color: var(--ink); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Case study tiles ---------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
.case-tile {
  position: relative;
  border-radius: var(--r-xl);
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: stretch;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.case-tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--iris-soft); opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.case-tile > * { position: relative; z-index: 1; }
.case-tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 24px 60px -20px rgba(180, 150, 220, .35), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.case-tile:hover::before { opacity: .55; }
@media (max-width: 820px) { .case-tile { grid-template-columns: 1fr; } }

.case-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.case-meta .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-mute); margin: 0 8px; vertical-align: middle; }
.case-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.case-desc { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 42ch; }
.case-thumb {
  border-radius: var(--r-lg);
  min-height: 240px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
}

/* per-tile thumb art */
.thumb-imprint {
  background:
    radial-gradient(circle at 20% 30%, #E4D7F9 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, #F5C9D9 0%, transparent 55%),
    linear-gradient(135deg, #F4ECFD 0%, #FBE6EF 100%);
}
.thumb-tbc1 {
  background:
    radial-gradient(circle at 75% 25%, #D4BFF5 0%, transparent 60%),
    radial-gradient(circle at 25% 75%, #F5C9D9 0%, transparent 60%),
    linear-gradient(135deg, #EFE6FB 0%, #FBE6EF 100%);
}
.thumb-tbc2 {
  background:
    radial-gradient(circle at 30% 30%, #EFA6BF 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #C9B5F2 0%, transparent 55%),
    linear-gradient(135deg, #FBE6EF 0%, #F4ECFD 100%);
}
.thumb-tag {
  position: absolute; top: 18px; left: 18px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 600; color: var(--ink);
  border: 1px solid rgba(255,255,255,.8);
  white-space: nowrap;
}
.thumb-label {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-soft); opacity: .7;
  display: flex; justify-content: space-between;
}

/* shimmer on hover */
.case-tile .shimmer { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.case-tile:hover .shimmer { opacity: 1; }
.case-tile .shimmer::before {
  content: ""; position: absolute;
  top: -50%; left: -60%; width: 60%; height: 200%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: rotate(15deg);
  animation: shimmerSweep 1.6s ease-out;
}
@keyframes shimmerSweep { to { left: 120%; } }

/* ---------- Experience highlights ---------- */
.exp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
@media (max-width: 820px) { .exp-list { grid-template-columns: 1fr; } }

.exp-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: 30px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.exp-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--iris-bright); opacity: 0; transition: opacity .3s;
}
.exp-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -20px rgba(180,150,220,.3); border-color: transparent; }
.exp-card:hover::after { opacity: 1; }
.exp-card .case-meta { margin-bottom: 14px; }
.exp-title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 10px; }
.exp-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 18px; }

/* ---------- AI section, compact to fit one viewport ---------- */
.ai-section {
  background: linear-gradient(180deg, transparent 0%, rgba(228,215,249,.35) 40%, rgba(245,201,217,.28) 100%);
  border-radius: 40px;
  margin: 24px 0;
  padding: 48px 0 32px;
}
.ai-header { text-align: center; max-width: 620px; margin: 0 auto 12px; }
.ai-header .section-title { font-size: 36px; margin: 8px 0 6px; }
.ai-header .section-sub { margin: 0 auto; font-size: 16px; }
.bubble-stage {
  position: relative;
  height: 380px;
  margin-top: 20px;
}
@media (max-width: 820px) { .ai-section { padding: 36px 0 24px; } .ai-header .section-title { font-size: 30px; } .bubble-stage { height: 460px; } }
.bubble {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  transition: transform .2s ease;
  cursor: default;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px -10px rgba(180,150,220,.4);
  user-select: none;
  will-change: transform;
}
.bubble:hover { transform: scale(1.08); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 80px; padding-top: 140px; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 120px; } }

.about-photo {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 30% 30%, #E4D7F9 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, #FAD9C2 0%, transparent 60%),
    linear-gradient(135deg, #F4ECFD 0%, #FDF1E6 100%);
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
}
.about-photo .placeholder-mono {
  position: absolute; inset: 20px;
  border-radius: var(--r-md);
  border: 1.5px dashed rgba(90, 70, 130, .25);
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-soft); opacity: .7;
  background: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255,255,255,.4) 14px, rgba(255,255,255,.4) 16px);
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(214, 240, 223, .55);
  border: 1px solid rgba(180, 220, 195, .5);
  font-size: 14px; font-weight: 500; color: #2C5C42;
  margin-top: 20px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4FAE7A; box-shadow: 0 0 0 4px rgba(79, 174, 122, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(79, 174, 122, .2); } 50% { box-shadow: 0 0 0 8px rgba(79, 174, 122, .05); } }

/* ---------- About ---------- */
.about-intro {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 920px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-intro { padding-top: 120px; }
}
.about-portrait-wrap { display: flex; justify-content: center; }
.about-portrait-wrap .hero-portrait { width: 320px; transform: rotate(-4deg); }
.about-portrait-wrap .hero-portrait:hover { transform: rotate(-1.5deg) translateY(-6px); }
.about-portrait-wrap .hero-portrait-inner .placeholder-mono { height: 380px; }
@media (max-width: 920px) {
  .about-portrait-wrap .hero-portrait { width: 280px; }
  .about-portrait-wrap .hero-portrait-inner .placeholder-mono { height: 340px; }
}

.about-intro-body { max-width: 640px; }
.about-intro-body .hero-marker { margin-bottom: 28px; }
.about-lead {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 20px;
  font-weight: 400;
  text-wrap: pretty;
}
.about-lead strong {
  font-weight: 600;
  background: linear-gradient(120deg, #8B6FD4 0%, #C26B8F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.about-lead-mute { color: var(--ink-soft); font-size: clamp(18px, 1.8vw, 22px); }

.about-facts-section { padding: 80px 0; position: relative; }
.about-skills-section { padding: 80px 0 100px; position: relative; }

/* Skills grid (3 cards) */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 920px) { .skills-grid { grid-template-columns: 1fr; } }

.skills-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.skills-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--iris-bright); opacity: 0; transition: opacity .35s;
}
.skills-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 20px 50px -22px rgba(180,150,220,.32);
}
.skills-card:hover::before { opacity: 1; }
.skills-card-num {
  position: absolute; top: 20px; right: 22px;
  font-size: 12px; color: var(--ink-mute); letter-spacing: 0.05em;
}
.skills-card-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  padding-right: 32px;
}

/* ---------- Fun Facts carousel ---------- */
.funfacts { margin: 8px 0 56px; }
.funfacts-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.funfacts-pager { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.05em; }
.funfacts-pager-divider { opacity: .4; }

.funfacts-stage {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 380px;
}
.funfact {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  padding: 32px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.funfact.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 820px) {
  .funfact { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .funfacts-stage { min-height: 540px; }
  .funfact-art { height: 220px; }
}

.funfact-art {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 30px -14px rgba(180,150,220,.35);
}
.funfact-art .placeholder-mono {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-soft); opacity: .65;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 14px, rgba(255,255,255,.35) 14px, rgba(255,255,255,.35) 16px);
  border: 1.5px dashed rgba(90,70,130,.18);
  border-radius: inherit;
}
.funfact-tape {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 64px; height: 18px;
  background: linear-gradient(120deg, rgba(228,215,249,.7) 0%, rgba(245,201,217,.7) 100%);
  border: 1px solid rgba(255,255,255,.6);
}
.fact-art-travel  { background: radial-gradient(circle at 30% 30%, #D6E4F7 0%, transparent 60%), linear-gradient(135deg, #EFE6FB 0%, #F4ECFD 100%); }
.fact-art-crafts  { background: radial-gradient(circle at 70% 30%, #F5C9D9 0%, transparent 60%), linear-gradient(135deg, #FBE6EF 0%, #F4ECFD 100%); }
.fact-art-music   { background: radial-gradient(circle at 30% 70%, #D4BFF5 0%, transparent 60%), linear-gradient(135deg, #EFE6FB 0%, #FBE6EF 100%); }
.fact-art-coffee  { background: radial-gradient(circle at 70% 70%, #EFA6BF 0%, transparent 65%), linear-gradient(135deg, #FBE6EF 0%, #F4ECFD 100%); }

.funfact-body { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.funfact-label { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.funfact-number {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(96px, 11vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  background: linear-gradient(120deg, #8B6FD4 0%, #B47AAC 50%, #C26B8F 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin: 0 0 12px;
}
.funfact-text { font-size: 17px; color: var(--ink-soft); line-height: 1.6; margin: 0; max-width: 46ch; }

.funfacts-dots {
  display: flex; gap: 8px; justify-content: flex-start;
  margin-top: 18px;
}
.funfacts-dot {
  position: relative;
  flex: 0 0 auto;
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
  padding: 0;
}
.funfacts-dot.active {
  background: rgba(196, 165, 240, .25);
}
.funfacts-dot-fill {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #C9B5F2 0%, #EFA6BF 100%);
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  animation: funfactFill 5.5s linear forwards;
  animation-play-state: paused;
}
.funfacts-dot.active .funfacts-dot-fill { animation-play-state: running; }
.funfacts-dot:not(.active) .funfacts-dot-fill { display: none; }
@keyframes funfactFill { to { transform: scaleX(1); } }

.skills-block { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-soft); }
.skills-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.skills-row:last-child { border-bottom: none; }
.skills-label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; text-transform: uppercase; padding-top: 6px; }
@media (max-width: 600px) { .skills-row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Resume ---------- */
.resume-shell { padding-top: 140px; }
.resume-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.resume-head h1 { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1; }
.resume-head .subtitle { font-size: 18px; color: var(--ink-soft); margin-top: 8px; }
.resume-body { display: grid; grid-template-columns: 1fr 280px; gap: 64px; padding: 48px 0 60px; }
@media (max-width: 920px) { .resume-body { grid-template-columns: 1fr; gap: 40px; } }

.resume-section-title { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 0 0 20px; }
.role { padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.role:last-child { border-bottom: none; }
.role-header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.role-title { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.role-title .at { color: var(--ink-soft); font-weight: 500; }
.role-meta { font-size: 13px; color: var(--ink-mute); font-family: "JetBrains Mono", monospace; }
.role-bullets { margin: 12px 0 0; padding: 0; list-style: none; }
.role-bullets li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 8px; }
.role-bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--iris-bright); border-radius: 2px; }

.resume-side { position: sticky; top: 100px; align-self: start; }
.resume-side-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; }
.resume-side-card h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.resume-side-card .chip-group { gap: 6px; }
.resume-side-card .chip { font-size: 12px; padding: 5px 10px; }

/* ---------- Contact ---------- */
.contact-shell { padding-top: 140px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-heading { font-size: clamp(40px, 5.5vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 24px; }
.contact-sub { font-size: 18px; color: var(--ink-soft); margin: 0 0 36px; max-width: 42ch; }
.contact-links { display: flex; flex-direction: column; gap: 4px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line-soft);
  transition: all .25s ease;
}
.contact-link:hover { background: var(--iris-soft); border-color: transparent; transform: translateX(4px); }
.contact-link .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--iris-soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-link .lbl { font-size: 12px; color: var(--ink-mute); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-link .val { font-size: 16px; font-weight: 500; color: var(--ink); }

.form-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: 40px; position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: -100px; right: -100px; width: 280px; height: 280px; border-radius: 50%; background: var(--iris-soft); opacity: .5; filter: blur(40px); pointer-events: none; }
.form-card > * { position: relative; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-field label .req { color: #C26B8F; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none; border-color: #B8A5DC;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 165, 220, .12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .err { color: #C26B8F; font-size: 12px; margin-top: 6px; }
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 16px; margin-top: 8px; }

.form-success {
  padding: 32px;
  border-radius: var(--r-md);
  background: var(--iris-soft);
  text-align: center;
}
.form-success-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px -8px rgba(180,150,220,.4);
}

/* ---------- Footer ---------- */
.footer { padding: 60px 0 110px; border-top: 1px solid var(--line-soft); margin-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-note { font-size: 14px; color: var(--ink-mute); }
.footer-links { display: flex; gap: 18px; font-size: 14px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Reveal (progressive enhancement — visible by default) ---------- */
.reveal { transition: opacity .8s ease, transform .8s ease; }
html.js-reveal .reveal { opacity: 0; transform: translateY(20px); }
html.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }

/* small-screen tweak */
@media (max-width: 720px) {
  .nav-links { gap: 0; }
  .nav-link { padding: 6px 10px; font-size: 14px; }
  .sticky-contact { bottom: 18px; right: 18px; padding: 12px 18px 12px 14px; font-size: 14px; }
  .section-title { font-size: 34px; }
  .case-tile { padding: 24px; }
  .case-title { font-size: 26px; }
  .resume-head h1 { font-size: 40px; }
}

/* hide sticky contact when actually on contact page */
.on-contact .sticky-contact { display: none; }
