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

:root {
  --green-deep: #2c4a2e;
  --green-mid: #3d6b40;
  --green-soft: #5a8f5c;
  --green-light: #e8f0e8;
  --green-tint: #f4f8f4;
  --cream: #fdfcfa;
  --text: #2a2a2a;
  --text-light: #6a6a6a;
  --border: #ddd8d2;
  --white: #ffffff;
  --font-cursive: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Lora', 'Georgia', serif;
  --max-w: 880px;
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 1px 20px rgba(44, 74, 46, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-cursive);
  font-weight: 500;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--green-deep);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-cursive);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green-deep);
}

.nav-cta {
  background: var(--green-deep);
  color: var(--white) !important;
  padding: 7px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 28px 80px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--green-tint) 100%);
}

.hero .container {
  width: 100%;
}

.hero-label {
  font-family: var(--font-cursive);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--green-soft);
  margin-bottom: 8px;
}

.hero-name {
  font-family: var(--font-cursive);
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.05;
  color: var(--green-deep);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: var(--green-soft);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 6px;
  font-family: var(--font-cursive);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  background: var(--green-deep);
  color: var(--white);
  border: 1.5px solid var(--green-deep);
}

.btn:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--green-deep);
  background: transparent;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section-tinted {
  background: var(--green-tint);
}

.section-heading {
  font-family: var(--font-cursive);
  font-weight: 600;
  font-style: italic;
  font-size: 2.2rem;
  color: var(--green-deep);
  margin-bottom: 40px;
}

/* ---- Entries (Education, Experience) ---- */
.entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.entry:last-child {
  border-bottom: none;
}

.entry-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.entry h3 {
  font-family: var(--font-cursive);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
}

.entry-date {
  font-family: var(--font-cursive);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--green-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-role {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.entry-detail {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

.entry-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.entry-list li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 3px 0 3px 18px;
  position: relative;
}

.entry-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-soft);
}

/* ---- Card Grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: 0 6px 28px rgba(44, 74, 46, 0.08);
  transform: translateY(-2px);
}

.card-tag {
  display: inline-block;
  font-family: var(--font-cursive);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--green-soft);
  margin-bottom: 10px;
}

.card h3 {
  font-family: var(--font-cursive);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--green-deep);
  margin-bottom: 2px;
}

.card-role {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-cursive);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--green-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--green-deep);
}

/* ---- Footer ---- */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.footer-name {
  font-family: var(--font-cursive);
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--green-deep);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-cursive);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-deep);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 28px 60px;
  }

  .entry-top {
    flex-direction: column;
    gap: 2px;
  }

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

  .section {
    padding: 60px 0;
  }
}
