:root {
  --cream: #FDF7E4;
  --yellow: #FBEFB0;
  --yellow-deep: #F9D77E;
  --pink: #F07CB8;
  --pink-deep: #D4468C;
  --pink-shadow: #A82E6C;
  --pink-pale: #F5A9C0;
  --purple: #8E6FC4;
  --purple-pale: #C9A7F0;
  --blue-pale: #ADD3F7;
  --gold: #F5C446;
  --gold-shadow: #E3C96A;
  --ink: #3A2A44;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: Quicksand, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--pink-deep); text-decoration: none; }

h1, h2, h3 { font-family: Fredoka, system-ui, sans-serif; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Decorative animations ---------- */
@keyframes anaFloat { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(12deg); } }
@keyframes anaFloatSlow { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-26px) rotate(8deg); } }
@keyframes anaBee { 0% { transform: translate(0,0); } 25% { transform: translate(30px,-14px); } 50% { transform: translate(60px,4px); } 75% { transform: translate(24px,-10px); } 100% { transform: translate(0,0); } }

.deco { position: absolute; }
.deco-a { top: 60px; left: 7%; width: 86px; height: 86px; animation: anaFloatSlow 7s ease-in-out infinite; opacity: .9; }
.deco-b { top: 210px; right: 9%; width: 64px; height: 64px; animation: anaFloat 5.5s ease-in-out infinite; }
.deco-c { bottom: 200px; left: 16%; width: 46px; height: 46px; animation: anaFloat 6.5s ease-in-out infinite .8s; }
.deco-float-b { top: -30px; right: 6%; width: 78px; height: 78px; animation: anaFloat 6s ease-in-out infinite; }
.deco-bee { bottom: 26px; left: 2%; width: 52px; height: 38px; animation: anaBee 9s ease-in-out infinite; }
.deco-float-c { top: 120px; right: 6%; width: 70px; height: 70px; animation: anaFloatSlow 8s ease-in-out infinite; }
.deco-float-a { top: 70px; left: 6%; width: 80px; height: 80px; animation: anaFloat 7s ease-in-out infinite; }
.deco-bee-warm { bottom: 130px; right: 8%; width: 52px; height: 38px; animation: anaBee 11s ease-in-out infinite; }

/* ---------- Nav ---------- */
.top-bar { height: 14px; background: var(--purple); position: sticky; top: 0; z-index: 51; }
.nav-wrap { position: sticky; top: 14px; z-index: 50; }
nav {
  background: var(--pink);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 38px;
  padding: 14px 46px;
  box-shadow: 0 4px 0 rgba(142,111,196,.22);
  flex-wrap: wrap;
}
nav a { font: 600 15px Quicksand, sans-serif; color: #4A2340; transition: color .2s ease; }
nav a:hover { color: #FFF6C9; }
nav a.nav-cta {
  font-weight: 700;
  color: #fff;
  background: var(--pink-deep);
  padding: 9px 20px;
  border-radius: 999px;
}
nav a.nav-cta:hover { background: var(--purple); color: #FFF6C9; }

/* ---------- Sections shared ---------- */
.section { position: relative; padding: 0 24px; overflow: hidden; }
.section h2 { font-weight: 700; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
.section-sub { font: 500 17px Quicksand, sans-serif; }

/* ---------- Welcome ---------- */
.welcome {
  background: var(--yellow);
  padding: 120px 24px 170px;
  text-align: center;
}
.welcome-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.eyebrow {
  font: 600 15px Quicksand, sans-serif;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: #8A5C14;
  margin-bottom: 18px;
}
.welcome h1 {
  font-weight: 700;
  font-size: clamp(58px, 10vw, 128px);
  line-height: .95;
  color: var(--ink);
}
.lede {
  font: 500 clamp(17px,2.2vw,22px)/1.6 Quicksand, sans-serif;
  max-width: 560px;
  margin: 26px auto 0;
  color: #6B4A5E;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.btn {
  font: 700 16px Quicksand, sans-serif;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
  display: inline-block;
}
.btn-pink { color: #fff; background: var(--pink-deep); box-shadow: 0 6px 0 var(--pink-shadow); }
.btn-pink:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--pink-shadow); color: #FFF6C9; }
.btn-white { color: var(--ink); background: #fff; box-shadow: 0 6px 0 var(--gold-shadow); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--gold-shadow); color: var(--pink-deep); }

.wave { position: absolute; left: 0; width: 100%; height: 150px; display: block; }
.wave-bottom { bottom: 0; }
.wave-top { top: -1px; height: 160px; }

/* ---------- About ---------- */
.about { background: var(--pink-pale); padding: 60px 24px 0; }
.about-grid {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: center;
  padding: 110px 0 60px;
}
.about-text h2 {
  font-size: clamp(38px, 5.4vw, 66px);
  color: #FFF6E0;
  text-shadow: 3px 4px 0 var(--pink-deep);
  margin-bottom: 20px;
}
.about-text p {
  font: 500 17px/1.75 Quicksand, sans-serif;
  color: #5B2A44;
  margin-bottom: 16px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tag { font: 700 14px Quicksand, sans-serif; padding: 9px 18px; border-radius: 999px; }
.tag-cream { background: #FFF6E0; color: var(--pink-deep); }
.tag-purple { background: var(--purple-pale); color: var(--ink); }
.tag-blue { background: var(--blue-pale); color: #28455E; }

.polaroid-wrap { display: flex; justify-content: center; position: relative; }
.polaroid-stack {
  position: relative;
  cursor: pointer;
  width: 332px;
  max-width: calc(60vw + 32px);
  height: 380px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}
.polaroid {
  position: absolute;
  inset: 0;
  background: #fff;
  padding: 16px 16px 62px;
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(90,40,70,.24);
  transition: transform .5s cubic-bezier(.34,1.3,.5,1);
}
.polaroid p { font: 600 15px Quicksand, sans-serif; margin-top: 16px; text-align: center; }
.polaroid-photo {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.polaroid-photo span { font: 12px ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.photo-a { background: repeating-linear-gradient(135deg,#E9D8F5 0 12px,#DCC8EE 12px 24px); }
.photo-a span { color: #7A5A92; }
.photo-b { background: repeating-linear-gradient(135deg,#F3D7E6 0 12px,#EBC6DA 12px 24px); }
.photo-b span { color: #A3648A; }
.card-a p { color: var(--purple); }
.card-b p { color: var(--pink-deep); }

/* photo pose states */
.polaroid.pose-front { transform: translate(0,0) rotate(3deg) scale(1); z-index: 2; }
.polaroid.pose-back { transform: translate(0,0) rotate(-7deg) scale(.96); z-index: 1; }
.polaroid.pose-lift { transform: translate(64%,-6%) rotate(11deg) scale(1.02); z-index: 3; }

.section-seam {
  position: relative;
  z-index: 3;
  height: 64px;
  background: linear-gradient(to bottom, var(--pink-pale) 30%, var(--purple-pale) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-seam { flex-wrap: nowrap; }
.section-seam > div { flex: none; margin: 0 -17px; }

/* ---------- Projects ---------- */
.projects { background: var(--purple-pale); padding: 80px 24px 40px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head p { font: 500 17px/1.6 Quicksand, sans-serif; color: #4E3560; margin-top: 16px; }
.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 290px));
  gap: 30px;
  justify-content: center;
}
.project-card {
  display: block;
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 12px 0 rgba(90,50,130,.22);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.project-card:hover { transform: translateY(-8px) rotate(-1.6deg); box-shadow: 0 18px 0 rgba(90,50,130,.28); }
.project-shot {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg,#F3ECFA 0 10px,#E7DBF4 10px 20px);
  font: 11px ui-monospace, Menlo, monospace;
  color: #7A5A92;
}
.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-title-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.project-title-row .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); flex: none; }
.project-card h3 { font: 700 17px Fredoka, system-ui, sans-serif; }
.project-card p { font: 500 13.5px/1.5 Quicksand, sans-serif; color: #6B5A78; margin: 7px 0 12px; }
.project-tag { font: 700 12px Quicksand, sans-serif; background: var(--yellow); color: #9A6A1E; padding: 6px 13px; border-radius: 999px; }

.scallop-blue {
  position: relative;
  margin: 70px -24px -40px;
  height: 46px;
  background: radial-gradient(circle at 36px 46px, var(--blue-pale) 36px, transparent 37px) repeat-x 0 0/72px 46px;
}

/* ---------- Skills ---------- */
.skills { background: var(--blue-pale); padding: 26px 24px 110px; }
.skills-inner { max-width: 980px; margin: 0 auto; }
.skills-inner h2 { text-align: center; margin-bottom: 12px; color: #20374C; }
.skills-inner .section-sub { text-align: center; color: #3E5A74; margin-bottom: 48px; }
.skills-list { display: grid; gap: 16px; }
.skill-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #FFFDF2;
  border-radius: 26px;
  padding: 20px 26px;
  box-shadow: 0 8px 0 rgba(40,80,120,.16);
  transition: transform .22s ease;
}
.skill-row:hover { transform: translateX(10px) rotate(.5deg); }
.skill-icon { flex: none; width: 58px; height: 58px; border-radius: 18px; }
.skill-text { flex: 1; min-width: 0; }
.skill-text h3 { font: 700 20px Fredoka, system-ui, sans-serif; color: #20374C; }
.skill-text p { font: 500 14.5px/1.5 Quicksand, sans-serif; color: #5A7189; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { background: var(--gold); padding: 100px 24px 60px; }
.contact-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
.contact-inner h2 { text-align: center; color: var(--ink); }
.contact-inner .section-sub { text-align: center; color: #7A5416; margin: 14px 0 46px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 34px; align-items: start; }

#contactForm {
  background: #FFFDF2;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 12px 0 rgba(150,100,10,.22);
  display: grid;
  gap: 14px;
}
#contactForm label {
  font: 700 13px Quicksand, sans-serif;
  color: var(--purple);
  letter-spacing: .06em;
  text-transform: uppercase;
}
#contactForm input, #contactForm textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  font: 500 15px Quicksand, sans-serif;
  color: var(--ink);
  padding: 13px 16px;
  border: 2px solid #F3D9E7;
  border-radius: 16px;
  outline: none;
  background: #fff;
}
#contactForm textarea { resize: vertical; font-family: Quicksand, sans-serif; }
#contactForm input:focus, #contactForm textarea:focus { border-color: var(--pink); }
#sendBtn {
  font: 700 16px Quicksand, sans-serif;
  color: #fff;
  background: var(--pink-deep);
  border: none;
  padding: 15px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--pink-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
#sendBtn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--pink-shadow); }
#sendBtn:disabled { opacity: .8; cursor: default; }

.contact-links { display: grid; gap: 14px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFDF2;
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow: 0 8px 0 rgba(150,100,10,.18);
  color: var(--ink);
  font: 700 16px Quicksand, sans-serif;
  transition: transform .2s ease;
}
.contact-link:hover { transform: translateY(-3px); }
.contact-link .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot-pink { background: var(--pink); }
.dot-purple { background: var(--purple); }
.dot-blue { background: var(--blue-pale); }
.dot-rose { background: var(--pink-pale); }
.cv-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 8px 0 rgba(30,15,40,.35);
  font: 700 16px Quicksand, sans-serif;
  color: #FFF6C9;
  transition: transform .2s ease, color .2s ease;
}
.cv-link:hover { transform: translateY(-3px); color: var(--yellow); }

.footer-note { text-align: center; font: 500 14px Quicksand, sans-serif; color: #7A5416; margin: 54px 0 0; }

@media (max-width: 640px) {
  nav { justify-content: center; padding: 14px 20px; gap: 20px; }
  .welcome { padding: 90px 20px 130px; }
}
