/* ===============================================================
   Kanika Mukhi — Insurance Consultant
   Identity: warm emerald + champagne on cream. Elegant / editorial.
   Playfair Display (display) + Mulish (text). Soft, rounded, warm.
   =============================================================== */

:root {
  /* fixed brand colours */
  --emerald:   #0f2b22;   /* deepest emerald — dark sections */
  --emerald-2: #163a2e;
  --emerald-3: #1e4d3c;
  --gold:      #b08a46;   /* champagne / antique gold */
  --gold-2:    #c39f5c;
  --gold-soft: #d8bd85;
  --cream:     #ffffff;

  /* semantic tokens (theme-aware) */
  --bg:        #f7f3ea;   /* warm cream page */
  --bg-alt:    #f0eadb;   /* warm sand */
  --line:      #e4dcc9;
  --line-dk:   rgba(255,255,255,.12);
  --text:      #12241d;   /* deep green ink — headings */
  --body:      #3c4a43;   /* body text */
  --muted:     #6c766e;
  --surface:   #fffdf8;   /* cards */
  --card-hover:#ffffff;
  --formcard-bg: rgba(255,255,255,.72);
  --nav-bg:          rgba(247,243,234,.9);
  --nav-bg-scrolled: rgba(247,243,234,.95);
  --nav-border:      var(--line);
  --nav-highlight:   rgba(255,255,255,.8);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --r: 12px;
}

/* ===== Dark theme — emerald & gold ===== */
:root[data-theme="dark"] {
  --emerald:   #071411;
  --emerald-2: #0c1f19;
  --emerald-3: #143229;
  --gold:      #c6a05a;
  --gold-2:    #d8bd85;
  --gold-soft: #e7d3a4;
  --cream:     #ffffff;

  --bg:        #0a1712;
  --bg-alt:    #0e1c16;
  --line:      rgba(230,220,196,.14);
  --line-dk:   rgba(255,255,255,.10);
  --text:      #f2ecdd;
  --body:      #c6ccc4;
  --muted:     #8b968c;
  --surface:   #101f19;
  --card-hover:#15271f;
  --formcard-bg: rgba(255,255,255,.045);
  --nav-bg:          rgba(8,18,14,.8);
  --nav-bg-scrolled: rgba(8,18,14,.92);
  --nav-border:      rgba(255,255,255,.10);
  --nav-highlight:   rgba(255,255,255,.05);
}
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--body); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: -0.005em; color: var(--text); }
em { font-style: normal; }

.eyebrow, .kicker {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); display: inline-block; margin-bottom: 18px;
}
.kicker { position: relative; padding-left: 34px; }
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 1px; background: var(--gold); }
.kicker--gold { color: var(--gold-2); }

/* ===== Utility bar ===== */
.utility { background: var(--emerald); color: rgba(255,255,255,.74); font-size: 13px; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.utility__tag { letter-spacing: .03em; }
.utility__contact a { color: rgba(255,255,255,.74); transition: color .2s; }
.utility__contact a:hover { color: var(--gold-soft); }
.utility__contact .sep { margin: 0 10px; opacity: .4; }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: inset 0 1px 0 var(--nav-highlight);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled { background: var(--nav-bg-scrolled); border-bottom-color: var(--line); box-shadow: inset 0 1px 0 var(--nav-highlight), 0 6px 30px rgba(15,43,34,.10); }
.nav__inner { display: flex; align-items: center; height: 76px; }
.nav__inner > .brand { margin-right: auto; }
.brand__name { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--body); transition: color .2s; }
.nav__links a:hover { color: var(--gold); }
.nav__cta { padding: 11px 22px; background: var(--emerald); color: #fff !important; border-radius: 999px; font-weight: 600 !important; transition: background .2s, transform .2s; }
.nav__cta:hover { background: var(--emerald-3); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s; }

/* theme toggle */
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; margin-left: 12px; transition: background .2s, border-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn--solid { background: var(--emerald); color: #fff; box-shadow: 0 12px 30px rgba(15,43,34,.18); }
.btn--solid:hover { background: var(--emerald-3); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(15,43,34,.24); }
.btn--outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
:root[data-theme="dark"] .btn--solid { background: var(--gold); color: var(--emerald); }
:root[data-theme="dark"] .btn--solid:hover { background: var(--gold-2); box-shadow: 0 16px 36px rgba(198,160,90,.26); }
:root[data-theme="dark"] .nav__cta { background: var(--gold); color: var(--emerald) !important; }
:root[data-theme="dark"] .nav__cta:hover { background: var(--gold-2); }

/* ===== Hero (light, warm) ===== */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(120% 80% at 90% 0%, rgba(176,138,70,.10), transparent 55%),
  radial-gradient(90% 70% at 0% 100%, rgba(20,61,48,.06), transparent 60%); }
.hero__inner { position: relative; padding-block: clamp(52px, 8vw, 96px) clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__content { max-width: 42ch; }
.hero__title { font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 600; color: var(--text); line-height: .98; letter-spacing: -0.01em; }
.hero__role { margin-top: 22px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2.1vw, 1.5rem); color: var(--gold); line-height: 1.4; }
.hero__lede { margin-top: 22px; font-size: clamp(1rem, 1.7vw, 1.14rem); color: var(--body); max-width: 52ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__portrait { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero__frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(15,43,34,.16); }
.hero__frame img { display: block; width: 100%; height: 100%; aspect-ratio: 5/6; object-fit: cover; }
.portrait-placeholder { aspect-ratio: 5/6; display: grid; place-content: center; justify-items: center; gap: 10px;
  background: radial-gradient(120% 100% at 50% 0%, var(--emerald-3), var(--emerald)); }
.portrait-placeholder__mono { font-family: var(--serif); font-size: 5rem; font-weight: 600; color: var(--gold-soft); line-height: 1; }
.portrait-placeholder__note { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hero__portrait::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 62px; height: 62px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); border-top-right-radius: 18px; }
.hero__portrait::after { content: ""; position: absolute; inset: auto auto -14px -14px; width: 62px; height: 62px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); border-bottom-left-radius: 18px; }
.hero__badge { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); background: var(--gold); color: var(--emerald); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 9px 20px; border-radius: 999px; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 26px rgba(15,43,34,.28); }
.hero__badge em { color: var(--emerald); }

.hero__figures { position: relative; border-top: 1px solid var(--line); }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 28px 0; }
.figure + .figure { border-left: 1px solid var(--line); padding-left: clamp(18px, 3vw, 38px); }
.figure__num { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; color: var(--text); line-height: 1; }
.figure__num em { color: var(--gold); }
.figure__label { display: block; margin-top: 9px; font-size: 13px; letter-spacing: .03em; color: var(--muted); }

/* ===== Trust strip ===== */
.trust { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 28px; flex-wrap: wrap; }
.trust__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trust__logos { list-style: none; display: flex; align-items: center; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.trust__logos li { font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 600; color: var(--text); opacity: .82; }

/* ===== Sections ===== */
.section { padding: clamp(68px, 9vw, 118px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--emerald); color: #fff; }
.section__head { max-width: 560px; }
.section__head--wide { max-width: 680px; margin-bottom: clamp(46px, 6vw, 68px); }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

.grid-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 84px); align-items: start; }

/* ===== About prose ===== */
.prose p { color: var(--body); margin-bottom: 18px; font-size: 1.06rem; }
.prose strong { color: var(--text); font-weight: 700; }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.45; color: var(--text); border-left: 2px solid var(--gold); padding: 4px 0 4px 24px; margin: 28px 0 14px; }
.prose__sign { font-size: 14px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

/* ===== Credentials band ===== */
.band { background: var(--emerald-2); color: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band__item { padding: clamp(38px, 5vw, 58px) clamp(18px, 3vw, 38px); }
.band__item + .band__item { border-left: 1px solid var(--line-dk); }
.band__num { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 600; color: #fff; line-height: 1; }
.band__num em { font-style: normal; font-size: .5em; color: var(--gold-soft); }
.band__label { display: block; margin-top: 13px; font-size: 14px; color: rgba(255,255,255,.62); }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.service { background: var(--bg-alt); padding: clamp(26px, 2.6vw, 34px); transition: background .25s, transform .25s; }
.section:not(.section--alt) .services { background: var(--line); }
.section:not(.section--alt) .service { background: var(--surface); }
.service:hover { background: var(--card-hover); }
.service__no { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--gold); }
.service h3 { font-size: 1.22rem; margin: 14px 0 10px; }
.service p { color: var(--muted); font-size: .98rem; }

/* ===== Partners ===== */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.partner:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(15,43,34,.12); }
.partner__wordmark { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--text); padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.partner h3 { font-size: 1.12rem; margin-bottom: 11px; }
.partner p { color: var(--muted); font-size: .97rem; flex: 1; }
.partner__meta { margin-top: 20px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* ===== Timeline ===== */
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl { position: relative; padding: 0 0 32px 40px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--gold); }
.tl__year { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.tl h3 { font-size: 1.24rem; margin: 7px 0 4px; }
.tl__org { color: var(--body); font-weight: 600; margin-bottom: 6px; }
.tl p:not(.tl__org) { color: var(--muted); font-size: .97rem; }

/* ===== Commitment ===== */
.commitment__inner { max-width: 900px; text-align: center; margin: 0 auto; }
.commitment .kicker { padding-left: 0; }
.commitment .kicker::before { display: none; }
.commitment__quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.34; color: #fff; margin: 10px auto 26px; }
.commitment__tag { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 76px); align-items: start; }
.contact__list { list-style: none; margin-top: 36px; display: grid; gap: 20px; }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.contact__v { font-family: var(--serif); font-size: 1.1rem; color: var(--text); transition: color .2s; }
a.contact__v:hover { color: var(--gold); }

/* ===== Form ===== */
.formcard { background: var(--formcard-bg); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 66px rgba(15,43,34,.08); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--body); text-transform: uppercase; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 1rem; color: var(--text); padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,138,70,.16); }
.field input.invalid, .field textarea.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.hp { position: absolute; left: -9999px; opacity: 0; width: 0; height: 0; }
.form__submit { width: 100%; margin-top: 4px; }
.form__submit[disabled] { opacity: .75; cursor: default; }
.form__spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.is-sending .form__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form__status { font-size: 14px; font-weight: 600; margin-top: 2px; display: none; }
.form__status.show { display: block; }
.form__status.ok { color: #1e7a4d; }
.form__status.err { color: #c0392b; }

/* ===== Footer ===== */
.footer { background: var(--emerald); color: rgba(255,255,255,.7); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 5vw, 68px); padding-block: clamp(54px, 7vw, 80px) clamp(38px, 5vw, 54px); }
.footer__name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; }
.footer__blurb { margin-top: 18px; max-width: 42ch; font-size: .96rem; color: rgba(255,255,255,.56); }
.footer__col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; font-weight: 700; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.68); font-size: .96rem; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line-dk); font-size: 13px; color: rgba(255,255,255,.45); }
.footer__disc { max-width: 46ch; text-align: right; }
.footer__credit-bar { border-top: 1px solid var(--line-dk); background: rgba(0,0,0,.22); }
.footer__credit { max-width: var(--wrap); margin: 0 auto; padding: 17px clamp(20px,5vw,44px); text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__credit a { color: rgba(255,255,255,.72); font-weight: 600; transition: color .2s; }
.footer__credit a:hover { color: var(--gold-soft); }
.footer__heart { color: #e0788a; margin: 0 2px; }
.footer__credit-sep { margin: 0 8px; opacity: .4; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero__portrait { justify-self: start; max-width: 340px; }
  .grid-split { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: 1fr 1fr; }
  .band__item:nth-child(3) { border-left: 0; }
  .band__item:nth-child(n+3) { border-top: 1px solid var(--line-dk); }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0 !important; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__disc { text-align: left; }

  .nav__links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateY(calc(-100% - 200px)); visibility: hidden; transition: transform .32s ease, visibility .32s; padding: 8px 0 16px; box-shadow: 0 24px 48px rgba(15,43,34,.16); }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: 15px clamp(20px, 5vw, 44px); font-size: 17px; }
  .nav__cta { margin: 8px clamp(20px, 5vw, 44px) 0; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .utility__tag { display: none; }
  .utility__inner { justify-content: center; }
  .services { grid-template-columns: 1fr; }
  .band__grid { grid-template-columns: 1fr; }
  .band__item + .band__item { border-left: 0; border-top: 1px solid var(--line-dk); }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { border-left: 0; border-top: 1px solid var(--line); padding-left: 0 !important; }
  .figure { padding-block: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
