/* ============================================================
   Dietzel Security — Portfolio
   Static rebuild. Design system + layout in one stylesheet.
   Palette/typography tokens carried over from the original
   design system; layout & components rebuilt for the redesign.
   ============================================================ */

/* ---------------- TOKENS ---------------- */
:root {
  /* Neutral surfaces (dark, layered, cool undertone) */
  --gray-950: #07090c;
  --gray-900: #0b0e13;
  --gray-850: #11151c;
  --gray-800: #161b23;
  --gray-750: #1c222c;
  --gray-700: #232b36;
  --gray-600: #2d3744;
  --gray-500: #3a4654;
  --gray-400: #586675;
  --gray-300: #7c8b9b;
  --gray-200: #a8b4c0;
  --gray-100: #d2d9e0;
  --gray-050: #eef2f6;
  --white:    #ffffff;

  /* Brand green (terminal signal) */
  --green-700: #128a52;
  --green-600: #18a862;
  --green-500: #25d782;
  --green-400: #4cf09a;
  --green-300: #7df7b8;
  --green-tint: rgba(37, 215, 130, 0.12);
  --green-tint-strong: rgba(37, 215, 130, 0.22);

  /* Severity scale */
  --sev-critical: #ff3b6b;
  --sev-high: #ff7a45;
  --sev-medium: #ffc94d;
  --sev-low: #4cc2ff;
  --sev-info: #8b98a8;

  --danger: #ff3b6b;
  --danger-bg: rgba(255, 59, 107, 0.14);
  --warning: #ffc94d;
  --warning-bg: rgba(255, 201, 77, 0.14);
  --info: #4cc2ff;
  --info-bg: rgba(76, 194, 255, 0.14);

  /* Semantic aliases */
  --bg-void: var(--gray-950);
  --bg-app: var(--gray-900);
  --bg-sunken: var(--gray-850);
  --surface: var(--gray-800);
  --surface-raised: var(--gray-750);
  --surface-hover: var(--gray-700);

  --text-strong: var(--gray-050);
  --text-body: var(--gray-100);
  --text-secondary: var(--gray-200);
  --text-muted: var(--gray-300);
  --text-faint: var(--gray-400);
  --text-on-accent: #042914;
  --text-link: var(--green-400);

  --border: var(--gray-600);
  --border-subtle: var(--gray-700);
  --border-strong: var(--gray-500);
  --border-accent: var(--green-500);

  --accent: var(--green-500);
  --accent-hover: var(--green-400);
  --accent-press: var(--green-600);

  /* Type */
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', 'JetBrains Mono', monospace;

  --text-2xs: 0.6875rem;
  --text-xs:  0.75rem;
  --text-sm:  0.8125rem;
  --text-md:  0.9375rem;
  --text-lg:  1.0625rem;
  --text-xl:  1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;

  --ls-tighter: -0.03em;
  --ls-tight: -0.015em;
  --ls-wide: 0.04em;
  --ls-wider: 0.12em;

  /* Spacing / radius / motion */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.6);
  --glow-accent: 0 0 0 1px rgba(37, 215, 130, 0.35), 0 6px 28px rgba(37, 215, 130, 0.18);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  --maxw: 1140px;
}

/* ---------------- RESET / BASE ---------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; color: var(--text-strong); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--green-tint-strong); color: var(--white); }
code {
  font-family: var(--font-mono);
  font-size: .9em;
  color: var(--green-300);
  background: var(--green-tint);
  padding: 1px 6px;
  border-radius: var(--radius-xs);
}
:focus-visible { outline: none; box-shadow: var(--glow-accent); border-radius: var(--radius-sm); }

/* Ambient background: grid + glow, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to right, rgba(124,139,155,0.05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(to bottom, rgba(124,139,155,0.05) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(700px 420px at 82% -4%, var(--green-tint), transparent 70%),
    radial-gradient(640px 420px at 8% 8%, rgba(76,194,255,0.06), transparent 70%);
  pointer-events: none;
}

/* ---------------- LAYOUT HELPERS ---------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: 26px; }
.section { padding-block: 88px; position: relative; }
.section--tight { padding-block: 40px; }
.section--alt { background: var(--bg-void); border-block: 1px solid var(--border-subtle); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--accent);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--green-tint);
}
.eyebrow__idx { color: var(--text-faint); }

.sechead { max-width: 640px; margin-bottom: 44px; }
.sechead h2 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700;
  letter-spacing: var(--ls-tight); margin-top: 14px;
}
.sechead p { font-size: var(--text-md); color: var(--text-muted); margin-top: 14px; line-height: 1.7; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 600;
  line-height: 1; cursor: pointer; text-decoration: none;
  border-radius: var(--radius-md); border: 1px solid transparent;
  padding: 12px 18px; transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn i, .btn svg { width: 16px; height: 16px; }
.btn--lg { padding: 15px 22px; font-size: var(--text-md); }
.btn--sm { padding: 9px 14px; font-size: var(--text-xs); }
.btn--primary { background: var(--accent); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--glow-accent); transform: translateY(-1px); }
.btn--secondary { background: var(--surface-raised); color: var(--text-strong); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--border-strong); background: var(--surface-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-secondary); border-color: var(--border-subtle); }
.btn--ghost:hover { color: var(--text-strong); border-color: var(--border); }

/* ---------------- BADGES / TAGS / PILLS ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 600;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--radius-pill); border: 1px solid transparent;
}
.badge--neutral { background: var(--surface-raised); color: var(--text-muted); border-color: var(--border-subtle); }
.badge--danger  { background: var(--danger-bg);  color: var(--danger);  border-color: rgba(255,59,107,.3); }
.badge--warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(255,201,77,.3); }
.badge--info    { background: var(--info-bg);    color: var(--info);    border-color: rgba(76,194,255,.3); }
.badge--accent  { background: var(--green-tint); color: var(--accent);  border-color: var(--green-tint-strong); }

.tag {
  font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--text-muted);
  background: var(--bg-sunken); border: 1px solid var(--border-subtle);
  padding: 3px 8px; border-radius: var(--radius-sm);
}
.tag::before { content: "#"; color: var(--text-faint); }

/* ---------------- HEADER / NAV ---------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg-app) 78%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.header.is-scrolled { border-bottom-color: var(--border-subtle); background: color-mix(in srgb, var(--bg-app) 90%, transparent); }
.header__inner { max-width: var(--maxw); margin: 0 auto; height: 64px; padding: 0 26px; display: flex; align-items: center; gap: 26px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: var(--ls-tight); }
.logo__mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent);
  background: var(--green-tint); border: 1px solid var(--green-tint-strong); border-radius: var(--radius-sm);
}
.logo__text { color: var(--text-strong); font-size: var(--text-md); }
.logo__text span { color: var(--text-faint); font-family: var(--font-mono); font-weight: 500; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; color: var(--text-muted); font-size: var(--text-sm); font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm); transition: color var(--dur-fast), background var(--dur-fast);
}
.nav a:hover { color: var(--text-strong); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.header__cta { margin-left: 4px; }

.navtoggle { display: none; background: none; border: 1px solid var(--border-subtle); color: var(--text-body); border-radius: var(--radius-sm); padding: 8px; cursor: pointer; margin-left: auto; }
.navtoggle i { width: 20px; height: 20px; display: block; }

/* mobile drawer */
.mobilenav { display: none; }
@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .navtoggle { display: inline-flex; }
  .mobilenav {
    display: block; position: fixed; inset: 64px 0 auto 0; z-index: 99;
    background: var(--bg-app); border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%); transition: transform var(--dur-base) var(--ease-out);
    padding: 14px 26px 22px;
  }
  .mobilenav.is-open { transform: translateY(0); }
  .mobilenav a { display: block; padding: 13px 4px; color: var(--text-secondary); font-size: var(--text-md); border-bottom: 1px solid var(--border-subtle); }
  .mobilenav a:last-of-type { border-bottom: none; }
  .mobilenav .btn { width: 100%; margin-top: 14px; }
}

/* ---------------- HERO ---------------- */
.hero { position: relative; padding: 84px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: var(--ls-tighter);
  line-height: 1.03; margin: 20px 0 22px;
}
.hero h1 b { color: var(--accent); font-weight: inherit; }
.hero h1 .cursor { color: var(--accent); font-weight: 400; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { font-size: var(--text-lg); line-height: 1.7; color: var(--text-secondary); max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.hero__contact { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-muted); }
.hero__contact a { display: inline-flex; align-items: center; gap: 8px; transition: color var(--dur-fast); }
.hero__contact a:hover { color: var(--text-link); }
.hero__contact i, .hero__contact svg { width: 15px; height: 15px; }

/* avatar + terminal stack */
.hero__media { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.avatar { position: relative; width: 240px; }
.avatar__ring {
  border-radius: 50%; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(115% 85% at 50% 118%, rgba(37,215,130,0.22), transparent 60%), linear-gradient(180deg, #151b24 0%, #0a0d12 74%);
  box-shadow: var(--shadow-lg), 0 0 0 7px rgba(37,215,130,0.06);
}
.avatar__ring img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.avatar__badge {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 14px; box-shadow: var(--shadow-md);
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-body);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--green-tint-strong); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,215,130,.5); } 70% { box-shadow: 0 0 0 9px rgba(37,215,130,0); } 100% { box-shadow: 0 0 0 0 rgba(37,215,130,0); } }

/* ---------------- TERMINAL / CODE ---------------- */
.terminal {
  width: 100%; background: var(--bg-void); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); font-family: var(--font-mono);
}
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-sunken); border-bottom: 1px solid var(--border-subtle); }
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.terminal__dot--r { background: #ff5f57; } .terminal__dot--y { background: #febc2e; } .terminal__dot--g { background: #28c840; }
.terminal__title { margin-left: 8px; font-size: var(--text-2xs); color: var(--text-faint); letter-spacing: var(--ls-wide); }
.terminal__body { padding: 16px; font-size: var(--text-xs); line-height: 1.85; color: var(--text-secondary); white-space: pre-wrap; min-height: 168px; }
.terminal__body .c { color: var(--text-faint); }            /* comment */
.terminal__body .p { color: var(--accent); }               /* prompt $ */
.terminal__body .k { color: var(--green-300); }            /* keyword/cmd */
.terminal__body .o { color: var(--info); }                 /* output */
.terminal__body .cur { color: var(--accent); animation: blink 1.1s steps(1) infinite; }

/* ---------------- TOOLS STRIP ---------------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; justify-content: center; padding: 26px; border-block: 1px solid var(--border-subtle); }
.tools span { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-faint); letter-spacing: var(--ls-wide); transition: color var(--dur-fast); }
.tools span:hover { color: var(--text-secondary); }
.tools .tools__label { color: var(--accent); text-transform: uppercase; font-size: var(--text-2xs); letter-spacing: var(--ls-wider); }

/* ---------------- STATS ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: border-color var(--dur-base), transform var(--dur-base);
}
.stat:hover { border-color: var(--border); transform: translateY(-2px); }
.stat__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--green-tint); border: 1px solid var(--green-tint-strong); color: var(--accent); margin-bottom: 8px; }
.stat__icon i { width: 17px; height: 17px; }
.stat__value { font-size: var(--text-3xl); font-weight: 800; letter-spacing: var(--ls-tight); color: var(--text-strong); line-height: 1; }
.stat__value.accent { color: var(--accent); }
.stat__label { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); letter-spacing: var(--ls-wide); }

/* ---------------- ABOUT / SKILLS ---------------- */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: 52px; align-items: start; }
.about__prose p { font-size: var(--text-md); line-height: 1.8; color: var(--text-secondary); margin-bottom: 16px; }
.about__prose p:last-child { margin-bottom: 0; }
.skills { display: flex; flex-direction: column; gap: 12px; }
.skill { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); transition: border-color var(--dur-base), transform var(--dur-base); }
.skill:hover { border-color: var(--border); transform: translateX(3px); }
.skill__icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--green-tint); border: 1px solid var(--green-tint-strong); border-radius: var(--radius-sm); color: var(--accent); }
.skill__icon i { width: 19px; height: 19px; }
.skill b { display: block; font-size: var(--text-sm); color: var(--text-strong); margin-bottom: 4px; }
.skill span { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.55; }

/* ---------------- WRITEUPS ---------------- */
.feat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; margin-bottom: 28px; }
.feat__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.feat__name { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-faint); margin-left: auto; }
.feat h3 { font-size: var(--text-2xl); letter-spacing: var(--ls-tight); margin-bottom: 12px; }
.feat__blurb { font-size: var(--text-md); line-height: 1.7; color: var(--text-secondary); margin-bottom: 16px; }
.feat__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }

.wu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wu__card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; transition: border-color var(--dur-base), transform var(--dur-base); }
.wu__card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.wu__head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.wu__head .arrow { width: 16px; height: 16px; margin-left: auto; color: var(--text-faint); transition: transform var(--dur-base), color var(--dur-base); }
.wu__card:hover .arrow { color: var(--accent); transform: translate(2px,-2px); }
.wu__name { font-size: var(--text-lg); letter-spacing: var(--ls-tight); margin-bottom: 9px; }
.wu__blurb { font-size: var(--text-sm); line-height: 1.6; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.wu__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wu__more { margin-top: 26px; }

/* ---------------- CERTS ---------------- */
.cred { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; }
.cred__badge { display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 50% 42%, rgba(124,92,255,0.16), transparent 66%), var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); }
.cred__badge img { max-width: 196px; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.55)); }
.cred h3 { font-size: var(--text-xl); letter-spacing: var(--ls-tight); margin-bottom: 12px; }
.cred__desc { font-size: var(--text-md); line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }
.cred__certs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.cert { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; background: var(--surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-body); }
.cert i { width: 16px; height: 16px; color: var(--accent); }
.cred__note { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* ---------------- CONTACT ---------------- */
.contact { text-align: center; padding-block: 96px; position: relative; }
.contact__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: var(--ls-tighter); margin: 18px 0 16px; }
.contact p { font-size: var(--text-lg); color: var(--text-secondary); margin-bottom: 30px; line-height: 1.7; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ---------------- FOOTER ---------------- */
.footer { border-top: 1px solid var(--border-subtle); background: var(--bg-void); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 28px 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__meta { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-faint); }
.footer__inner .footer__meta:last-child { margin-left: auto; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); color: var(--text-muted); transition: all var(--dur-fast); }
.footer__social a:hover { color: var(--accent); border-color: var(--border); }
.footer__social i, .footer__social svg { width: 16px; height: 16px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .feat { grid-template-columns: 1fr; }
  .wu { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cred { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cred__certs { justify-content: center; }
}
@media (max-width: 480px) {
  .section { padding-block: 64px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner .footer__meta:last-child { margin-left: 0; }
}
