/* Akshay Gautam — personal site */
:root {
  --bg: #F7F3EE;
  --bg-alt: #EFE7DD;
  --surface: #FBF8F4;
  --card: #FFFFFF;
  --ink: #2B2420;
  --ink-2: #3D342E;
  --muted: #5E534A;
  --muted-2: #6B5F56;
  --line: #E4DBD0;
  --accent: #2F5D50;
  --accent-dark: #1F4238;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { background: var(--bg-alt); }

h1, h2, h3 { margin: 0; color: var(--ink); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.15; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); }

/* Split layout: heading left, content right; stacks on narrow screens */
.split { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.split > .h2 { flex: 1 1 240px; }
.split > .split-body { flex: 999 1 560px; min-width: 0; }

/* Nav */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.monogram { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.brand-name { font-weight: 600; font-size: 16px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 72px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 68px); line-height: 1.08; letter-spacing: -0.01em; }
.lead { margin: 0 0 36px; max-width: 600px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border: 1px solid #CDBFAF; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.hero-photo { flex: 1 1 280px; max-width: 380px; }
.portrait { aspect-ratio: 4 / 5; width: 100%; border-radius: 24px; object-fit: cover; }
.portrait-placeholder { background: #EAE0D4; border: 1px dashed #BFAF9D; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted-2); font-size: 15px; }

/* Stats strip */
.stats-wrap { padding-bottom: 96px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stat { background: var(--surface); padding: 28px; }
.stat-value { font-family: var(--serif); font-size: 40px; line-height: 1.1; }
.stat-label { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* About */
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 19px; color: var(--ink-2); }
.prose p { margin: 0; }

/* Now */
.now { padding-top: 96px; }
.now .h2 { margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.card p:last-child { margin: 0; color: var(--muted); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.timeline li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline .org { flex: 1 1 200px; font-weight: 600; }
.timeline .role { flex: 2 1 320px; color: var(--muted); }

/* Focus */
.focus { padding-top: 96px; padding-bottom: 96px; }
.focus .h2 { margin-bottom: 40px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tile { background: var(--surface); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile svg { color: var(--accent); }
.tile h3 { font-size: 18px; font-weight: 600; }
.tile p { margin: 0; font-size: 16px; color: var(--muted); }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 40px; }
.creds .name { font-weight: 600; }
.creds .detail { color: var(--muted); }

/* Contact */
.contact { padding: 0 24px 96px; }
.contact-box { max-width: 1072px; margin: 0 auto; background: var(--accent); color: #fff; border-radius: 28px; padding: 72px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.contact-text { flex: 999 1 460px; min-width: 0; }
.contact-box h2 { margin-bottom: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 44px); line-height: 1.15; color: #fff; }
.contact-box p { margin: 0; font-size: 18px; color: #E6EFEB; }
.contact-actions { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light { background: #fff; color: var(--accent-dark); font-weight: 600; }
.btn-light:hover { background: #F0F5F3; color: var(--accent-dark); }
.btn-outline-light { border: 1px solid #A9C4BA; color: #fff; overflow-wrap: anywhere; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted-2); }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 600px) {
  .hero { padding-top: 56px; padding-bottom: 48px; gap: 40px; }
  .split, .focus { padding-top: 64px; padding-bottom: 64px; }
  .now { padding-top: 64px; }
  .stats-wrap, .contact { padding-bottom: 64px; }
  .contact-box { padding: 48px 24px; }
  .h2 { font-size: 34px; }
}
