/* =========================================================
   Kamala Jasmine Gujjarlapudi - Portfolio
   Premium light-theme DevOps / Cloud engineering site
   ========================================================= */

:root {
  --bg:            #FFFFFF;
  --bg-alt:        #F7F9FC;
  --text:          #111827;
  --text-2:        #64748B;
  --accent:        #2563EB;
  --accent-2:      #6366F1;
  --success:       #16A34A;
  --border:        #E5E7EB;

  --grad: linear-gradient(120deg, #2563EB 0%, #6366F1 100%);

  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 20px;

  --shadow-xs: 0 1px 2px rgba(17, 24, 39, .04);
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, .06), 0 1px 2px rgba(17, 24, 39, .04);
  --shadow-md: 0 8px 24px -8px rgba(17, 24, 39, .10), 0 2px 6px rgba(17, 24, 39, .04);
  --shadow-lg: 0 20px 48px -16px rgba(37, 99, 235, .16), 0 8px 20px -12px rgba(17, 24, 39, .10);

  --container: 1280px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

::selection { background: rgba(37, 99, 235, .14); color: var(--text); }

/* ---------- Typography helpers ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
  animation: softPulse 2.4s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
  50%      { box-shadow: 0 0 0 7px rgba(37, 99, 235, .06); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  padding: 11px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 14px 28px; font-size: 15px; border-radius: 13px; }
.btn--sm { padding: 8px 16px; font-size: 13px; border-radius: 10px; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(37, 99, 235, .55);
}

.btn--ghost {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(17, 24, 39, .16);
  background: rgba(255, 255, 255, .85);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__name {
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -.01em;
  color: var(--text);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: 9px;
  transition: color .2s var(--ease), background .2s var(--ease);
  position: relative;
}
.nav__links a:hover { color: var(--text); background: var(--bg-alt); }
.nav__links a.active { color: var(--accent); background: rgba(37, 99, 235, .07); }

.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 104px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #FBFCFE 0%, #FFFFFF 65%),
    var(--bg);
}
.hero__glow {
  position: absolute;
  top: -240px; right: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center,
      rgba(37, 99, 235, .10) 0%,
      rgba(99, 102, 241, .06) 42%,
      transparent 70%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.032em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero__lead {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero__lead strong { color: var(--text); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: fit-content;
}
.stat__num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.2;
}
.stat__num--text {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label {
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: .01em;
  margin-top: 4px;
}

/* ---------- Hero infrastructure visual ---------- */
.infra { position: relative; }
.infra__frame {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.infra__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.infra__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #D8DEE9;
}
.infra__dot:nth-child(1) { background: #F1A5A5; }
.infra__dot:nth-child(2) { background: #F5D08A; }
.infra__dot:nth-child(3) { background: #9FD6AE; }
.infra__file {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.infra__flow { padding: 24px 26px 8px; }

.infra__node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  box-shadow: var(--shadow-xs);
  opacity: 0;
  transform: translateY(10px);
  animation: nodeIn .6s var(--ease) forwards;
  animation-delay: var(--d, .35s);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.infra__node:hover {
  border-color: rgba(37, 99, 235, .45);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
@keyframes nodeIn { to { opacity: 1; transform: translateY(0); } }

.infra__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.infra__icon svg { width: 18px; height: 18px; }
.infra__icon--accent {
  background: rgba(37, 99, 235, .07);
  border-color: rgba(37, 99, 235, .25);
  color: var(--accent);
}
.infra__icon--green {
  background: rgba(22, 163, 74, .07);
  border-color: rgba(22, 163, 74, .25);
  color: var(--success);
}

.infra__meta { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 12px; min-width: 0; }
.infra__label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.infra__tag {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-2);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
}
.infra__tag--ok { color: var(--success); background: rgba(22, 163, 74, .07); border-color: rgba(22, 163, 74, .22); }

.infra__link {
  position: relative;
  width: 2px;
  height: 26px;
  margin-left: 32px;
  background: linear-gradient(180deg, var(--border), #DCE3EE);
  overflow: hidden;
  border-radius: 2px;
}
.infra__pulse {
  position: absolute;
  left: -1px;
  width: 4px; height: 10px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(37, 99, 235, .7);
  animation: linkPulse 2.2s linear infinite;
}
@keyframes linkPulse {
  0%   { top: -12px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 28px; opacity: 0; }
}

.infra__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 12.5px;
}
.infra__status { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--success); }
.infra__status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
  animation: softPulse 2s ease-in-out infinite;
}
.infra__uptime { color: var(--text-2); font-weight: 500; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 104px 0; }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head { max-width: 780px; margin-bottom: 56px; }
.section__head--sub { margin-top: 96px; }
.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.16;
  color: var(--text);
}
.section__title--sm { font-size: clamp(24px, 2.6vw, 30px); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   SUMMARY
   ========================================================= */
.summary {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.summary__statement {
  position: relative;
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.summary__statement::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 200px; height: 200px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}
.summary__big {
  display: block;
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.summary__statement p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
  position: relative;
  z-index: 1;
}
.summary__statement p strong {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, .16);
  padding: 1px 6px;
  border-radius: 6px;
}

.summary__right p {
  color: var(--text-2);
  font-size: 16.5px;
  margin-bottom: 18px;
}
.summary__right strong { color: var(--text); font-weight: 600; }
.summary__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  transition: border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: rgba(37, 99, 235, .45); color: var(--accent); transform: translateY(-2px); }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.exp { display: grid; gap: 28px; }

.exp__card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.exp__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #D7DDE7; }

.exp__marker {
  position: absolute;
  left: 0; top: 40px; bottom: 40px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--grad);
}

.exp__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.exp__company { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.exp__role { color: var(--accent); font-weight: 600; font-size: 15.5px; margin-top: 4px; }
.exp__meta { display: flex; gap: 10px; flex-wrap: wrap; }

.pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}
.pill--accent {
  color: var(--accent);
  background: rgba(37, 99, 235, .07);
  border-color: rgba(37, 99, 235, .22);
}

.exp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.exp__block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.exp__block-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.exp__block-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.exp__block-icon svg { width: 20px; height: 20px; }
.exp__block-icon--accent {
  background: rgba(37, 99, 235, .07);
  border-color: rgba(37, 99, 235, .25);
  color: var(--accent);
}
.exp__block h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.exp__years {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 8px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.tag:hover { border-color: rgba(37, 99, 235, .4); color: var(--accent); }

.exp__lead-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.exp__lead-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.exp__lead-top { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.exp__lead-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .5);
}
.exp__lead-icon svg { width: 26px; height: 26px; }
.exp__lead-top h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }

.exp__lead-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.exp__lead-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 10px;
  position: relative;
  padding-left: 34px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.exp__lead-list li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.exp__lead-list li:hover { border-color: rgba(37, 99, 235, .4); transform: translateY(-2px); }

/* =========================================================
   SKILLS
   ========================================================= */
.skills {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.skills__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.skill-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .35);
}
.skill-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 18px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.skill-card__icon svg { width: 21px; height: 21px; }
.skill-card:hover .skill-card__icon { background: var(--grad); color: #fff; border-color: transparent; }
.skill-card h3 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-2);
  margin-bottom: 14px;
}
.skill-card__items { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-card__items span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 7px;
}

.skills__core {
  position: relative;
  margin-top: 44px;
  height: 180px;
  display: grid;
  place-items: center;
}
.skills__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(37, 99, 235, .28);
  animation: spin 40s linear infinite;
}
.skills__ring--1 { width: 300px; height: 160px; }
.skills__ring--2 { width: 480px; height: 175px; animation-duration: 60s; animation-direction: reverse; border-color: rgba(99, 102, 241, .22); }
@keyframes spin { to { transform: rotate(360deg); } }

.skills__core-badge {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--grad);
  color: #fff;
  padding: 18px 40px;
  border-radius: 999px;
  box-shadow: 0 16px 40px -14px rgba(37, 99, 235, .55);
}
.skills__core-label {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.skills__core-plus { font-size: 20px; font-weight: 400; opacity: .8; }

/* =========================================================
   DEVOPS PIPELINE
   ========================================================= */
.pipeline {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pipeline::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}

.pipeline__track {
  position: absolute;
  top: 84px;
  left: 60px; right: 60px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
.pipeline__track-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 2px;
  transition: width 1.6s var(--ease);
}
.pipeline.in-view .pipeline__track-fill { width: 100%; }

.pipeline__stages {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.stage {
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.pipeline.in-view .stage {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--d);
}
.stage__node {
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  position: relative;
  z-index: 2;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stage__node span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .04em;
  transition: color .3s var(--ease);
}
.stage:hover .stage__node {
  border-color: transparent;
  background: var(--grad);
  transform: scale(1.12);
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .55);
}
.stage:hover .stage__node span { color: #fff; }

.stage h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 8px;
}
.stage p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.pipeline__loop {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.loop-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 9px 20px;
  border-radius: 999px;
}
.loop-arrow { color: var(--accent); font-weight: 600; }
.loop-arrow--cycle { animation: spin 6s linear infinite; display: inline-block; }

/* ---------- Cloud architecture viz ---------- */
.cloudviz {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.cloudviz__chain {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.cv-node {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 11px;
  cursor: help;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cv-node:hover {
  border-color: rgba(37, 99, 235, .5);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cv-node--wide { min-width: 240px; text-align: center; justify-content: center; }
.cv-node--ok { border-color: rgba(22, 163, 74, .35); color: var(--success); background: rgba(22, 163, 74, .05); }

.cv-arrow {
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent));
  position: relative;
  flex-shrink: 0;
}
.cv-arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.cv-arrow--down {
  width: 2px; height: 26px;
  background: linear-gradient(180deg, var(--border), var(--accent));
  margin: 8px auto;
}
.cv-arrow--down::after {
  right: auto; left: 50%; top: auto; bottom: -1px;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--accent);
  border-bottom: none;
}

.cloudviz__cloud {
  border: 1.5px dashed rgba(37, 99, 235, .35);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(37, 99, 235, .035), rgba(99, 102, 241, .02));
  padding: 26px;
}
.cloudviz__cloud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cloudviz__cloud-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
}
.cloudviz__cloud-badges { display: flex; gap: 8px; }

.cloudviz__components {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.cc {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 14px;
  cursor: help;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cc:hover {
  border-color: rgba(37, 99, 235, .5);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cc__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
  flex-shrink: 0;
}

.cloudviz__lower { display: flex; flex-direction: column; align-items: center; }

.tooltip {
  position: absolute;
  z-index: 30;
  background: var(--text);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  padding: 9px 13px;
  border-radius: 9px;
  max-width: 260px;
  box-shadow: 0 12px 28px -8px rgba(17, 24, 39, .4);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.tooltip.show { opacity: 1; transform: translateY(0); }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.project:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .3);
}
.project__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.project__cat {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  background: rgba(37, 99, 235, .07);
  border: 1px solid rgba(37, 99, 235, .2);
  padding: 5px 12px;
  border-radius: 7px;
}
.project__num {
  font-size: 30px;
  font-weight: 800;
  color: #EEF1F6;
  letter-spacing: -.03em;
  line-height: 1;
}
.project__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 22px;
}

.project__row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.project__key {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-2);
}
.project__row p { font-size: 14.5px; color: var(--text); line-height: 1.55; }
.project__placeholder { color: var(--text-2) !important; font-style: italic; }
.project .tag-row { margin-top: auto; padding-top: 22px; }

/* =========================================================
   CERTIFICATION
   ========================================================= */
.cert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.cert__badge { width: 140px; height: 140px; }
.cert__org {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--text-2);
}
.cert__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.028em;
  margin: 8px 0 10px;
}
.cert__tags { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 20px; }
.cert__seal {
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 30px;
  min-width: 170px;
}
.cert__seal-label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--success);
}
.cert__seal-sub { font-size: 13px; color: var(--text-2); font-weight: 500; }

/* =========================================================
   LEADERSHIP
   ========================================================= */
.lead {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.lead__statement {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.028em;
  margin-bottom: 16px;
}
.lead__body p {
  color: var(--text-2);
  font-size: 16.5px;
  max-width: 620px;
  margin-bottom: 30px;
}
.lead__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.lead__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 16px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.lead__item:hover { border-color: rgba(37, 99, 235, .4); transform: translateX(4px); }
.lead__check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, .1);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.lead__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.lf-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lf-step:hover {
  border-color: rgba(37, 99, 235, .45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.lf-step--final {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .55);
}
.lf-num {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-2);
}
.lf-step--final .lf-num {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}
.lf-arrow { color: var(--accent); font-size: 15px; line-height: 1; }

/* =========================================================
   CAREER TIMELINE
   ========================================================= */
.ctimeline { position: relative; padding-top: 10px; }
.ctimeline__line {
  position: absolute;
  top: 21px;
  left: 4%; right: 4%;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
.ctimeline__line-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width 1.8s var(--ease);
}
.ctimeline.in-view .ctimeline__line-fill { width: 100%; }

.ctimeline__items {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.ct-item {
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.ctimeline.in-view .ct-item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--d);
}
.ct-item__dot {
  display: block;
  width: 22px; height: 22px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--border);
  position: relative;
  z-index: 2;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ct-item__dot--active {
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .14);
}
.ct-item h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 5px;
}
.ct-item p { font-size: 13px; color: var(--text-2); }
.ct-item:hover .ct-item__dot {
  transform: scale(1.2);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.contact::before {
  content: "";
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 340px;
  background: radial-gradient(ellipse at center,
    rgba(37, 99, 235, .10) 0%, rgba(99, 102, 241, .05) 45%, transparent 72%);
  pointer-events: none;
}
.contact__head { position: relative; margin-bottom: 40px; }

.contact__avatar {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 180px;
  margin: 0;
  border-radius: 50%;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px -10px rgba(17, 24, 39, .22);
}
.contact__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.contact__avatar::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed rgba(37, 99, 235, .35);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.contact__title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.contact__lead { font-size: 17.5px; color: var(--text-2); }

.contact__methods {
  position: relative;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact__method {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  min-width: 280px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.contact__method:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, .4);
}
.contact__method-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, .07);
  border: 1px solid rgba(37, 99, 235, .2);
  color: var(--accent);
}
.contact__method-icon svg { width: 20px; height: 20px; }
.contact__method-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-2);
}
.contact__method-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.contact__actions {
  position: relative;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.footer__brand span { font-size: 13.5px; color: var(--text-2); }
.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: var(--text-2);
  font-weight: 500;
}
.footer__copy { font-size: 13.5px; color: var(--text-2); }

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-140%);
    transition: transform .35s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(17, 24, 39, .25);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a {
    font-size: 15.5px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav__links a:last-child { border-bottom: none; }
  .nav__cta { display: none; }
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 12px;
    border-bottom: none !important;
    justify-content: center;
  }
  .nav__toggle { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .hero__stats { grid-template-columns: repeat(4, auto); gap: 28px; }

  .summary { grid-template-columns: 1fr; gap: 36px; }
  .skills__grid { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }

  .cloudviz__components { grid-template-columns: repeat(3, 1fr); }

  .cert { grid-template-columns: auto 1fr; }
  .cert__seal { grid-column: 1 / -1; text-align: left; }

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

/* Pipeline: keep readable on tablet by wrapping stages */
@media (max-width: 1100px) {
  .pipeline__track { display: none; }
  .pipeline__stages { grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */
@media (max-width: 760px) {
  .container { padding-inline: 20px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .section__head--sub { margin-top: 64px; }

  .hero { padding: calc(var(--nav-h) + 56px) 0 72px; }
  .hero__title { font-size: clamp(32px, 8.5vw, 42px); }
  .hero__lead { font-size: 16.5px; }
  .hero__actions { margin-bottom: 40px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
  }
  .stat__num { font-size: 26px; }

  .summary__statement { padding: 34px 28px; }

  .exp__card, .exp__lead-card, .lead, .cloudviz { padding: 28px 24px; }
  .exp__grid { grid-template-columns: 1fr; }
  .exp__head { padding-bottom: 22px; margin-bottom: 22px; }
  .exp__lead-top { flex-direction: column; align-items: flex-start; }

  .skills__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .skill-card { padding: 20px 18px; }
  .skills__core { height: 150px; margin-top: 32px; }
  .skills__ring--1 { width: 220px; height: 130px; }
  .skills__ring--2 { width: 320px; height: 145px; }
  .skills__core-badge { padding: 15px 28px; gap: 10px; }
  .skills__core-label { font-size: 14px; letter-spacing: .12em; }

  /* Architecture diagrams become vertically stacked */
  .pipeline { padding: 32px 22px 28px; }
  .pipeline__stages { grid-template-columns: 1fr; gap: 0; }
  .stage {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    text-align: left;
    padding: 12px 0;
    position: relative;
  }
  .stage:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 58px;
    bottom: -6px;
    width: 2px;
    background: var(--border);
  }
  .stage__node { grid-row: 1 / span 2; margin: 0; }
  .stage h3 { align-self: end; margin-bottom: 2px; }
  .stage p { align-self: start; }
  .pipeline__loop { gap: 10px; margin-top: 32px; }
  .loop-item { padding: 8px 15px; font-size: 13px; }

  .cloudviz__chain { flex-direction: column; gap: 0; }
  .cv-arrow { width: 2px; height: 22px; background: linear-gradient(180deg, var(--border), var(--accent)); }
  .cv-arrow::after {
    right: auto; left: 50%; top: auto; bottom: -1px;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--accent);
    border-bottom: none;
  }
  .cv-node { width: min(280px, 100%); text-align: center; }
  .cv-node--wide { min-width: 0; }
  .cloudviz__components { grid-template-columns: repeat(2, 1fr); }

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

  .cert {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 26px;
    gap: 24px;
  }
  .cert__badge { width: 110px; height: 110px; margin-inline: auto; }
  .cert .tag-row { justify-content: center; }
  .cert__seal { text-align: center; }

  .lead__grid { grid-template-columns: 1fr; }
  .lead__flow { padding: 26px 18px; }

  /* Career timeline becomes vertical */
  .ctimeline { padding-top: 0; padding-left: 10px; }
  .ctimeline__line {
    top: 12px; bottom: 12px;
    left: 20px; right: auto;
    width: 2px; height: auto;
  }
  .ctimeline__line-fill { width: 100%; height: 0; transition: height 1.8s var(--ease); }
  .ctimeline.in-view .ctimeline__line-fill { height: 100%; }
  .ctimeline__items { grid-template-columns: 1fr; gap: 0; }
  .ct-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    padding: 14px 0;
  }
  .ct-item__dot { grid-row: 1 / span 2; margin: 4px 0 0; }
  .ct-item h3 { align-self: end; }

  .contact { padding: 48px 24px; text-align: center; grid-template-columns: 1fr; gap: 36px; }
  .contact__avatar { width: 108px; height: 108px; margin: 0 auto; }
  .contact__head { margin-bottom: 36px; }
  .contact__methods { justify-content: center; }
  .contact__actions { justify-content: center; }
  .contact__methods { flex-direction: column; align-items: stretch; }
  .contact__method { min-width: 0; }
  .contact__actions .btn { flex: 1 1 100%; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { flex-direction: column; gap: 10px; }
}

@media (max-width: 420px) {
  .skills__grid { grid-template-columns: 1fr; }
  .cloudviz__components { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
