/* Dr Sulagna Dutta: site styles */
:root {
  --white: #ffffff;
  --mist: #eef5fc;
  --sky: #cfe2f5;
  --sky-deep: #9cc3e8;
  --navy: #0e2a5b;
  --navy-2: #173a78;
  --ink: #16233a;
  --steel: #5a6a82;
  --line: #dbe7f3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-l: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); letter-spacing: -0.01em; font-variation-settings: "SOFT" 30, "WONK" 0; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.02; margin: 0 0 0.35em; font-weight: 400; letter-spacing: -0.025em; font-variation-settings: "opsz" 144, "SOFT" 50; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.12; margin: 0 0 0.6em; font-variation-settings: "opsz" 96; }
h3 { font-size: 1.32rem; line-height: 1.25; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.18rem; color: var(--steel); max-width: 34em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.95rem/1 var(--ui); text-decoration: none;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--navy);
  background: var(--navy); color: #fff; transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--mist); color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--sky); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font: 500 1.35rem/1.1 var(--serif); letter-spacing: -0.01em; }
.brand span { font: 500 0.78rem/1.3 var(--ui); color: var(--steel); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font: 500 0.95rem/1 var(--ui); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.nav .btn { margin-left: 10px; padding: 11px 18px; color: #fff; }
.nav .btn:hover { background: var(--navy-2); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 0.9rem var(--ui); color: var(--navy); }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; font-weight: 700; }
  .nav .btn { margin: 14px 0 0; justify-content: center; border-radius: 999px; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.postnominals { font: 500 1rem/1.5 var(--ui); color: var(--navy-2); margin: 0 0 1.4em; letter-spacing: 0.01em; }
.hero .lede { margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-figure { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-figure .curves { position: absolute; left: -62%; top: 6%; width: 178%; height: auto; z-index: 0; pointer-events: none; }
.hero-figure img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-s); box-shadow: 0 30px 60px -30px rgba(14, 42, 91, 0.45); }
.hero-figure figcaption { position: relative; z-index: 1; font: 500 0.85rem/1.4 var(--ui); color: var(--steel); margin-top: 14px; text-align: center; }
.curves path { fill: none; stroke: var(--sky-deep); stroke-width: 1.4; opacity: .8; }
.curves path.p50 { stroke: var(--navy-2); opacity: .35; stroke-width: 1.6; }
.curves text { font: 500 11px var(--ui); fill: var(--steel); opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .curves path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
  .curves path:nth-child(2) { animation-delay: .12s; } .curves path:nth-child(3) { animation-delay: .24s; }
  .curves path:nth-child(4) { animation-delay: .36s; } .curves path:nth-child(5) { animation-delay: .48s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { width: min(72%, 320px); order: -1; }
  .hero-figure .curves { left: -40%; width: 160%; }
}

/* credential strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 26px 28px 26px 0; font-size: 0.98rem; color: var(--steel); }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { display: block; font: 500 1.15rem/1.3 var(--serif); color: var(--navy); margin-bottom: 4px; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
}

/* sections */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.tint { background: var(--mist); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head p { color: var(--steel); margin: 0; max-width: 32em; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 8px; } }

/* care list */
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.care li { display: grid; grid-template-columns: 54px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid var(--sky); }
.care .glyph { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--navy); }
.section.tint .care .glyph { background: #fff; }
.care h3 { margin: 4px 0 0; font-size: 1.25rem; }
.care p { margin: 0; color: var(--steel); font-size: 0.98rem; }
@media (max-width: 760px) { .care { grid-template-columns: 1fr; } }

/* navy band */
.band { background: var(--navy); color: #dbe7f6; }
.band h2, .band h3 { color: #fff; }
.band .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.band video, .band img { width: 100%; border-radius: var(--radius-l); aspect-ratio: 1500 / 1078; object-fit: cover; background: #0a2048; }
.band p { color: #c3d5ee; }
.band .quote { font: 400 1.5rem/1.4 var(--serif); color: #fff; font-style: italic; margin: 0 0 1em; font-variation-settings: "opsz" 72, "SOFT" 100; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* post lists */
.posts { list-style: none; margin: 0; padding: 0; }
.post-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row .meta { font: 500 0.85rem/1.5 var(--ui); color: var(--steel); }
.post-row h3 { font-size: 1.4rem; margin: 0 0 6px; }
.post-row h3 a { color: var(--navy); text-decoration: none; }
.post-row h3 a:hover { text-decoration: underline; }
.post-row p { margin: 0; color: var(--steel); max-width: 44em; }
.post-row .tag { font: 600 0.78rem/1 var(--ui); color: var(--navy-2); background: var(--mist); padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 760px) { .post-row { grid-template-columns: 1fr; } .post-row .tag { justify-self: start; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.filters button { font: 500 0.9rem/1 var(--ui); padding: 10px 15px; border-radius: 999px; border: 1.5px solid var(--sky); background: #fff; color: var(--navy); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { width: 100%; max-width: 420px; font: 400 1rem var(--ui); padding: 13px 16px; border: 1.5px solid var(--sky); border-radius: 10px; margin-bottom: 26px; color: var(--ink); }
.search:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px var(--sky); }
.empty { color: var(--steel); padding: 30px 0; }

/* article */
.article-head { background: linear-gradient(180deg, var(--mist), #fff); padding: clamp(40px, 6vw, 80px) 0 28px; }
.article-head .wrap, .article-body { max-width: 760px; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; }
.crumbs { font: 500 0.88rem var(--ui); margin-bottom: 20px; }
.crumbs a { color: var(--steel); }
.byline { display: flex; align-items: center; gap: 14px; font: 500 0.92rem/1.4 var(--ui); color: var(--steel); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.byline b { color: var(--ink); font-weight: 600; display: block; }
.article-body { margin: 0 auto; padding: 24px var(--gutter) 40px; font-family: var(--serif); font-size: 1.16rem; line-height: 1.75; color: #1d2a40; font-variation-settings: "opsz" 14; }
.article-body h2 { font-size: 1.75rem; margin: 1.8em 0 0.5em; }
.article-body h3 { font-size: 1.3rem; margin: 1.5em 0 0.4em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: 0.45em; }
.article-body li::marker { color: var(--navy-2); }
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sky-deep); font-style: italic; color: var(--navy); }
.note { max-width: 760px; margin: 0 auto 60px; padding: 0 var(--gutter); }
.note div { background: var(--mist); border-radius: var(--radius-s); padding: 18px 22px; font-size: 0.92rem; color: var(--steel); }

/* about */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-grid img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 4/5; object-fit: cover; position: sticky; top: 96px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid img { position: static; max-width: 420px; } }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 66px; top: 8px; bottom: 8px; width: 2px; background: var(--sky); }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 36px; padding: 0 0 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 61px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-2); }
.timeline li.gold::before { background: var(--navy); }
.timeline .yr { font: 600 0.95rem/1.6 var(--ui); color: var(--navy); }
.timeline h3 { font-size: 1.12rem; margin: 0 0 2px; }
.timeline p { margin: 0; color: var(--steel); font-size: 0.96rem; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 24px; } }
.plain { padding-left: 1.2em; margin: 0; }
.plain li { margin-bottom: 0.7em; }
.plain li::marker { color: var(--navy-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery figure img, .gallery figure video { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-s); }
.gallery figcaption { font-size: 0.9rem; color: var(--steel); margin-top: 8px; }
.g-wide { grid-column: span 7; align-self: start; } .g-tall { grid-column: span 5; } .g-half { grid-column: span 6; }
.g-wide img, .g-wide video { aspect-ratio: 5/4; } .g-tall img { aspect-ratio: 4/5; } .g-half img { aspect-ratio: 4/5; }
@media (max-width: 760px) { .g-wide, .g-tall, .g-half { grid-column: span 12; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 22px 0; border-top: 1px solid var(--sky); }
.contact-list span { display: block; font: 500 0.88rem var(--ui); color: var(--steel); margin-bottom: 4px; }
.contact-list a, .contact-list b { font: 500 1.35rem/1.3 var(--serif); color: var(--navy); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.alert { border-left: 4px solid var(--navy); background: var(--mist); padding: 20px 24px; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.alert h3 { margin-top: 0; }

/* cta + footer */
.cta { background: var(--sky); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { margin: 0; max-width: 18em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.site-foot { background: var(--navy); color: #b9cbe6; font-size: 0.92rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-foot b { font: 500 1.3rem var(--serif); color: #fff; display: block; margin-bottom: 8px; }
.site-foot a { color: #dbe7f6; text-decoration: none; display: block; padding: 3px 0; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; color: #8fa6c8; font-size: 0.84rem; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } }
.more { margin-top: 30px; }

/* article extras: question index, citations, references */
.toc { background: var(--mist); border-radius: var(--radius-s); padding: 20px 24px 14px; margin: 8px 0 32px; font-family: var(--ui); font-size: 0.96rem; line-height: 1.5; }
.toc h2 { font: 600 1rem/1.3 var(--ui); color: var(--navy); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--navy-2); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.article-body h2[id] { scroll-margin-top: 90px; }
sup.cite { font-family: var(--ui); font-size: 0.66em; font-weight: 600; line-height: 0; margin-left: 1px; }
sup.cite a { color: var(--navy-2); text-decoration: none; padding: 0 1px; }
sup.cite a:hover { text-decoration: underline; }
.refs { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); font-family: var(--ui); font-size: 0.86rem; line-height: 1.55; color: var(--steel); }
.refs h2 { font-size: 1.3rem; margin-top: 0; }
.refs ol { padding-left: 1.5em; }
.refs li { margin-bottom: 0.7em; scroll-margin-top: 90px; overflow-wrap: anywhere; }
.refs li:target { background: var(--sky); border-radius: 4px; }
.refs a { color: var(--navy-2); }

/* WhatsApp contact */
a.wa { display: inline-flex; align-items: center; gap: 10px; }
.wa-icon { flex: none; }
.site-foot a.wa { display: flex; }
