/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink: #0d1730;
  --ink-soft: #23314f;
  --paper: #ffffff;
  --paper-dim: #f3f5fc;
  --royal: #2f6fed;
  --royal-light: #5c8dff;
  --gold: #0d1730;
  --gold-deep: #0d1730;
  --line: rgba(13, 23, 48, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --muted: #5b6472;
  --muted-light: rgba(255, 255, 255, 0.72);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --container: 1120px;
  --radius: 14px;
}

/* ============================================================
   RESET
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
}

/* ============================================================
   SHARED
   ============================================================ */
.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.section--tint { background: var(--paper-dim); }

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--royal);
  margin-bottom: 22px;
}

.eyebrow--light { color: var(--royal-light); }

.eyebrow__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  background: rgba(47, 111, 237, 0.1);
  border: 1px solid rgba(47, 111, 237, 0.25);
  color: var(--royal);
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 1;
}

.eyebrow--light .eyebrow__index {
  background: rgba(92, 141, 255, 0.16);
  border-color: rgba(92, 141, 255, 0.35);
  color: var(--royal-light);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-bottom: 16px;
}

.section__title--light { color: var(--paper); }

.section__lede {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.section__lede--light { color: var(--muted-light); }

/* status tag / signature element */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(18, 19, 26, 0.04);
}

.tag--pulse .tag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3aa65c;
  box-shadow: 0 0 0 0 rgba(58, 166, 92, 0.5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(58, 166, 92, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(58, 166, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 166, 92, 0); }
}

.tag--mono {
  background: rgba(246, 244, 238, 0.08);
  border-color: var(--line-light);
  color: var(--gold);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.btn--primary:hover svg { transform: translateX(2px); }

.btn--primary {
  background: var(--royal);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.28);
}
.btn--primary:hover {
  background: var(--royal-light);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(47, 111, 237, 0.34);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-1px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav--scrolled {
  box-shadow: 0 8px 24px rgba(13, 23, 48, 0.06);
  border-bottom-color: transparent;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav__link:hover { color: var(--royal); }

.nav__link--cta {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
}
.nav__link--cta:hover { border-color: var(--royal); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 6px;
  margin: -6px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 32px 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top, black, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content {
  min-width: 0;
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__visual-col {
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.8vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 26px 0 22px;
  max-width: 900px;
}

.hero__title-accent { color: var(--royal); }

.hero__lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 620px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero__fact dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero__fact dd { font-weight: 600; font-size: 15px; }

/* photo / visual side */
.hero__visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.hero__blob-bg {
  position: absolute;
  inset: 6%;
  background: linear-gradient(150deg, var(--royal-light), var(--royal) 55%, var(--gold-deep) 130%);
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
}

.hero__photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(13, 23, 48, 0.14);
  border: 2px dashed rgba(255, 255, 255, 0.55);
}

/* Once a real photo replaces the placeholder div, this removes the
   dashed border/background so only the photo shows through the blob. */
img.hero__photo-placeholder {
  border: none;
  background: none;
}

.hero__photo-placeholder svg { width: 40px; height: 40px; }
.hero__photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.hero__badge {
  position: absolute;
  bottom: 6%;
  right: -4%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(13, 23, 48, 0.3);
  border: 4px solid var(--paper);
  z-index: 2;
}

.hero__badge svg { width: 18px; height: 18px; }

/* highlight chips under the photo — always one even row */
.hero__highlight-card {
  width: 100%;
  max-width: 400px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero__highlight-chip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--ink-soft);
  white-space: normal;
  box-shadow: 0 6px 16px rgba(13, 23, 48, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero__highlight-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13, 23, 48, 0.1);
}

.hero__highlight-chip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 111, 237, 0.12);
  color: var(--royal);
}

.hero__highlight-chip-icon svg { width: 9px; height: 9px; }

.hero__highlight-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */
.section--decor {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(47, 111, 237, 0.05), rgba(255, 255, 255, 0) 55%);
}

.services__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.services__decor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

.services__decor-blob--1 {
  top: -120px;
  right: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.16), transparent 70%);
}

.services__decor-blob--2 {
  bottom: -140px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13, 23, 48, 0.06), transparent 70%);
}

.services__decor-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(47, 111, 237, 0.05) 0px,
    rgba(47, 111, 237, 0.05) 1px,
    transparent 1px,
    transparent 42px
  );
  mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, black, transparent 70%);
}

.section--decor .section__inner {
  position: relative;
  z-index: 1;
}

.services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 32px;
  box-shadow: 0 14px 34px rgba(13, 23, 48, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 18px 40px rgba(13, 23, 48, 0.09);
  transform: translateY(-3px);
  border-color: rgba(47, 111, 237, 0.25);
}

.service-card__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(47, 111, 237, 0.1);
  color: var(--royal);
  margin-bottom: 24px;
  padding: 11px;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card:nth-child(even) .service-card__icon {
  background: rgba(13, 23, 48, 0.14);
  color: var(--gold-deep);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__text {
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.skills-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 14px 34px rgba(13, 23, 48, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.skills-panel:hover {
  box-shadow: 0 18px 40px rgba(13, 23, 48, 0.09);
  transform: translateY(-2px);
}

.skills-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.skills-panel__badge {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(47, 111, 237, 0.1);
  color: var(--royal);
}

.skills-panel__badge svg { width: 19px; height: 19px; }

.skills-panel__badge--gold {
  background: rgba(13, 23, 48, 0.14);
  color: var(--gold);
}

.skills-panel__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soft-skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chip--tool { padding-left: 8px; gap: 12px; }

.chip--skill { justify-content: flex-start; }

.chip--skill:hover {
  border-color: rgba(13, 23, 48, 0.4);
  background: rgba(13, 23, 48, 0.06);
}

.chip__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(13, 23, 48, 0.14);
  animation: chip-float 3.4s ease-in-out infinite;
}

.chip__icon img { width: 17px; height: 17px; }

.chip--tool:nth-child(1) .chip__icon { animation-delay: 0s; }
.chip--tool:nth-child(2) .chip__icon { animation-delay: 0.3s; }
.chip--tool:nth-child(3) .chip__icon { animation-delay: 0.6s; }
.chip--tool:nth-child(4) .chip__icon { animation-delay: 0.9s; }
.chip--tool:nth-child(5) .chip__icon { animation-delay: 1.2s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.chip__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 23, 48, 0.16);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chip__check svg { width: 12px; height: 12px; }


/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 24px;
}

.cert-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 34px rgba(13, 23, 48, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cert-card:hover {
  box-shadow: 0 18px 40px rgba(13, 23, 48, 0.09);
  transform: translateY(-2px);
}

.cert-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(47, 111, 237, 0.1);
  color: var(--royal);
  margin-bottom: 20px;
}
.cert-card__icon svg { width: 22px; height: 22px; }

.cert-card__shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 6px;
}

.cert-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cert-card__issuer {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.cert-card__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--royal);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  width: 100%;
}
.cert-card__link:hover { color: var(--royal-light); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(246, 244, 238, 0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: var(--paper);
  text-align: left;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.contact-card:hover {
  border-color: var(--royal-light);
  background: rgba(92, 141, 255, 0.06);
}

.contact-card__icon {
  width: 32px;
  height: 32px;
  color: var(--royal-light);
  flex-shrink: 0;
}
.contact-card__icon svg { width: 100%; height: 100%; }

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.contact-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.contact-card__value {
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card__action {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--royal-light);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER / TOAST
   ============================================================ */
.footer {
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer__top {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--royal);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer__top:hover { color: var(--royal-light); transform: translateY(-2px); }
.footer__top svg { width: 13px; height: 13px; }

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual-col { max-width: 100%; }
  .hero__visual { max-width: 260px; }
  .hero__highlight-card {
    max-width: 320px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-layout { grid-template-columns: 1fr; gap: 20px; }
  .certifications { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 900px) {
  /* Switch to the hamburger before the 6 nav links + logo run out of room */
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__link--cta { border: none; padding: 14px 4px; }
  .nav__toggle { display: flex; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section__inner { padding: 0 22px; }
  .hero { padding: 60px 22px 60px; }
  .services { grid-template-columns: 1fr; }
  .soft-skills { grid-template-columns: 1fr; }
}