/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #faf8f4;
  --rose: #e8a598;
  --rose-light: #f2d0c8;
  --charcoal: #2c2c2c;
  --charcoal-light: #555;
  --white: #fff;
  --ff-head: 'Playfair Display', serif;
  --ff-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 10px; height: 10px;
  background: var(--rose);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease), width 0.2s, height 0.2s, opacity 0.2s;
  opacity: 0.6;
}
body:hover .cursor-follower { opacity: 1; }
a:hover ~ .cursor, button:hover ~ .cursor { transform: translate(-50%,-50%) scale(2); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5%;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(44,44,44,0.06);
}
.nav__logo {
  font-family: var(--ff-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--charcoal); letter-spacing: -0.02em;
}
.nav__logo span { color: var(--rose); }
.nav__links { display: flex; gap: 2.5rem; list-style: none; }
.nav__link {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none;
  color: var(--charcoal-light);
  transition: color 0.2s;
  position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--rose);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--charcoal); }
.nav__link:hover::after { width: 100%; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--charcoal); transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1.5rem 0; }
.mobile-link {
  font-family: var(--ff-head); font-size: 2.5rem; font-weight: 600;
  text-decoration: none; color: var(--charcoal);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--rose); }

/* ── INTRO SECTION ── */
.intro {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.intro__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; width: 100%; padding: 0 5%;
  padding-top: 80px; gap: 4rem; position: relative; z-index: 2;
}

/* Floating Blobs */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.35; pointer-events: none;
}
.blob--1 {
  width: 520px; height: 520px;
  background: var(--rose-light);
  top: -100px; right: -80px;
  animation: drift1 14s ease-in-out infinite;
}
.blob--2 {
  width: 360px; height: 360px;
  background: #c8d8c8;
  bottom: 50px; left: -80px;
  animation: drift2 18s ease-in-out infinite;
}
.blob--3 {
  width: 280px; height: 280px;
  background: #c8c0d8;
  top: 40%; left: 45%;
  animation: drift3 22s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.05); }
  66% { transform: translate(20px, -20px) scale(0.97); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.08); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-30px, 40px) scale(1.04); }
  80% { transform: translate(20px, -20px) scale(0.96); }
}

/* Intro Text */
.intro__eyebrow {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 1.5rem; font-weight: 500;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s 0.2s var(--ease), transform 0.7s 0.2s var(--ease);
}
.intro__eyebrow.visible { opacity: 1; transform: translateY(0); }

.intro__headline {
  font-family: var(--ff-head);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.08; color: var(--charcoal);
  overflow: hidden;
}
.intro__line {
  display: block; opacity: 0; transform: translateY(100%);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.intro__line.visible { opacity: 1; transform: translateY(0); }
#line1 { transition-delay: 0.35s; }
#line2 { transition-delay: 0.5s; }
#line3 { transition-delay: 0.65s; }
.intro__line--italic { font-style: italic; color: var(--rose); }

.intro__sub {
  margin-top: 1.8rem; font-size: 1.05rem; color: var(--charcoal-light);
  line-height: 1.7; max-width: 400px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s 0.9s var(--ease), transform 0.7s 0.9s var(--ease);
}
.intro__sub.visible { opacity: 1; transform: translateY(0); }

.intro__cta {
  display: inline-block; margin-top: 2.5rem;
  font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; color: var(--charcoal); text-decoration: none;
  border-bottom: 1.5px solid var(--rose); padding-bottom: 4px;
  transition: color 0.2s, letter-spacing 0.3s;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s 1.1s var(--ease), transform 0.7s 1.1s var(--ease),
              color 0.2s, letter-spacing 0.3s;
}
.intro__cta.visible { opacity: 1; transform: translateY(0); }
.intro__cta:hover { color: var(--rose); letter-spacing: 0.18em; }

/* CSS Abstract Shape */
.intro__right {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(40px);
  transition: opacity 1s 0.6s var(--ease), transform 1s 0.6s var(--ease);
}
.intro__right.visible { opacity: 1; transform: translateX(0); }
.shape-container {
  width: 380px; height: 380px; position: relative;
}
.shape {
  position: absolute; border-radius: 50%;
}
.shape--ring {
  width: 280px; height: 280px;
  border: 2px solid var(--rose-light);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 20s linear infinite;
}
.shape--fill {
  width: 180px; height: 180px;
  background: var(--rose-light);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
}
.shape--arc {
  width: 220px; height: 220px;
  border: 1.5px dashed rgba(232,165,152,0.5);
  top: 10px; left: 10px;
  animation: spin 30s linear infinite reverse;
}
.shape--dot {
  width: 18px; height: 18px;
  background: var(--rose);
  top: 30px; left: 50%;
  animation: orbit 8s linear infinite;
}
.shape--dot2 {
  width: 10px; height: 10px;
  background: #c8c0d8;
  bottom: 40px; right: 40px;
  animation: orbit 12s linear infinite reverse;
}
.shape--line {
  width: 100px; height: 1.5px;
  background: var(--charcoal);
  border-radius: 0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: grow 4s ease-in-out infinite;
}
.shape--square {
  width: 50px; height: 50px;
  border-radius: 8px;
  border: 1.5px solid var(--charcoal);
  top: 20px; right: 30px;
  animation: float 7s ease-in-out infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.1); }
}
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}
@keyframes grow {
  0%,100% { width: 80px; opacity: 0.4; }
  50% { width: 140px; opacity: 1; }
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
}

/* Scroll Hint */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 5%;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--charcoal-light); z-index: 2;
}
.scroll-hint__line {
  width: 50px; height: 1px; background: var(--charcoal-light);
  animation: expand 2s ease-in-out infinite;
}
@keyframes expand {
  0%,100% { width: 30px; opacity: 0.4; }
  50% { width: 70px; opacity: 1; }
}

/* ── PROJECTS SECTION ── */
.projects {
  padding: 8rem 5%;
  background: var(--cream);
}
.projects__header {
  margin-bottom: 4rem; max-width: 600px;
}
.projects__label {
  font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose);
  margin-bottom: 1rem; font-weight: 500;
}
.projects__title {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15; color: var(--charcoal);
}
.projects__title em { font-style: italic; color: var(--rose); }

/* Masonry */
.masonry {
  columns: 3; column-gap: 1.5rem;
}
.tile {
  break-inside: avoid; margin-bottom: 1.5rem;
  border-radius: 16px; overflow: hidden;
  position: relative; cursor: none;
  background: var(--tile-color);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile--tall  { height: 420px; }
.tile--short { height: 260px; }
.tile--medium { height: 320px; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(44,44,44,0.12); }

.tile__content {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 1;
}
.tile__tag {
  display: inline-block; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.7); color: var(--charcoal);
  padding: 4px 10px; border-radius: 30px; margin-bottom: 0.6rem;
  font-weight: 500;
}
.tile__title {
  font-family: var(--ff-head); font-size: 1.5rem;
  color: var(--charcoal); font-weight: 600;
}
.tile__overlay {
  position: absolute; inset: 0;
  background: rgba(44,44,44,0.82);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  border-radius: 16px;
}
.tile:hover .tile__overlay { transform: translateY(0); }
.tile__desc {
  font-size: 0.92rem; color: rgba(255,255,255,0.88);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.tile__link {
  display: inline-block; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.08em;
  color: var(--rose-light); text-decoration: none;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px; transition: color 0.2s;
}
.tile__link:hover { color: var(--rose); }

/* ── CONTACT SECTION ── */
.contact {
  padding: 8rem 5%; position: relative; overflow: hidden;
  background: #f4f0ea;
}

/* Decorative dots/shapes */
.deco { position: absolute; pointer-events: none; }
.deco--tl {
  top: 3rem; left: 4%;
  width: 80px; height: 80px;
  border: 1px solid var(--rose-light);
  border-radius: 50%;
}
.deco--tr {
  top: 5rem; right: 6%;
  width: 12px; height: 12px;
  background: var(--rose-light); border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(232,165,152,0.15);
}
.deco--bl {
  bottom: 4rem; left: 8%;
  width: 6px; height: 6px;
  background: var(--rose); border-radius: 50%;
  box-shadow: 20px 0 0 var(--rose-light), 40px 0 0 rgba(232,165,152,0.4);
}
.deco--circle {
  bottom: 6rem; right: 4%;
  width: 120px; height: 120px;
  border: 1.5px dashed rgba(232,165,152,0.5);
  border-radius: 50%;
  animation: spin 25s linear infinite;
}

.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start; position: relative; z-index: 1;
}
.contact__label {
  font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rose);
  margin-bottom: 1rem; font-weight: 500;
}
.contact__title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2; color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.contact__title em { font-style: italic; color: var(--rose); }
.contact__body {
  font-size: 1rem; color: var(--charcoal-light);
  line-height: 1.75; margin-bottom: 2.5rem;
}
.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.contact__info-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact__info-label {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--rose); font-weight: 500;
}

/* Form */
.form { display: flex; flex-direction: column; gap: 2rem; }
.form__group { display: flex; flex-direction: column; gap: 0.5rem; }
.form__label {
  font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--charcoal-light); font-weight: 500;
}
.form__input {
  background: transparent; border: none;
  border-bottom: 1.5px solid rgba(44,44,44,0.2);
  padding: 0.75rem 0; font-size: 1rem;
  font-family: var(--ff-body); color: var(--charcoal);
  outline: none; width: 100%;
  transition: border-color 0.3s;
}
.form__input::placeholder { color: rgba(44,44,44,0.35); }
.form__input:focus { border-bottom-color: var(--rose); }
.form__textarea { resize: vertical; min-height: 120px; }
.form__submit {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--rose); color: #fff;
  border: none; padding: 1rem 2.5rem;
  border-radius: 50px; font-size: 0.9rem;
  font-family: var(--ff-body); font-weight: 600;
  cursor: none; align-self: flex-start;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  letter-spacing: 0.04em;
}
.form__submit:hover {
  background: #d48878; transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232,165,152,0.4);
}
.btn-icon { font-size: 1.1rem; transition: transform 0.3s; }
.form__submit:hover .btn-icon { transform: translateX(4px); }
.form__success {
  display: none; font-size: 0.9rem; color: var(--rose);
  padding: 0.75rem 0; letter-spacing: 0.05em;
}
.form__success.show { display: block; }

/* ── CV SECTION ── */
.cv {
  padding: 8rem 5%; text-align: center;
  background: var(--cream);
}
.cv__divider {
  height: 1px; background: rgba(44,44,44,0.1);
  max-width: 200px; margin: 0 auto 6rem;
}
.cv__inner { max-width: 700px; margin: 0 auto; }
.cv__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  background: rgba(232,165,152,0.15);
  color: var(--rose); padding: 0.5rem 1.2rem;
  border-radius: 50px; margin-bottom: 2.5rem;
  border: 1px solid rgba(232,165,152,0.3);
}
.cv__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rose);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.2; }
}
.cv__quote {
  font-family: var(--ff-head); font-style: italic;
  font-size: 1.1rem; color: var(--charcoal-light);
  line-height: 1.7; margin-bottom: 2rem;
  border-left: 2px solid var(--rose);
  padding-left: 1.5rem; text-align: left;
}
.cv__quote cite {
  display: block; font-size: 0.82rem;
  font-style: normal; margin-top: 0.5rem;
  letter-spacing: 0.08em; color: var(--rose);
}
.cv__title {
  font-family: var(--ff-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1; color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.cv__title em { font-style: italic; color: var(--rose); }
.cv__body {
  font-size: 1rem; color: var(--charcoal-light);
  line-height: 1.75; margin-bottom: 2.5rem;
}
.cv__btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--charcoal); color: var(--cream);
  text-decoration: none; padding: 1rem 2.8rem;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.cv__btn:hover {
  background: var(--rose); transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(232,165,152,0.35);
}
.cv__btn-icon { width: 18px; height: 18px; stroke: currentColor; }
.cv__stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; margin-top: 4rem;
}
.cv__stat { display: flex; flex-direction: column; gap: 0.3rem; }
.cv__stat-num {
  font-family: var(--ff-head); font-size: 2.5rem;
  font-weight: 700; color: var(--charcoal);
}
.cv__stat-label {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--charcoal-light);
}
.cv__divider-v {
  width: 1px; height: 50px; background: rgba(44,44,44,0.15);
}

/* ── FOOTER ── */
.footer {
  padding: 2.5rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(44,44,44,0.08);
  font-size: 0.82rem; color: var(--charcoal-light);
}
.footer__links { display: flex; gap: 2rem; }
.footer__link {
  color: var(--charcoal-light); text-decoration: none;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--rose); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .masonry { columns: 2; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .intro__inner { grid-template-columns: 1fr; text-align: center; }
  .intro__right { display: none; }
  .intro__sub { max-width: 100%; }
  .intro__cta { margin-top: 2rem; }
  .masonry { columns: 1; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .cv__stats { flex-direction: column; gap: 1.5rem; }
  .cv__divider-v { width: 50px; height: 1px; }
  .footer { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .intro__headline { font-size: 2.5rem; }
  .blob--1 { width: 300px; height: 300px; }
  .blob--2 { width: 220px; height: 220px; }
}

/* Animate on scroll utility */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
