/* ==========================================================================
   Technology in Society (TiS) — IIT Delhi
   Shared stylesheet for every page.
   ========================================================================== */

:root {
  --ink: #16191d;
  --ink-2: #3d434b;
  --muted: #6b7280;
  --line: #e7e2da;
  --bg: #faf8f4;
  --surface: #ffffff;
  --tint: #f3efe8;
  --accent: #8c1d2f;        /* IIT Delhi maroon */
  --accent-dark: #6d1524;
  --accent-soft: #f6e9eb;
  --gold: #b7862b;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 25, 29, .04), 0 4px 16px rgba(22, 25, 29, .06);
  --shadow-lg: 0 2px 4px rgba(22, 25, 29, .05), 0 12px 32px rgba(22, 25, 29, .10);
  --container: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* Elements hidden by the search filter or tabs must stay hidden,
   even when a class gives them display:flex/grid */
[hidden] { display: none !important; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .01em; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 44px; height: 44px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: .25rem; }
.site-nav a, .site-nav .dropdown-btn {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font: 500 .95rem/1.2 var(--sans); color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.site-nav a:hover, .site-nav .dropdown-btn:hover { background: var(--tint); color: var(--ink); }
.site-nav a[aria-current="page"], .site-nav .is-active > .dropdown-btn,
.site-nav .is-active > a { color: var(--accent); background: var(--accent-soft); }

.has-dropdown { position: relative; }
.has-dropdown > .nav-row { display: flex; align-items: center; }
.has-dropdown .caret { width: 14px; height: 14px; margin-left: 2px; vertical-align: -2px; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a { border-radius: var(--radius-sm); padding: .6rem .8rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .15rem; }
  .site-nav a, .site-nav .dropdown-btn { border-radius: var(--radius-sm); padding: .75rem .9rem; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: none; padding: 0 0 0 1rem; min-width: 0;
  }
  .has-dropdown .dropdown-btn .caret { display: none; }
}

/* ---------- Hero / page headers -------------------------------------- */

.hero {
  position: relative; color: #fff; overflow: hidden;
  background: #1c1416 url("../images/hero-iitd.jpg") center 40% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 14, 16, .70) 0%, rgba(14, 14, 16, .42) 50%, rgba(14, 14, 16, .10) 100%),
    rgba(140, 29, 47, .17);   /* light maroon tint */
}
.hero .container { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: .4em; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; color: rgba(255,255,255,.88); }
.eyebrow {
  display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.hero .eyebrow { color: #f1c97a; }

.page-header {
  position: relative; color: #fff;
  background: #2a1218 url("../images/hero-iitd.jpg") center 45% / cover no-repeat;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 14, 16, .72) 0%, rgba(14, 14, 16, .45) 60%, rgba(14, 14, 16, .25) 100%),
    rgba(140, 29, 47, .17);   /* light maroon tint */
}
.hero h1, .hero .lead, .page-header h1, .page-header p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.page-header .container { position: relative; padding: clamp(2.75rem, 6vw, 4.25rem) 0; }
.page-header h1 { color: #fff; margin-bottom: .25em; }
.page-header p { color: rgba(255,255,255,.85); max-width: 62ch; margin: 0; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; margin-bottom: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; font: 600 .95rem/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Sections -------------------------------------------------- */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head .eyebrow { color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-wide { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }

.prose p { font-size: 1.075rem; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-top: -3rem; position: relative; z-index: 2;
}
.stat { padding: 1.5rem 1.6rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font: 700 2rem/1 var(--serif); color: var(--accent); }
.stat-label { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .6rem; }
.card-link {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d9cfc2; color: inherit; }
.card-link .more { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .92rem; color: var(--accent); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card p:last-child { margin-bottom: 0; }

.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { padding: .55rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.list-card li:first-child { border-top: 0; }
.course-code {
  display: inline-block; min-width: 4.6rem; font: 600 .8rem/1.6 var(--sans);
  color: var(--accent); letter-spacing: .02em;
}
.card-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--accent); padding-bottom: .6rem; margin-bottom: .4rem; }
.card-title-row h3 { margin: 0; }
.count { font-size: .82rem; color: var(--muted); white-space: nowrap; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-block; padding: .45rem .85rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2);
}
.chip-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-dark); font-weight: 500; }

/* Partner / callout */
.callout {
  border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem);
  background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: #fff;
}
.callout h2, .callout h3 { color: #fff; }
.callout p { color: rgba(255,255,255,.88); }

.quote {
  border-left: 3px solid var(--accent); padding: .25rem 0 .25rem 1.25rem;
  font: italic 1.2rem/1.55 var(--serif); color: var(--ink);
}

/* Timeline / item lists (Collaborations, Events) */
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow);
}
.item-num {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; font: 600 .9rem/1 var(--sans);
  background: var(--accent-soft); color: var(--accent);
}
.item p { margin: 0; }
.item .tags { margin-top: .6rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--gold); margin-right: .75rem; }

.subnav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(250, 248, 244, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .6rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: .5rem .95rem; border-radius: 999px;
  text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .93rem;
}
.subnav a:hover { background: var(--tint); color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Tabs (People) -------------------------------------------- */

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; background: var(--tint); border-radius: 999px; }
.tab {
  border: 0; background: none; cursor: pointer; padding: .6rem 1.1rem; border-radius: 999px;
  font: 500 .95rem/1 var(--sans); color: var(--ink-2); display: inline-flex; align-items: center; gap: .45rem;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tab .badge { font-size: .75rem; background: rgba(0,0,0,.06); color: var(--muted); padding: .2rem .45rem; border-radius: 999px; }
.tab[aria-selected="true"] .badge { background: var(--accent-soft); color: var(--accent); }

.search {
  position: relative; flex: 0 1 300px;
}
.search input {
  width: 100%; padding: .7rem 1rem .7rem 2.5rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: .95rem; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }

.tabpanel[hidden] { display: none; }
.empty { color: var(--muted); text-align: center; padding: 2.5rem 1rem; display: none; }
.empty.show { display: block; }

/* ---------- Person cards -------------------------------------------- */

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; }

.person {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.person:hover { box-shadow: var(--shadow-lg); }
.person-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--tint); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line);
}
.avatar-initials {
  display: grid; place-items: center; font: 600 1.5rem/1 var(--serif);
  color: var(--accent); background: var(--accent-soft);
}
.person h3 { font-size: 1.2rem; margin: 0 0 .15rem; }
.person h3 a { color: var(--ink); text-decoration: none; }
.person h3 a:hover { color: var(--accent); text-decoration: underline; }
.role { font-size: .88rem; color: var(--accent); font-weight: 600; }
.email {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem;
  font-size: .85rem; color: var(--muted); text-decoration: none; word-break: break-all;
}
.email:hover { color: var(--accent); }
.email svg { width: 14px; height: 14px; flex: none; }

.field-label { font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.person .areas { font-size: .97rem; color: var(--ink-2); margin-bottom: 0; }
.person details { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; font-size: .93rem; }
.person summary {
  cursor: pointer; font-weight: 600; color: var(--accent); font-size: .9rem; list-style: none;
  display: inline-flex; align-items: center; gap: .3rem;
}
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.person details[open] summary::after { content: "−"; }
.person details .field { margin-top: .9rem; }
.person details p { margin: 0; }
.person details p + p { margin-top: .25rem; }

.alumni { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 1rem; }
.alum {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--shadow);
}
.alum .avatar { width: 56px; height: 56px; font-size: 1.1rem; }
.alum h3 { font-size: 1.1rem; margin: 0 0 .25rem; display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; }
.year { font: 600 .78rem/1 var(--sans); color: var(--gold); background: #fbf3e2; padding: .3rem .55rem; border-radius: 999px; }
.alum p { margin: 0; font-size: .95rem; font-style: italic; font-family: var(--serif); color: var(--ink-2); }

/* ---------- Publications -------------------------------------------- */

.pub-year { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.pub-year:first-of-type { border-top: 0; padding-top: 0; }
.pub-year h2 { font-size: 1.75rem; color: var(--accent); position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.pubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pub { padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.55; }
.pub em { color: var(--ink); }
@media (max-width: 700px) {
  .pub-year { grid-template-columns: 1fr; gap: .75rem; }
  .pub-year h2 { position: static; }
}

/* ---------- Footer --------------------------------------------------- */

.site-footer { background: #15171a; color: rgba(255,255,255,.72); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 220px; gap: 2.5rem; }
.site-footer h4 { font: 600 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 2px; }
.footer-brand span { font: 700 1.15rem/1.2 var(--serif); color: #fff; }
.map-link { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.map-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.map-link:hover img { transform: scale(1.03); }
.map-caption { font-size: .8rem; margin-top: .5rem; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion --------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Layout helpers ------------------------------------------ */
.collab-split { grid-template-columns: 300px 1fr; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 5rem); }
@media (max-width: 860px) {
  .collab-split { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
}

@media (max-width: 640px) {
  .brand-sub { display: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; border-radius: 14px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; padding: .6rem .85rem; }
  .search { flex-basis: auto; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
  .stats { margin-top: -1.5rem; }
}

/* Looking ahead callout (generated from update/looking ahead/looking-ahead.txt) */
.callout strong { color: #fff; }
.callout .chips { margin-bottom: 1.25rem; }
.callout .split > div > :last-child { margin-bottom: 0; }
.callout .eyebrow { color: #f1c97a; }

/* People search: results from all groups at once */
.search-group-title { display: none; }
.is-searching .search-group-title {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1.35rem; margin: 0 0 1rem; color: var(--ink);
}
.is-searching .search-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.is-searching .tab { cursor: pointer; }
.tab.no-match { opacity: .45; }
.is-searching .tabpanel + .tabpanel { margin-top: 2.5rem; }
