@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #667085;
  --primary: #123b80;
  --primary-soft: #e9f0fc;
  --surface-1: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f2f5f9;
  --surface-4: #eef2f6;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-shell: 0 22px 70px rgba(16, 24, 40, 0.08);
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 14px 34px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  background: var(--bg);
  min-height: 100vh;
}

.site-shell {
  width: 100%;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.topbar {
  display: grid;
  width: min(1140px, 92vw);
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px 32px 18px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.07);
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.tab-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 8px 1px 11px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.tab-btn:hover {
  color: #344054;
}

.tab-btn.active {
  color: var(--ink);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.toolbar {
  display: flex;
  justify-content: flex-end;
}

.lang-toggle {
  border: 0;
  background: var(--surface-3);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 8px 13px;
  min-width: 64px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover {
  background: #e8edf5;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.content {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 30px 34px 36px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: panel-reveal 0.3s ease;
}

@keyframes panel-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image-strip {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.hero-image-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 250, 252, 0.72) 0%,
    rgba(248, 250, 252, 0.5) 36%,
    rgba(248, 250, 252, 0.25) 55%,
    rgba(248, 250, 252, 0) 72%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-image-strip img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.hero-overlay {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  z-index: 2;
  max-width: min(52%, 560px);
  color: #111827;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: clamp(4px, 0.6vw, 10px);
}

.hero-overlay h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-role {
  margin: 0;
  font-size: clamp(1.08rem, 1.42vw, 1.58rem);
  font-weight: 700;
}

.hero-focus {
  margin: 0;
  font-size: clamp(0.96rem, 1.12vw, 1.24rem);
  font-weight: 600;
  color: #344054;
}

.hero-rule {
  width: min(470px, 100%);
  height: 1px;
  margin: 0;
  background: rgba(15, 23, 42, 0.2);
}

.hero-summary {
  margin: 0;
  font-size: clamp(0.92rem, 1.04vw, 1.14rem);
  line-height: 1.6;
  color: #334155;
}

.hero-metrics {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-email {
  margin: 0;
  font-size: clamp(0.9rem, 1.06vw, 1.16rem);
  font-weight: 700;
}

.hero-email-link {
  color: #1f3f72;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 63, 114, 0.35);
}

.hero-email-link:hover {
  color: #123b80;
  border-bottom-color: rgba(18, 59, 128, 0.6);
}

.hero-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #344054;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  font-size: clamp(0.74rem, 0.9vw, 0.93rem);
  font-weight: 700;
}

.hero-metric-link {
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-metric-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: #123b80;
}

.hero-metric-link:focus-visible {
  outline: 2px solid rgba(18, 59, 128, 0.35);
  outline-offset: 2px;
}

.home-copy {
  margin-top: 24px;
  width: 100%;
  max-width: none;
}

.home-copy h2 {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.home-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.92;
}

/* Apply justified alignment to long-form body copy blocks. */
.home-keywords-text,
.stack-banner p,
.section-head p,
.project-desc,
.paper-abs,
.activities-item p,
.honors-item p,
.news-item p,
.blog-item-summary,
.life-card p {
  text-align: justify;
  text-justify: inter-ideograph;
  text-align-last: left;
}

/* In About Me, justify only the English self-introduction paragraph. */
html:lang(en) .home-copy p[data-i18n="homeAboutBody"] {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
}

/* Fallback selector for robust language toggling behavior. */
body[data-lang="en"] .home-copy p[data-i18n="homeAboutBody"] {
  text-align: justify !important;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: auto;
}

.home-divider {
  margin: 24px 0 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e5eaf1 20%, #e5eaf1 80%, transparent 100%);
}

.home-details h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.home-subtitle {
  margin-top: 28px;
}

.home-divider + .home-subtitle {
  margin-top: 0;
}

.fact-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.75;
}

.fact-list li {
  padding: 6px 0;
}

.fact-list li.fact-row {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(140px, 200px) minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
}

.fact-time,
.fact-location {
  color: #475467;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.fact-detail {
  min-width: 0;
}

.fact-link {
  color: #0f3f8d;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 63, 141, 0.25);
}

.fact-link:hover {
  color: #0a2f6b;
  border-bottom-color: rgba(10, 47, 107, 0.6);
}

.home-keywords-text {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.stack-banner {
  border-radius: var(--radius-md);
  padding: 22px 20px;
  background: linear-gradient(180deg, #f8fafd 0%, #f2f6fb 100%);
  box-shadow: var(--shadow-soft);
}

.stack-banner h2 {
  margin: 0 0 18px;
  font-size: 1.32rem;
  font-weight: 700;
}

.stack-banner p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.skill-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf0f6;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-head {
  margin-top: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-card {
  border-radius: var(--radius-md);
  background: var(--surface-1);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.project-card-featured {
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
  border: 1px solid #cdddf6;
  box-shadow: 0 12px 28px rgba(55, 95, 160, 0.14);
}

.project-card:hover {
  background: #fbfcfe;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.project-card-featured:hover {
  background: linear-gradient(180deg, #f3f8ff 0%, #e8f1ff 100%);
}

.project-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.project-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
}

.project-period {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.project-desc {
  margin: 9px 0 12px;
  color: var(--muted);
  line-height: 1.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-tag {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: #344054;
  background: #ecf1f7;
}

.project-highlights {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #475467;
  line-height: 1.75;
}

.project-figure {
  margin: 12px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d5deeb;
  background: #ffffff;
}

.project-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.project-card-compact {
  background: #ffffff;
}

.project-card-compact:hover {
  background: #ffffff;
}

.project-compact-text {
  margin-top: 12px;
  margin-bottom: 0;
  color: #475467;
  line-height: 1.8;
}

.tag-filters {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-filter-btn {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: #eef2f7;
  color: #344054;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tag-filter-btn:hover {
  background: #e5ebf3;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(16, 24, 40, 0.08);
}

.tag-filter-btn.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.publication-list {
  margin-top: 14px;
  display: grid;
  gap: 16px;
}

.publication-group {
  border-radius: var(--radius-md);
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.pub-group-peer {
  border-top: 3px solid #b9cdef;
}

.pub-group-patents {
  border-top: 3px solid #bfd7e8;
}

.pub-group-abstracts {
  border-top: 3px solid #c8d4e3;
}

.publication-group-title {
  margin: 2px 0 10px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #1f2937;
}

.publication-group-list {
  display: grid;
  gap: 10px;
}

.paper-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 14px 15px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.paper-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-hover);
}

.paper-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.paper-authors {
  margin: 7px 0 0;
  color: #475467;
  font-size: 0.86rem;
  line-height: 1.6;
}

.paper-authors strong {
  color: #1f2937;
}

.paper-link {
  color: #0f3f8d;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 63, 141, 0.25);
}

.venue-name {
  font-style: italic;
}

.paper-link:hover {
  color: #0a2f6b;
  border-bottom-color: rgba(10, 47, 107, 0.6);
}

.paper-meta {
  margin: 7px 0 0;
  color: #475467;
  font-size: 0.83rem;
  font-weight: 700;
}

.paper-abs {
  margin: 9px 0 10px;
  color: var(--muted);
  line-height: 1.75;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.paper-tag {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.76rem;
  color: #344054;
  background: #ecf1f7;
}

.pub-empty {
  font-size: 0.86rem;
}

.empty-state {
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--muted);
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 100%);
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.3);
}

.life-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.activities-list {
  margin-top: 14px;
  display: grid;
  gap: 16px;
}

.activities-group {
  border-radius: var(--radius-md);
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.activities-group-title {
  margin: 2px 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #1f2937;
}

.activities-group-list {
  display: grid;
  gap: 10px;
}

.activities-group-list-conference {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activities-item {
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 14px 15px;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.08);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.activities-item-conference {
  background: #ffffff;
  box-shadow: inset 3px 0 0 #b6cbea, 0 4px 10px rgba(16, 24, 40, 0.08);
}

.activities-item-service {
  background: #ffffff;
  box-shadow: inset 3px 0 0 #9fbce6, 0 4px 10px rgba(16, 24, 40, 0.08);
}

.activities-item-reviewer {
  background: #ffffff;
  box-shadow: inset 3px 0 0 #cad6e5, 0 4px 10px rgba(16, 24, 40, 0.08);
}

.activities-item:hover {
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

.activities-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.activities-title-link {
  color: #0f3f8d;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 63, 141, 0.25);
}

.activities-title-link:hover {
  color: #0a2f6b;
  border-bottom-color: rgba(10, 47, 107, 0.6);
}

.activities-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.honors-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.honors-item {
  position: relative;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 16px 16px 14px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.honors-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7ea5d8 0%, #4b7bbd 100%);
}

.honors-item-featured {
  background: linear-gradient(
    180deg,
    rgba(221, 233, 251, 0.64) 0%,
    rgba(236, 243, 253, 0.74) 100%
  );
  box-shadow: 0 8px 18px rgba(54, 94, 159, 0.14);
}

.honors-item-featured::before {
  background: linear-gradient(180deg, #6f96cf 0%, #3f6eb4 100%);
}

.honors-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.honors-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a5f;
}

.honors-title-link {
  color: #0f3f8d;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 63, 141, 0.25);
}

.honors-title-link:hover {
  color: #0a2f6b;
  border-bottom-color: rgba(10, 47, 107, 0.6);
}

.honors-item p {
  margin: 8px 0 0;
  color: #475467;
  line-height: 1.75;
  font-size: 0.9rem;
}

.news-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.news-item {
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 14px 15px 14px 18px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid #9bb8e8;
  transition: border-left-color 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
  border-left-color: #5e8fd9;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
}

.news-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.news-title-link {
  color: #0f3f8d;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 63, 141, 0.25);
}

.news-title-link:hover {
  color: #0a2f6b;
  border-bottom-color: rgba(10, 47, 107, 0.6);
}

.news-item p {
  margin: 8px 0 0;
  color: #475467;
  line-height: 1.75;
  font-size: 0.92rem;
}

.blog-list {
  margin-top: 14px;
  display: grid;
  gap: 16px;
}

.blog-group {
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.blog-group-title {
  margin: 2px 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #1f2937;
}

.blog-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.blog-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.08);
  padding: 10px;
}

.blog-cover {
  display: block;
  width: 112px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #e7eef8 0%, #dbe7f5 100%);
  text-decoration: none;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #36557f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-body {
  min-width: 0;
}

.blog-item-title {
  margin: 0;
  font-size: 0.97rem;
  font-weight: 700;
}

.blog-item-summary {
  margin: 6px 0 8px;
  color: #5b6576;
  line-height: 1.65;
  font-size: 0.88rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-tag {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #344054;
  background: #e9eff7;
}

.life-card {
  border-radius: var(--radius-md);
  background: var(--surface-1);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.life-card:hover {
  background: #fbfcfe;
  box-shadow: var(--shadow-hover);
}

.life-card h3 {
  margin: 0;
  font-size: 0.99rem;
  font-weight: 700;
}

.life-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

.footer {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 16px 24px 20px;
  color: #98a2b3;
  font-size: 0.82rem;
  box-shadow: 0 -1px 0 rgba(15, 23, 42, 0.07);
}

@media (max-width: 980px) {
  .topbar,
  .content,
  .footer {
    width: 94vw;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: start;
    padding: 18px 18px 14px;
  }

  .tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .content {
    padding: 18px 18px 24px;
  }

  .hero-overlay {
    max-width: 60%;
  }

  .hero-metrics {
    gap: 6px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .honors-list {
    grid-template-columns: 1fr;
  }

  .activities-group-list-conference {
    grid-template-columns: 1fr;
  }

  .life-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-group-list {
    grid-template-columns: 1fr;
  }

  .fact-list li.fact-row {
    grid-template-columns: minmax(120px, 180px) minmax(120px, 1fr);
  }

  .fact-detail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 1.6rem;
  }

  .tab-btn {
    font-size: 0.96rem;
    padding-bottom: 8px;
  }

  .hero-image-strip::after {
    background: linear-gradient(
      90deg,
      rgba(248, 250, 252, 0.76) 0%,
      rgba(248, 250, 252, 0.42) 52%,
      rgba(248, 250, 252, 0.08) 100%
    );
  }

  .hero-overlay {
    top: 14px;
    bottom: 14px;
    left: 14px;
    max-width: 72%;
  }

  .hero-metric {
    min-height: 26px;
    padding: 5px 9px;
    font-size: 0.76rem;
  }

  .home-copy {
    margin-top: 18px;
  }

  .section-head {
    margin-top: 20px;
  }

  .stack-banner {
    padding: 16px;
  }

  .life-grid {
    grid-template-columns: 1fr;
  }

  .fact-list li.fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fact-time,
  .fact-location {
    white-space: normal;
  }

  .fact-detail {
    grid-column: auto;
  }
}
