/* ============================================================================
   Mohamed F. Doheim — Site-wide stylesheet
   Design: "Precision Instrument" — clean clinical light theme
   Palette (60 / 30 / 10):
     #F7FAFC  paper   — 60% dominant background
     #0D1B2A  ink     — 30% text, headers, and two anchor bands
     #00E5FF  signal  — 10% button fills, metric figures, ticks, active states
   Type roles:
     Newsreader     — display / headings (editorial authority)
     IBM Plex Sans  — body / UI (humanist precision)
     IBM Plex Mono  — "data voice": eyebrows, metrics, dates, PMIDs, CIs
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  /* Core palette */
  --paper:        #F7FAFC;   /* 60% */
  --ink:          #0D1B2A;   /* 30% */
  --signal:       #00E5FF;   /* 10% */

  /* Derived neutrals (tints of ink / paper) */
  --paper-2:      #EDF2F7;   /* alt sections, card fills on light */
  --line:         #DCE3EB;   /* hairline borders */
  --line-2:       #C6D1DC;   /* stronger hairline / dividers */
  --ink-2:        #33475B;   /* body text (≈8:1 on paper) */
  --ink-3:        #5A6B7B;   /* captions / meta (≈5.8:1 on paper) */

  /* Derived accents (cyan family, kept readable) */
  --signal-strong:#00C4DB;   /* button hover — a touch denser */
  --link:         #0B6E7F;   /* readable teal link on light (AA) */
  --link-strong:  #08535F;   /* link hover */

  /* On the navy bands */
  --on-ink:       #F7FAFC;
  --on-ink-dim:   rgba(247, 250, 252, 0.68);

  /* Decoupled surfaces (so dark mode can flip text without flipping bands) */
  --band:         #0D1B2A;   /* navy accent bands + icon/tag tiles */
  --surface:      #ffffff;   /* raised card / pub / panel / award fills */
  --on-signal:    #0A1826;   /* text on cyan fills — fixed dark in both themes */
  --nav-bg:       rgba(247, 250, 252, 0.82);

  /* Type */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* Shape + motion */
  --r:            10px;
  --r-sm:         6px;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --t:            0.35s var(--ease);

  /* Elevation (soft, clinical-flat) */
  --shadow:       0 1px 2px rgba(13, 27, 42, 0.04), 0 10px 30px rgba(13, 27, 42, 0.06);
  --shadow-lg:    0 2px 4px rgba(13, 27, 42, 0.05), 0 18px 48px rgba(13, 27, 42, 0.10);

  --maxw:         1180px;
}

/* ── Dark theme (toggled via data-theme on <html>) ───────────────────────── */
:root[data-theme="dark"] {
  --paper:         #0B1622;   /* page background */
  --paper-2:       #10202E;   /* alt sections */
  --line:          #223140;
  --line-2:        #2E4051;
  --ink:           #E9F0F6;   /* primary text / emphasis (now light) */
  --ink-2:         #C3D0DC;   /* body text */
  --ink-3:         #90A2B2;   /* captions / meta */
  --signal:        #00E5FF;
  --signal-strong: #4DECFF;
  --link:          #61E1F1;   /* readable cyan link on dark */
  --link-strong:   #A7EFF8;
  --on-ink:        #F7FAFC;
  --on-ink-dim:    rgba(247, 250, 252, 0.72);
  --band:          #16293B;   /* accent bands + tiles, distinct from bg */
  --surface:       #13222F;   /* raised card / pub / panel / award fills */
  --nav-bg:        rgba(11, 22, 34, 0.82);
  --shadow:        0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 30px rgba(0, 0, 0, 0.50);
  --shadow-lg:     0 2px 6px rgba(0, 0, 0, 0.40), 0 22px 52px rgba(0, 0, 0, 0.60);
}

/* ── Reset + base ────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-2);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--link); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--link-strong); }

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

::selection { background: var(--signal); color: var(--on-signal); }

/* Visible keyboard focus everywhere (quality floor) */
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.section        { padding: 6.5rem 0; position: relative; }
.section--tight { padding: 3rem 0; }
.section--alt   { background: var(--paper-2); }

/* Navy anchor bands (the darker part of the 30%) */
.section--ink {
  background: var(--band);
  color: var(--on-ink);
}
.section--ink .heading { color: var(--on-ink); }
.section--ink .lede    { color: var(--on-ink-dim); }
.section--ink a:not(.btn)       { color: var(--signal); }
.section--ink a:not(.btn):hover { color: #fff; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(13, 27, 42, 0.02), 0 6px 24px rgba(13, 27, 42, 0.05);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0.15rem;
}
.nav-brand .dot { color: var(--signal); font-weight: 700; }
.nav-brand:hover { color: var(--ink); }

.nav-menu { display: flex; gap: 0.25rem; list-style: none; }
.nav-menu a {
  position: relative;
  color: var(--ink-3);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: var(--r-sm);
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.32rem;
  height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a:hover::after,
.nav-menu a.is-active::after { transform: scaleX(1); }
.nav-menu a.is-active { color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin: 5px 0;
  background: var(--ink); border-radius: 2px; transition: var(--t);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-right { display: flex; align-items: center; gap: 0.4rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line); color: var(--ink-3);
  cursor: pointer; font-size: 0.95rem; line-height: 1;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-2); }

@media (max-width: 860px) {
  .site-nav { padding: 0.9rem 1.25rem; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0.25rem; padding: 1rem 1.25rem 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 0.7rem 0.5rem; }
  .nav-menu a::after { left: 0.5rem; right: auto; width: 22px; }
  .nav-toggle { display: block; }
}

/* ── Type helpers ────────────────────────────────────────────────────────── */

/* Eyebrow / section label — mono "data voice" with a leading cyan tick */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.01em; text-transform: none;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 18px; height: 2px; background: var(--signal); flex: none;
}
.section--ink .eyebrow { color: var(--on-ink-dim); }

.heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12; letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.heading em { font-style: italic; font-weight: 500; }

.lede {
  font-size: 1.05rem; color: var(--ink-2); max-width: 56ch;
}

/* Editorial divider — hairline with a cyan tick */
.divider {
  width: 100%; max-width: 320px; height: 1px; background: var(--line-2);
  margin: 1.75rem 0; position: relative;
}
.divider::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 40px; height: 3px;
  background: var(--signal);
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.01em; line-height: 1;
  padding: 0.8rem 1.4rem; border-radius: var(--r-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t),
              border-color var(--t), box-shadow var(--t);
}
.btn i { font-size: 0.85em; }

/* Primary = the high-contrast cyan fill from the brief (navy text) */
.btn--primary {
  background: var(--signal); color: var(--on-signal);
  box-shadow: 0 6px 18px rgba(0, 229, 255, 0.28);
}
.btn--primary:hover {
  background: var(--signal-strong); color: var(--on-signal);
  transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 229, 255, 0.34);
}

/* Secondary = ink outline, fills on hover */
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink); color: var(--paper); transform: translateY(-2px);
}

/* Ghost = for use on the navy bands (cyan outline) */
.btn--ghost {
  background: rgba(0, 229, 255, 0.08); color: var(--signal);
  border-color: rgba(0, 229, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(0, 229, 255, 0.16); color: #fff; border-color: var(--signal);
  transform: translateY(-2px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 7rem 0 5.5rem; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.6fr; gap: 4rem; align-items: center;
}
.hero__name {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.1rem); line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 0.5rem;
}
.hero__name .mo { font-style: italic; font-weight: 500; color: var(--ink-2); }

/* Signature: cyan "signal" underline that sweeps in on load */
.signal-underline { position: relative; display: inline-block; }
.signal-underline::after {
  content: ''; position: absolute; left: 0; bottom: -0.12em;
  width: 100%; height: 4px; background: var(--signal);
}

.hero__cred {
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--ink-3); margin: 0.75rem 0 1.25rem;
}
.hero__cred b { color: var(--ink); font-weight: 600; }
.hero__thesis {
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
  color: var(--ink-2); max-width: 44ch; margin-bottom: 2rem; line-height: 1.5;
}
.hero__actions { margin-bottom: 2.5rem; }
.hero__affil {
  display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-3);
  letter-spacing: 0.02em;
}
.hero__affil span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__affil i { color: var(--link); font-size: 0.85em; }

/* Portrait — clean framed photo */
.portrait { position: relative; justify-self: center; }
.portrait img {
  width: 288px; height: 288px; object-fit: cover; border-radius: 16px;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero__thesis { margin-left: auto; margin-right: auto; }
  .hero__actions .btn-row, .hero__affil { justify-content: center; }
  .portrait { order: -1; }
  .portrait img { width: 210px; height: 210px; }
}

/* ── Metrics band (navy anchor + cyan figures) ───────────────────────────── */
.metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem 1.5rem;
}
.metric { text-align: left; position: relative; padding-left: 1rem; }
.metric::before {
  content: ''; position: absolute; left: 0; top: 0.15rem; bottom: 0.15rem;
  width: 2px; background: rgba(0, 229, 255, 0.35);
}
.metric__num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3rem); line-height: 1; color: var(--signal);
  letter-spacing: -0.02em;
}
.metric__label {
  margin-top: 0.6rem; font-size: 0.82rem; color: var(--on-ink-dim);
  line-height: 1.4;
}

/* ── Cards (focus areas / contact) ───────────────────────────────────────── */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem; transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative; height: 100%;
}
.section--alt .card { background: var(--surface); }
.card:hover {
  transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow);
}
.card__icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--band); color: var(--signal); font-size: 1.05rem;
  margin-bottom: 1.1rem; transition: var(--t);
}
.card__title {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.5rem;
}
.card__body { font-size: 0.92rem; color: var(--ink-2); line-height: 1.6; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.9rem; font-family: var(--font-mono);
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.02em;
}

/* Contact card — centered variant */
.card--contact { text-align: center; }
.card--contact .card__icon { margin: 0 auto 1.1rem; }

/* ── Publications ────────────────────────────────────────────────────────── */
.pub {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--line-2); border-radius: var(--r-sm);
  padding: 1.3rem 1.5rem; margin-bottom: 0.85rem;
  transition: transform var(--t), border-color var(--t), background var(--t), box-shadow var(--t);
}
.section--alt .pub { background: var(--surface); }
.pub:hover {
  border-left-color: var(--signal); transform: translateX(4px); box-shadow: var(--shadow);
}
.pub__title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--ink); line-height: 1.4; margin-bottom: 0.4rem;
}
.pub__authors { font-size: 0.86rem; color: var(--ink-2); margin-bottom: 0.25rem; }
.pub__authors b { color: var(--ink); font-weight: 600; }
.pub__journal {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-3);
  letter-spacing: 0.01em;
}
.pub__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 0.7rem; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem; border-radius: 999px; white-space: nowrap;
}
.tag--first  { background: var(--band); color: var(--signal); }
.tag--cofirst{ background: rgba(0,229,255,0.12); color: var(--link-strong); border: 1px solid rgba(0,229,255,0.4); }
.tag--cite   { background: var(--paper-2); color: var(--ink-3); border: 1px solid var(--line); }

.pub__link { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; }

/* Year filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  padding: 0.4rem 0.95rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-3); border: 1px solid var(--line-2);
  transition: var(--t);
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--band); color: var(--signal); border-color: var(--band); }

/* ── Timeline ────────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: ''; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(to bottom, var(--signal), var(--line-2) 45%, transparent);
}
.timeline__item { position: relative; padding-left: 1.5rem; margin-bottom: 1.6rem; }
.timeline__item:last-child { margin-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute; left: -1.75rem; top: 0.45rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--signal);
}
.timeline__date {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
  letter-spacing: 0.05em; margin-bottom: 0.2rem;
}
.timeline__title { font-weight: 600; color: var(--ink); font-size: 0.98rem; line-height: 1.35; }
.timeline__org { font-size: 0.85rem; color: var(--ink-3); }

/* Compact card that hosts a timeline (e.g. appointments on the homepage) */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.panel__label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.1rem;
}

/* ── Chips (skills / areas) ──────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}

/* ── Awards ──────────────────────────────────────────────────────────────── */
.award {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.95rem 1.1rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t), transform var(--t);
}
.award:hover { border-color: var(--line-2); transform: translateY(-2px); }
.award__year {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--link);
  white-space: nowrap; min-width: 62px; padding-top: 0.1rem; font-weight: 500;
}
.award__text { font-size: 0.9rem; color: var(--ink-2); line-height: 1.45; }
.award--highlight { border-color: var(--signal); border-width: 1px; box-shadow: 0 0 0 3px rgba(0,229,255,0.12); }

/* ── Service list ────────────────────────────────────────────────────────── */
.service__item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.92rem; color: var(--ink-2);
}
.service__item:last-child { border-bottom: none; }
.service__item i { color: var(--link); font-size: 0.85rem; width: 18px; text-align: center; padding-top: 0.28rem; }

/* ── Grids ───────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Two-column content splits (text + panel, or portrait + text) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.split--portrait { grid-template-columns: 0.5fr 1fr; gap: 3.5rem; align-items: start; }

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split, .split--portrait { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--paper-2); border-top: 1px solid var(--line);
  padding: 3rem 2rem; text-align: center;
}
.social { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--ink-3);
  transition: var(--t);
}
.social a:hover {
  color: var(--ink); border-color: var(--signal);
  background: rgba(0,229,255,0.1); transform: translateY(-2px);
}
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.25rem; }
.footer-nav a { font-size: 0.85rem; color: var(--ink-2); }
.footer-nav a:hover { color: var(--ink); }
.copyright { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-3); }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Reduced motion: honor the OS setting (quality floor) ────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .signal-underline::after { transform: scaleX(1); }
}
