:root {
  --bg: #f7f1eb;
  --bg-soft: #faf5f1;
  --card: #fffdfb;
  --card-alt: #f0e7f2;
  --text: #2d2335;
  --muted: #5d4d63;
  --accent: #6f4d8b;
  --accent-dark: #4d375d;
  --accent-soft: rgba(111, 77, 139, 0.12);
  --purple-2: #d7cce8;
  --cream: #f9f3ee;
  --border: rgba(81, 59, 92, 0.12);
  --shadow: 0 18px 38px rgba(69, 51, 80, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
  font-weight: 700;
}

p,
li,
strong,
.email,
.contact-card,
.card p,
.role-card p,
.exploring-box p,
.about-copy p,
.intro-paragraph,
.page-intro,
.experience-card p {
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 26px;
}

.brand {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  transition: color 0.2s ease;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.hero {
  padding: 30px 0 12px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 30px rgba(91, 66, 96, 0.06);
}

.eyebrow,
.section-kicker,
.card-badge {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero-copy h1 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--accent-dark);
  font-weight: 850;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.intro-paragraph {
  margin: 0 0 16px;
  max-width: 720px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  font-family: "Inter", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.italic-text {
  font-style: normal;
  color: var(--text);
  opacity: 0.96;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.single-row {
  margin-bottom: 8px;
}

.connect-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.79rem;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-top: 8px;
  border-top: 1px solid rgba(111, 77, 139, 0.12);
  max-width: 450px;
}

.connect-inline span:first-child {
  color: var(--accent-dark);
  font-weight: 700;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.connect-inline a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 77, 139, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.connect-inline a:hover,
.connect-inline a:focus-visible {
  color: var(--accent);
  border-color: rgba(111, 77, 139, 0.4);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  box-shadow: 0 14px 24px rgba(109, 79, 136, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  border: 1px solid var(--border);
}

.photo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  background: linear-gradient(135deg, var(--card-alt), #faf6fb);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.photo-slot {
  width: 82%;
  height: 82%;
  border-radius: 24px;
  border: 2px dashed rgba(111, 77, 139, 0.45);
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  padding-top: 84px;
}

.compact-section {
  padding-top: 36px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.6rem, 1.8vw, 1.9rem);
  letter-spacing: -0.04em;
  color: var(--accent-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card-link .card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card-link:hover .card,
.project-card-link:focus-visible .card {
  transform: translateY(-2px);
  border-color: rgba(111, 77, 139, 0.28);
  box-shadow: 0 18px 32px rgba(69, 51, 80, 0.09);
}

.card,
.exploring-box,
.role-card,
.project-item,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.card {
  padding: 24px 22px;
}

.card h3 {
  margin: 16px 0 12px;
  font-size: 1.1rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.experience-subhead {
  margin: 8px 0 10px;
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-weight: 400;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 600;
}

.about-copy {
  max-width: 820px;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1.02rem;
}

.exploring-box {
  padding: 28px 26px;
}

.exploring-box p {
  margin: 0 0 16px;
  color: var(--muted);
}

.exploring-box p:last-child {
  margin-bottom: 0;
}

.experience-list,
.project-list {
  display: grid;
  gap: 18px;
}

.role-card {
  padding: 22px 24px;
}

.role-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.role-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--accent-dark);
}

.role-header span {
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
}

.role-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.role-card li + li {
  margin-top: 8px;
}

.experience-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.role-header h3,
.role-header span,
.experience-date {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.role-header h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.role-header span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.experience-date {
  margin-top: 8px;
  font-size: 1.05rem;
  color: var(--accent-dark);
  font-weight: 600;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.01em;
}

.project-item {
  padding: 20px 22px;
}

.project-detail-card {
  padding: 26px 28px;
}

.project-item strong {
  font-size: 1.1rem;
  color: var(--accent-dark);
}

.project-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-card {
  padding: 22px 24px;
}

.contact-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(24, 24, 27, 0.2);
}

.footer {
  padding-top: 60px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 850px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .photo-panel {
    min-height: 280px;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    gap: 12px 16px;
  }

  .role-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer {
  padding-top: 60px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    gap: 12px 16px;
  }

  .role-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
