:root {
  --bg: #e9d7fb;
  --bg-elevated: #f5f3ff;
  --bg-alt: #c0b2fe;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #7c3aed;
  --accent-soft: rgba(167, 139, 250, 0.16);
  --border-subtle: rgba(167, 139, 250, 0.55);
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.7);
  --transition-fast: 180ms ease-out;
  --transition-med: 220ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #fdf2ff 0, #faf5ff 40%, #f4f4ff 100%);
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(253, 242, 255, 0.95),
    rgba(250, 245, 255, 0.9),
    rgba(250, 245, 255, 0.7)
  );
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.25rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.7);
  background: radial-gradient(circle at 0 0, rgba(216, 180, 254, 0.46), transparent 55%);
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  position: relative;
  padding-bottom: 0.1rem;
  transition: color var(--transition-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #f5d0fe, #e9d5ff, #a5b4fc);
  transition: width var(--transition-med);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.theme-toggle {
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: radial-gradient(circle at 30% 0%, rgba(216, 180, 254, 0.25), rgba(250, 245, 255, 0.9));
  color: var(--text);
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), opacity var(--transition-fast);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
  opacity: 1;
}

.theme-icon {
  font-size: 0.9rem;
}

.hero {
  padding: 5.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
}

.hero-text {
  align-self: center;
}

.hero-photo-wrapper {
  display: flex;
  justify-content: center;
}

.hero-photo-card {
  position: relative;
  border-radius: 24px;
  padding: 0.35rem;
  background: radial-gradient(circle at 0 0, rgba(216, 180, 254, 0.55), #f9fafb);
  box-shadow: 0 26px 60px rgba(148, 163, 184, 0.45);
  max-width: 260px;
}

.hero-photo-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  border: 1px solid rgba(216, 180, 254, 0.7);
  pointer-events: none;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.7rem;
}

.subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe, #a5b4fc);
  color: #1f2937;
  box-shadow: 0 18px 40px rgba(129, 140, 248, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(129, 140, 248, 0.7);
}

.btn.ghost {
  border-color: rgba(209, 213, 219, 0.9);
  color: var(--text);
  background: radial-gradient(circle at 0 0, rgba(243, 232, 255, 0.8), #ffffff);
}

.btn.ghost:hover {
  border-color: rgba(167, 139, 250, 0.9);
  background: radial-gradient(circle at 0 0, rgba(237, 233, 254, 0.9), #ffffff);
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at 0 0, rgba(237, 233, 254, 0.7), #ffffff);
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.section-intro {
  margin: 0 0 1.8rem;
  color: var(--muted);
  max-width: 30rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.card {
  background: linear-gradient(145deg, #ffffff, #f9fafb, #ede9fe);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.35);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.facts-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.facts-contact {
  align-items: flex-start;
}

.facts-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  max-width: 14rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  color: var(--text);
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.chip:hover {
  border-color: rgba(167, 139, 250, 0.9);
  background: #f5f3ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.35);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.facts-list span {
  color: var(--muted);
}

.facts-list strong {
  font-weight: 500;
}

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

.timeline {
  position: relative;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.6));
}

.timeline-item {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.5rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 2px solid rgba(167, 139, 250, 0.9);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.25);
}

.timeline-year {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, rgba(237, 233, 254, 0.7), #ffffff);
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.4);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(219, 234, 254, 0.25),
    transparent,
    rgba(196, 181, 253, 0.4),
    transparent,
    rgba(219, 234, 254, 0.25)
  );
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(237, 233, 254, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
  color: var(--muted);
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.links-list a {
  color: var(--accent);
}

.links-list a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  padding: 1.4rem 0 1.7rem;
}

.footer-inner {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .nav {
    gap: 0.9rem;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding-inline: 0.2rem;
  }

  .nav a {
    display: none;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 1.05rem 1.1rem;
  }
}

