/* Pushp Khanna personal site */
:root {
  --green: #0d3d2e;
  --green-deep: #082a20;
  --green-soft: #1c5442;
  --gold: #c4a35a;
  --gold-light: #e3cf9c;
  --gold-dark: #8a6d2c; /* AA-contrast gold for text on cream */
  --cream: #f7f4ef;
  --cream-2: #efe9df;
  --ink: #1d1f1c;
  --ink-soft: #4a4d47;
  --line: rgba(13, 61, 46, 0.14);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1160px;
  --radius: 18px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--green-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--green); margin: 0 0 0.5em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.1em; }

.container { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--green); color: var(--cream); padding: 0.7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin: 0 0 1rem; display: inline-flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(8, 42, 32, .5); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { font-family: var(--serif); font-size: 1.55rem; color: var(--green); text-decoration: none; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold);
  display: inline-grid; place-items: center; font-size: 0.95rem; color: var(--gold-dark); letter-spacing: 0.04em;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--green);
  align-items: center; justify-content: center;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav-list a {
  text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; letter-spacing: 0.06em;
  padding: 0.4rem 0; position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--green); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1.25rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(8, 42, 32, .5);
  }
  .js .nav-list { display: none; }
  .js .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: 0.9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-size: 0.92rem; letter-spacing: 0.06em;
  text-decoration: none; font-weight: 500; transition: background .25s, color .25s, border-color .25s, transform .25s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-soft); color: var(--cream); }
.btn-ghost { border-color: var(--line); color: var(--green); }
.btn-ghost:hover { border-color: var(--gold); color: var(--green); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--green-deep); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero::before {
  content: ""; position: absolute; right: -12%; top: -20%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.18), rgba(196, 163, 90, 0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .accent { color: var(--gold-dark); font-style: italic; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.4; color: var(--ink); max-width: 34ch; margin-bottom: 1rem; }
.hero-body { color: var(--ink-soft); max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.6rem; padding: 0; list-style: none; font-size: 0.9rem; letter-spacing: 0.05em; }
.hero-links a { color: var(--ink-soft); }
.hero-links a:hover { color: var(--green); }

.portrait-frame { position: relative; justify-self: center; width: min(400px, 100%); }
.portrait-frame::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--gold);
  border-radius: 999px 999px var(--radius) var(--radius); opacity: .7;
}
.portrait-frame img {
  position: relative; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 40px 60px -35px rgba(8, 42, 32, 0.55);
  background: var(--cream-2);
}
.portrait-badge {
  position: absolute; left: -1.5rem; bottom: 2.2rem; background: var(--green); color: var(--cream);
  padding: 0.85rem 1.15rem; border-radius: 14px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 16px 30px -18px rgba(8, 42, 32, .7); line-height: 1.45;
}
.portrait-badge strong { display: block; font-family: var(--serif); font-size: 1.35rem; text-transform: none; letter-spacing: 0.01em; color: var(--gold-light); font-weight: 500; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait-frame { order: -1; width: min(300px, 78%); margin-bottom: 2.5rem !important; }
  .portrait-badge { left: 50%; transform: translateX(-50%); bottom: -1.6rem; white-space: nowrap; text-align: center; padding: 0.6rem 1rem; }
  .portrait-badge strong { font-size: 1.15rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.divider { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); }
.divider::before, .divider::after { content: ""; height: 1px; width: 80px; background: var(--gold); opacity: .6; }

/* About */
.about { background: #fff; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 2rem); text-align: center; }
.avatar {
  width: 220px; height: 220px; border-radius: 50%; margin: 0 auto 1.25rem; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gold), 0 24px 40px -26px rgba(8, 42, 32, .6);
}
.about-aside .name { font-family: var(--serif); font-size: 1.6rem; color: var(--green); margin: 0; }
.about-aside .role { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin: 0.3rem 0 0; }
.about-aside .facts { list-style: none; padding: 0; margin: 1.6rem 0 0; text-align: left; font-size: 0.92rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.about-aside .facts li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.about-aside .facts span:first-child { color: var(--ink); font-weight: 500; }

.manifesto { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.55; color: var(--ink); }
.manifesto p { margin-bottom: 0.95em; }
.manifesto p:first-child {
  font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.25; color: var(--green);
  padding-left: 1.25rem; border-left: 2px solid var(--gold); margin-bottom: 1.2em;
}
.manifesto p:last-child { font-style: italic; color: var(--green); }
.signature { font-family: var(--serif); font-style: italic; color: var(--gold-dark); font-size: 1.4rem; margin-top: 0.4rem; }

.bio { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.bio h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.bio p { color: var(--ink-soft); font-size: 1rem; }
.bio .full { grid-column: 1 / -1; }
.closing-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--green); margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 44ch; line-height: 1.4; }
.closing-line::before { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin-bottom: 1rem; }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .about-aside .facts { max-width: 360px; margin-inline: auto; }
  .avatar { width: 170px; height: 170px; }
  .bio { grid-template-columns: 1fr; }
}

/* Work */
.work-intro { color: var(--ink-soft); max-width: 62ch; }
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.venture {
  border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.venture .label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.25rem; display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px; align-self: flex-start; }
.venture .tagline { font-family: var(--serif); font-size: 1.3rem; font-style: italic; margin: -0.2rem 0 1.4rem; }
.venture p { font-size: 1rem; }
.venture .note { margin-top: auto; padding-top: 1.25rem; font-size: 0.9rem; border-top: 1px solid; }
.venture .note strong { font-weight: 600; }

.venture-mahamaya { background: var(--cream-2); border: 1px solid var(--line); }
.venture-mahamaya .label { background: var(--green); color: var(--cream); }
.venture-mahamaya .tagline { color: var(--gold-dark); }
.venture-mahamaya p { color: var(--ink-soft); }
.venture-mahamaya .note { border-color: var(--line); color: var(--ink-soft); }
.venture-mahamaya address { font-style: normal; font-size: 0.95rem; color: var(--ink); margin: 0 0 1.1em; padding-left: 0.9rem; border-left: 2px solid var(--gold); }

.venture-sig { background: var(--green); color: rgba(247, 244, 239, 0.86); }
.venture-sig::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(196, 163, 90, 0.35); box-shadow: 0 0 0 30px rgba(196, 163, 90, 0.05), 0 0 0 60px rgba(196, 163, 90, 0.035);
  pointer-events: none;
}
.venture-sig h3 { color: var(--cream); }
.venture-sig .label { background: var(--gold); color: var(--green-deep); }
.venture-sig .tagline { color: var(--gold-light); }
.venture-sig .note { border-color: rgba(247, 244, 239, 0.18); color: rgba(247, 244, 239, 0.8); }
.venture-sig .note strong { color: var(--cream); }
.venture-sig .btn { margin-top: 1.4rem; align-self: flex-start; }

@media (max-width: 880px) { .ventures { grid-template-columns: 1fr; } }

/* Design */
.design { background: var(--green-deep); color: rgba(247, 244, 239, 0.85); position: relative; overflow: hidden; }
.design::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(196, 163, 90, 0.16), transparent 70%),
    radial-gradient(500px 300px at 10% 90%, rgba(28, 84, 66, 0.6), transparent 70%);
  pointer-events: none;
}
.design .container { position: relative; }
.design h2 { color: var(--cream); }
.design .eyebrow { color: var(--gold); }
.design-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.design-lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.45; color: var(--cream); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pillars li { border: 1px solid rgba(196, 163, 90, 0.3); border-radius: 14px; padding: 1.15rem 1.35rem; display: flex; gap: 1rem; align-items: baseline; }
.pillars .num { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; min-width: 2ch; }
.pillars strong { display: block; color: var(--cream); font-weight: 500; letter-spacing: 0.02em; }
.pillars span.desc { font-size: 0.93rem; color: rgba(247, 244, 239, 0.72); }
@media (max-width: 880px) { .design-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.4; color: var(--ink); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list .k { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.contact-list .v { font-size: 1.02rem; }
.contact-list address { font-style: normal; }
.placeholder {
  display: inline-block; background: #fff6dd; border: 1px dashed var(--gold); color: #6b5420;
  padding: 0.15rem 0.6rem; border-radius: 6px; font-size: 0.9rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-list li { grid-template-columns: 1fr; gap: 0.25rem; } }

/* Footer */
.site-footer { background: var(--green); color: rgba(247, 244, 239, 0.78); padding: 2.75rem 0; font-size: 0.9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; }
.site-footer a { color: var(--gold-light); }
.site-footer a:hover { color: var(--cream); }
.footer-brand { font-family: var(--serif); font-size: 1.35rem; color: var(--cream); }
.footer-note { display: inline-flex; align-items: center; gap: 0.55rem; border: 1px solid rgba(196, 163, 90, 0.45); padding: 0.4rem 0.9rem; border-radius: 999px; color: var(--gold-light); font-size: 0.82rem; letter-spacing: 0.08em; }
.footer-links { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
