:root {
  --bg: transparent;
  --accent: #ebbd47;
  --accent-strong: #d5c078;
  --text-primary: #2a544f;
  --text-muted: #5c766f;
  --surface: rgba(255, 255, 255, 0.86);
  --card-bg: #ffffff;
  --border: rgba(42, 84, 79, 0.15);
  --gloss: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: url("../images/bbwithmeerashankar-bg.webp") center / cover no-repeat fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem 4rem;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  opacity: 0.05;
  pointer-events: none;
}

.page {
  width: min(1100px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.page::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(235, 189, 71, 0.25), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tagline i {
  font-size: 1rem;
  color: var(--accent);
}

h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin: 0;
  letter-spacing: 0.03em;
}

.subhead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
  text-align: center;
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.cta {
  position: relative;
  border: none;
  cursor: pointer;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2a544f;
  background: linear-gradient(120deg, #fff4cf, var(--accent) 55%, var(--accent-strong));
  transition: transform 150ms ease, filter 150ms ease;
  clip-path: inset(0 round 999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gloss);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.cta:hover {
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(0 6px 14px rgba(235, 189, 71, 0.35));
}

.cta.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(235, 189, 71, 0.5);
}

.cta i {
  font-size: 1rem;
}

.cta.secondary::after {
  display: none;
}

.grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.card {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.card-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.card h3 {
  font-family: "Marcellus", serif;
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.languages {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.languages-label {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #708b84;
}

.languages-label i {
  font-size: 1rem;
}

.pill {
  border: 1px solid rgba(235, 189, 71, 0.45);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bio {
  margin-top: 2.8rem;
  background: var(--card-bg);
  border-radius: 26px;
  border: 1px solid var(--border);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  text-align: center;
}

.bio p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.highlight {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
}

.socials {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.email-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 150ms ease, transform 150ms ease;
  width: 100%;
}

.email-link {
  width: min(100%, 280px);
  text-align: center;
}


.social-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-info i {
  font-size: 1.2rem;
  color: var(--accent);
}

.social-link strong {
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.social-link > i {
  display: none;
}

.social-link span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-link:hover {
  border-color: rgba(235, 189, 71, 0.7);
  transform: translateY(-2px);
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .cta-row {
    flex-direction: column;
  }

  .social-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
