/* ============================================================================
   Dr. Tushar Deshpande — site theme
   Deep navy ground, teal action colour, gold hairlines, warm paper surface.
   No external fonts, no CSS framework, no runtime dependencies.

   Density note: the brief asked for each page's main content to sit inside
   roughly one scrolling window, with larger sub-headings and larger figures.
   Section padding is therefore tighter than the original build while the type
   scale for h3 / sub-headings / captions is a step larger.
   ========================================================================== */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  /* brand */
  --navy-900:#08192E;
  --navy-800:#0D2440;
  --navy-700:#14375C;
  --navy-600:#1D4A78;
  --rust:#0D9488;
  --rust-600:#0B7A70;
  --rust-300:#5EEAD4;
  --gold:#7BA05B;
  --gold-200:#CFE8DF;

  /* neutrals */
  --paper:#FBFAF8;
  --surface:#FFFFFF;
  --surface-2:#F4F2EE;
  --ink:#12203A;
  --ink-2:#41506B;
  --muted:#77839A;
  --line:#E5E2DB;
  --line-2:#EFEDE8;

  /* type */
  --serif:"Charter","Bitstream Charter","Sitka Text",Cambria,Georgia,"Times New Roman",serif;
  --sans:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --mono:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;

  /* space — a 4px scale */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px;
  --s6:32px; --s7:48px; --s8:64px; --s9:96px; --s10:128px;

  /* radii + elevation */
  --r-sm:6px; --r-md:12px; --r-lg:20px; --r-xl:28px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(18,32,58,.05), 0 1px 1px rgba(18,32,58,.03);
  --sh-2:0 4px 16px -6px rgba(18,32,58,.12), 0 1px 3px rgba(18,32,58,.05);
  --sh-3:0 18px 48px -18px rgba(18,32,58,.26), 0 2px 8px rgba(18,32,58,.06);

  --wrap:1280px;
  --nav-h:70px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 16px);
  /* The mobile nav drawer is position:fixed and parked off-screen with
     translateX(100%). Being fixed, it escapes body's overflow and stretches
     the document to ~725px on a 390px phone. `clip` contains it WITHOUT
     creating a scroll container, so the sticky header keeps working
     (overflow:hidden here would break it). */
  overflow-x:clip;
}
body{
  min-height:100svh;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;
}
img,picture,svg,video{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
ul,ol{list-style:none}

:focus-visible{outline:2.5px solid var(--rust);outline-offset:3px;border-radius:3px}

::selection{background:var(--rust);color:#fff}

/* ── Typography ───────────────────────────────────────────────────────────── */
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.15;letter-spacing:-.015em;text-wrap:balance}
h1{font-size:clamp(2.3rem,1.5rem + 3.3vw,3.8rem)}
h2{font-size:clamp(1.85rem,1.3rem + 2.1vw,2.7rem)}
h3{font-size:clamp(1.32rem,1.12rem + .8vw,1.65rem)}
h4{font-size:clamp(1.1rem,1rem + .4vw,1.25rem)}
p{text-wrap:pretty}

.eyebrow{
  display:inline-flex;align-items:center;gap:var(--s2);
  font-family:var(--sans);font-size:.82rem;font-weight:700;
  letter-spacing:.15em;text-transform:uppercase;color:var(--rust);
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--rust);border-radius:2px}

.lead{font-size:clamp(1.12rem,1.02rem + .4vw,1.32rem);line-height:1.68;color:var(--ink-2)}

/* Long-form body copy rendered by rich() */
.prose > * + *{margin-top:1em}
.prose p{color:var(--ink-2);line-height:1.72;font-size:1.02rem}
/* Sub-headings inside long-form copy are a full step larger than the body —
   the brief singled these out as too small to scan. */
.prose h3{
  font-size:1.45rem;color:var(--ink);margin-top:1.55em;
  padding-left:var(--s4);border-left:3px solid var(--gold);
}
.prose ul{display:grid;gap:var(--s2)}
.prose li{position:relative;padding-left:var(--s6);color:var(--ink-2);font-size:1.02rem}
.prose li::before{
  content:"";position:absolute;left:8px;top:.72em;
  width:7px;height:7px;border-radius:50%;
  background:var(--rust);
}
.prose strong{color:var(--ink);font-weight:650}
.prose em{color:var(--ink-2)}
.prose a{
  color:var(--rust-600);font-weight:550;
  border-bottom:1px solid var(--rust-300);
  transition:border-color .18s var(--ease),background .18s var(--ease);
}
.prose a:hover{border-bottom-color:var(--rust);background:rgba(13,148,136,.07)}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap{width:min(var(--wrap),100% - 2 * var(--s5));margin-inline:auto}
@media (max-width:640px){.wrap{width:min(var(--wrap),100% - 2 * var(--s4))}}

.section{padding-block:clamp(var(--s7),4.5vw,var(--s8))}
.section--tight{padding-block:clamp(var(--s6),3.4vw,var(--s7))}
.section--alt{background:var(--surface-2)}
.section--paper{background:var(--surface)}

/* Headings and their intros run the full container width — the review flagged
   the empty right-hand gutter a capped measure was leaving behind. */
.section-head{margin-bottom:var(--s6)}
.section-head--center{max-width:68ch;margin-inline:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}
.section-head h2{margin-top:var(--s2)}
.section-head p{margin-top:var(--s3);color:var(--ink-2);font-size:1.12rem;line-height:1.62}

/* A single row of buttons that closes a section. */
.ctarow{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s3);margin-top:var(--s6)}

.grid{display:grid;gap:var(--s5)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.grid--4{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);
  padding:13px var(--s6);
  border-radius:var(--r-sm);
  font-size:.94rem;font-weight:600;letter-spacing:.01em;
  border:1.5px solid transparent;
  cursor:pointer;white-space:nowrap;
  transition:transform .18s var(--ease),box-shadow .18s var(--ease),
             background .18s var(--ease),border-color .18s var(--ease),color .18s var(--ease);
}
.btn .ico{width:17px;height:17px;flex:none}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}

.btn--primary{background:var(--rust);color:#fff;box-shadow:0 4px 14px -4px rgba(13,148,136,.5)}
.btn--primary:hover{background:var(--rust-600);box-shadow:0 10px 24px -8px rgba(13,148,136,.6)}

.btn--ghost{border-color:rgba(255,255,255,.35);color:#fff}
.btn--ghost:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.6)}

.btn--outline{border-color:var(--line);background:var(--surface);color:var(--ink)}
.btn--outline:hover{border-color:var(--rust);color:var(--rust-600);box-shadow:var(--sh-2)}

.btn--sm{padding:9px var(--s4);font-size:.85rem}

/* text link with a sliding arrow */
.tlink{
  display:inline-flex;align-items:center;gap:var(--s2);
  font-size:.9rem;font-weight:650;color:var(--rust-600);
}
.tlink .ico{width:16px;height:16px;transition:transform .22s var(--ease)}
.tlink:hover .ico{transform:translateX(4px)}

/* ── Header / nav ─────────────────────────────────────────────────────────── */
.hdr{
  position:sticky;top:0;z-index:60;
  height:var(--nav-h);
  display:flex;align-items:center;
  background:rgba(251,250,248,.82);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease);
}
.hdr.is-stuck{border-bottom-color:var(--line);box-shadow:0 1px 12px rgba(18,32,58,.05)}
.hdr__in{display:flex;align-items:center;justify-content:space-between;gap:var(--s5)}

.brand{display:flex;align-items:center;gap:var(--s3);flex:none}
.brand__mark{
  width:38px;height:38px;flex:none;
  display:grid;place-items:center;
  border-radius:9px;
  background:linear-gradient(145deg,var(--navy-700),var(--navy-900));
  color:var(--gold-200);
  font-family:var(--serif);font-size:1rem;font-weight:700;letter-spacing:.02em;
  box-shadow:var(--sh-2);
}
.brand__txt{display:flex;flex-direction:column;line-height:1.2}
.brand__name{font-family:var(--serif);font-size:1.02rem;font-weight:650;letter-spacing:-.01em}
.brand__role{font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}

.nav{display:flex;align-items:center;gap:var(--s1)}

/* ── Nav toggle (hamburger) — restored ────────────────────────────────────── */
.navtoggle{display:none;width:42px;height:42px;place-items:center;
  border-radius:var(--r-sm);color:var(--ink);border:1px solid transparent;background:none;cursor:pointer}
.navtoggle:hover{background:rgba(18,32,58,.06)}
.navtoggle .ico{width:23px;height:23px}
.navtoggle .ico--close{display:none}
body.nav-open .navtoggle .ico--menu{display:none}
body.nav-open .navtoggle .ico--close{display:block}

/* ── Primary tabs ─────────────────────────────────────────────────────────── */
/* Nine flat tabs plus the CTA. They have to fit one desktop row, so the label
   font is small and the horizontal padding modest; below 1200px the whole nav
   becomes the drawer instead of wrapping to two rows. */
.nav__link{
  position:relative;
  display:flex;align-items:center;
  padding:8px 11px;
  border-radius:var(--r-sm);
  font-size:.855rem;font-weight:550;color:var(--ink-2);
  white-space:nowrap;cursor:pointer;
  transition:color .18s var(--ease),background .18s var(--ease);
}
.nav__link:hover{color:var(--ink);background:rgba(18,32,58,.05)}

/* current-section underline */
.nav__link.is-active{color:var(--rust-600);font-weight:650}
.nav__link.is-active::before{
  content:"";position:absolute;left:11px;right:11px;bottom:1px;
  height:2px;border-radius:2px;background:var(--rust);
}

@media (max-width:1340px){
  .nav__link{padding:8px 8px;font-size:.82rem}
  .nav__link.is-active::before{left:8px;right:8px}
}

.nav__cta{margin-left:var(--s2)}

/* ── Mobile drawer ────────────────────────────────────────────────────────── */
@media (max-width:1200px){
  .navtoggle{display:grid}
  /* .hdr uses backdrop-filter, which makes it the containing block for any
     position:fixed descendant — that would size the drawer against the 70px
     header instead of the viewport. Solid header on phones; the drawer and the
     scrim then anchor to the viewport as intended. */
  .hdr{
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    background:var(--paper);
  }
  .hdr > .wrap > .hdr__in > .btn{display:none}
  .nav{
    position:fixed;inset:var(--nav-h) 0 0 auto;
    width:min(340px,86vw);
    flex-direction:column;align-items:stretch;gap:2px;
    padding:var(--s5) var(--s4) var(--s8);
    background:var(--surface);
    border-left:1px solid var(--line);
    box-shadow:-24px 0 60px -30px rgba(18,32,58,.4);
    overflow-y:auto;
    transform:translateX(100%);
    visibility:hidden;
    transition:transform .34s var(--ease),visibility .34s;
  }
  body.nav-open .nav{transform:translateX(0);visibility:visible}

  /* Tabs stack full-width inside the drawer. */
  .nav__link{
    padding:13px var(--s4);
    font-size:1rem;font-weight:600;
    border-radius:var(--r-sm);
  }
  .nav__link.is-active::before{display:none}
  .nav__link.is-active{background:rgba(13,148,136,.08)}
  .nav__cta{margin:var(--s4) 0 0}

  .nav__scrim{
    position:fixed;inset:var(--nav-h) 0 0;
    background:rgba(10,28,51,.4);
    backdrop-filter:blur(2px);
    opacity:0;visibility:hidden;
    transition:opacity .34s var(--ease),visibility .34s;
    z-index:-1;
  }
  body.nav-open .nav__scrim{opacity:1;visibility:visible}
  body.nav-open{overflow:hidden}
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero{
  position:relative;
  background:
    radial-gradient(ellipse 70% 60% at 82% 30%, rgba(13,148,136,.20), transparent 62%),
    radial-gradient(ellipse 60% 50% at 8% 90%, rgba(123,160,91,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 62%, #071426 100%);
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}
/* faint atomic lattice, drawn in CSS — no image request */
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:radial-gradient(rgba(207,232,223,.55) 1.1px, transparent 1.1px);
  background-size:34px 34px;
  opacity:.16;
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 60% 40%,#000 30%,transparent 78%);
  mask-image:radial-gradient(ellipse 80% 70% at 60% 40%,#000 30%,transparent 78%);
}
.hero__in{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,.62fr);
  align-items:center;
  gap:clamp(var(--s6),4vw,var(--s8));
  padding-block:clamp(var(--s7),4.5vw,var(--s8));
}
/* Portrait column + the affiliations card underneath it. */
.hero__side{display:flex;flex-direction:column;align-items:center;gap:var(--s5)}
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:var(--s3);
  padding:7px var(--s4) 7px var(--s3);
  border-radius:var(--r-pill);
  background:rgba(255,255,255,.07);
  border:1px solid rgba(207,232,223,.24);
  font-size:.73rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
  color:var(--gold-200);
  backdrop-filter:blur(6px);
}
.hero__eyebrow i{
  width:7px;height:7px;border-radius:50%;background:var(--rust-300);
  animation:blip 2.4s ease-in-out infinite;
}
@keyframes blip{
  0%,100%{box-shadow:0 0 0 0 rgba(94,234,212,.5)}
  70%{box-shadow:0 0 0 8px rgba(94,234,212,0)}
}

.hero h1{margin-top:var(--s4);color:#fff;letter-spacing:-.025em}
.hero h1 .sur{display:block;color:var(--gold-200)}

.hero__role{
  margin-top:var(--s4);
  font-size:clamp(.95rem,.9rem + .3vw,1.08rem);
  font-weight:500;letter-spacing:.02em;
  color:rgba(255,255,255,.74);
}
.hero__tag{
  margin-top:var(--s4);
  font-family:var(--serif);
  font-size:clamp(1.35rem,1.05rem + 1.2vw,1.95rem);
  font-weight:600;line-height:1.28;
  color:var(--rust-300);
}
.hero__tag span{display:block}
.hero__sub{
  margin-top:var(--s4);
  font-size:1.06rem;line-height:1.68;
  color:rgba(255,255,255,.72);
}
.hero__cta{display:flex;flex-wrap:wrap;gap:var(--s3);margin-top:var(--s6)}

.hero__chips{
  display:flex;flex-wrap:wrap;gap:var(--s2) var(--s5);
  margin-top:var(--s7);padding-top:var(--s5);
  border-top:1px solid rgba(255,255,255,.12);
}
.hero__chips li{
  display:flex;align-items:center;gap:7px;
  font-size:.76rem;font-weight:600;letter-spacing:.04em;
  color:rgba(255,255,255,.6);
}
.hero__chips li::before{
  content:"";width:5px;height:5px;border-radius:50%;
  background:var(--gold);flex:none;
}

/* portrait — half the previous 400px, per the review note */
.hero__figure{position:relative;justify-self:center;width:100%;max-width:200px}
.hero__figure::before{                       /* orange node halo */
  content:"";position:absolute;inset:-12% -8% -6%;
  border-radius:50%;
  background:radial-gradient(circle at 50% 45%, rgba(13,148,136,.28), transparent 66%);
  filter:blur(18px);
}
.hero__portrait{
  position:relative;
  border-radius:var(--r-xl);
  overflow:hidden;
  border:1px solid rgba(207,232,223,.28);
  background:linear-gradient(170deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
  box-shadow:0 40px 80px -34px rgba(0,0,0,.65);
}
.hero__portrait img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:50% 12%}
.hero__portrait::after{                      /* bottom scrim so text over it stays legible */
  content:"";position:absolute;inset:auto 0 0;height:38%;
  background:linear-gradient(to top,rgba(7,20,38,.72),transparent);
}
.hero__badge{
  position:absolute;left:var(--s5);right:var(--s5);bottom:var(--s5);
  display:flex;align-items:center;gap:var(--s3);
  padding:var(--s3) var(--s4);
  border-radius:var(--r-md);
  background:rgba(10,28,51,.55);
  border:1px solid rgba(207,232,223,.2);
  backdrop-filter:blur(10px);
  font-size:.78rem;line-height:1.4;color:rgba(255,255,255,.85);
}
.hero__badge .ico{width:18px;height:18px;color:var(--rust-300);flex:none}

@media (max-width:900px){
  .hero__in{grid-template-columns:1fr;gap:var(--s6);padding-block:var(--s7)}
  .hero__side{order:-1}
  .hero__figure{max-width:170px}
  .hero__portrait img{aspect-ratio:1/1}
  .hero__cta{margin-top:var(--s5)}
  .hero__cta .btn{flex:1 1 auto}
}

/* ── Stat strip ───────────────────────────────────────────────────────────── */
.stats{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  border-top:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.16);
}
.stats li{padding:var(--s5) var(--s5);border-left:1px solid rgba(255,255,255,.07)}
.stats li:first-child{border-left:0}
.stats b{
  display:block;font-family:var(--serif);
  font-size:1.85rem;font-weight:650;color:#fff;line-height:1;
  font-variant-numeric:tabular-nums;
}
.stats span{
  display:block;margin-top:7px;
  font-size:.72rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;
  color:rgba(255,255,255,.5);
}

/* picture() emits <picture><img>. The wrapper must fill its container, or the
   height:100% on the inner <img> resolves against an auto-height parent and
   object-fit:cover never engages — wide images then letterbox inside the tile. */
.work__media > picture,
.post__media > picture,
.hero__portrait > picture,
.split__media > picture,
.article__hero > picture{display:block;width:100%;height:100%}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card{
  position:relative;
  display:flex;flex-direction:column;
  padding:var(--s6);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-1);
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s var(--ease);
}
.card:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:var(--gold-200)}
.card__icon{
  width:46px;height:46px;flex:none;
  display:grid;place-items:center;
  margin-bottom:var(--s5);
  border-radius:11px;
  background:linear-gradient(150deg,rgba(13,148,136,.12),rgba(123,160,91,.1));
  border:1px solid rgba(13,148,136,.16);
  color:var(--rust-600);
}
.card__icon .ico{width:23px;height:23px}
.card h3{font-size:1.3rem;letter-spacing:-.005em}
.card p{margin-top:var(--s3);font-size:1.01rem;line-height:1.62;color:var(--ink-2)}
.card__foot{margin-top:auto;padding-top:var(--s4)}

/* Denser card for grids that must fit one viewport. */
.card--tight{padding:var(--s5)}
.card--tight .card__icon{margin-bottom:var(--s4)}
.card--tight h3{font-size:1.16rem}
.card--tight p{font-size:.97rem}

/* The A / B / C reference badge on a vision question. */
.card__icon--ref{font-family:var(--serif);font-size:1.3rem;font-weight:650}

/* numbered variant (How I Work) */
.card--step .card__icon{
  background:var(--navy-800);border-color:var(--navy-700);
  color:var(--gold-200);
  font-family:var(--serif);font-size:1.05rem;font-weight:650;
}

/* ── Work / research cards ────────────────────────────────────────────────── */
.work{
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--sh-1);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.work:hover{transform:translateY(-5px);box-shadow:var(--sh-3);border-color:var(--gold-200)}
.work__media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--navy-900)}
.work__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.work:hover .work__media img{transform:scale(1.045)}
.work__cat{
  position:absolute;left:var(--s4);top:var(--s4);
  padding:6px var(--s3);
  border-radius:var(--r-pill);
  background:rgba(10,28,51,.72);
  border:1px solid rgba(207,232,223,.24);
  backdrop-filter:blur(8px);
  font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold-200);
}
.work__body{display:flex;flex-direction:column;flex:1;padding:var(--s6)}
.work__body h3{font-size:1.42rem}
.work__sub{margin-top:var(--s2);font-size:1rem;font-weight:600;color:var(--rust-600)}
.work__body p{margin-top:var(--s3);font-size:1.01rem;line-height:1.62;color:var(--ink-2)}
.work__foot{
  display:flex;align-items:center;justify-content:space-between;gap:var(--s3);
  margin-top:auto;padding-top:var(--s5);
}

/* Text-only research card — used where the owner has not supplied a figure yet. */
.work--flat .work__body{padding:var(--s6)}
.work__tag{
  display:inline-block;margin-bottom:var(--s3);
  padding:5px var(--s3);
  border-radius:var(--r-pill);
  background:rgba(13,148,136,.09);
  border:1px solid rgba(13,148,136,.2);
  font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--rust-600);
}

/* journal / DOI pill */
.pill{
  display:inline-flex;align-items:center;gap:7px;
  padding:5px var(--s3);
  border-radius:var(--r-sm);
  background:var(--surface-2);
  border:1px solid var(--line);
  font-size:.75rem;font-weight:600;color:var(--ink-2);
  white-space:nowrap;
}
.pill--accent{background:rgba(13,148,136,.08);border-color:rgba(13,148,136,.2);color:var(--rust-600)}
.pill .ico{width:13px;height:13px}

/* keyword chips */
.chips{display:flex;flex-wrap:wrap;gap:var(--s2)}
.chips li{
  padding:5px var(--s3);
  border-radius:var(--r-pill);
  background:var(--surface-2);
  border:1px solid var(--line-2);
  font-size:.87rem;font-weight:550;color:var(--ink-2);
}

/* ── Split feature (image + text) ─────────────────────────────────────────── */
.split{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));
  align-items:center;
  gap:clamp(var(--s5),3vw,var(--s7));
}
.split--reverse .split__media{order:2}
@media (max-width:900px){.split--reverse .split__media{order:0}}

/* Give the figure the larger share — the review said the figures were too
   small to read on the page. */
/* Top-aligned, not centred: the figure is much taller than the text beside it,
   and centring pushed the heading a long way down the empty column. */
.split--figure{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}
.split--tight{align-items:center}
@media (max-width:900px){.split--figure{grid-template-columns:1fr}}

.split__media{
  position:relative;
  border-radius:var(--r-lg);
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--surface);
  box-shadow:var(--sh-2);
}
.split__media img{width:100%}
.figcap{
  padding:var(--s3) var(--s4);
  border-top:1px solid var(--line-2);
  background:var(--surface-2);
  font-size:.92rem;line-height:1.5;color:var(--ink-2);
}

/* “Value” callout */
.callout{
  display:flex;gap:var(--s4);
  padding:var(--s5);
  border-radius:var(--r-md);
  background:linear-gradient(140deg,rgba(13,148,136,.06),rgba(123,160,91,.05));
  border:1px solid rgba(13,148,136,.16);
  border-left:3px solid var(--rust);
}
.callout .ico{width:20px;height:20px;flex:none;margin-top:3px;color:var(--rust)}
.callout b{display:block;font-size:.85rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--rust-600)}
.callout p{margin-top:6px;font-size:1.03rem;line-height:1.62;color:var(--ink-2)}

/* ── Timeline (education / appointments) ──────────────────────────────────── */
.tl{position:relative;display:grid;gap:var(--s6);padding-left:var(--s7)}
.tl::before{
  content:"";position:absolute;left:9px;top:8px;bottom:8px;
  width:2px;border-radius:2px;
  background:linear-gradient(to bottom,var(--rust),var(--gold),var(--line));
}
.tl__item{position:relative}
.tl__item::before{
  content:"";position:absolute;left:calc(-1 * var(--s7) + 3px);top:7px;
  width:14px;height:14px;border-radius:50%;
  background:var(--surface);
  border:3px solid var(--rust);
  box-shadow:0 0 0 4px var(--paper);
}
.tl__item--muted::before{border-color:var(--gold)}
.tl__period{
  display:inline-block;
  font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--rust-600);
}
.tl__item h3{margin-top:6px;font-size:1.34rem}
.tl__org{margin-top:var(--s1);font-size:1.02rem;font-weight:550;color:var(--ink-2)}
.tl__loc{font-size:.92rem;color:var(--muted)}
.tl__focus{margin-top:var(--s3);font-size:1.01rem;line-height:1.62;color:var(--ink-2)}
.tl__bullets{margin-top:var(--s3);display:grid;gap:var(--s2)}
.tl__bullets li{position:relative;padding-left:var(--s5);font-size:1rem;line-height:1.58;color:var(--ink-2)}
.tl__bullets li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:6px;height:6px;border-radius:1px;
  background:var(--gold);transform:rotate(45deg);
}

/* ── Publications ─────────────────────────────────────────────────────────── */
.pubs{display:grid;gap:var(--s4)}
.pub{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:var(--s5);
  padding:var(--s5) var(--s6);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:var(--sh-1);
  transition:border-color .22s var(--ease),box-shadow .22s var(--ease),transform .22s var(--ease);
}
.pub:hover{border-color:var(--gold-200);box-shadow:var(--sh-2);transform:translateX(3px)}
.pub__year{
  display:grid;place-items:center;align-content:center;
  width:72px;height:72px;flex:none;
  border-radius:var(--r-md);
  background:linear-gradient(150deg,var(--navy-700),var(--navy-900));
  color:var(--gold-200);
  font-family:var(--serif);font-size:1.22rem;font-weight:650;
  font-variant-numeric:tabular-nums;
}
.pub__type{
  margin-top:2px;font-family:var(--sans);
  font-size:.58rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.45);
}
.pub h3{font-size:1.22rem;line-height:1.36}
.pub__authors{margin-top:6px;font-size:.95rem;color:var(--muted)}
.pub__meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2);margin-top:var(--s3)}
.pub__journal{font-size:.88rem;font-weight:650;font-style:italic;color:var(--ink-2);font-family:var(--serif)}
@media (max-width:560px){
  .pub{grid-template-columns:1fr;gap:var(--s4);padding:var(--s5)}
  .pub__year{width:100%;height:auto;padding:var(--s3);flex-direction:row;gap:var(--s2)}
}

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.post{
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--sh-1);
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s var(--ease);
}
.post:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:var(--gold-200)}
.post__media{aspect-ratio:16/9;overflow:hidden;background:var(--navy-900)}
.post__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.post:hover .post__media img{transform:scale(1.05)}
.post__body{display:flex;flex-direction:column;flex:1;padding:var(--s5) var(--s6) var(--s6)}
.post__date{font-size:.76rem;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.post__body h3{margin-top:var(--s2);font-size:1.16rem}
.post__body p{margin-top:var(--s3);font-size:.93rem;line-height:1.66;color:var(--ink-2)}
.post__foot{margin-top:auto;padding-top:var(--s5)}

.article{max-width:74ch;margin-inline:auto}
.article__hero{
  margin:var(--s7) 0;
  border-radius:var(--r-lg);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--sh-2);
}

/* ── Positions ────────────────────────────────────────────────────────────── */
.pos{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:var(--s5);
  padding:var(--s6);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  box-shadow:var(--sh-1);
  transition:border-color .22s var(--ease),box-shadow .22s var(--ease);
}
.pos:hover{border-color:var(--gold-200);box-shadow:var(--sh-2)}
.pos__tags{display:flex;flex-wrap:wrap;gap:var(--s2);margin-bottom:var(--s3)}
.pos h3{font-size:1.15rem}
.pos p{margin-top:var(--s2);font-size:.94rem;color:var(--ink-2)}
.pos__meta{display:flex;flex-wrap:wrap;gap:var(--s4);margin-top:var(--s4)}
.pos__meta span{display:flex;align-items:center;gap:6px;font-size:.84rem;color:var(--muted)}
.pos__meta .ico{width:15px;height:15px}
@media (max-width:700px){.pos{grid-template-columns:1fr}.pos .btn{width:100%}}

/* ── Empty state ──────────────────────────────────────────────────────────── */
.empty{
  display:grid;justify-items:center;gap:var(--s4);
  padding:var(--s9) var(--s5);
  text-align:center;
  background:var(--surface);
  border:1px dashed var(--line);
  border-radius:var(--r-lg);
}
.empty .ico{width:40px;height:40px;color:var(--gold)}
.empty h3{font-size:1.2rem}
.empty p{max-width:44ch;color:var(--muted);font-size:.95rem}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(var(--s6),5vw,var(--s8))}
@media (max-width:880px){.contact{grid-template-columns:1fr}}

.clinks{display:grid;gap:var(--s3);margin-top:var(--s6)}
.clink{
  display:flex;align-items:center;gap:var(--s4);
  padding:var(--s4) var(--s5);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  transition:border-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease);
}
.clink:hover{border-color:var(--rust);transform:translateX(4px);box-shadow:var(--sh-2)}
.clink__ico{
  width:42px;height:42px;flex:none;display:grid;place-items:center;
  border-radius:10px;
  background:linear-gradient(150deg,rgba(13,148,136,.12),rgba(123,160,91,.1));
  border:1px solid rgba(13,148,136,.16);
  color:var(--rust-600);
}
.clink__ico .ico{width:20px;height:20px}
.clink b{display:block;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.clink span{display:block;margin-top:2px;font-size:.94rem;font-weight:550;color:var(--ink);word-break:break-word}

.form{
  padding:clamp(var(--s6),3vw,var(--s7));
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-2);
}
.field{display:grid;gap:7px;margin-bottom:var(--s5)}
.field label{font-size:.82rem;font-weight:650;letter-spacing:.02em;color:var(--ink)}
.field label .req{color:var(--rust)}
.field input,.field textarea,.field select{
  width:100%;padding:12px var(--s4);
  background:var(--paper);
  border:1.5px solid var(--line);
  border-radius:var(--r-sm);
  font-size:.95rem;
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease),background .18s var(--ease);
}
.field input:focus,.field textarea:focus,.field select:focus{
  outline:0;background:var(--surface);
  border-color:var(--rust);
  box-shadow:0 0 0 4px rgba(13,148,136,.12);
}
.field textarea{min-height:150px;resize:vertical;line-height:1.65}
.field--row{display:grid;grid-template-columns:1fr 1fr;gap:var(--s4)}
@media (max-width:560px){.field--row{grid-template-columns:1fr}}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ── Flash ────────────────────────────────────────────────────────────────── */
.flash{display:grid;gap:var(--s2);margin-bottom:var(--s5)}
.flash__item{
  display:flex;align-items:flex-start;gap:var(--s3);
  padding:var(--s4) var(--s5);
  border-radius:var(--r-sm);
  font-size:.92rem;font-weight:500;
  border:1px solid;
}
.flash__item .ico{width:18px;height:18px;flex:none;margin-top:2px}
.flash--ok{background:#EDF7F0;border-color:#BFE3CC;color:#1B5E33}
.flash--err{background:#FDF1EE;border-color:#F4CCC0;color:#9A3412}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.ftr{
  margin-top:var(--s9);
  padding-block:var(--s8) var(--s6);
  background:linear-gradient(170deg,var(--navy-800),var(--navy-900));
  color:rgba(255,255,255,.62);
}
.ftr__grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) repeat(auto-fit,minmax(150px,1fr));
  gap:var(--s7);
  padding-bottom:var(--s7);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.ftr__tag{
  margin-top:var(--s4);max-width:38ch;
  font-family:var(--serif);font-size:1.08rem;line-height:1.5;
  color:var(--gold-200);
}
.ftr__note{margin-top:var(--s3);font-size:.9rem;line-height:1.65}
.ftr h4{
  font-family:var(--sans);
  font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.42);
  margin-bottom:var(--s4);
}
.ftr__list{display:grid;gap:var(--s2)}
.ftr__list a,.ftr__list span{
  font-size:.9rem;color:rgba(255,255,255,.62);
  transition:color .18s var(--ease);
  word-break:break-word;
}
.ftr__list a:hover{color:var(--rust-300)}
.ftr .brand__name{color:#fff}
.ftr .brand__role{color:rgba(255,255,255,.42)}
.ftr__bot{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s4);
  padding-top:var(--s6);
  font-size:.84rem;color:rgba(255,255,255,.42);
}
.ftr__bot a:hover{color:var(--rust-300)}

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
.reveal:nth-child(2){transition-delay:.07s}
.reveal:nth-child(3){transition-delay:.14s}
.reveal:nth-child(4){transition-delay:.21s}
.reveal:nth-child(5){transition-delay:.28s}
.reveal:nth-child(6){transition-delay:.35s}

/* ── Read-more disclosure ─────────────────────────────────────────────────── */
.more[open] .more__btn .lbl-closed{display:none}
.more:not([open]) .more__btn .lbl-open{display:none}
.more__btn{
  display:inline-flex;align-items:center;gap:var(--s2);
  margin-top:var(--s4);
  padding:9px var(--s5);
  border:1.5px solid var(--rust-300);border-radius:var(--r-sm);
  background:rgba(13,148,136,.06);
  font-size:.98rem;font-weight:650;color:var(--rust-600);
  list-style:none;cursor:pointer;
  transition:background .18s var(--ease),border-color .18s var(--ease);
}
.more__btn:hover{background:rgba(13,148,136,.12);border-color:var(--rust)}
.more__btn::-webkit-details-marker{display:none}
.more__btn .ico{width:16px;height:16px;transition:transform .25s var(--ease)}
.more[open] .more__btn .ico{transform:rotate(90deg)}
.more__panel{margin-top:var(--s5);animation:fadein .45s var(--ease)}
@keyframes fadein{from{opacity:0;transform:translateY(-6px)}}

/* ── Misc ─────────────────────────────────────────────────────────────────── */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.skip{
  position:absolute;left:var(--s4);top:-60px;z-index:100;
  padding:12px var(--s5);
  background:var(--rust);color:#fff;
  border-radius:var(--r-sm);font-weight:650;
  transition:top .2s var(--ease);
}
.skip:focus{top:var(--s3)}

.rule{height:1px;background:var(--line);border:0;margin-block:var(--s7)}

/* ── Inner-page banner ────────────────────────────────────────────────────── */
.pagehead__in{padding-block:clamp(var(--s6),3.4vw,var(--s7))}
/* Title left, summary right — fills the banner's empty half. */
.pagehead__in--split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(var(--s6),4vw,var(--s8));
}
@media (max-width:900px){
  .pagehead__in--split{grid-template-columns:1fr;gap:var(--s5)}
}
.pagehead__aside p{color:rgba(255,255,255,.8);font-size:1.06rem;line-height:1.7}
.pagehead__aside > * + *{margin-top:.9em}
.pagehead__aside strong{color:#fff}
.pagehead__in h1{
  margin-top:var(--s3);color:#fff;
  font-size:clamp(2.2rem,1.5rem + 2.8vw,3.4rem);
}
.pagehead__sub{
  margin-top:var(--s4);
  color:rgba(255,255,255,.78);
  font-size:1.16rem;line-height:1.62;
}

/* ── Current affiliations (hero) ──────────────────────────────────────────── */
.affil{
  width:100%;max-width:320px;
  padding:var(--s4) var(--s5);
  border-radius:var(--r-md);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(207,232,223,.22);
  backdrop-filter:blur(6px);
}
.affil > b{
  display:block;margin-bottom:var(--s3);
  font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--rust-300);
}
.affil ul{display:grid;gap:var(--s2)}
.affil li{
  position:relative;padding-left:var(--s4);
  font-size:.92rem;line-height:1.5;color:rgba(255,255,255,.82);
}
.affil li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:6px;height:6px;border-radius:50%;background:var(--gold);
}
.affil__link{
  display:inline-flex;align-items:center;gap:7px;margin-top:var(--s4);
  font-size:.88rem;font-weight:650;color:var(--rust-300);
}
.affil__link .ico{width:15px;height:15px}
.affil__link:hover{color:#fff}

/* ── Banner strip ─────────────────────────────────────────────────────────── */
.bannerstrip{background:var(--surface);padding-block:var(--s5)}
.bannerstrip__in{
  border-radius:var(--r-md);
  overflow:hidden;
  border:1px solid var(--line-2);
  background:var(--surface);
}
.bannerstrip__in img{width:100%;height:auto;display:block}

/* ── Placeholder tile (gallery, research figures, banner) ─────────────────── */
.ph-tile{
  display:grid;place-items:center;align-content:center;gap:var(--s3);
  width:100%;min-height:190px;padding:var(--s6);
  border:2px dashed var(--line);border-radius:var(--r-md);
  background:
    repeating-linear-gradient(45deg,var(--surface-2) 0 10px,var(--surface) 10px 20px);
  color:var(--muted);text-align:center;
}
.ph-tile .ico{width:34px;height:34px;color:var(--gold)}
.ph-tile b{font-family:var(--sans);font-size:.9rem;font-weight:650;letter-spacing:.02em}
.ph-tile--wide{min-height:130px}

/* ── Gallery ──────────────────────────────────────────────────────────────── */
.gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:var(--s5)}
.gal__item{
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--sh-1);
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s var(--ease);
}
.gal__item:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:var(--gold-200)}
.gal__item--ph:hover{transform:none;box-shadow:var(--sh-1);border-color:var(--line)}
.gal__media{background:var(--surface-2)}
.gal__media img{width:100%;aspect-ratio:4/3;object-fit:cover}
.gal__media .ph-tile{border:0;border-radius:0;min-height:220px}
.gal__cap{display:flex;flex-direction:column;gap:5px;padding:var(--s5)}
.gal__cap b{font-family:var(--serif);font-size:1.16rem;font-weight:650;color:var(--ink)}
.gal__cap span{font-size:.98rem;line-height:1.55;color:var(--ink-2)}
.gal__cap em{font-size:.86rem;font-style:normal;color:var(--muted)}

/* ── Feature card (home: Industry + Teaching share one row) ───────────────── */
.feat{
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--sh-1);
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s var(--ease);
}
.feat:hover{transform:translateY(-4px);box-shadow:var(--sh-3);border-color:var(--gold-200)}
.feat__media{display:block;aspect-ratio:16/7;overflow:hidden;background:var(--navy-900)}
.feat__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.feat:hover .feat__media img{transform:scale(1.04)}
.feat__media > picture{display:block;width:100%;height:100%}
.feat__body{display:flex;flex-direction:column;flex:1;padding:var(--s6)}
.feat__body h3{margin-top:var(--s3);font-size:1.5rem}
.feat__body > p{margin-top:var(--s3);font-size:1.02rem;line-height:1.62;color:var(--ink-2)}
.feat__body .tlink{margin-top:auto;padding-top:var(--s5)}

/* ── Vision: the three key questions, side by side ────────────────────────── */
/* The review asked for all three questions and their points to sit in one
   viewing window, so they run as columns rather than stacked full-width cards. */
.qgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:var(--s5)}
.qcard{
  display:flex;flex-direction:column;
  padding:var(--s5);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-1);
  scroll-margin-top:calc(var(--nav-h) + 16px);
}
.qcard__head{display:flex;align-items:flex-start;gap:var(--s3)}
.qcard__ref{
  width:38px;height:38px;flex:none;
  display:grid;place-items:center;
  border-radius:10px;
  background:linear-gradient(150deg,rgba(13,148,136,.12),rgba(123,160,91,.1));
  border:1px solid rgba(13,148,136,.16);
  color:var(--rust-600);
  font-family:var(--serif);font-size:1.15rem;font-weight:650;
}
/* The questions themselves are the thing to read first — a step up in size. */
.qcard h3{font-size:1.24rem;line-height:1.28}
.qcard__hyp{margin-top:var(--s4);font-size:1.02rem;line-height:1.6;color:var(--ink-2)}
.qcard__lbl{
  margin-top:var(--s5);
  font-size:.76rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--rust-600);
}
.qcard .tl__bullets{margin-top:var(--s3)}
.qcard .tl__bullets li{font-size:.95rem}
.qcard .more{margin-top:auto}
.qcard .more__btn{margin-top:var(--s5);padding:7px var(--s4);font-size:.9rem}

/* ── Expertise: title list + anchored detail panels ───────────────────────── */
.explist{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:var(--s3)}
.explist--stack{grid-template-columns:1fr;gap:var(--s2)}
.explist--stack a{padding:var(--s3) var(--s4);font-size:1rem}

/* A non-clickable list row, same shape as the links above. */
.explist__row{
  display:flex;align-items:flex-start;gap:var(--s4);
  padding:var(--s3) var(--s4);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
}
.explist__row b{display:block;font-size:1rem;font-weight:650;color:var(--ink);line-height:1.35}
.explist__row small{display:block;margin-top:3px;font-size:.92rem;line-height:1.5;color:var(--ink-2)}
.explist a{
  display:flex;align-items:center;gap:var(--s4);
  padding:var(--s4) var(--s5);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  font-size:1.06rem;font-weight:600;color:var(--ink);
  transition:border-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease);
}
.explist a:hover{border-color:var(--rust);transform:translateX(4px);box-shadow:var(--sh-2)}
.explist a > span:nth-child(2){flex:1;min-width:0}
.explist a > .ico{width:17px;height:17px;color:var(--rust-600);flex:none}
.explist__ico{
  width:38px;height:38px;flex:none;display:grid;place-items:center;
  border-radius:9px;
  background:linear-gradient(150deg,rgba(13,148,136,.12),rgba(123,160,91,.1));
  border:1px solid rgba(13,148,136,.16);
  color:var(--rust-600);
}
.explist__ico .ico{width:19px;height:19px}

/* One expertise area, opened from the list above. */
.exp{
  padding:var(--s5) var(--s6);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  scroll-margin-top:calc(var(--nav-h) + 16px);
}
.exp > summary{
  display:flex;align-items:center;gap:var(--s4);
  list-style:none;cursor:pointer;
}
.exp > summary::-webkit-details-marker{display:none}
.exp > summary::after{
  content:"";margin-left:auto;flex:none;
  width:8px;height:8px;
  border-right:2px solid var(--rust-600);border-bottom:2px solid var(--rust-600);
  transform:rotate(45deg);
  transition:transform .22s var(--ease);
}
.exp[open] > summary::after{transform:rotate(-135deg)}
.exp h3{font-size:1.22rem}
.exp__body{margin-top:var(--s4);padding-top:var(--s4);border-top:1px solid var(--line-2)}
.exp__body p{font-size:1.01rem;line-height:1.62;color:var(--ink-2)}

/* ── Closing CTA panel ────────────────────────────────────────────────────── */
.closer{border-radius:var(--r-xl);overflow:hidden}
.closer__in{padding-block:clamp(var(--s7),4vw,var(--s8))}
.closer h2{color:#fff;margin-top:var(--s3)}
/* :not(.eyebrow) — the eyebrow is a <p> too and must keep its own small caps. */
.closer__in > p:not(.eyebrow){
  margin-top:var(--s4);color:rgba(255,255,255,.74);font-size:1.08rem;line-height:1.66;
}

/* ── Click-to-enlarge figures ─────────────────────────────────────────────── */
/* Detailed scientific figures are unreadable at column width, so any figure
   marked data-zoom opens full-size in an overlay. Without JS the link still
   opens the image directly. */
a[data-zoom]{display:block;cursor:zoom-in}
.zoom{
  position:fixed;inset:0;z-index:200;
  display:grid;place-items:center;
  padding:clamp(var(--s4),3vw,var(--s6));
  background:rgba(7,20,38,.92);
  backdrop-filter:blur(4px);
  animation:fadein .2s var(--ease);
}
.zoom img{
  max-width:100%;max-height:100%;
  width:auto;height:auto;
  object-fit:contain;
  border-radius:var(--r-sm);
  box-shadow:0 30px 80px -20px rgba(0,0,0,.8);
}
.zoom__close{
  position:absolute;top:var(--s5);right:var(--s5);
  width:44px;height:44px;display:grid;place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);
  color:#fff;
}
.zoom__close:hover{background:rgba(255,255,255,.22)}
.zoom__close .ico{width:22px;height:22px}
.zoom__hint{
  position:absolute;left:0;right:0;bottom:var(--s5);
  text-align:center;font-size:.84rem;color:rgba(255,255,255,.6);
}
body.zoom-open{overflow:hidden}

/* A large figure that keeps its own scroll rather than shrinking to fit. */
.figbox{
  max-height:min(74vh,760px);
  overflow:auto;
  border-radius:var(--r-lg);
  border:1px solid var(--line);
  background:var(--surface);
  box-shadow:var(--sh-2);
}
.figbox img{width:100%;min-width:520px;display:block}
.figbox + .figcap{
  border:1px solid var(--line);border-top:0;
  border-radius:0 0 var(--r-lg) var(--r-lg);
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
}

@media print{
  .hdr,.ftr,.hero__cta,.navtoggle{display:none}
  body{background:#fff}
  .card,.work,.pub{box-shadow:none;border-color:#ccc}
}
