@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* =====================================================================
   SITE-WIDE SHARED STYLES: nav, news cards, carousel, tabs.
   Loaded on every page (after page styles) so these look identical everywhere.
   ===================================================================== */

/* ---------- NAV: identical on every page ---------- */
nav .nav-logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: #1A1A1A; text-decoration: none; }
nav .nav-logo span { color: #E87C2A; }
nav .nav-menu { gap: 24px; }
nav .nav-menu a { font-size: 14px; font-weight: 600; white-space: nowrap; }
nav .nav-menu a.active { color: #E87C2A; }
nav .nav-menu a.active::after {
  content: ''; display: block; height: 2px; background: #E87C2A; border-radius: 2px; margin-top: 3px;
}
nav .nav-menu .nav-cta.active::after { display: none; }

@media (max-width: 1150px) {
  nav .mobile-toggle { display: block; }
  nav .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 14px; border-bottom: 1px solid #EBEBEB;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  }
  nav .nav-menu.open { display: flex; }
  nav .nav-menu a.active::after { display: none; }
}

/* ---------- NEWS CARD (.nc) ---------- */
.nc {
  display: flex; flex-direction: column; background: #FFFFFF;
  border: 1px solid #EBEBEB; border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.nc:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.07); border-color: #E87C2A; }
.nc-img { height: 170px; overflow: hidden; background: #F5F5F5; flex-shrink: 0; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.nc-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.nc-cat {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; background: rgba(232,124,42,0.09); color: #D06D1F;
}
.nc-talk .nc-cat { background: rgba(27,111,168,0.09); color: #1B6FA8; }
.nc-media .nc-cat { background: rgba(17,17,17,0.06); color: #3D3D3D; }
.nc-service .nc-cat { background: rgba(34,139,34,0.09); color: #1F7A1F; }
.nc-date { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: #AAAAAA; white-space: nowrap; }
.nc-source { font-size: 12px; font-weight: 700; color: #1B6FA8; margin-bottom: 6px; letter-spacing: .2px; }
.nc-title { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 19px; line-height: 1.32; color: #1A1A1A; margin-bottom: 8px; }
.nc-excerpt { font-size: 14px; line-height: 1.65; color: #777777; flex: 1; }
.nc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 700; color: #E87C2A; transition: gap .25s; }
a.nc:hover .nc-link { gap: 10px; }

/* ---------- HOMEPAGE CAROUSEL: one row, auto-scrolling ---------- */
.news-carousel {
  position: relative; overflow: hidden; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.news-track { display: flex; gap: 20px; width: max-content; animation: news-scroll var(--news-duration, 80s) linear infinite; }
.news-carousel:hover .news-track,
.news-carousel:focus-within .news-track,
.news-carousel.paused .news-track { animation-play-state: paused; }
.news-track .nc { width: 330px; flex-shrink: 0; }
@keyframes news-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.news-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.news-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid #EBEBEB; background: #FFF;
  color: #3D3D3D; cursor: pointer; transition: border-color .2s, color .2s;
}
.news-controls button:hover { border-color: #E87C2A; color: #E87C2A; }
@media (prefers-reduced-motion: reduce) {
  .news-track { animation: none; }
  .news-carousel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 767px) { .news-track .nc { width: 280px; } }

/* ---------- NEWS PAGE: single column ---------- */
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.news-filters button, .pub-tabs button {
  font-family: inherit; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 30px;
  border: 1px solid #EBEBEB; background: #FFF; color: #3D3D3D; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.news-filters button:hover, .pub-tabs button:hover { border-color: #E87C2A; color: #E87C2A; }
.news-filters button.active, .pub-tabs button.active { background: #E87C2A; border-color: #E87C2A; color: #FFF; }
.news-filters button .count, .pub-tabs button .count { opacity: .65; font-weight: 600; margin-left: 4px; }

.news-feed { max-width: 820px; margin: 0 auto; }
.news-year {
  font-family: 'DM Serif Display', serif; font-size: 30px; color: #1A1A1A;
  margin: 48px 0 18px; padding-bottom: 8px; border-bottom: 2px solid #EBEBEB;
}
.news-year:first-child { margin-top: 0; }
.news-feed .nc { flex-direction: row; margin-bottom: 18px; }
.news-feed .nc-img { width: 240px; height: auto; min-height: 180px; }
@media (max-width: 640px) {
  .news-feed .nc { flex-direction: column; }
  .news-feed .nc-img { width: 100%; height: 180px; min-height: 0; }
}
.news-embed { display: flex; justify-content: center; margin: 0 auto 48px; max-width: 820px; }
.news-embed iframe { width: 100%; max-width: 504px; border: 1px solid #EBEBEB; border-radius: 14px; background: #FFF; }

/* ---------- PUBLICATION TABS ---------- */
.pub-tabs-wrap { position: sticky; top: 68px; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid #EBEBEB; }
.pub-tabs { display: flex; gap: 8px; padding: 14px 0; overflow-x: auto; scrollbar-width: none; }
.pub-tabs::-webkit-scrollbar { display: none; }
.pub-tabs button { white-space: nowrap; }
.pub-section[hidden] { display: none !important; }
@media (max-width: 767px) { .pub-tabs-wrap { top: 60px; } }

/* ---------- LINKEDIN BUTTON ---------- */
.li-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 10px;
  border: 1px solid #EBEBEB; background: #FFF; color: #1A1A1A; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.li-btn i { color: #0A66C2; font-size: 18px; }
.li-btn:hover { transform: translateY(-2px); border-color: #0A66C2; box-shadow: 0 6px 20px rgba(10,102,194,0.12); }

/* Compact carousel cards */
.news-track .nc-img { height: 150px; }
.news-track .nc-excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; }
.news-track .nc-body { justify-content: flex-start; }
.news-track .nc-link { margin-top: auto; padding-top: 14px; }


/* =====================================================================
   HOMEPAGE: hero stats, credibility strip, recognition, experience snapshot
   ===================================================================== */
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 28px; margin: 0 0 34px; justify-content: start; opacity: 0; animation: rise .6s ease forwards .55s; }
.hero-stats > div { display: flex; flex-direction: column; border-left: 2px solid #E87C2A; padding-left: 12px; }
.hs-num { font-family: 'DM Serif Display', serif; font-size: 28px; line-height: 1.1; color: #1A1A1A; }
.hs-lbl { font-size: 12.5px; color: #777; line-height: 1.35; max-width: 120px; }
.hero-btns { flex-wrap: wrap; }
a.hero-card { color: inherit; }
@media (max-width: 1100px) { .hero-stats { grid-template-columns: repeat(2, auto); } }

.cred-strip { background: #111; padding: 22px 0; }
.cred-strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cred-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.45); white-space: nowrap; }
.cred-names { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cred-names span { font-family: 'DM Serif Display', serif; font-size: 18px; color: rgba(255,255,255,.82); white-space: nowrap; }

.recog, .exp-snap, .feat-pub { padding: 100px 0; }
.recog { background: #FFF; }
.exp-snap { background: #FAFAFA; }
.feat-pub { background: #FFF; padding-top: 0; }
.recog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.recog-head .section-heading { margin-bottom: 0; }

.recog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rc { display: flex; flex-direction: column; border: 1px solid #EBEBEB; border-radius: 16px; overflow: hidden; background: #FFF; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rc:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.08); border-color: #E87C2A; }
.rc-img { height: 200px; overflow: hidden; position: relative; background: #F5F5F5; }
.rc-lg .rc-img { height: 260px; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.rc-ph { background: linear-gradient(135deg, #1B6FA8, #155A8A 45%, #E87C2A); display: flex; align-items: center; justify-content: center; }
.rc-ph i { font-size: 64px; color: rgba(255,255,255,.9); position: absolute; }
.rc-body { padding: 22px 24px 26px; }
.rc-meta { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #E87C2A; margin-bottom: 8px; }
.rc h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 22px; line-height: 1.25; color: #1A1A1A; margin-bottom: 8px; }
.rc p { font-size: 14.5px; color: #777; line-height: 1.6; }
@media (max-width: 1024px) { .recog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .recog-grid { grid-template-columns: 1fr; } }

.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.xp { display: block; background: #FFF; border: 1px solid #EBEBEB; border-radius: 14px; padding: 24px; border-top: 3px solid #1B6FA8; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.xp:nth-child(2n) { border-top-color: #E87C2A; }
.xp:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.xp-org { font-family: 'DM Serif Display', serif; font-size: 21px; color: #1A1A1A; line-height: 1.25; }
.xp-role { font-size: 13px; color: #1B6FA8; font-weight: 700; margin: 6px 0 10px; }
.xp-impact { font-size: 14.5px; color: #555; line-height: 1.6; }
#leadership .xp { background: #FAFAFA; }

.fp { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; background: #111; color: #FFF; border-radius: 20px; padding: 48px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.fp:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.fp h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; margin: 6px 0 12px; }
.fp-venue { font-size: 14px; color: #E87C2A; font-weight: 700; margin-bottom: 12px; }
.fp-desc { font-size: 15.5px; color: rgba(255,255,255,.7); line-height: 1.7; }
.fp-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 700; font-size: 14px; color: #FFF; }
.fp-right { display: flex; flex-direction: column; justify-content: center; gap: 22px; border-left: 1px solid rgba(255,255,255,.1); padding-left: 36px; }
.fp-right div { display: flex; flex-direction: column; }
.fp-num { font-family: 'DM Serif Display', serif; font-size: 44px; line-height: 1; color: #E87C2A; }
.fp-lbl { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
@media (max-width: 860px) { .fp { grid-template-columns: 1fr; padding: 32px 24px; } .fp-right { border-left: 0; padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 24px; } }
@media (max-width: 767px) { .recog, .exp-snap { padding: 64px 0; } .cred-names span { font-size: 15px; } }

.news-embed { gap: 24px; flex-wrap: wrap; max-width: 1060px; }
.news-embed iframe { flex: 1 1 420px; }
.rc-lg .rc-img img { object-position: center 35%; }


/* =====================================================================
   COMPACT SPACING: overrides for tighter vertical rhythm (all pages)
   ===================================================================== */
.hero { min-height: auto !important; padding: 104px 0 56px !important; }
.about, .research, .skills, .leadership, .news, .blog,
.recog, .exp-snap { padding-top: 52px !important; padding-bottom: 52px !important; }
.feat-pub { padding: 0 0 52px !important; }
.contact { padding: 72px 0 56px !important; }
.page-hero { padding: 100px 0 40px !important; }
.page-section, .pub-section, .cert-section { padding: 48px 0 !important; }

.lead-header, .skills-intro, .research-header, .news-header,
.recog-head, .blog-top, .section-header, .pub-section-header, .cert-section-header { margin-bottom: 28px !important; }
h2.section-heading { margin-bottom: 10px; }
.section-label { margin-bottom: 8px; }
.about .container { gap: 48px; }
.about-body p { margin-bottom: 12px; }
.sidebar-cards { gap: 16px; }
.s-card { padding: 22px; }

.hero-bio { margin-bottom: 22px; }
.hero-stats { margin-bottom: 26px; }
.cred-strip { padding: 16px 0; }

.recog-grid, .exp-grid, .research-grid { gap: 16px; }
.rc-img { height: 180px; }
.rc-lg .rc-img { height: 220px; }
.rc-body { padding: 18px 20px 20px; }
.xp { padding: 20px; }
.r-card { padding: 24px 22px; }
.fp { padding: 36px 40px; gap: 32px; }
.skills-cols { gap: 28px; }

.news-controls { margin-top: 20px; }
.news-track .nc-img { height: 130px; }
.nc-body { padding: 18px 20px 20px; }
.news-year { margin: 32px 0 14px; }
.news-feed .nc { margin-bottom: 14px; }
.news-embed { margin-bottom: 32px; }

.back-top { padding-top: 24px; }
.exp-org { margin-bottom: 36px; }
.tl-item { padding: 12px 0; }
footer { padding: 20px 24px; }

@media (max-width: 767px) {
  .hero { padding: 84px 0 40px !important; }
  .about, .research, .skills, .leadership, .news, .blog,
  .recog, .exp-snap { padding-top: 44px !important; padding-bottom: 44px !important; }
  .feat-pub { padding-bottom: 44px !important; }
  .page-hero { padding: 84px 0 28px !important; }
  .page-section, .pub-section, .cert-section { padding: 32px 0 !important; }
  .fp { padding: 26px 20px; }
}

/* Skills ticker (replaces the collaborations strip) */
.skill-ticker { background: #111; padding: 14px 0; overflow: hidden; }
.skill-ticker-track { display: flex; width: max-content; animation: skill-scroll 60s linear infinite; }
.skill-ticker:hover .skill-ticker-track { animation-play-state: paused; }
.skill-ticker-track span { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.75); padding: 0 22px; white-space: nowrap; position: relative; }
.skill-ticker-track span::after { content: '◆'; position: absolute; right: -6px; color: #E87C2A; font-size: 8px; top: 50%; transform: translateY(-50%); }
.skill-ticker-track span.dup { display: none; }
@keyframes skill-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .skill-ticker-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Skills: three focused groups */
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sk-col { background: #FFF; border: 1px solid #EBEBEB; border-radius: 14px; padding: 22px; }
.sk-head { font-weight: 800; font-size: 15px; color: #1A1A1A; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.sk-head i { width: 34px; height: 34px; border-radius: 50%; background: rgba(27,111,168,.08); color: #1B6FA8; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.sk-col .skill-tag { font-size: 13px; padding: 7px 13px; }
@media (max-width: 1024px) { .sk-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   TYPOGRAPHY: one professional sans-serif family (Inter) across the site.
   <i> elements are excluded so Font Awesome icons keep their icon font.
   ===================================================================== */
html body, html body *:not(i):not(.fa):not(.fas):not(.fab):not(.far) {
  font-family: 'Inter', Arial, Helvetica, sans-serif !important;
}
body { font-size: 16px; line-height: 1.7; letter-spacing: 0; color: #3D3D3D; }

/* Headings: bold sans, tight tracking */
.hero-name { font-weight: 800 !important; letter-spacing: -0.03em !important; line-height: 1.05 !important; }
h1.section-heading, h2.section-heading { font-weight: 700 !important; letter-spacing: -0.025em !important; line-height: 1.15 !important; }
.nc-title, .rc h3, .xp-org, .fp h3, .r-card h3, .b-card-title, .exp-org-name,
.pub-title, .news-year, .news-item-title, .s-card-title, .sk-head, .cert-name, .award-name, .card-title, .tl-role {
  font-weight: 700 !important; letter-spacing: -0.015em !important;
}
.nc-title, .rc h3 { font-size: 18px !important; line-height: 1.35 !important; }
.xp-org { font-size: 18px !important; }
.exp-org-name { font-size: 22px !important; }
.r-card h3 { font-size: 17px !important; }

/* Numbers */
.hs-num, .fp-num, .stat-num { font-weight: 800 !important; letter-spacing: -0.02em !important; }
.hs-num { font-size: 26px !important; }

/* Small labels: uppercase sans instead of monospace */
.section-label, .hero-label, .rc-meta, .nc-cat, .nc-date, .card-meta, .cert-year, .award-year,
.pub-type, .pub-year, .tl-year, .edu-year, .exp-role-date, .breadcrumb, .b-card-tag, .skill-ticker-track span, .hl-year {
  font-weight: 600 !important; letter-spacing: 0.08em !important;
}
.section-label { font-size: 12px !important; }
.skill-ticker-track span { font-size: 12.5px !important; }
.chip, .skill-tag { font-weight: 500 !important; letter-spacing: 0 !important; }

/* Body copy */
.hero-bio { font-size: 17px !important; line-height: 1.7 !important; }
.section-desc, .about-body p, .rc p, .nc-excerpt, .xp-impact, .fp-desc, .r-card p, .tl-org { letter-spacing: 0 !important; }
.hs-num { white-space: nowrap; font-size: 24px !important; }
.hero-stats { grid-template-columns: repeat(4, minmax(0, max-content)); gap: 10px 22px; }
.hs-lbl { max-width: 130px; }
nav .nav-logo { font-weight: 800 !important; letter-spacing: -0.02em; }
@media (max-width: 1100px) { .hero-stats { grid-template-columns: repeat(2, max-content); } }


/* News page: featured highlight cards (replace LinkedIn iframes) */
.news-embed { display: block !important; max-width: 1060px; }
.feat-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.fn { display: flex; flex-direction: column; border: 1px solid #EBEBEB; border-radius: 16px; overflow: hidden; background: #FFF; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.fn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.08); border-color: #E87C2A; }
.fn-img { height: 240px; overflow: hidden; background: #F5F5F5; }
.fn-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.fn-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.fn-meta { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #E87C2A; margin-bottom: 8px; }
.fn h3 { font-size: 19px; font-weight: 700; line-height: 1.35; color: #1A1A1A; margin-bottom: 8px; }
.fn p { font-size: 14.5px; color: #777; line-height: 1.6; flex: 1; }
.fn-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: #0A66C2; }

/* =====================================================================
   HOMEPAGE NEWS SLIDER: contained in the page column, advances one card at a time
   ===================================================================== */
.ns { position: relative; }
.ns-viewport { overflow: hidden; padding: 4px 2px 8px; margin: 0 -2px; }
.ns-track { display: flex; column-gap: 20px; transition: transform .6s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.ns-slide { flex: 0 0 calc((100% - 40px) / 3); display: flex; }
.ns-slide .nc { width: 100%; }
.ns-slide .nc-img { height: 150px; }
.ns-slide .nc-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; }
.ns-slide .nc-link { margin-top: auto; padding-top: 12px; }
.ns-slide .nc-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) { .ns-slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 699px)  { .ns-slide { flex-basis: 100%; } }
.ns-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.ns-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #EBEBEB; background: #FFF; color: #3D3D3D; cursor: pointer; transition: border-color .2s, color .2s; }
.ns-btn:hover { border-color: #E87C2A; color: #E87C2A; }
.ns-dots { display: flex; gap: 8px; }
.ns-dot { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: #D5D5D5; cursor: pointer; transition: width .3s, background .3s; }
.ns-dot.active { width: 24px; background: #E87C2A; }
@media (prefers-reduced-motion: reduce) { .ns-track { transition: none; } }

/* =====================================================================
   RESPONSIVE POLISH: tablets (700–1024px) and phones (<700px)
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-visual { margin: 0 auto; width: 100%; max-width: 380px !important; }
  .recog-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 14px; }
  .rc-img, .rc-lg .rc-img { height: 150px; }
  .rc h3 { font-size: 16px !important; }
  .rc p { font-size: 13.5px; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .sk-grid { grid-template-columns: repeat(2, 1fr); }
  .sk-col:last-child { grid-column: 1 / -1; }
  .fp { grid-template-columns: 1fr; }
  .fp-right { border-left: 0; padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 28px; }
}
@media (max-width: 699px) {
  .hero-bio { font-size: 15.5px !important; line-height: 1.65 !important; }
  .hero-name { font-size: 38px !important; }
  .hero-label { font-size: 11px; }
  .hero-visual { max-width: 300px !important; }
  .hero-stats { gap: 12px 18px; }
  .hs-num { font-size: 21px !important; }
  h1.section-heading, h2.section-heading { font-size: 26px !important; }
  .recog-grid, .exp-grid, .sk-grid { grid-template-columns: 1fr !important; }
  .sk-col:last-child { grid-column: auto; }
  .rc-img, .rc-lg .rc-img { height: 190px; }
  .recog-head { margin-bottom: 20px !important; }
  .fp { padding: 24px 20px; border-radius: 16px; }
  .fp h3 { font-size: 21px !important; }
  .fp-num { font-size: 34px; }
  .cred-strip, .skill-ticker { padding: 11px 0; }
  .news-filters button, .pub-tabs button { padding: 8px 14px; font-size: 12.5px; }
  .news-feed .nc-img { height: 170px; }
  .stat-row { grid-template-columns: 1fr 1fr !important; }
  .stat-num { font-size: 26px !important; }
  .exp-org-name { font-size: 19px !important; }
  .exp-role { padding-left: 16px; }
  .page-hero h1.section-heading { font-size: 30px !important; }
}

/* =====================================================================
   PHOTO CROPPING: keep faces in frame. Cropped photos anchor near the top
   (where heads are) instead of the centre.
   ===================================================================== */
.rc-img img, .rc-lg .rc-img img, .nc-img img, .fn-img img, .b-card-img img, .hero-frame img {
  object-position: center 18% !important;
}
.rc-img, .ns-slide .nc-img { height: 200px; }
.fn-img { height: 280px; }
@media (min-width: 1400px) { .rc-img { height: 230px; } .fn-img { height: 320px; } }
@media (max-width: 1024px) { .rc-img { height: 160px; } }
@media (max-width: 699px)  { .rc-img { height: 210px; } }

/* Nav wordmark: full name */
nav .nav-logo { font-size: 18px !important; font-weight: 800 !important; letter-spacing: -0.02em !important; white-space: nowrap; color: #1A1A1A; }
nav .nav-logo span { color: #E87C2A; }
@media (max-width: 1250px) and (min-width: 1151px) { nav .nav-menu { gap: 18px; } nav .nav-menu a { font-size: 13.5px; } }
@media (max-width: 380px) { nav .nav-logo { font-size: 16px !important; } }
