/* =============================================
   BREANNA BURKE — Personal Site
   ============================================= */

:root {
  --pink-50:  #fff0f6;
  --pink-100: #ffe0ed;
  --pink-200: #ffc2d8;
  --pink-300: #ff9dbf;
  --pink-400: #ff6ba0;
  --pink-500: #f03e7c;
  --pink-600: #d4185e;
  --pink-700: #a80f48;

  --rose:     #e8547a;
  --blush:    #f9b8cc;
  --mauve:    #c97fa3;
  --plum:     #6b2d5e;
  --wine:     #3d1535;

  --bg:       #0d0a0e;
  --bg-2:     #120d14;
  --bg-3:     #1a1020;
  --surface:  #1f1428;
  --surface-2:#261831;

  --text:     #f5eaf0;
  --text-muted: #9d7f8e;
  --text-soft:  #c8a8b8;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', 'Courier New', monospace;

  --radius: 16px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; color: var(--pink-300); }
strong { font-weight: 600; }

/* ---- Custom Cursor ---- */
.cursor {
  width: 12px; height: 12px;
  background: var(--pink-400);
  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, width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}
.cursor-trail {
  width: 36px; height: 36px;
  border: 1.5px solid var(--pink-400);
  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-out), opacity 0.2s;
  opacity: 0.5;
}
body:hover .cursor { opacity: 1; }

/* ---- Particles ---- */
.particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, black 0%, black 35%, transparent 65%);
  mask-image: linear-gradient(to top, black 0%, black 35%, transparent 65%);
}
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13, 10, 14, 0.5);
  border-bottom: 1px solid rgba(240, 62, 124, 0.08);
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(13, 10, 14, 0.85);
  border-bottom-color: rgba(240, 62, 124, 0.15);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-300), var(--mauve));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; gap: 2.5rem;
}
.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--pink-400);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Section Shared ---- */
.section { padding: 8rem 0; position: relative; z-index: 1; }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pink-400);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.section-header {
  margin-bottom: 4rem;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }
.delay-4 { transition-delay: 0.5s; }
.delay-5 { transition-delay: 0.65s; }

/* hero-specific fade-in-up (on page load) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s var(--ease-out) forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up.delay-1 { animation-delay: 0.3s; }
.fade-in-up.delay-2 { animation-delay: 0.55s; }
.fade-in-up.delay-3 { animation-delay: 0.8s; }
.fade-in-up.delay-4 { animation-delay: 1s; }
.fade-in-up.delay-5 { animation-delay: 1.2s; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink-500), var(--mauve));
  color: #fff;
  box-shadow: 0 4px 24px rgba(240, 62, 124, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(240, 62, 124, 0.45);
}
.btn-ghost {
  border: 1px solid rgba(240, 62, 124, 0.3);
  color: var(--pink-300);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(240, 62, 124, 0.08);
  border-color: rgba(240, 62, 124, 0.6);
  transform: translateY(-2px);
}
.btn-large { padding: 1.1rem 2.8rem; font-size: 1rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 0 4rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--bg);
}

/* huge background text */
.hero-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 62, 124, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: bgTextFloat 8s ease-in-out infinite;
  letter-spacing: -0.03em;
}
@keyframes bgTextFloat {
  0%, 100% { transform: translate(-50%, -50%) skewY(0deg); }
  50% { transform: translate(-50%, -52%) skewY(-0.5deg); }
}

/* gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240, 62, 124, 0.18) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201, 127, 163, 0.12) 0%, transparent 70%);
  bottom: 0; left: 30%;
  border-radius: 50%;
  pointer-events: none;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--pink-400);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column;
}
.hero-name .name-line {
  display: block;
  background: linear-gradient(135deg, var(--text) 40%, var(--pink-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-name .name-line.italic { font-style: italic; }

.hero-tagline {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}
.typewriter-wrapper {
  display: flex; align-items: center;
  color: var(--pink-300);
  font-style: italic;
  min-width: 280px;
}
.cursor-blink {
  animation: blink 1s step-end infinite;
  color: var(--pink-400);
  font-weight: 300;
  transition: opacity 0.15s;
}
.typewriter-wrapper.tw-empty .cursor-blink {
  opacity: 0;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--pink-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.about-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.5rem;
}
.tag {
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  border: 1px solid rgba(240, 62, 124, 0.25);
  color: var(--pink-300);
  background: rgba(240, 62, 124, 0.06);
  transition: all 0.2s;
}
.tag:hover {
  background: rgba(240, 62, 124, 0.15);
  border-color: rgba(240, 62, 124, 0.5);
  transform: translateY(-2px);
}

.about-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(240, 62, 124, 0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  overflow: hidden;
}
.card-blob {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(240, 62, 124, 0.15) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
  animation: blobPulse 6s ease-in-out infinite;
}
@keyframes blobPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative; z-index: 1;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-300), var(--mauve));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

/* ============================================
   WRITING / BLOG
   ============================================ */
.writing {
  background: var(--bg-2);
  position: relative;
}
.writing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201, 127, 163, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(240, 62, 124, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--surface);
  border: 1px solid rgba(240, 62, 124, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 62, 124, 0.3);
  box-shadow: 0 20px 60px rgba(240, 62, 124, 0.15);
}
.blog-card.featured {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-color: rgba(240, 62, 124, 0.2);
}
.blog-card-inner {
  padding: 2rem;
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card.featured .blog-card-inner {
  padding: 2.5rem;
}
.blog-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-400);
  background: rgba(240, 62, 124, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  border: 1px solid rgba(240, 62, 124, 0.2);
}
.blog-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text);
  transition: color 0.2s;
}
.blog-card.featured .blog-title { font-size: 1.6rem; }
.blog-card:hover .blog-title { color: var(--pink-300); }
.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.blog-meta {
  display: flex; gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.blog-link {
  font-size: 0.85rem;
  color: var(--pink-400);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s, letter-spacing 0.3s;
}
.blog-card:hover .blog-link { color: var(--pink-300); letter-spacing: 0.06em; }

/* ============================================
   PROJECTS
   ============================================ */
.projects {
  background: var(--bg);
}
.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(107, 45, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(240, 62, 124, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
  cursor: pointer;
}
.project-card:hover {
  border-color: rgba(240, 62, 124, 0.35);
  transform: translateY(-4px);
}
.project-card:hover .project-glow { opacity: 1; }

.project-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(240, 62, 124, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pink-600);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.project-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  transition: color 0.2s;
  background: linear-gradient(135deg, var(--text), var(--pink-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.project-stack {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.project-stack span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  background: rgba(240, 62, 124, 0.07);
  border: 1px solid rgba(240, 62, 124, 0.15);
  border-radius: 4px;
  color: var(--text-soft);
}
.project-links {
  display: flex; gap: 1.25rem;
}
.project-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--pink-400);
  letter-spacing: 0.03em;
  transition: color 0.2s, letter-spacing 0.3s;
}
.project-link:hover { color: var(--pink-300); letter-spacing: 0.07em; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(240, 62, 124, 0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.contact-title { margin-bottom: 1rem; }
.contact-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.social-links {
  display: flex; gap: 2rem; justify-content: center;
  margin-top: 2.5rem;
}
.social-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.social-link::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--pink-400);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.social-link:hover { color: var(--pink-300); }
.social-link:hover::after { transform: scaleX(1); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(240, 62, 124, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative; z-index: 1;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--pink-600), var(--mauve));
  border-radius: 100px;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: rgba(240, 62, 124, 0.25);
  color: var(--pink-200);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 0 2rem; }
  .hero-scroll-hint { left: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { grid-column: span 2; }
  .projects-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 0 1.25rem; }
  .hero-scroll-hint { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: span 1; }
  .section { padding: 5rem 0; }
  .container { padding: 0 1.25rem; }
}
