/* ==========================================================================
   ebrahimvandi.com — plain CSS, no build step.
   Mobile-first; layout widens at 700 / 880 / 1024px.
   ========================================================================== */

/* --- Fonts: self-hosted Latin subsets (SIL Open Font License, see fonts/) --- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallback so body text doesn't jump when Inter arrives */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

/* --- Design tokens --- */
:root {
  /* light surfaces */
  --ink: #0a1628;
  --ink-2: #1f2c40;
  --text: #3b4758;
  --muted: #5e6b7d;
  --line: #e5e9f0;
  --line-2: #d5dce6;
  --paper: #ffffff;
  --paper-2: #f5f7fa;

  /* dark surfaces */
  --night: #050b17;
  --night-2: #0b1628;
  --night-line: rgba(255, 255, 255, 0.09);
  --on-night: #f4f7fb;
  --on-night-2: #b4c0d0;
  --on-night-muted: #8393a8;

  /* accent — #0d9488 is the validated chart mark color on both surfaces */
  --teal: #0d9488;
  --teal-ink: #0f766e;
  --teal-glow: #5eead4;
  --teal-soft: #e6f4f3;
  --warning: #fab219;
  --grad-light: linear-gradient(95deg, #0d9488 0%, #2563eb 62%, #4f46e5 100%);
  --grad-dark: linear-gradient(95deg, #5eead4 0%, #7dd3fc 52%, #a5b4fc 100%);

  --sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* --- Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
  background: var(--night);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--teal-ink);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.hero :focus-visible,
.section-dark :focus-visible,
.contact :focus-visible,
.site-header :focus-visible,
.card-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--teal-glow);
}

::selection {
  background: rgba(13, 148, 136, 0.22);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Accent words in headlines: serif italic with a gradient */
.hero-statement em,
.section-head h2 em,
.contact-title em,
.notfound h1 em {
  padding-right: 0.08em;
  margin-right: -0.02em;
  font-family: var(--serif);
  font-size: 1.1em;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.005em;
  background-image: var(--grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-statement em,
.section-dark .section-head h2 em,
.contact-title em,
.notfound h1 em {
  background-image: var(--grad-dark);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.btn:hover .i-down {
  transform: translateY(2px);
}

.btn:hover .i-right {
  transform: translateX(3px);
}

.btn:hover .i-ext {
  transform: translate(2px, -2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(94, 234, 212, 0.45);
}

.btn-light:hover {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -12px rgba(94, 234, 212, 0.6);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.90625rem;
}

@media (max-width: 479.98px) {
  .hero-actions .btn,
  .contact-actions .btn {
    flex: 1 1 100%;
  }
}

/* --- Header: full-width bar. Transparent over the top of the hero; once the page
   scrolls it turns solid (dark or light to match the section beneath), hides while
   scrolling down, and returns on scroll up. --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-solid {
  background: var(--night);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header.on-light {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(10, 22, 40, 0.35);
  color: var(--ink);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--night);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.on-light .brand-mark {
  background: var(--ink);
  color: #fff;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.on-light .site-nav a {
  color: var(--text);
}

.on-light .site-nav a:hover,
.on-light .site-nav a[aria-current="true"] {
  color: var(--ink);
  background: var(--paper-2);
}

.site-nav .nav-cta,
.site-nav .nav-cta[aria-current="true"] {
  margin-left: 6px;
  padding: 0 18px;
  background: #fff;
  color: var(--night);
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: #d9fbf4;
  color: var(--night);
}

.on-light .site-nav .nav-cta,
.on-light .site-nav .nav-cta[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.on-light .site-nav .nav-cta:hover {
  background: var(--ink-2);
  color: #fff;
}

.nav-toggle {
  display: none;
}

/* Without JavaScript the header simply scrolls away with the hero */
html:not(.js) .site-header {
  position: absolute;
}

@media (max-width: 879.98px) {
  .nav-bar {
    height: 56px;
  }

  /* Without JavaScript the links wrap into a scrollable row */
  html:not(.js) .nav-bar {
    flex-wrap: wrap;
    height: auto;
    padding-block: 10px;
  }

  html:not(.js) .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .js .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .js .on-light .nav-toggle:hover {
    background: var(--paper-2);
  }

  .nav-toggle .icon-close,
  .nav-open .nav-toggle .icon-menu {
    display: none;
  }

  .nav-open .nav-toggle .icon-close {
    display: block;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--night);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.6);
  }

  .js .on-light .site-nav {
    border-bottom-color: var(--line);
    background: #fff;
    box-shadow: 0 24px 40px -24px rgba(10, 22, 40, 0.3);
  }

  .js .nav-open .site-nav {
    display: block;
    animation: menu-in 0.24s var(--ease);
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .js .site-nav a {
    display: flex;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .js .site-nav .nav-cta {
    justify-content: center;
    margin: 8px 0 0;
    border-radius: 999px;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* --- Ambient backdrop (hero + contact) --- */
.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  inset: -25% -15%;
  background:
    radial-gradient(34% 40% at 22% 30%, rgba(13, 148, 136, 0.42), transparent 70%),
    radial-gradient(32% 38% at 78% 16%, rgba(37, 99, 235, 0.38), transparent 70%),
    radial-gradient(26% 34% at 58% 56%, rgba(99, 102, 241, 0.2), transparent 72%);
  animation: aurora 26s ease-in-out infinite alternate;
}

.gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-position: center top;
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 25%, transparent 75%);
}

@keyframes aurora {
  from {
    transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1);
  }
  to {
    transform: translate3d(3%, 3%, 0) rotate(3deg) scale(1.1);
  }
}

.is-paused .aurora,
.is-paused .live-dot::after,
.is-paused .hc-dot::after {
  animation-play-state: paused;
}

/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(112px, 12vw, 160px);
  background: var(--night);
  color: var(--on-night);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-night-2);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
}

.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-glow);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.hero-name {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero-statement {
  max-width: 20em;
  margin: 0 0 22px;
  color: #9fb0c8;
  font-size: clamp(1.375rem, 1rem + 1.5vw, 2.375rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 40em;
  margin: 0 0 32px;
  color: var(--on-night-2);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Signature chart: observed signal -> now -> forecast with interval */
.hero-chart {
  position: relative;
  height: clamp(130px, 15vw, 220px);
  margin: clamp(64px, 8vw, 104px) 0 0;
}

.hc-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.hc-grid line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hc-obs path,
.hc-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hc-obs path {
  stroke: #7b8ba3;
}

.hc-line {
  stroke: var(--teal);
  filter: drop-shadow(0 0 6px rgba(13, 148, 136, 0.9));
}

.hc-now {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hc-label {
  position: absolute;
  top: -32px;
  color: var(--on-night-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hc-label-now {
  color: var(--on-night-2);
  transform: translateX(-50%);
}

.hc-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--night), 0 0 18px 2px rgba(13, 148, 136, 0.85);
}

.hc-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid rgba(94, 234, 212, 0.7);
  border-radius: 50%;
  animation: ping 2.6s var(--ease) 3s infinite both;
}

/* Impact figures */
.impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 32px 0 clamp(64px, 8vw, 104px);
  list-style: none;
  border-top: 1px solid var(--night-line);
}

.stat-value {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.stat-unit {
  margin-left: 0.18em;
  color: var(--on-night-muted);
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stat-label {
  max-width: 24ch;
  margin: 0;
  color: var(--on-night-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.num {
  position: relative;
}

.num[data-display] {
  color: transparent;
}

.num[data-display]::after {
  content: attr(data-display);
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
}

@media (min-width: 880px) {
  .impact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .stat {
    padding-right: 24px;
  }

  .stat + .stat {
    padding-left: 32px;
    border-left: 1px solid var(--night-line);
  }
}

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .enter {
    animation: enter 1s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 60ms);
  }

  .hc-obs {
    clip-path: inset(0 100% 0 0);
    animation: wipe 1.9s 0.55s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }

  .hc-fc {
    clip-path: inset(0 100% 0 0);
    animation: wipe 1.3s 2.35s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }

  .hc-now,
  .hc-dot,
  .hc-label {
    opacity: 0;
    animation: fade 0.7s 2.2s var(--ease) forwards;
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes wipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fade {
  to {
    opacity: 1;
  }
}

/* --- Sections --- */
.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 128px);
  background: var(--paper);
}

.section-soft {
  background: var(--paper-2);
}

.section-dark {
  background:
    radial-gradient(900px 520px at 88% -5%, rgba(37, 99, 235, 0.2), transparent 60%),
    radial-gradient(720px 420px at -5% 15%, rgba(13, 148, 136, 0.16), transparent 60%),
    var(--night);
  color: var(--on-night);
}

.section-head {
  max-width: 50rem;
  margin: 0 0 clamp(40px, 5vw, 64px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--teal-ink);
  font-family: var(--mono);
  font-size: 0.78125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--muted);
}

.eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-dark .eyebrow,
.contact .eyebrow {
  color: var(--teal-glow);
}

.section-dark .eyebrow span,
.contact .eyebrow span {
  color: var(--on-night-muted);
}

.section-head h2 {
  color: var(--ink);
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-lede {
  max-width: 42em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
}

.section-dark .section-lede {
  color: var(--on-night-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover .i-right {
  transform: translateX(3px);
}

.text-link:hover .i-ext {
  transform: translate(2px, -2px);
}

.section-dark .text-link {
  color: var(--teal-glow);
}

/* --- About --- */
.about-grid {
  display: grid;
  gap: 56px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 104px;
  }
}

.about-copy p {
  max-width: 38em;
  margin: 0 0 1.2em;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.about-copy p:first-child {
  color: var(--ink-2);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.side-title {
  margin: 0 0 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.side-title ~ .side-title {
  margin-top: 44px;
}

.edu-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.edu-degree {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.edu-school {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.badge {
  display: inline-flex;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.edu-note {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.edu-note a {
  color: var(--ink);
  text-decoration-color: var(--teal);
}

.edu-note a:hover {
  color: var(--teal-ink);
}

.profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-list a span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.profile-list .i-ext {
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.2s ease;
}

.profile-list a:hover {
  color: var(--teal-ink);
}

.profile-list a:hover .i-ext {
  color: var(--teal-ink);
  transform: translate(2px, -2px);
}

/* --- What I do: bento grid --- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-a,
  .bento-f {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .bento-a {
    grid-column: 1 / -1;
  }

  .bento-b,
  .bento-c,
  .bento-d,
  .bento-e {
    grid-column: span 2;
  }

  .bento-f {
    grid-column: span 4;
  }
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04), 0 18px 44px -28px rgba(10, 22, 40, 0.22);
  transition: opacity 1s var(--ease), transform 0.8s var(--ease), box-shadow 0.6s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04), 0 30px 64px -30px rgba(10, 22, 40, 0.34);
  }
}

.card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card .card-kicker,
.featured-pub .card-kicker {
  margin: 0 0 14px;
  color: var(--teal-ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-visual .viz {
  width: 100%;
  height: auto;
}

.bento-a .card-visual,
.bento-f .card-visual {
  width: 100%;
  max-width: 560px;
}

.bento-f .card-visual {
  max-width: 440px;
}

.card-dark {
  border-color: rgba(255, 255, 255, 0.08);
  background: radial-gradient(90% 80% at 100% 0%, rgba(13, 148, 136, 0.2), transparent 60%), var(--night-2);
  color: var(--on-night);
}

.card-dark h3 {
  color: #fff;
}

.card-dark p {
  color: var(--on-night-2);
}

.card-dark .card-kicker,
.featured-pub .card-kicker {
  color: var(--teal-glow);
}

/* Pointer spotlight */
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, -20%), rgba(13, 148, 136, 0.09), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.card-dark.spot::before {
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, -20%), rgba(94, 234, 212, 0.12), transparent 42%);
}

@media (hover: hover) and (pointer: fine) {
  .spot:hover::before {
    opacity: 1;
  }
}

@media (min-width: 1024px) {
  .bento-a {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    align-items: center;
    gap: 48px;
    padding: 44px;
  }

  .bento-f {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }

  .bento-a .card-visual {
    max-width: none;
  }
}

.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.project-chips li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-night);
  font-size: 0.8125rem;
  font-weight: 500;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.mini-stats li {
  color: var(--muted);
  font-size: 0.875rem;
}

.mini-stats span {
  display: block;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* Chart illustrations (decorative; marks follow the validated palette) */
.viz text {
  fill: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.viz .grid {
  stroke: var(--line-2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.viz .ctx,
.viz .acc {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.viz .ctx {
  stroke: #94a3b8;
}

.viz .acc {
  stroke: var(--teal);
}

.viz .acc-fill {
  fill: rgba(13, 148, 136, 0.1);
}

.viz .ctx-bar {
  fill: #b8c3d1;
}

.viz .acc-bar,
.viz .spark,
.viz .sum-line,
.viz .tile-acc {
  fill: var(--teal);
}

.viz .dot-acc,
.viz .dot-ctx {
  stroke: #fff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.viz .dot-acc {
  fill: var(--teal);
}

.viz .dot-ctx {
  fill: #94a3b8;
}

.viz .doc {
  fill: var(--paper-2);
  stroke: var(--line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.viz .doc-line {
  fill: #cfd6e0;
}

.viz .sum {
  fill: #fff;
  stroke: var(--teal);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.viz .tile {
  fill: #e4e9f0;
}

.viz .tile-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.viz .tile-ring {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}

.card-dark .viz text,
.featured-visual .viz text {
  fill: var(--on-night-muted);
}

.card-dark .viz .grid,
.featured-visual .viz .grid {
  stroke: rgba(255, 255, 255, 0.1);
}

.viz-monitor text {
  font-size: 19px;
}

@media (min-width: 700px) {
  .viz-monitor text {
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .viz-monitor text {
    font-size: 11px;
  }
}

.viz-roc text {
  font-size: 11px;
}

.viz-monitor .band {
  fill: rgba(255, 255, 255, 0.05);
}

.viz-monitor .acc,
.viz-roc .acc {
  filter: drop-shadow(0 0 5px rgba(13, 148, 136, 0.7));
}

.viz .warn {
  fill: var(--warning);
  stroke: var(--night-2);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.viz .warn-icon {
  fill: var(--warning);
}

.viz-roc .chance {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.viz-roc .acc-fill {
  fill: rgba(13, 148, 136, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .viz .tile-ring {
    animation: tile-ping 2.8s var(--ease) infinite;
  }

  /* Illustrations draw in once their card is revealed */
  .reveal-ready .card:not(.is-in) .viz,
  .reveal-ready .featured-pub:not(.is-in) .viz {
    clip-path: inset(0 100% 0 0);
  }

  .card.is-in .viz,
  .featured-pub.is-in .viz {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.4s 0.25s cubic-bezier(0.65, 0, 0.35, 1);
  }
}

@keyframes tile-ping {
  0% {
    opacity: 0.9;
    transform: scale(0.85);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* --- Experience --- */
.roles {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.role {
  display: grid;
  gap: 20px;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .role {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
  }
}

.role-dates {
  margin: 0 0 6px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.role-place {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.badge-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 0.78125rem;
  font-weight: 600;
}

.badge-now .live-dot {
  background: var(--teal);
}

.role-heading {
  margin: 0 0 18px;
}

.role-org {
  display: block;
  color: var(--ink);
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-decoration: none;
}

a.role-org {
  width: fit-content;
  background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.45s var(--ease);
}

a.role-org:hover {
  color: var(--ink);
  background-size: 100% 2px;
}

.role-title {
  display: block;
  margin-top: 6px;
  color: var(--teal-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.role-summary {
  max-width: 44em;
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.role-points {
  display: grid;
  gap: 12px;
  max-width: 50em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-points li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.65;
}

.role-points li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 2px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.role-points strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- Research --- */
.featured-pub {
  position: relative;
  display: grid;
  gap: 36px;
  margin: 0 0 clamp(64px, 8vw, 104px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

@media (min-width: 1024px) {
  .featured-pub {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
  }

  .featured-visual {
    max-width: 320px;
    justify-self: end;
    width: 100%;
  }
}

.featured-visual {
  max-width: 240px;
}

.featured-title {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.featured-title a {
  color: inherit;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}

.featured-title a:hover {
  background-size: 100% 1px;
}

.pub-authors {
  margin: 6px 0 4px;
  color: var(--on-night-2);
  font-size: 0.96875rem;
}

.pub-authors strong,
.mini-meta strong {
  color: #fff;
  font-weight: 600;
}

.pub-venue {
  margin: 0;
  color: var(--on-night-muted);
  font-size: 0.9375rem;
}

.pub-doi {
  font-family: var(--mono);
  font-size: 0.78125rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.list-title {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--night-line);
  color: var(--on-night-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pub-list {
  margin: 0 0 clamp(64px, 8vw, 104px);
  padding: 0;
  list-style: none;
}

.pub {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  gap: 18px;
  padding: 26px 8px 26px 0;
  border-bottom: 1px solid var(--night-line);
  transition: background-color 0.3s ease, opacity 1s var(--ease), transform 1s var(--ease);
}

.pub:hover {
  background: rgba(255, 255, 255, 0.025);
}

.pub-year {
  padding-top: 3px;
  color: var(--teal-glow);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (max-width: 639.98px) {
  .pub {
    grid-template-columns: minmax(0, 1fr) 20px;
    gap: 6px 14px;
  }

  .pub .pub-year,
  .mini-list .pub-year {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .pub-arrow {
    grid-row: 2;
    grid-column: 2;
  }
}

.pub-title {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  text-decoration: none;
}

/* The title link covers the whole row */
.pub-title::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pub-title:focus-visible {
  outline: none;
}

.pub:has(.pub-title:focus-visible) {
  outline: 2px solid var(--teal-glow);
  outline-offset: 2px;
  border-radius: 8px;
}

.pub-arrow {
  padding-top: 4px;
  color: var(--on-night-muted);
  transition: transform 0.3s var(--ease), color 0.3s ease;
}

.pub:hover .pub-arrow {
  color: #fff;
  transform: translate(3px, -3px);
}

.pub-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--on-night-2);
  font-size: 0.84375rem;
}

.pub-note svg {
  color: var(--teal-glow);
}

.research-grid {
  display: grid;
  gap: 56px;
}

@media (min-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
  }
}

.mini-list {
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--night-line);
}

@media (max-width: 639.98px) {
  .mini-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.mini-title {
  margin: 0;
  color: #fff;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

a.mini-title:hover {
  text-decoration: underline;
  text-decoration-color: var(--teal-glow);
}

.mini-meta {
  margin: 4px 0 0;
  color: var(--on-night-muted);
  font-size: 0.875rem;
}

.orcid-line {
  margin: 8px 0 0;
}

/* --- Skills --- */
.skills {
  margin: 0;
  border-top: 1px solid var(--line);
}

.skill-row {
  display: grid;
  gap: 14px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 880px) {
  .skill-row {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: baseline;
    gap: 32px;
  }
}

.skill-row dt {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.skill-row dd {
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chips li:hover {
  border-color: var(--teal);
  color: var(--teal-ink);
}

/* --- Contact --- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 160px) clamp(64px, 8vw, 104px);
  background: var(--night);
  color: var(--on-night);
}

.contact .aurora {
  inset: 5% -15% -45%;
}

.contact .gridlines {
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 100%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 100%, #000 20%, transparent 75%);
}

.contact-title {
  max-width: 18em;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-lede {
  max-width: 36em;
  margin: 24px 0 0;
  color: var(--on-night-2);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* --- Footer --- */
.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--night-line);
  background: var(--night);
  color: var(--on-night-muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--on-night-2);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* --- Scroll reveal (only armed by main.js, and never under reduced motion) --- */
.reveal {
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal-ready .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(32px);
}

/* Elements with their own hover transitions keep them alongside the reveal */
.card.reveal {
  transition: opacity 1s var(--ease), transform 0.8s var(--ease), box-shadow 0.6s var(--ease);
}

.pub.reveal {
  transition: background-color 0.3s ease, opacity 1s var(--ease), transform 1s var(--ease);
}

/* --- 404 page --- */
.page-404 {
  background: var(--night);
}

.notfound {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 80px;
  overflow: hidden;
  color: var(--on-night);
  text-align: center;
}

.notfound .eyebrow {
  justify-content: center;
  color: var(--teal-glow);
}

.notfound .eyebrow::after {
  display: none;
}

.notfound h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.notfound p {
  max-width: 32em;
  margin: 0 auto 36px;
  color: var(--on-night-2);
  font-size: 1.0625rem;
}

/* --- Motion & contrast preferences --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero-statement em,
  .section-head h2 em,
  .contact-title em,
  .notfound h1 em {
    background: none;
    color: CanvasText;
  }
}

/* --- Print: a clean one-column résumé --- */
@media print {
  @page {
    margin: 14mm;
  }

  html,
  body {
    background: #fff !important;
    color: #000;
    font-size: 10.5pt;
  }

  .site-header,
  .skip-link,
  .ambient,
  .hero-chart,
  .hero-actions,
  .hero-chips,
  .card-visual,
  .featured-visual,
  .pub-arrow,
  .contact-actions,
  .text-link,
  .site-footer {
    display: none !important;
  }

  .hero,
  .section,
  .contact {
    padding-block: 12pt !important;
    background: #fff !important;
    color: #000 !important;
  }

  .hero-name,
  .hero-statement,
  .hero-lead,
  .section-head h2,
  .section-lede,
  .stat-value,
  .stat-label,
  .card h3,
  .card p,
  .role-org,
  .featured-title,
  .pub-title,
  .pub-authors,
  .pub-venue,
  .mini-title,
  .mini-meta,
  .contact-title,
  .contact-lede,
  .project-chips li {
    color: #000 !important;
  }

  .hero-statement em,
  .section-head h2 em,
  .contact-title em {
    background: none !important;
    color: #000 !important;
  }

  .hero-name {
    font-size: 26pt;
  }

  .hero-statement,
  .section-head h2,
  .contact-title {
    font-size: 18pt;
  }

  .impact {
    padding-bottom: 0;
  }

  .card,
  .card-dark,
  .featured-pub {
    border-color: #ccc !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .role,
  .pub,
  .card,
  .mini-list li {
    break-inside: avoid;
  }

  a {
    color: inherit !important;
    text-decoration: none;
  }
}
