/* ============================================================
   Professor Georgius A. Adam — Academic Portfolio (English)
   Professional & academic theme
   ============================================================ */

:root {
  --navy: #0f2c4d;
  --navy-700: #13315c;
  --navy-600: #1d4373;
  --blue: #2d6cdf;
  --blue-soft: #e8f0fe;
  --gold: #c8a24b;
  --gold-soft: #f6efdd;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-deep: #0c2340;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15, 44, 77, .08), 0 1px 2px rgba(15, 44, 77, .06);
  --shadow-md: 0 10px 30px rgba(15, 44, 77, .10);
  --shadow-lg: 0 24px 60px rgba(12, 35, 64, .18);
  --maxw: 1180px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.65; font-size: 17px; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
mark { background: #fff2bf; color: inherit; padding: 0 2px; border-radius: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section[id] { scroll-margin-top: 92px; }
.pubjump { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding-top: 32px; }
.section__head { text-align: center; max-width: 780px; margin-inline: auto; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  font-weight: 700; margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body);
  font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent; transition: var(--transition);
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(45, 108, 223, .28); }
.btn--primary:hover { background: var(--navy-600); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================ HEADER / NAV */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 700; font-size: 1.15rem; box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.brand__tag { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink);
  font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.nav__link:hover { background: var(--blue-soft); color: var(--navy); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { content: ""; display: block; height: 2px; border-radius: 2px; background: var(--blue); margin-top: 4px; }

.nav__toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 10px; border-radius: 8px; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; height: 2px; width: 24px; background: var(--navy);
  border-radius: 2px; transition: var(--transition); position: relative;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================ HERO */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 78% -10%, rgba(45, 108, 223, .45), transparent 60%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--navy) 55%, var(--navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .55) 1px, transparent 0);
  background-size: 26px 26px;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 92px 0 96px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.hero__role { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }
.hero p { color: rgba(255, 255, 255, .86); font-size: 1.1rem; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 20px;
}
.hero__creds { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 13px; }
.hero__creds li { position: relative; padding-left: 20px; color: rgba(255, 255, 255, .9); font-size: .92rem; line-height: 1.45; }
.hero__creds li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero__creds li b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1px; }

.hero__card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; padding: 30px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.hero__avatar { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; background: #fff; border: 3px solid var(--gold); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.hero__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.hero__card-name { text-align: center; color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.hero__card-sub { text-align: center; color: rgba(255, 255, 255, .75); font-size: .92rem; margin-bottom: 0; }

/* ============================================================ STATS STRIP */
.stats { background: var(--white); margin-top: -42px; position: relative; z-index: 5; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.stat { background: #fff; padding: 28px 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy); }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.stats__grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ============================================================ CARDS / GRID */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
 .grid--5 { grid-template-columns: repeat(5, 1fr); }
 
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3dde8; }
.card__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__num { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold); font-weight: 700; }

/* check list */
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--blue-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d6cdf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ============================================================ PAGE HERO */
.page-hero {
  background: radial-gradient(800px 360px at 85% -30%, rgba(45, 108, 223, .4), transparent 60%), linear-gradient(150deg, var(--bg-deep), var(--navy));
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .5) 1px, transparent 0); background-size: 26px 26px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 72ch; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .9); }

/* ============================================================ SPLIT / ABOUT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split--text-first { grid-template-columns: 1.1fr .9fr; }
.prose p { color: var(--muted); margin-bottom: 18px; }
.prose h3 { margin-top: 30px; }

.fact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; position: sticky; top: 92px; }
.fact-card__head { background: var(--navy); color: #fff; padding: 20px 26px; }
.fact-card__head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.fact-card__body { padding: 8px 26px 18px; }
.fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-row:last-child { border-bottom: none; }
.fact-row span { color: var(--muted); }
.fact-row b { color: var(--navy); font-family: var(--font-head); }

/* ============================================================ TIMELINE (career / education) */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline__item .yr { font-family: var(--font-mono); font-size: .8rem; color: var(--blue); font-weight: 600; letter-spacing: .02em; }
.timeline__item h3 { font-size: 1.1rem; margin: 4px 0 4px; }
.timeline__item p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ============================================================ TABS */
.tabbar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tab {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; padding: 11px 20px;
  border-radius: 999px; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab .pill { font-family: var(--font-mono); font-size: .78rem; background: var(--blue-soft); color: var(--blue); padding: 1px 8px; border-radius: 999px; }
.tab.is-active .pill { background: rgba(255,255,255,.2); color: #fff; }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================ TOOLBAR / SEARCH */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search input { width: 100%; padding: 12px 16px 12px 42px; border: 1.5px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 1rem; background: #fff; transition: var(--transition); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.count { font-size: .9rem; color: var(--muted); font-weight: 600; }
.count b { color: var(--navy); }
.empty { text-align: center; color: var(--muted); padding: 40px; }

/* ============================================================ LIST (patents / publications / students) */
.list { display: grid; gap: 14px; }
.litem {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: var(--transition); align-items: flex-start;
}
.litem:hover { box-shadow: var(--shadow-md); border-color: #d3dde8; transform: translateY(-2px); }
.litem__no { flex: none; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--blue); background: var(--blue-soft); border-radius: 8px; padding: 8px 10px; min-width: 46px; text-align: center; line-height: 1.2; }
.litem__no small { display: block; color: var(--muted); font-size: .62rem; }
.litem__body { flex: 1; min-width: 0; }
.litem__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.06rem; margin: 0 0 5px; }
.litem__meta { font-size: .9rem; color: var(--muted); margin: 0; }
.litem__meta .sep { color: var(--line); padding: 0 6px; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: #8a6d1f; border: 1px solid #ecdcb0; }
.chip--year { background: var(--blue-soft); color: var(--blue); border-color: #cfe0fb; font-family: var(--font-mono); }
.litem__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.litem__cite { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.58; }
.litem__cite .yr { color: var(--blue); font-weight: 700; }

/* ============================================================ BOOKS */
.book { display: flex; gap: 22px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; }
.book:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.book__cover { width: 104px; flex: none; border-radius: 5px 10px 10px 5px; background: linear-gradient(150deg, var(--navy), var(--blue)); box-shadow: inset -9px 0 0 rgba(0, 0, 0, .22), 0 6px 16px rgba(15, 44, 77, .25); position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 14px 16px 22px; color: #fff; min-height: 152px; }
.book__cover::after { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: rgba(255, 255, 255, .35); }
.book__cover-title { font-family: var(--font-head); font-size: .82rem; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.book__cover-year { font-family: var(--font-mono); font-size: .74rem; color: var(--gold); letter-spacing: .04em; }
.book__info { display: flex; flex-direction: column; min-width: 0; }
.book__info h3 { margin: 0 0 6px; font-size: 1.14rem; line-height: 1.25; }
.book__co { margin: 0 0 4px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.book__meta { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.book__pages { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.book__pill { background: var(--gold-soft); color: #8a6d1f; border: 1px solid #ecdcb0; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; font-family: var(--font-mono); }

/* ============================================================ PROJECT GROUPS */
.pgroup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 22px; overflow: hidden; }
.pgroup__head { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.pgroup__head .card__icon { margin: 0; flex: none; }
.pgroup__head h3 { margin: 0; font-size: 1.2rem; }
.pgroup__head span { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; font-family: var(--font-body); }
.pgroup__body { padding: 22px 26px; }
.pgroup__body .tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--gold-soft); color: #8a6d1f; border: 1px solid #ecdcb0; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.pgroup__body p { color: var(--muted); margin: 0 0 14px; }

/* ============================================================ PUBLICATION METRICS */
.pub-metric { margin-bottom: 22px; }
.pub-metric__top { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; }
.pub-metric__top b { color: var(--navy); font-family: var(--font-head); }
.bar { height: 12px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--navy)); }

/* ============================================================ CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .92rem; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: var(--transition); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-item .card__icon { margin: 0; flex: none; }
.contact-info-item h4 { margin: 0 0 3px; color: var(--navy); }
.contact-info-item p { margin: 0; color: var(--muted); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--blue); }

/* ============================================================ CTA */
.cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; border-radius: 22px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: rgba(255, 255, 255, .88); max-width: 60ch; margin: 0 auto 28px; }

/* ============================================================ FOOTER */
.site-footer { background: var(--bg-deep); color: rgba(255, 255, 255, .8); padding: 64px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .78); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__about { font-size: .94rem; max-width: 42ch; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ============================================================ ANIMATIONS */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ============================================================ RESPONSIVE */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 70px 0 80px; }
  .hero__card { max-width: 420px; }
  .split, .split--text-first, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(5, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .fact-card { position: static; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px; gap: 2px;
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .3s ease;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav__menu.is-open { transform: none; }
  .nav__link { padding: 13px 12px; }
  .nav__link.is-active::after { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta { padding: 40px 24px; }
}
@media (max-width: 440px) {
  .stats__grid { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
  .litem { flex-direction: column; gap: 10px; }
}
