/* ==========================================================
   Aakanksha Shivankar — Social Media Advisor
   Palette taken from the logo: deep navy, teal, warm gold
   ========================================================== */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --navy: #16263a;
  --navy-deep: #0f1b2a;
  --navy-soft: #24394f;
  --teal: #12889a;
  --teal-dark: #0c6b7a;
  --teal-tint: #e3f1f2;
  --gold: #c39d63;
  --gold-light: #e4cba2;
  --gold-tint: #f6eee1;
  --ivory: #faf7f2;
  --paper: #ffffff;
  --ink: #16263a;
  --ink-soft: #4a5a6c;
  --line: #e5ded2;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --shadow: 0 24px 60px -28px rgba(15, 27, 42, .35);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
em.accent { font-style: italic; color: var(--teal); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(15,27,42,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--teal); transition: width .25s;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links .btn { padding: 11px 22px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 110px; }
.hero::before {
  content: ""; position: absolute; left: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--teal-tint), transparent 70%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.hero-title span { display: block; }
.hero-title .surname { font-family: var(--sans); font-weight: 300; font-size: .42em; letter-spacing: .38em; color: var(--teal-dark); margin-top: 14px; }
.hero-role { font-size: 1.05rem; font-weight: 700; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 22px; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-size: 1.45rem; white-space: nowrap; color: var(--navy); font-weight: 600; line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: var(--ink-soft); }

.portrait { position: relative; order: -1; justify-self: start; width: 100%; max-width: 440px; }
.portrait-frame {
  position: relative; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--teal-tint);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold); border-radius: 220px 220px var(--radius) var(--radius); z-index: -1;
}
.portrait-badge {
  position: absolute; right: -34px; bottom: 44px; background: var(--paper); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.portrait-badge .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.portrait-badge .dot svg { width: 22px; height: 22px; color: #fff; }
.portrait-badge p { margin: 0; font-size: .86rem; line-height: 1.35; color: var(--ink-soft); }
.portrait-badge strong { display: block; color: var(--navy); font-size: .95rem; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.about-quote {
  margin: 0; position: relative; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 48px 40px;
  font-family: var(--serif); font-size: 1.55rem; line-height: 1.45; font-style: italic;
}
.about-quote::before { content: "\201C"; position: absolute; top: -10px; left: 28px; font-size: 6rem; color: var(--gold); line-height: 1; }
.about-quote small { display: block; margin-top: 24px; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.about-text p { color: var(--ink-soft); }
.about-text p:first-of-type { font-size: 1.2rem; color: var(--ink); }
.about-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.about-points svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 4px; }

/* Experience timeline */
.journey { background: var(--ivory); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.stage { position: relative; padding-top: 74px; }
.stage .num {
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--teal); display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--navy);
}
.stage:nth-child(even) .num { border-color: var(--gold); }
.stage h3 { font-size: 1.22rem; }
.stage p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* Expertise */
.expertise { background: var(--navy); color: #d7dee6; }
.expertise h2 { color: #fff; }
.expertise .section-head p { color: #b7c3cf; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skill {
  background: var(--navy-soft); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, border-color .25s, background .25s;
}
.skill:hover { transform: translateY(-4px); border-color: rgba(195,157,99,.6); background: #2a4159; }
.skill .icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(18,136,154,.22); display: grid; place-items: center; margin-bottom: 22px; }
.skill .icon svg { width: 26px; height: 26px; color: #7fd2dc; }
.skill h3 { color: #fff; font-size: 1.25rem; }
.skill p { margin: 0; font-size: .95rem; color: #b7c3cf; }

/* Approach */
.approach { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.approach-visual {
  position: relative; border-radius: var(--radius); background: var(--gold-tint); padding: 48px 40px; overflow: hidden;
}
.approach-visual::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(18,136,154,.12); }
.approach-visual h3 { font-size: 1.7rem; }
.approach-visual p { color: var(--ink-soft); position: relative; z-index: 1; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* Principles */
.principles { background: var(--teal-tint); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.principle {
  background: var(--paper); border-radius: var(--radius); padding: 34px 34px 34px 30px;
  border-left: 4px solid var(--teal); display: flex; gap: 20px; box-shadow: 0 10px 30px -24px rgba(15,27,42,.4);
}
.principle:nth-child(even) { border-left-color: var(--gold); }
.principle svg { width: 28px; height: 28px; color: var(--teal-dark); flex: none; margin-top: 4px; }
.principle h3 { font-size: 1.2rem; margin-bottom: 8px; }
.principle p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Contact */
.contact { background: var(--navy-deep); color: #c9d3dd; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 600px; height: 600px; border-radius: 50%;
  border: 60px solid rgba(18,136,154,.12);
}
.contact-box { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.contact h2 { color: #fff; }
.contact p { color: #b7c3cf; font-size: 1.1rem; }
.email-card {
  margin: 40px auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(195,157,99,.35); border-radius: var(--radius); padding: 34px 40px;
}
.email-card .label { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.email-link { font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 2.2rem); color: #fff; text-decoration: none; word-break: break-all; }
.email-link:hover { color: var(--gold-light); }
.email-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.contact-note { font-size: .88rem !important; margin-top: 28px; color: #8fa0b1 !important; }

/* Footer */
.site-footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.08); color: #8fa0b1; padding: 40px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { font-family: var(--serif); color: #fff; font-size: 1.15rem; }
.footer-brand span { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #c9d3dd; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px; margin-top: 8px; font-size: .84rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--teal); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: opacity .3s, transform .3s; z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--navy); color: #c9d3dd; padding: 70px 0 60px; }
.legal-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero p { margin: 0; color: #b7c3cf; }
.legal-hero .eyebrow { color: var(--gold-light); }
.legal { padding: 70px 0 100px; }
.legal-body { max-width: 820px; margin: 0 auto; background: var(--paper); border-radius: var(--radius); padding: 56px 60px; box-shadow: 0 20px 50px -36px rgba(15,27,42,.45); }
.legal-body h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.12rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { color: #33445a; font-size: 1rem; }
.legal-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal-body li { margin-bottom: .45em; }
.legal-body .callout { background: var(--teal-tint); border-left: 4px solid var(--teal); padding: 20px 24px; border-radius: 10px; margin: 0 0 1.6em; }
.legal-body .callout p:last-child { margin: 0; }
.legal-toc { background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 22px 28px; margin-bottom: 2.4em; }
.legal-toc strong { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: .93rem; margin-bottom: .3em; break-inside: avoid; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--gold-light); text-decoration: none; font-weight: 600; font-size: .92rem; }
.back-home:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .approach-grid { grid-template-columns: 1fr; gap: 56px; }
  .portrait { justify-self: center; max-width: 400px; order: -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .timeline::before { display: none; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 10px 24px 24px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .btn { justify-content: center; width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { height: 72px; }
  .nav-links { inset: 72px 0 auto 0; }
  .brand img { height: 42px; }
  .hero { padding: 40px 0 80px; }
  .section { padding: 80px 0; }
  .hero-facts { grid-template-columns: 1fr; gap: 20px; }
  .portrait-badge { right: 8px; left: auto; bottom: 18px; }
  .portrait::before { inset: 14px -12px -14px 12px; }
  .timeline, .skill-grid, .principle-grid, .about-points { grid-template-columns: 1fr; }
  .about-quote { font-size: 1.3rem; padding: 40px 28px; }
  .principle { padding: 26px 22px; }
  .email-card { padding: 28px 22px; width: 100%; }
  .legal-body { padding: 34px 22px; }
  .legal-toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .skill { transition: none; }
}
