/* ==========================================================
   Pawan Goyal — site styles
   Shared by index.html, teaching.html, Publications.html, students.html
   (course pages under courses/ still use css/template_css.css)
   ========================================================== */

:root {
  --bg: #f6f4ee;
  --surface: #fffdf8;
  --surface-2: #f0ede4;
  --ink: #1b2230;
  --muted: #5b6474;
  --line: #e2ddd0;
  --accent: #0a6a94;
  --accent-strong: #08506f;
  --accent-soft: #e2eff5;
  --saffron: #c4741a;
  --saffron-soft: #f8ead8;
  --shadow: 0 1px 2px rgba(20, 25, 35, .05), 0 10px 30px -12px rgba(20, 25, 35, .14);
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #11151b;
  --surface: #181e26;
  --surface-2: #1f2630;
  --ink: #e6e9ee;
  --muted: #9aa3b2;
  --line: #2b333e;
  --accent: #5db4dc;
  --accent-strong: #8ccbe8;
  --accent-soft: #15303d;
  --saffron: #e3a257;
  --saffron-soft: #3a2a17;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151b; --surface: #181e26; --surface-2: #1f2630; --ink: #e6e9ee;
    --muted: #9aa3b2; --line: #2b333e; --accent: #5db4dc; --accent-strong: #8ccbe8;
    --accent-soft: #15303d; --saffron: #e3a257; --saffron-soft: #3a2a17;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow {
  font: 500 .78rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: .7rem; display: inline-block;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font: 600 .95rem var(--serif); letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 600 1.08rem var(--serif); }
.brand-text span { font-size: .78rem; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { border-radius: 10px; padding: 12px 14px; }
  .brand-text span { display: none; }
}

/* ---------- Generic sections / cards ---------- */
main { display: block; }
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.page-hero { padding: 56px 0 28px; }
.page-hero p { color: var(--muted); max-width: 62ch; font-size: 1.08rem; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font: 500 .93rem var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: transform .15s, border-color .15s, background .15s, color .15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-strong); color: #fff; }
:root[data-theme="dark"] .btn.primary { color: #0b1a22; }
.btn svg { width: 16px; height: 16px; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 .85rem var(--sans); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  cursor: pointer; transition: all .15s;
}
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tag {
  display: inline-block; font: 500 .72rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-strong);
}
.tag.saffron { background: var(--saffron-soft); color: var(--saffron); }

/* ---------- Home: hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.portrait { position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--saffron);
  border-radius: 20px; opacity: .55;
}
.portrait img { position: relative; border-radius: 20px; width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.hero h1 { margin-bottom: .2em; }
.hero .role { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.12rem; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.socials { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.socials a { color: var(--muted); }
.socials a:hover { color: var(--accent); }
.contact-line { font-size: .92rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait { max-width: 260px; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.stat { background: var(--surface); padding: 20px 22px; }
.stat b { display: block; font: 600 2.1rem/1.1 var(--serif); color: var(--accent); }
.stat span { font-size: .88rem; color: var(--muted); }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.feature-card { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-2px); border-color: var(--accent); color: inherit; }
.feature-card + .feature-card { margin-top: 16px; }
.feature-card h3 { margin: .3em 0 .25em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature-icon img { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: #fff; }
.feature-icon svg { width: 26px; height: 26px; }

/* ---------- Carousel / gallery ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 520px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 12px; scrollbar-width: thin;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.slide { scroll-snap-align: start; margin: 0; }
.slide button { all: unset; cursor: zoom-in; display: block; border-radius: var(--radius); overflow: hidden; width: 100%; }
.slide button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.slide img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; background: var(--surface-2); }
.slide button:hover img { transform: scale(1.035); }
.slide figcaption { padding: 12px 2px 0; font-size: .93rem; }
.slide figcaption .tag { margin-right: 6px; }
.carousel-nav { display: flex; gap: 8px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 10, 14, .9);
  display: none; align-items: center; justify-content: center; padding: 24px; flex-direction: column; gap: 14px;
}
.lightbox.open { display: flex; animation: fade .2s ease; }
.lightbox img { max-height: 78vh; max-width: min(1200px, 100%); border-radius: 10px; object-fit: contain; }
.lightbox p { color: #e8e8e8; max-width: 70ch; text-align: center; margin: 0; }
.lightbox .icon-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

/* ---------- News timeline ---------- */
.news-list { list-style: none; margin: 0; padding: 0; position: relative; }
.news-list::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.news-item { display: grid; grid-template-columns: 104px 1fr; gap: 28px; padding: 12px 0; position: relative; }
.news-item::before {
  content: ""; position: absolute; left: 114px; top: 21px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.news-item.award::before { border-color: var(--saffron); background: var(--saffron); }
.news-date { font: 500 .82rem/1.5 var(--mono); color: var(--muted); padding-top: 3px; text-align: right; }
.news-body { margin: 0; }
.news-body em { font-style: normal; font-weight: 500; }
.js .news-item.is-hidden, .js .news-item.is-collapsed { display: none; }
.news-more { margin-top: 18px; }
@media (max-width: 600px) {
  .news-list::before { left: 5px; }
  .news-item { grid-template-columns: 1fr; gap: 2px; padding-left: 26px; }
  .news-item::before { left: 1px; top: 17px; }
  .news-date { text-align: left; }
}

.activity-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.activity-list li { padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; }

/* ---------- Teaching ---------- */
.nptel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .nptel-grid { grid-template-columns: 1fr; } }
.nptel-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.nptel-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nptel-card h3 { font-size: 1.35rem; margin: 0; }
.nptel-card .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.player { position: relative; aspect-ratio: 16/9; background: #0d1117; color: #fff; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade {
  all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(93,180,220,.35), transparent 60%),
    radial-gradient(100% 80% at 90% 100%, rgba(196,116,26,.35), transparent 60%),
    #0d1117;
}
.player-facade .play {
  width: 72px; height: 72px; border-radius: 50%; background: #e62117; display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(230,33,23,.45); transition: transform .2s;
}
.player-facade:hover .play, .player-facade:focus-visible .play { transform: scale(1.08); }
.player-facade .play svg { width: 30px; height: 30px; margin-left: 4px; }
.player-facade strong { font: 600 1.15rem var(--serif); }
.player-facade small { opacity: .75; font-size: .82rem; }
.player-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface) 12px 24px); color: var(--muted); }
.player-empty strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }

.current-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .current-grid { grid-template-columns: 1fr; } }
.course-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.course-card:hover { transform: translateY(-2px); border-color: var(--accent); color: inherit; }
.course-card h3 { margin: 4px 0 0; }
.course-code { font: 500 .8rem var(--mono); color: var(--saffron); }
.course-card .go { color: var(--accent); font-weight: 500; font-size: .92rem; margin-top: 6px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.search {
  flex: 1 1 280px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { all: unset; flex: 1; font: 1rem var(--sans); color: var(--ink); min-width: 0; }
.search input::placeholder { color: var(--muted); }
select.select {
  height: 46px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: 500 .95rem var(--sans); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.result-count { font-size: .9rem; color: var(--muted); }

.semester { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.semester summary {
  list-style: none; cursor: pointer; padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font: 600 1.05rem var(--serif);
}
.semester summary::-webkit-details-marker { display: none; }
.semester summary::after { content: "+"; margin-left: auto; font: 400 1.4rem/1 var(--sans); color: var(--muted); transition: transform .2s; }
.semester[open] summary::after { transform: rotate(45deg); }
.semester summary .count { font: 400 .82rem var(--sans); color: var(--muted); }
.semester ol, .semester .sem-body { margin: 0; padding: 0 18px 16px 18px; }
.semester > ol { list-style: none; }
.semester > ol > li { padding: 9px 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.semester > ol > li b { font: 500 .82rem var(--mono); color: var(--saffron); min-width: 74px; }
.semester .sem-body ol { padding-left: 1.3em; }
.semester .sem-body > ol > li { margin-bottom: 10px; }
.semester.is-hidden, .semester li.is-hidden { display: none !important; }
mark { background: var(--saffron-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.empty-state { display: none; padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.empty-state.show { display: block; }

/* ---------- Publications ---------- */
.pub-toolbar { position: sticky; top: 66px; z-index: 10; background: var(--bg); padding: 14px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pub-toolbar .toolbar { margin-bottom: 10px; }
.year-group h3 { font: 600 1.6rem var(--serif); color: var(--muted); margin: 32px 0 6px; display: flex; align-items: baseline; gap: 10px; }
.year-group h3 small { font: 400 .85rem var(--sans); }
.pub { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; }
.pub-title { font: 600 1.06rem/1.4 var(--serif); margin: 0; grid-column: 1; }
.pub-authors { font-size: .93rem; color: var(--muted); margin: 0; grid-column: 1; }
.pub-authors strong { color: var(--ink); font-weight: 600; }
.pub-venue { font-size: .92rem; margin: 0; grid-column: 1; }
.pub-type { grid-column: 2; grid-row: 1; align-self: start; }
.year-group.is-hidden, .pub.is-hidden { display: none; }
@media (max-width: 600px) { .pub { grid-template-columns: 1fr; } .pub-type { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ---------- Students ---------- */
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); gap: 4px; margin-bottom: 8px; }
.tabs button { all: unset; cursor: pointer; padding: 8px 18px; border-radius: 999px; font-weight: 500; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tabs button:focus-visible { outline: 2px solid var(--accent); }
.js .tab-panel[hidden] { display: none; }
.group-photo { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.group-photo img { width: 100%; max-height: 420px; object-fit: cover; }
.group-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 14px; color: #fff; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.people-group { margin: 30px 0 10px; }
.people-group h3 { display: flex; align-items: baseline; gap: 10px; }
.people-group h3 small { font: 400 .85rem var(--sans); color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.person { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s; }
.person:hover { border-color: var(--accent); transform: translateY(-2px); }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 600 1.05rem var(--serif); color: var(--accent-strong); background: var(--accent-soft); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-weight: 600; margin: 2px 0 2px; display: block; }
.person .name a { color: inherit; }
.person .note { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.person .note a { color: var(--accent); }

/* ---------- Footer & misc ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 120;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: .92rem;
  opacity: 0; transition: all .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .site-header, .to-top, .toolbar, .pub-toolbar, .carousel-nav, .news-more, .tabs { display: none !important; }
  .js .news-item.is-collapsed, .js .tab-panel[hidden] { display: block !important; }
  body { background: #fff; }
}
[hidden] { display: none !important; }
.hero .stats { margin-top: 48px; }
