/* ==========================================================================
   emekaogbonna.com
   ========================================================================== */

:root {
  --bg: #0B132B;
  --bg-alt: #0F172A;
  --card: #1E293B;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #F59E0B;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --text: #F8FAFC;
  --text-muted: #CBD5E1;
  --text-subtle: #A3B1C6;

  --font-head: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
  --gutter: 24px;
  --header-h: 68px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
}

/* ---------- Base ---------- */

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

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: inherit; }

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

strong { color: var(--text); font-weight: 600; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Card ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(245, 158, 11, 0.12);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: #FBBF24; }

.btn--ghost { border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 19, 43, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 19, 43, 0.88);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--accent); }
.nav__link--cta {
  margin-left: 8px;
  padding-inline: 18px;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.nav__link--cta:hover { border-color: var(--accent); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .js .nav__toggle { display: flex; }

  .js .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: rgba(11, 19, 43, 0.97);
    border-bottom: 1px solid var(--border);
    /* short or sideways phones: the open menu scrolls instead of running off screen */
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
  }
  .js .nav__menu.is-open { display: flex; }

  .nav__link { padding: 12px 14px; font-size: 1.0625rem; }
  .nav__link--cta { margin: 8px 0 0; justify-content: center; }

  /* Without JS the menu simply wraps under the brand */
  html:not(.js) .nav { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .nav__menu { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(245, 158, 11, 0.16), transparent 62%),
    radial-gradient(700px 420px at -5% 30%, rgba(56, 97, 180, 0.2), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero__title {
  font-size: clamp(2.75rem, 7.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero__subtitle {
  margin: 18px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2.1vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--accent);
  text-wrap: balance;
}

.hero__tagline {
  max-width: 56ch;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 16px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.badge .icon { color: var(--accent); }
.badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #FDE9BF;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__photo {
  justify-self: end;
  width: 100%;
  max-width: 400px;
}

/* ---------- Photos / placeholders ---------- */

.photo { position: relative; }

.photo--square {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(245, 158, 11, 0.07);
}

.photo--video { padding: 10px 10px 0; }
.photo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-subtle);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #1E293B, #0F172A);
}
.photo__placeholder-icon {
  width: 30%;
  max-width: 96px;
  height: auto;
  aspect-ratio: 1;
  color: rgba(245, 158, 11, 0.6);
}

.photo figcaption {
  padding: 14px 8px 16px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px);
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
.stat dd {
  order: -1;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat dt {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text-muted);
}

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

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title {
  font-size: clamp(1.875rem, 4.2vw, 2.875rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.section__lead {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* ---------- Background cards ---------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 24px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0));
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent);
  font-size: 1.25rem;
}

.pillar__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}
.pillar__kicker {
  margin: 6px 0 14px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.pillar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pillar__toggle:hover { border-color: var(--accent); color: var(--accent); }
.pillar__toggle .icon { transition: transform 0.25s ease; }
.pillar__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.pillar__toggle { position: relative; top: 4px; }
.pillar > p:last-of-type { margin-bottom: 20px; }

.pillar__proof {
  align-self: stretch;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}
.pillar__proof li,
.check-list li {
  position: relative;
  padding-left: 26px;
}
.pillar__proof li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Journey / timeline ---------- */

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(245, 158, 11, 0.12));
}

.timeline__item { position: relative; color: var(--text-muted); }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
}

.timeline__label {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.timeline__title {
  margin-bottom: 8px;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
}

.journey__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 20px;
}

.carriers { padding: 24px; }
.carriers__title {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.carriers .chips + .carriers__title { margin-top: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ---------- Certificates ---------- */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cert {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 1rem;
}

.cert__thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--border);
  cursor: zoom-in;
}
.cert__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cert__thumb:focus-visible { outline-offset: -4px; }

.cert__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 19, 43, 0.92);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cert__thumb:hover .cert__zoom,
.cert__thumb:focus-visible .cert__zoom { background: var(--accent); color: var(--bg); }

.cert__body { padding: 22px 24px 26px; }
.cert__date {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.cert__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.cert__issuer {
  margin: 6px 0 12px;
  font-weight: 500;
  color: var(--text);
}

.lightbox {
  width: min(1100px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  overflow: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
}
.lightbox::backdrop { background: rgba(3, 7, 18, 0.86); }
.lightbox form {
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
}
.lightbox__figure { padding: 10px 16px 16px; }
.lightbox__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: #fff;
}
.lightbox__caption {
  padding: 14px 4px 4px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.lightbox__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--accent); color: var(--bg); }

/* ---------- Ventures / personal ---------- */

.venture-grid,
.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.venture,
.personal {
  padding: clamp(24px, 3.4vw, 36px);
  color: var(--text-muted);
}
.venture { display: flex; flex-direction: column; }

.personal { padding: 0; overflow: hidden; }
.personal__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.personal__body { padding: clamp(22px, 3vw, 32px); }

.venture__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent);
  font-size: 1.25rem;
}

.venture__role {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.venture__title,
.personal__title {
  margin-bottom: 14px;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
}

.venture__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(245, 158, 11, 0.4);
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.venture__link:hover { text-decoration-color: var(--accent); }

/* ---------- Quick facts ---------- */

.facts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.facts { padding: 8px clamp(20px, 3vw, 32px); }
.facts__list > div {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 4px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.facts__list > div:first-child { border-top: 0; }
.facts__list dt {
  padding-top: 4px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.facts__list dd { color: var(--text); }

.facts__side { display: grid; gap: 24px; }

.note {
  padding: clamp(22px, 3vw, 30px);
  color: var(--text-muted);
  font-size: 1rem;
}
.note__title {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.note p a { color: var(--accent); text-underline-offset: 4px; }
.note__updated { font-size: 0.9375rem; color: var(--text-subtle); }

.link-list { display: grid; }
.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.link-list a:hover { color: var(--accent); }
.link-list .icon { color: var(--accent); }

/* ---------- Contact ---------- */

.contact__card {
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(245, 158, 11, 0.14), transparent 70%),
    var(--card);
}
.contact__card .section__lead { max-width: 56ch; margin-inline: auto; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  max-width: 720px;
  margin: 32px auto 0;
  text-align: left;
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.32); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

/* spam trap: real visitors never see or reach this field */
.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.contact-form__actions .btn {
  min-width: 160px;
  cursor: pointer;
}
.contact-form__actions .btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.contact-form__status {
  flex: 1 1 240px;
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}
.contact-form__status:empty { display: none; }
.contact-form__status.is-error { color: #FCA5A5; }
.contact-form__status.is-success { color: #86EFAC; }

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.social {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 1.125rem;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.social:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

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

.site-footer {
  padding: 28px 0 36px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}
.site-footer__links a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 1.25rem;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.8);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top:hover { transform: translateY(-3px); background: #FBBF24; }
.to-top:focus-visible { outline-color: var(--text); }

.js .to-top:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }
  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
  @media (hover: hover) {
    .js .card[data-reveal].is-revealed:hover { transform: translateY(-4px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

/* below this width the back to top button sits over the footer, so keep the footer links clear of it */
@media (max-width: 1300px) {
  .site-footer__inner { padding-right: calc(var(--gutter) + 64px); }
}

@media (max-width: 1040px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo {
    grid-row: 1;
    justify-self: start;
    max-width: 220px;
    border-radius: 24px;
  }
  .journey { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .journey__aside { position: static; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .pillar-grid,
  .cert-grid,
  .venture-grid,
  .personal-grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 168px; }
  /* keeps the name on one line down to the narrowest phones */
  .hero__title { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 18px 16px; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--border); }
  .facts__list > div { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form__actions .btn { width: 100%; }
  .to-top { right: 16px; bottom: 16px; }
}
