/* =====================================================
   VIVIAN PORTFOLIO — STYLE SYSTEM
   ===================================================== */

:root {
  --hot-pink:   #E8538A;
  --blush-pink: #F7AECB;
  --peach:      #FFD4B2;
  --cream:      #FFF5EE;
  --coral:      #FF8C6B;
  --dusty-rose: #F4C2C2;
  --warm-taupe: #C9A98A;
  --charcoal:   #3D2B1F;
  --shadow-card: 0 4px 24px rgba(232, 83, 138, 0.10);
  --shadow-hover: 0 16px 48px rgba(232, 83, 138, 0.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.2; }

.section__label {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hot-pink);
  margin-bottom: 8px;
}
.section__title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section__title em { font-style: italic; color: var(--hot-pink); }
.section__subtitle {
  font-size: 18px;
  color: var(--warm-taupe);
  max-width: 520px;
  margin-bottom: 48px;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 64px; }
.section { padding: 120px 0; }
.section--peach { background: rgba(255, 212, 178, 0.22); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 9999px;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.btn--primary {
  background: var(--hot-pink);
  color: white;
  box-shadow: 0 4px 20px rgba(232, 83, 138, 0.3);
}
.btn--primary:hover {
  background: var(--coral);
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 83, 138, 0.4);
}
.btn--secondary {
  background: transparent;
  color: var(--hot-pink);
  border: 2px solid var(--hot-pink);
}
.btn--secondary:hover {
  background: var(--hot-pink);
  color: white;
  transform: scale(1.04) translateY(-1px);
}

/* ── Tags ── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--blush-pink);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 600;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 245, 238, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(232, 83, 138, 0.08);
  padding: 12px 0;
}
.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
  height: 36px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav__logo:hover .nav__logo-img { transform: scale(1.08) rotate(-2deg); }
.nav__logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--charcoal);
}
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--hot-pink);
  border-radius: 2px;
  transition: width 0.2s ease;
}
.nav__link:hover { color: var(--hot-pink); }
.nav__link:hover::after { width: 100%; }
.nav__link.contact-link {
  background: var(--hot-pink);
  color: white;
  padding: 8px 20px;
  border-radius: 9999px;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav__link.contact-link::after { display: none; }
.nav__link.contact-link:hover { background: var(--coral); color: white; transform: scale(1.05); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  padding: 120px 0 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, rgba(247,174,203,0.18) 50%, rgba(255,212,178,0.28) 100%);
  position: relative;
  overflow: hidden;
}
.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hot-pink);
  margin-bottom: 16px;
}
.hero__name {
  font-size: clamp(52px, 6vw, 72px);
  color: var(--charcoal);
  margin-bottom: 16px;
  animation: breatheText 5s ease-in-out infinite;
}
.hero__tagline {
  font-size: 18px;
  color: var(--warm-taupe);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__photo-frame {
  width: 340px;
  height: 420px;
  border-radius: 200px 200px 160px 160px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, var(--blush-pink), var(--peach));
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatPhoto 5s ease-in-out infinite;
}
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% 55%;
}
.hero__photo-placeholder {
  font-size: 80px;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.hero__blob--1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,83,138,0.14), transparent 70%);
  top: -60px; right: -40px;
  animation: blobPulse 6s ease-in-out infinite;
}
.hero__blob--2 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,212,178,0.5), transparent 70%);
  bottom: 10px; left: -30px;
  animation: blobPulse 8s ease-in-out infinite reverse;
}
.hero__blob--3 {
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(247,174,203,0.4), transparent 70%);
  top: 50%; right: -20px;
  animation: blobPulse 5s ease-in-out infinite 1s;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: center;
}
.about__image-wrap { position: relative; }
.about__image-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 120px 120px 80px 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blush-pink), var(--peach));
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.about__image-frame:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: var(--shadow-hover);
}
.about__image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.about__image-fallback {
  font-size: 80px;
  display: none;
  align-items: center;
  justify-content: center;
}
.about__image-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: white;
  border: 3px solid var(--blush-pink);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
  min-width: 100px;
  animation: floatBadge 4s ease-in-out infinite;
}
.about__image-badge-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 32px;
  color: var(--hot-pink);
}
.about__image-badge-text { font-size: 11px; font-weight: 600; color: var(--warm-taupe); line-height: 1.4; }

.about__bio { font-size: 17px; color: var(--charcoal); margin-bottom: 16px; }
.about__bio strong { color: var(--hot-pink); }

.about__stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid var(--dusty-rose);
  border-bottom: 1px solid var(--dusty-rose);
}
.about__stat-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  color: var(--hot-pink);
}
.about__stat-label { font-size: 12px; font-weight: 600; color: var(--warm-taupe); text-transform: uppercase; letter-spacing: 1px; }

/* =====================================================
   SKILLS — CLEAN BUBBLES
   ===================================================== */
.skills__header { text-align: center; margin-bottom: 48px; }
.skills__header .section__label,
.skills__header .section__title { text-align: center; }

.skills__bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.skill-bubble {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 9999px;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: default;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.skill-bubble:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 83, 138, 0.22);
}
.skill-bubble--hot {
  background: var(--hot-pink);
  color: white;
}
.skill-bubble--hot:hover { background: var(--coral); }
.skill-bubble--blush {
  background: var(--blush-pink);
  color: var(--charcoal);
  border-color: var(--blush-pink);
}
.skill-bubble--blush:hover { background: var(--hot-pink); color: white; }
.skill-bubble--peach {
  background: var(--peach);
  color: var(--charcoal);
  border-color: var(--peach);
}
.skill-bubble--peach:hover { background: var(--hot-pink); color: white; }
.skill-bubble--cream {
  background: white;
  color: var(--charcoal);
  border-color: var(--dusty-rose);
}
.skill-bubble--cream:hover { background: var(--hot-pink); color: white; border-color: var(--hot-pink); }

/* =====================================================
   WORK / PROJECTS
   ===================================================== */
.work__header { margin-bottom: 48px; }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 9999px;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: white;
  color: var(--charcoal);
  border: 2px solid var(--dusty-rose);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.filter-tab:hover { border-color: var(--hot-pink); color: var(--hot-pink); transform: scale(1.04); }
.filter-tab.active { background: var(--hot-pink); color: white; border-color: var(--hot-pink); }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Project Card */
.project-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(247,174,203,0.2);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-hover);
}
.project-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--blush-pink), var(--hot-pink));
}
.project-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
  display: block;
}
.project-card:hover .project-card__thumb img { transform: scale(1.05); }

/* Fallback thumbnail when no screenshot */
.project-card__thumb-fallback {
  width: 100%; height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.project-card__thumb-fallback.active { display: flex; }

.project-card__favicon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-card__favicon img { width: 28px; height: 28px; object-fit: contain; }
.project-card__domain {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
}

.project-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-card__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
}
.project-card__tag--industry { background: var(--blush-pink); color: var(--charcoal); }
.project-card__tag--platform { background: rgba(201,169,138,0.18); color: var(--warm-taupe); }
.project-card__name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  color: var(--charcoal);
}
.project-card__thumb-link {
  display: block;
  text-decoration: none;
}
.project-card__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hot-pink);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.project-card__link::after { content: '→'; }
.project-card__link--ext::after { content: ''; }
.project-card__link--ext {
  color: var(--warm-taupe);
  font-weight: 600;
}
.project-card:hover .project-card__link { gap: 10px; color: var(--coral); }
.project-card:hover .project-card__link--ext { color: var(--charcoal); gap: 4px; }

/* =====================================================
   EXPERIENCE
   ===================================================== */
.experience__header { margin-bottom: 48px; }
.experience__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.experience__col-label {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hot-pink);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dusty-rose);
}
@media (max-width: 768px) {
  .experience__cols { grid-template-columns: 1fr; gap: 48px; }
}
.timeline { max-width: 720px; }
.timeline__item { display: grid; grid-template-columns: 32px 1fr; gap: 24px; padding-bottom: 48px; }
.timeline__marker { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.timeline__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--hot-pink);
  border: 3px solid var(--blush-pink);
  flex-shrink: 0;
  animation: pulseDot 3s ease-in-out infinite;
}
.timeline__dot--edu {
  background: var(--peach);
  border-color: var(--coral);
}
.timeline__line { flex: 1; width: 2px; background: var(--dusty-rose); margin-top: 6px; min-height: 120px; }
.timeline__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.timeline__date { font-size: 13px; font-weight: 700; color: var(--hot-pink); text-transform: uppercase; letter-spacing: 1px; }
.timeline__duration {
  font-size: 12px; font-weight: 700;
  background: var(--blush-pink); color: var(--charcoal);
  padding: 3px 10px; border-radius: 9999px;
}
.timeline__role { font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; color: var(--charcoal); margin-bottom: 4px; }
.timeline__company { font-size: 15px; font-weight: 700; color: var(--warm-taupe); margin-bottom: 16px; }
.timeline__desc { font-size: 16px; color: var(--charcoal); margin-bottom: 16px; line-height: 1.7; }
.timeline__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* =====================================================
   FOOTER — redesigned
   ===================================================== */
.footer {
  background: linear-gradient(160deg, #2a1d18 0%, var(--charcoal) 100%);
  overflow: hidden;
}

/* --- Marquee ticker --- */
.footer__marquee {
  background: var(--blush-pink);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.footer__marquee-track {
  display: inline-block;
  animation: marqueeScroll 18s linear infinite;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer__marquee-dot {
  margin: 0 20px;
  color: rgba(255,255,255,0.6);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* --- Body --- */
.footer__body {
  padding: 64px 0 48px;
  text-align: center;
}

/* Photos centered */
.footer__photos-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.footer__photo {
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(247,174,203,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease;
  cursor: pointer;
}
.footer__photo:hover { border-color: var(--blush-pink); z-index: 10; }
.footer__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.footer__photo--a {
  width: 110px; height: 110px;
  margin-right: -18px;
  transform: rotate(-8deg) translateY(14px);
  z-index: 2;
}
.footer__photo--a:hover { transform: rotate(-3deg) translateY(4px) scale(1.12); }
.footer__photo--b {
  width: 140px; height: 140px;
  transform: rotate(2deg) translateY(-4px);
  z-index: 5;
  border-color: rgba(255,140,107,0.5);
}
.footer__photo--b:hover { transform: rotate(-1deg) translateY(-10px) scale(1.10); }
.footer__photo--c {
  width: 110px; height: 110px;
  margin-left: -18px;
  transform: rotate(7deg) translateY(14px);
  z-index: 2;
  border-color: rgba(255,212,178,0.6);
}
.footer__photo--c:hover { transform: rotate(3deg) translateY(4px) scale(1.12); }

/* Headline */
.footer__headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 36px;
}
.footer__headline em {
  color: var(--blush-pink);
  font-style: italic;
}

/* CTA buttons */
.footer__cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.2s ease;
}
.footer__cta-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.footer__cta-btn--email {
  background: var(--blush-pink);
  color: #fff;
}
.footer__cta-btn--email:hover { background: #e8799a; }
.footer__cta-btn--insta {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
}
.footer__cta-btn--insta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}
.footer__cta-icon { font-size: 18px; }

.footer__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  font-family: 'Nunito', sans-serif;
}

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__logo { display: flex; align-items: center; }
.footer__logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer__logo:hover .footer__logo-img { opacity: 0.85; transform: scale(1.08) rotate(-2deg); }
.footer__logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: rgba(255,255,255,0.5);
}
.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.22);
  text-align: center;
}
.footer__copy-link {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__copy-link:hover { color: var(--blush-pink); }

/* =====================================================
   ANIMATIONS — BREATHING AND HOVER
   ===================================================== */

/* Fade-up for hero */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.65s ease-out forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.38s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Breathing animations */
@keyframes breatheText {
  0%, 100% { letter-spacing: -0.5px; }
  50%       { letter-spacing: 0.5px; }
}

@keyframes floatPhoto {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.8deg); }
  66%       { transform: translateY(-5px) rotate(-0.5deg); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

@keyframes blobPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  50%       { transform: scale(1.15) translate(8px, -8px); opacity: 1; }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,83,138,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(232,83,138,0); }
}

/* Page background soft shimmer */
body::before {
  content: '';
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(
    ellipse at 20% 20%,
    rgba(247,174,203,0.04) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse at 80% 80%,
    rgba(255,212,178,0.06) 0%,
    transparent 50%
  );
  animation: shimmerBg 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
section, nav, footer { position: relative; z-index: 1; }

@keyframes shimmerBg {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(3%, 2%) rotate(1deg); }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .container, .nav__container, .hero__container { padding: 0 32px; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav__container { padding: 0 20px; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 300px; height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 28px;
    box-shadow: -4px 0 32px rgba(61,43,31,0.1);
    transition: right 0.3s ease;
    z-index: 99;
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 18px; }

  .hero { padding: 100px 0 72px; }
  .hero__container { grid-template-columns: 1fr; gap: 48px; padding: 0 20px; text-align: center; }
  .hero__cta { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__photo-frame { width: 220px; height: 270px; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__image-col { display: none; }
  .about__stats { gap: 20px; }

  .projects__grid { grid-template-columns: 1fr; }

  .footer__body { padding: 48px 0 36px; }
  .footer__photo--a, .footer__photo--c { width: 85px; height: 85px; }
  .footer__photo--b { width: 110px; height: 110px; }
  .footer__cta-row { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero__name { font-size: 44px; }
  .hero__photo-frame { width: 180px; height: 220px; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; font-size: 12px; }
  .about__stats { flex-direction: column; gap: 12px; }
  .footer__cta-btn { width: 100%; justify-content: center; }
}
