@import url("./styles.css");

:root {
  --bg-green: #f6f3ef;
  --bg-green-soft: #f2eee9;
  --card: #ffffff;
  --card-soft: #ffffff;
  --text: #1f2a33;
  --muted: #586373;
  --line: #e7e2dc;
  --accent: #2e3f73;
  --accent-dark: #24315b;
  --shadow: 0 16px 30px rgba(26, 29, 36, 0.08);
}

body[data-theme="dark"] {
  --bg-green: #11172b;
  --bg-green-soft: #171f35;
  --card: #1f2740;
  --card-soft: #222c48;
  --text: #eef2ff;
  --muted: #b3bfdc;
  --line: #384364;
  --accent: #9bb2ff;
  --accent-dark: #7e98f4;
  --shadow: 0 18px 38px rgba(6, 10, 20, 0.45);
}

body {
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-green), var(--bg-green-soft));
}

body::before {
  background:
    radial-gradient(circle at 78% 32%, rgba(112, 105, 220, 0.22), transparent 16%),
    radial-gradient(circle at 73% 43%, rgba(255, 188, 87, 0.28), transparent 15%),
    radial-gradient(circle at 63% 60%, rgba(76, 180, 210, 0.33), transparent 19%),
    radial-gradient(circle at 82% 68%, rgba(166, 195, 221, 0.35), transparent 21%);
}

body[data-theme="dark"]::before {
  background:
    radial-gradient(circle at 78% 32%, rgba(112, 105, 220, 0.18), transparent 16%),
    radial-gradient(circle at 73% 43%, rgba(255, 188, 87, 0.12), transparent 15%),
    radial-gradient(circle at 63% 60%, rgba(76, 180, 210, 0.16), transparent 19%),
    radial-gradient(circle at 82% 68%, rgba(166, 195, 221, 0.14), transparent 21%);
}

body::after {
  display: none;
}

.vcard-page {
  width: min(1280px, 96vw);
  margin-top: 1.6rem;
}

.vcard-shell {
  grid-template-columns: 470px 1fr;
  gap: 1.8rem;
}

.card {
  background: var(--card);
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--line);
}

.profile-pane {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
  border-radius: 8px;
}

.profile-cover-wrap {
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.profile-cover {
  object-fit: cover;
  object-position: center;
}

.profile-cover-wrap::after {
  display: none;
}

.avatar-wrap {
  margin-top: -78px;
}

.avatar-image,
.avatar {
  width: 140px;
  height: 140px;
  border-width: 6px;
  border-color: var(--card-soft);
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.95;
  margin: 1.1rem 0 0.25rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 500;
}

.location-row {
  margin-top: 0.5rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--muted);
}

.social-row {
  margin-top: 0.9rem;
}

.social-row a {
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-soft);
  color: var(--muted);
}

.meta-list {
  margin-top: 1rem;
  border: 0;
}

.meta-list span {
  color: var(--muted);
}

.impact-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
}

.impact-list li {
  flex: 1 1 120px;
  background: var(--card-soft);
}

.profile-actions {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.btn {
  min-height: 62px;
  letter-spacing: 0.8px;
}

.btn + .btn {
  border-left: 1px solid var(--line);
  border-top: 0;
}

#linkedinCta {
  display: none;
}

.content-pane {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
  border-radius: 8px;
  padding: 1rem 1.2rem 1.1rem;
}

.content-topbar {
  padding: 0 0 0.4rem;
  border-bottom: 0;
  margin-bottom: 0.6rem;
  justify-content: flex-end;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  color: var(--text);
  letter-spacing: -0.6px;
}

.design-switcher a {
  background: var(--card-soft);
  border-radius: 999px;
}

.theme-toggle,
.menu-toggle {
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.tabs-nav {
  padding: 0 0 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.tabs {
  gap: 0.95rem;
  flex: 1 1 auto;
}

.tabs a {
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.74rem;
  color: var(--muted);
}

.tabs a span {
  display: none;
}

.tabs a.active,
.tabs a:hover {
  color: var(--text);
  background: transparent;
}

.tabs-nav .nav-actions {
  flex: 0 0 auto;
}

.section {
  padding: 0.1rem 0 1rem;
}

.section-heading h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  text-transform: none;
  letter-spacing: -0.5px;
}

.hero-summary {
  max-width: 72ch;
  font-size: 1.08rem;
}

.inline-card,
.service-card,
.achievement-card,
.education-card,
.timeline-item,
.fact-card {
  background: var(--card-soft);
  border-radius: 8px;
}

.grid-2 {
  gap: 0.9rem;
  border: 0;
}

.grid-2 > * {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card h4,
.achievement-card h4,
.education-card h4,
.timeline-item h4,
.fact-card h4 {
  color: var(--text);
}

.service-icon,
.fact-card .glyph {
  color: var(--accent);
  border-color: var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 0.6rem;
  padding: 0.9rem 0;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .vcard-shell {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3rem;
  }
}
