/* =========================================================
   Lloyd Christian M. Ismael - Portfolio
   Professional navy & brass theme
   ========================================================= */

:root {
  --navy: #16233d;
  --navy-2: #1f3155;
  --slate: #4a5568;
  --muted: #6b7688;
  --faint: #97a1b2;
  --line: #e6e9ef;
  --line-2: #d5dae3;
  --bg: #ffffff;
  --bg-tint: #f6f8fb;
  --accent: #b6862c;
  --accent-soft: #f0e6d2;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: auto;
  scroll-padding-top: 88px;
}
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.hero,
.section {
  scroll-margin-top: 88px;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--navy); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 7px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 600; font-size: 0.95rem; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { font-size: 0.86rem; color: var(--slate); font-weight: 500; transition: color 0.15s; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width 0.2s; }
.site-nav a:hover { color: var(--navy); }
.site-nav a:hover::after { width: 100%; }
.header-cta { font-size: 0.84rem; font-weight: 600; padding: 9px 18px; border-radius: 7px; background: var(--navy); color: #fff !important; }
.header-cta:hover { background: var(--navy-2); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--navy); }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 22px; }
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero-name { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(2.7rem, 6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--navy); }
.hero-role { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--slate); font-weight: 500; margin-top: 18px; }
.hero-tagline { margin-top: 22px; max-width: 500px; color: var(--muted); font-size: 1.02rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-contact { display: flex; align-items: center; gap: 10px 22px; margin-top: 40px; flex-wrap: nowrap; font-size: 0.88rem; color: var(--slate); line-height: 1; }
.contact-item { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; line-height: 1; white-space: nowrap; }
.contact-item:hover { color: var(--navy); }
.phone-item { gap: 6px; }
.phone-number { color: inherit; }
.phone-number:hover { color: var(--navy); }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 6px;
  background: color-mix(in srgb, currentColor 12%, #fff);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.contact-icon svg { display: block; width: 14px; height: 14px; }
.contact-icon:hover,
.contact-item:hover .contact-icon {
  transform: translateY(-1px);
  background: color-mix(in srgb, currentColor 18%, #fff);
}
.gmail-icon { color: #ea4335; }
.gmail-icon svg { width: 16px; height: 16px; }
.viber-icon { color: #7360f2; }
.whatsapp-icon { color: #25d366; }
.sms-icon { color: #1a73e8; }
.github-icon { color: #181717; }

@media (max-width: 700px) {
  .hero-contact { flex-wrap: wrap; }
}

.hero-card { display: block; background: var(--navy); border-radius: 16px; padding: 34px; color: #fff; box-shadow: 0 24px 60px -24px rgba(22,35,61,0.55); position: relative; text-decoration: none; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.hero-card:hover { transform: translateY(-2px); box-shadow: 0 28px 64px -22px rgba(22,35,61,0.65); color: #fff; }
.hero-card::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,0.06), transparent 55%); pointer-events: none; }
.hc-avatar-link { display: inline-block; position: relative; z-index: 1; border-radius: 50%; }
.hc-avatar {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.28);
  background: #0f1829;
}
.hc-avatar-link:hover .hc-avatar,
.hc-avatar-link:focus-visible .hc-avatar {
  border-color: #7eb3ff;
  box-shadow: 0 0 0 4px rgba(10,102,194,0.28);
}
.hc-name { font-family: "Fraunces", serif; font-size: 1.25rem; margin-top: 18px; position: relative; z-index: 1; }
.hc-handle { color: var(--accent-soft); font-size: 0.85rem; position: relative; z-index: 1; }
.hc-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 11px 7px 9px;
  border-radius: 999px;
  background: rgba(10,102,194,0.18);
  border: 1px solid rgba(126,179,255,0.28);
  color: #cfe3ff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 100%;
  position: relative;
  z-index: 1;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.hc-linkedin svg { width: 14px; height: 14px; flex-shrink: 0; color: #7eb3ff; }
.hc-linkedin span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-linkedin:hover,
.hc-linkedin:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}
.hc-linkedin:hover svg,
.hc-linkedin:focus-visible svg { color: #fff; }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; position: relative; z-index: 1; }
.hc-stat-v { font-family: "Fraunces", serif; font-size: 1.5rem; font-weight: 500; }
.hc-stat-l { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 0.88rem; font-weight: 600; border-radius: 8px; transition: all 0.16s; border: 1px solid transparent; }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(22,35,61,0.6); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section.tint { background: var(--bg-tint); }
.section-head { margin-bottom: 52px; }
.section-kicker { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section-title { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; margin-top: 8px; color: var(--navy); }
.section-lead { color: var(--muted); max-width: 620px; margin-top: 12px; font-size: 1.02rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; }
.about-text { font-size: 1.14rem; line-height: 1.8; color: var(--slate); }
.about-side { border-left: 2px solid var(--accent); padding-left: 24px; }
.about-side h4 { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.about-side ul { list-style: none; }
.about-side li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--slate); display: flex; justify-content: space-between; gap: 12px; }
.about-side li:last-child { border-bottom: none; }
.about-side li span { color: var(--navy); font-weight: 600; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.project-card:hover { box-shadow: 0 22px 46px -26px rgba(22,35,61,0.4); transform: translateY(-3px); border-color: var(--line-2); }
.project-thumb { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--bg-tint); overflow: hidden; }
.browser-bar { position: absolute; top: 0; left: 0; right: 0; height: 30px; background: #0f1829; display: flex; align-items: center; gap: 6px; padding: 0 12px; z-index: 3; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 0.7rem; color: rgba(255,255,255,0.62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Styled fallback tile: always sits beneath the screenshot. If the shot
   fails/404s, the <img> is removed by JS and this remains visible. */
.thumb-fallback { position: absolute; top: 30px; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(150deg, var(--navy), var(--navy-2)); z-index: 1; }
.thumb-fallback .tf-initials { font-family: "Fraunces", serif; font-size: 2.4rem; letter-spacing: 0.04em; width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.thumb-fallback .tf-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.72); }
/* Screenshot starts hidden; only becomes visible once a real capture loads.
   Contain the full above-the-fold capture so the site is not cropped. */
.project-thumb .thumb-shot {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: calc(100% - 30px);
  object-fit: contain;
  object-position: top center;
  transform: none;
  z-index: 2;
  background: var(--bg-tint);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-thumb .thumb-shot.loaded {
  opacity: 1;
  object-fit: contain !important;
  object-position: top center !important;
  transform: none !important;
}
.project-status { position: absolute; bottom: 10px; right: 10px; z-index: 4; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; }
.project-status.internal { background: var(--slate); }
.project-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { font-family: "Fraunces", serif; font-size: 1.14rem; font-weight: 600; color: var(--navy); }
.project-body p { color: var(--muted); font-size: 0.88rem; margin: 8px 0 16px; flex: 1; }
.project-link { font-size: 0.84rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; transition: gap 0.15s; }
.project-link:hover { gap: 10px; }

/* ---------- Skills ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.skill-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.skill-card:hover { box-shadow: 0 18px 40px -24px rgba(22,35,61,0.35); transform: translateY(-2px); border-color: var(--line-2); }
.skill-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 1.1rem; margin-bottom: 18px; }
.skill-cat { font-weight: 600; font-size: 1.02rem; margin-bottom: 14px; color: var(--navy); }
.skill-items { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-items span { font-size: 0.82rem; padding: 5px 12px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; color: var(--slate); }

/* ---------- Experience ---------- */
.exp { position: relative; padding-left: 34px; }
.exp::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.exp-item { position: relative; padding: 0 0 44px; }
.exp-item:last-child { padding-bottom: 0; }
.exp-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.exp-item.current::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.exp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.exp-role { font-size: 1.18rem; font-weight: 600; color: var(--navy); }
.exp-co { color: var(--accent); font-weight: 600; font-size: 0.94rem; margin-top: 2px; }
.exp-period { font-size: 0.8rem; font-weight: 600; color: var(--slate); background: var(--bg-tint); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.exp-group { margin-top: 16px; }
.exp-group-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 8px; }
.exp-points { list-style: none; }
.exp-points li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--slate); font-size: 0.93rem; }
.exp-points li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- GitHub ---------- */
.gh-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gh-head { display: flex; align-items: center; gap: 20px; padding: 28px 32px; background: var(--navy); color: #fff; flex-wrap: wrap; }
.gh-avatar { width: 68px; height: 68px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); }
.gh-head h4 { font-size: 1.15rem; }
.gh-login { color: var(--accent-soft); font-size: 0.84rem; }
#gh-bio { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-top: 4px; max-width: 440px; }
.gh-counts { display: flex; gap: 22px; margin-top: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.gh-counts strong { color: #fff; }
.gh-visit { margin-left: auto; }
.gh-body { padding: 32px; }
.gh-sub { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 18px; }
.gh-block + .gh-block { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.gh-graph-wrap { overflow-x: auto; padding-bottom: 6px; }
.gh-graph { width: 100%; min-width: 620px; }

.lang-bars { display: flex; flex-direction: column; gap: 13px; }
.lang-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 16px; }
.lang-name { font-size: 0.88rem; font-weight: 500; }
.lang-track { height: 7px; background: var(--line); border-radius: 999px; overflow: hidden; }
.lang-fill { height: 100%; border-radius: 999px; background: var(--navy); transition: width 0.9s cubic-bezier(.4,0,.2,1); }
.lang-pct { font-size: 0.8rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.gh-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.repo { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; }
.repo:hover { border-color: var(--line-2); box-shadow: 0 12px 28px -18px rgba(22,35,61,0.4); transform: translateY(-1px); }
.repo-name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.repo-desc { color: var(--muted); font-size: 0.84rem; margin: 6px 0 12px; }
.repo-meta { display: flex; gap: 16px; font-size: 0.76rem; color: var(--faint); }
.repo-lang { display: inline-flex; align-items: center; gap: 6px; }
.repo-lang::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.activity { list-style: none; }
.activity li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity li:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); margin-top: 7px; flex-shrink: 0; }
.activity-text { font-size: 0.88rem; color: var(--slate); }
.activity-date { font-size: 0.75rem; color: var(--faint); }

/* ---------- Credentials ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cert-card {
  display: flex; align-items: center; gap: 14px;
  min-height: 96px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
a.cert-card:hover {
  border-color: var(--line-2);
  box-shadow: 0 16px 30px -22px rgba(22,35,61,0.45);
  transform: translateY(-2px);
}
.cert-mark {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: var(--bg-tint); overflow: hidden;
}
.cert-mark img { width: 34px; height: 34px; object-fit: contain; display: block; }
.tone-microsoft .cert-mark img { width: 40px; height: 40px; }
.cert-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cert-name { font-size: 0.92rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.cert-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cert-issuer { font-size: 0.75rem; color: var(--muted); }
.cert-code {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--navy); background: var(--bg-tint); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 8px;
}
.tone-microsoft .cert-mark { background: #eef4fb; }
.tone-google .cert-mark { background: #eef4ff; }
.tone-github .cert-mark { background: #f2f3f5; }
.tone-azure .cert-mark { background: #e8f3ff; }
.tone-fabric .cert-mark { background: #e7f7f3; }
.tone-jenkins .cert-mark { background: #fff1ee; }
.tone-kubernetes .cert-mark { background: #eaf1ff; }
.tone-gitops .cert-mark { background: #eaf4ff; }
.tone-comptia .cert-mark { background: #fdecee; }
.tone-itil .cert-mark { background: #eef2f8; }
.tone-tesda .cert-mark { background: #eaf3ff; }
.edu-card {
  margin-top: 16px;
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 22px 24px; display: flex; align-items: center; gap: 22px;
}
.edu-mark {
  width: min(280px, 42%);
  min-width: 168px;
  height: auto;
  border-radius: 0;
  overflow: visible;
  flex-shrink: 0;
  background: transparent;
  display: flex;
  align-items: center;
}
.edu-mark img {
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.edu-kicker { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-soft); }
.edu-degree { font-family: "Fraunces", serif; font-size: 1.22rem; margin-top: 4px; line-height: 1.25; }
.edu-sub { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-top: 4px; }

/* ---------- Consulting ---------- */
.consult-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.consult-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.consult-card:hover { box-shadow: 0 22px 46px -26px rgba(22,35,61,0.4); transform: translateY(-3px); border-color: var(--line-2); }
.consult-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: "Fraunces", serif; font-size: 1.1rem;
  margin-bottom: 18px;
}
.consult-card h3 { font-family: "Fraunces", serif; font-size: 1.16rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.consult-blurb { color: var(--muted); font-size: 0.9rem; margin: 12px 0 18px; }
.consult-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 8px; }
.consult-audience { margin-bottom: 16px; }
.consult-audience p { color: var(--slate); font-size: 0.88rem; }
.consult-deliverables { flex: 1; }
.consult-deliverables ul { list-style: none; }
.consult-deliverables li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 0.86rem;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
}
.consult-deliverables li:last-child { border-bottom: none; }
.consult-deliverables li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.consult-cta {
  margin-top: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  transition: gap 0.15s;
}
.consult-cta:hover { gap: 10px; }
.consult-footer { margin-top: 32px; color: var(--muted); font-size: 0.94rem; }
.consult-footer a { color: var(--navy); font-weight: 600; }
.consult-footer a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; }
.contact .section-title { color: #fff; }
.contact .section-kicker { color: var(--accent-soft); }
.contact-lead { font-family: "Fraunces", serif; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 500; max-width: 620px; line-height: 1.2; }
.contact-links { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0; background: #0f1829; color: rgba(255,255,255,0.6); }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer p { font-size: 0.8rem; }
.footer a { color: rgba(255,255,255,0.8); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.projects-grid > *,
.skills-grid > *,
.consult-grid > *,
.cert-grid > *,
.exp > .exp-item,
.about-grid > * {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible .projects-grid > *,
.reveal.visible .skills-grid > *,
.reveal.visible .consult-grid > *,
.reveal.visible .cert-grid > *,
.reveal.visible .exp > .exp-item,
.reveal.visible .about-grid > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal.visible .projects-grid > *:nth-child(1),
.reveal.visible .skills-grid > *:nth-child(1),
.reveal.visible .consult-grid > *:nth-child(1),
.reveal.visible .cert-grid > *:nth-child(1),
.reveal.visible .exp > .exp-item:nth-child(1),
.reveal.visible .about-grid > *:nth-child(1) { transition-delay: 0.06s; }
.reveal.visible .projects-grid > *:nth-child(2),
.reveal.visible .skills-grid > *:nth-child(2),
.reveal.visible .consult-grid > *:nth-child(2),
.reveal.visible .cert-grid > *:nth-child(2),
.reveal.visible .exp > .exp-item:nth-child(2),
.reveal.visible .about-grid > *:nth-child(2) { transition-delay: 0.14s; }
.reveal.visible .projects-grid > *:nth-child(3),
.reveal.visible .skills-grid > *:nth-child(3),
.reveal.visible .consult-grid > *:nth-child(3),
.reveal.visible .cert-grid > *:nth-child(3),
.reveal.visible .exp > .exp-item:nth-child(3) { transition-delay: 0.22s; }
.reveal.visible .projects-grid > *:nth-child(4),
.reveal.visible .skills-grid > *:nth-child(4),
.reveal.visible .cert-grid > *:nth-child(4),
.reveal.visible .exp > .exp-item:nth-child(4) { transition-delay: 0.30s; }
.reveal.visible .cert-grid > *:nth-child(5),
.reveal.visible .exp > .exp-item:nth-child(5) { transition-delay: 0.38s; }
.reveal.visible .cert-grid > *:nth-child(n + 6),
.reveal.visible .exp > .exp-item:nth-child(n + 6) { transition-delay: 0.44s; }
.reveal.visible .project-card:hover { transform: translateY(-3px); }
.reveal.visible .skill-card:hover { transform: translateY(-2px); }
.reveal.visible .consult-card:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.visible,
  .projects-grid > *,
  .skills-grid > *,
  .consult-grid > *,
  .cert-grid > *,
  .exp > .exp-item,
  .about-grid > *,
  .reveal.visible .projects-grid > *,
  .reveal.visible .skills-grid > *,
  .reveal.visible .consult-grid > *,
  .reveal.visible .cert-grid > *,
  .reveal.visible .exp > .exp-item,
  .reveal.visible .about-grid > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { order: -1; max-width: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .consult-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 26px; gap: 16px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25); }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .skills-grid, .consult-grid, .gh-cols, .cert-grid { grid-template-columns: 1fr; }
  .gh-visit { margin-left: 0; width: 100%; justify-content: center; }
  .edu-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .edu-mark { width: min(240px, 100%); min-width: 0; }
  .edu-mark img { max-height: 78px; }
}
