/* ========== Base + variables ========== */

:root {
  --pink-light: #ffe3ec;
  --pink-lighter: #ffeaf2;
  --pink-strong: #e55f90;
  --pink-pill: #f391b4;
  --text-main: #333333;
  --text-muted: #555555;
  --section-bg: #f9f9f9;
  --card-bg: #ffffff;
  --card-border: #e9ecef;
  --shadow-soft: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-soft-lg: 0 18px 40px rgba(227, 134, 164, 0.35);
  --max-width: 1000px;
}

/* reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: #fff5f7;
}

/* links */
a {
  color: var(--pink-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ffffff;
  color: #000;
  padding: 0.5rem 1rem;
  border: 2px solid #000;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
}

/* ========== Header + nav (Stella-style) ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #fbd0dc;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* circular initials */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--pink-pill);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

/* nav links */
.main-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: #555555;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--pink-strong);
}

/* ========== HERO ========== */

.hero {
  background: linear-gradient(90deg, var(--pink-light) 0%, var(--pink-lighter) 100%);
  padding: 72px 0;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1.2;
}

.hero-name {
  font-size: clamp(2.6rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--pink-strong);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: #444444;
  margin-bottom: 0.75rem;
}

.hero-description {
  max-width: 34rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-photo-wrapper {
  flex: 1;
  max-width: 360px;
  border-radius: 24px;
  background: var(--pink-lighter);
  padding: 0.75rem;
  box-shadow: var(--shadow-soft-lg);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* ========== Sections shared styles ========== */

.section-box {
  padding: 4rem 1rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--pink-strong);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* ========== About ========== */

.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  justify-self: center;
  width: 250px;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ========== Skills ========== */

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.skill-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.skill-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== Projects ========== */

.projects-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr 1fr;
  }
}

.project-card {
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #2c3e50;
}

.project-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ========== Contact ========== */

.contact-inner {
  text-align: center;
}

.contact-inner p {
  margin-bottom: 0.7rem;
}

.contact-inner a {
  font-weight: 600;
}

/* ========== Footer ========== */

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.9rem;
  color: #777777;
}

/* ========== Responsive tweaks ========== */

@media (max-width: 768px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-photo-wrapper {
    max-width: 260px;
  }

  .about-section {
    padding: 3rem 1.5rem;
    text-align: center;
  }
}

/* ========== Experience section (timeline style) ========== */

.experience-section {
  background: #fff9fb;
}

.experience-timeline {
  border-left: 3px solid #f8c1d6;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1rem;
}

.experience-item {
  position: relative;
}

.experience-dot {
  position: absolute;
  left: -1.1rem;
  top: 0.8rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--pink-pill);
  background: #ffffff;
}

.experience-card {
  background: #fff7fa;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.experience-dates {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c96a90;
  margin-bottom: 0.25rem;
}

.experience-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.2rem;
}

.experience-org {
  font-style: italic;
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 0.6rem;
}

.experience-list {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.experience-list li + li {
  margin-top: 0.35rem;
}

/* ========== Coursework section ========== */

.coursework-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.coursework-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.coursework-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #2c3e50;
}

.coursework-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .coursework-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.coursework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.coursework-card {
  display: block;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coursework-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.coursework-card h3 {
  margin-bottom: 10px;
  font-weight: 700;
}