/* =========================================================
   Farooq Data Engineer — main stylesheet
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--fp-font-body);
  color: var(--fp-ink);
  background: var(--fp-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.fp-no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.screen-reader-text, .fp-skip-link {
  position: absolute; left: -9999px; top: -9999px;
}
.fp-skip-link:focus {
  left: 1rem; top: 1rem; z-index: 999; background: var(--fp-ink); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--fp-radius-sm);
}
:focus-visible { outline: 3px solid var(--fp-blue); outline-offset: 2px; }

.fp-container { max-width: var(--fp-container); margin: 0 auto; padding: 0 24px; }

.fp-noise { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .025;
  background-image: radial-gradient(circle at 1px 1px, #000 1px, transparent 0); background-size: 3px 3px; }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, .fp-h1, .fp-h2, .fp-h3 {
  font-family: var(--fp-font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--fp-ink); margin: 0 0 .5em;
}
.fp-h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.08; margin-top: .4em; }
.fp-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.fp-h3 { font-size: 1.4rem; margin-top: 2.5rem; }
.fp-lead { font-size: 1.1rem; color: var(--fp-ink-soft); max-width: 60ch; }
.fp-kicker { display: inline-block; font-family: var(--fp-font-mono); font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fp-blue); margin-bottom: .75rem; }
.fp-prose { color: var(--fp-ink-soft); }
.fp-prose p { margin: 0 0 1.1em; }
.fp-prose h2 { margin-top: 2em; font-size: 1.5rem; }
.fp-prose h3 { margin-top: 1.6em; font-size: 1.2rem; }
.fp-prose a { color: var(--fp-blue); text-decoration: underline; text-underline-offset: 3px; }
.fp-prose pre { background: var(--fp-ink); color: #E8ECF5; padding: 1.1rem 1.3rem; border-radius: var(--fp-radius-sm); overflow: auto; font-family: var(--fp-font-mono); font-size: .88rem; }
.fp-prose code { font-family: var(--fp-font-mono); background: var(--fp-line); padding: .1em .4em; border-radius: 4px; font-size: .9em; }
.fp-prose pre code { background: none; padding: 0; }
.fp-prose-sm { font-size: .95rem; }
.fp-link-arrow { font-weight: 600; color: var(--fp-blue); white-space: nowrap; }
.fp-link-arrow:hover { text-decoration: underline; }

/* ---------------- Buttons ---------------- */
.fp-btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.fp-btn-primary { background: var(--fp-gradient); color: #fff; box-shadow: var(--fp-shadow-md); }
.fp-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--fp-shadow-lg); }
.fp-btn-ghost { background: var(--fp-surface); color: var(--fp-ink); border-color: var(--fp-line); }
.fp-btn-ghost:hover { border-color: var(--fp-blue); color: var(--fp-blue); }
.fp-btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.fp-btn-block { width: 100%; justify-content: center; }

/* ---------------- Glass / node components ---------------- */
.fp-glass-card {
  background: var(--fp-glass-bg); border: 1px solid var(--fp-glass-border);
  border-radius: var(--fp-radius-md); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--fp-shadow-sm);
}

/* ---------------- Header ---------------- */
.fp-header { position: sticky; top: 0; z-index: 100; background: rgba(247,249,252,.7); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
[data-theme="dark"] .fp-header { background: rgba(10,15,28,.7); }
.fp-header.is-scrolled { border-color: var(--fp-line); box-shadow: var(--fp-shadow-sm); }
.fp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.fp-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--fp-font-display); font-weight: 700; font-size: 1.1rem; }
.fp-logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--fp-gradient); position: relative; flex: none; }
.fp-logo-mark::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: #fff; opacity: .85; }
.fp-nav-list { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.fp-nav-list a { font-weight: 500; color: var(--fp-ink-soft); }
.fp-nav-list a:hover { color: var(--fp-blue); }
.fp-header-actions { display: flex; align-items: center; gap: .9rem; }
.fp-theme-toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--fp-line); border: none; position: relative; cursor: pointer; }
.fp-theme-toggle-dot { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--fp-gradient); transition: transform .2s ease; }
[data-theme="dark"] .fp-theme-toggle-dot { transform: translateX(18px); }
.fp-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.fp-nav-toggle span { width: 22px; height: 2px; background: var(--fp-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------------- Social icons (inline SVG via mask, no external deps) ---------------- */
.fp-social { display: flex; gap: .6rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.fp-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--fp-surface); border: 1px solid var(--fp-line); transition: transform .18s, border-color .18s; }
.fp-social a:hover { transform: translateY(-2px); border-color: var(--fp-blue); }
.fp-ico { width: 17px; height: 17px; display: inline-block; background: var(--fp-ink-soft); mask-size: contain; mask-repeat: no-repeat; mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; }
.fp-social a:hover .fp-ico { background: var(--fp-blue); }
.fp-ico-github { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.66 7.66 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.66 7.66 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z'/%3E%3C/svg%3E"); }
.fp-ico-linkedin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.15C0 .52.53 0 1.19 0h13.62C15.47 0 16 .52 16 1.15v13.7c0 .63-.53 1.15-1.19 1.15H1.19C.53 16 0 15.48 0 14.85V1.15zM4.75 13.4V6.1H2.4v7.3h2.35zM3.58 5.1c.82 0 1.33-.55 1.33-1.23-.01-.7-.51-1.23-1.31-1.23-.8 0-1.33.53-1.33 1.23 0 .68.51 1.23 1.3 1.23h.01zM6.7 13.4h2.35V9.34c0-.22.02-.43.08-.59.18-.43.58-.88 1.25-.88.88 0 1.24.67 1.24 1.65v3.88h2.35V9.24c0-2.17-1.16-3.18-2.71-3.18-1.24 0-1.8.68-2.11 1.16h.02V6.1H6.7c.03.66 0 7.3 0 7.3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0 1.15C0 .52.53 0 1.19 0h13.62C15.47 0 16 .52 16 1.15v13.7c0 .63-.53 1.15-1.19 1.15H1.19C.53 16 0 15.48 0 14.85V1.15zM4.75 13.4V6.1H2.4v7.3h2.35zM3.58 5.1c.82 0 1.33-.55 1.33-1.23-.01-.7-.51-1.23-1.31-1.23-.8 0-1.33.53-1.33 1.23 0 .68.51 1.23 1.3 1.23h.01zM6.7 13.4h2.35V9.34c0-.22.02-.43.08-.59.18-.43.58-.88 1.25-.88.88 0 1.24.67 1.24 1.65v3.88h2.35V9.24c0-2.17-1.16-3.18-2.71-3.18-1.24 0-1.8.68-2.11 1.16h.02V6.1H6.7c.03.66 0 7.3 0 7.3z'/%3E%3C/svg%3E"); }
.fp-ico-x { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.6.75h2.45l-5.36 6.13L16 15.25h-4.94l-3.87-5.06-4.43 5.06H.3l5.73-6.55L0 .75h5.06l3.5 4.62L12.6.75zm-.86 13.03h1.36L4.32 2.15H2.87l8.87 11.63z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.6.75h2.45l-5.36 6.13L16 15.25h-4.94l-3.87-5.06-4.43 5.06H.3l5.73-6.55L0 .75h5.06l3.5 4.62L12.6.75zm-.86 13.03h1.36L4.32 2.15H2.87l8.87 11.63z'/%3E%3C/svg%3E"); }
.fp-ico-facebook { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8.05C16 3.6 12.42 0 8 0S0 3.6 0 8.05c0 4.02 2.93 7.35 6.75 7.95v-5.62H4.72V8.05h2.03V6.28c0-2.02 1.2-3.14 3.02-3.14.87 0 1.79.16 1.79.16v1.97h-1.01c-1 0-1.31.62-1.31 1.26v1.52h2.23l-.36 2.33H9.25v5.62C13.07 15.4 16 12.07 16 8.05z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8.05C16 3.6 12.42 0 8 0S0 3.6 0 8.05c0 4.02 2.93 7.35 6.75 7.95v-5.62H4.72V8.05h2.03V6.28c0-2.02 1.2-3.14 3.02-3.14.87 0 1.79.16 1.79.16v1.97h-1.01c-1 0-1.31.62-1.31 1.26v1.52h2.23l-.36 2.33H9.25v5.62C13.07 15.4 16 12.07 16 8.05z'/%3E%3C/svg%3E"); }
.fp-ico-instagram { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.44c2.14 0 2.39.01 3.23.05.78.03 1.2.16 1.48.27.37.14.64.32.92.6.28.28.45.54.6.92.11.28.24.7.27 1.48.04.84.05 1.09.05 3.23s-.01 2.39-.05 3.23c-.03.78-.16 1.2-.27 1.48-.14.37-.32.64-.6.92-.28.28-.55.45-.92.6-.28.11-.7.24-1.48.27-.84.04-1.09.05-3.23.05s-2.39-.01-3.23-.05c-.78-.03-1.2-.16-1.48-.27a2.48 2.48 0 0 1-.92-.6 2.48 2.48 0 0 1-.6-.92c-.11-.28-.24-.7-.27-1.48-.04-.84-.05-1.09-.05-3.23s.01-2.39.05-3.23c.03-.78.16-1.2.27-1.48.14-.37.32-.64.6-.92.28-.28.55-.45.92-.6.28-.11.7-.24 1.48-.27.84-.04 1.09-.05 3.23-.05zM8 0C5.83 0 5.56.01 4.7.05c-.85.04-1.44.18-1.95.38a3.9 3.9 0 0 0-1.42.93 3.9 3.9 0 0 0-.93 1.42c-.2.51-.34 1.1-.38 1.95C.01 5.56 0 5.83 0 8s.01 2.44.05 3.3c.04.85.18 1.44.38 1.95.2.53.48.98.93 1.42.44.44.89.72 1.42.93.51.2 1.1.34 1.95.38.85.04 1.12.05 3.27.05s2.44-.01 3.3-.05c.85-.04 1.44-.18 1.95-.38a3.9 3.9 0 0 0 1.42-.93 3.9 3.9 0 0 0 .93-1.42c.2-.51.34-1.1.38-1.95.04-.85.05-1.12.05-3.3s-.01-2.44-.05-3.3c-.04-.85-.18-1.44-.38-1.95a3.9 3.9 0 0 0-.93-1.42A3.9 3.9 0 0 0 12.25.43c-.51-.2-1.1-.34-1.95-.38C9.44.01 9.17 0 8 0zm0 3.9A4.1 4.1 0 1 0 8 12.1 4.1 4.1 0 0 0 8 3.9zm0 6.77A2.67 2.67 0 1 1 8 5.33a2.67 2.67 0 0 1 0 5.34zM12.3 3.74a.96.96 0 1 1 0-1.92.96.96 0 0 1 0 1.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.44c2.14 0 2.39.01 3.23.05.78.03 1.2.16 1.48.27.37.14.64.32.92.6.28.28.45.54.6.92.11.28.24.7.27 1.48.04.84.05 1.09.05 3.23s-.01 2.39-.05 3.23c-.03.78-.16 1.2-.27 1.48-.14.37-.32.64-.6.92-.28.28-.55.45-.92.6-.28.11-.7.24-1.48.27-.84.04-1.09.05-3.23.05s-2.39-.01-3.23-.05c-.78-.03-1.2-.16-1.48-.27a2.48 2.48 0 0 1-.92-.6 2.48 2.48 0 0 1-.6-.92c-.11-.28-.24-.7-.27-1.48-.04-.84-.05-1.09-.05-3.23s.01-2.39.05-3.23c.03-.78.16-1.2.27-1.48.14-.37.32-.64.6-.92.28-.28.55-.45.92-.6.28-.11.7-.24 1.48-.27.84-.04 1.09-.05 3.23-.05zM8 0C5.83 0 5.56.01 4.7.05c-.85.04-1.44.18-1.95.38a3.9 3.9 0 0 0-1.42.93 3.9 3.9 0 0 0-.93 1.42c-.2.51-.34 1.1-.38 1.95C.01 5.56 0 5.83 0 8s.01 2.44.05 3.3c.04.85.18 1.44.38 1.95.2.53.48.98.93 1.42.44.44.89.72 1.42.93.51.2 1.1.34 1.95.38.85.04 1.12.05 3.27.05s2.44-.01 3.3-.05c.85-.04 1.44-.18 1.95-.38a3.9 3.9 0 0 0 1.42-.93 3.9 3.9 0 0 0 .93-1.42c.2-.51.34-1.1.38-1.95.04-.85.05-1.12.05-3.3s-.01-2.44-.05-3.3c-.04-.85-.18-1.44-.38-1.95a3.9 3.9 0 0 0-.93-1.42A3.9 3.9 0 0 0 12.25.43c-.51-.2-1.1-.34-1.95-.38C9.44.01 9.17 0 8 0zm0 3.9A4.1 4.1 0 1 0 8 12.1 4.1 4.1 0 0 0 8 3.9zm0 6.77A2.67 2.67 0 1 1 8 5.33a2.67 2.67 0 0 1 0 5.34zM12.3 3.74a.96.96 0 1 1 0-1.92.96.96 0 0 1 0 1.92z'/%3E%3C/svg%3E"); }
.fp-ico-whatsapp, .fp-ico-threads { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.6 2.3A7.9 7.9 0 0 0 8 0 7.94 7.94 0 0 0 1.02 11.9L0 16l4.2-1.1A7.9 7.9 0 0 0 8 16a7.94 7.94 0 0 0 5.6-13.7zM8 14.5c-1.3 0-2.5-.35-3.6-1l-.26-.15-2.5.66.67-2.4-.17-.27A6.5 6.5 0 1 1 14.5 8 6.5 6.5 0 0 1 8 14.5zm3.6-4.9c-.2-.1-1.15-.57-1.33-.63-.18-.07-.3-.1-.44.1-.13.2-.5.63-.62.76-.11.13-.23.14-.43.05-.2-.1-.85-.31-1.6-1a6 6 0 0 1-1.1-1.37c-.12-.2 0-.3.09-.4.1-.1.2-.24.3-.36.1-.13.13-.2.2-.34.06-.13.03-.26-.02-.36-.05-.1-.44-1.06-.6-1.45-.16-.38-.32-.33-.44-.33h-.38c-.13 0-.35.05-.53.24-.18.2-.7.68-.7 1.66s.72 1.93.82 2.06c.1.13 1.42 2.17 3.44 3.04.48.2.86.33 1.15.42.48.15.92.13 1.27.08.39-.06 1.15-.47 1.31-.92.16-.46.16-.85.11-.93-.05-.09-.18-.14-.38-.24z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.6 2.3A7.9 7.9 0 0 0 8 0 7.94 7.94 0 0 0 1.02 11.9L0 16l4.2-1.1A7.9 7.9 0 0 0 8 16a7.94 7.94 0 0 0 5.6-13.7zM8 14.5c-1.3 0-2.5-.35-3.6-1l-.26-.15-2.5.66.67-2.4-.17-.27A6.5 6.5 0 1 1 14.5 8 6.5 6.5 0 0 1 8 14.5zm3.6-4.9c-.2-.1-1.15-.57-1.33-.63-.18-.07-.3-.1-.44.1-.13.2-.5.63-.62.76-.11.13-.23.14-.43.05-.2-.1-.85-.31-1.6-1a6 6 0 0 1-1.1-1.37c-.12-.2 0-.3.09-.4.1-.1.2-.24.3-.36.1-.13.13-.2.2-.34.06-.13.03-.26-.02-.36-.05-.1-.44-1.06-.6-1.45-.16-.38-.32-.33-.44-.33h-.38c-.13 0-.35.05-.53.24-.18.2-.7.68-.7 1.66s.72 1.93.82 2.06c.1.13 1.42 2.17 3.44 3.04.48.2.86.33 1.15.42.48.15.92.13 1.27.08.39-.06 1.15-.47 1.31-.92.16-.46.16-.85.11-.93-.05-.09-.18-.14-.38-.24z'/%3E%3C/svg%3E"); }
.fp-ico-db { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7 2 3 3.6 3 6s4 4 9 4 9-1.6 9-4-4-4-9-4zm-9 6.5v4c0 2.4 4 4 9 4s9-1.6 9-4v-4c-1.7 1.5-5.1 2.5-9 2.5s-7.3-1-9-2.5zm0 6.5v4c0 2.4 4 4 9 4s9-1.6 9-4v-4c-1.7 1.5-5.1 2.5-9 2.5s-7.3-1-9-2.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C7 2 3 3.6 3 6s4 4 9 4 9-1.6 9-4-4-4-9-4zm-9 6.5v4c0 2.4 4 4 9 4s9-1.6 9-4v-4c-1.7 1.5-5.1 2.5-9 2.5s-7.3-1-9-2.5zm0 6.5v4c0 2.4 4 4 9 4s9-1.6 9-4v-4c-1.7 1.5-5.1 2.5-9 2.5s-7.3-1-9-2.5z'/%3E%3C/svg%3E"); background: var(--fp-ink); }
.fp-ico-pipeline { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h6v4H3zM15 6h6v4h-6zM3 14h6v4H3zM15 14h6v4h-6zM9 8h6M9 16h6M12 10v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h6v4H3zM15 6h6v4h-6zM3 14h6v4H3zM15 14h6v4h-6zM9 8h6M9 16h6M12 10v4' stroke='%23000' fill='none' stroke-width='1.6'/%3E%3C/svg%3E"); background: var(--fp-ink); }
.fp-ico-cloud { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 19a4.5 4.5 0 0 0 0-9 6 6 0 0 0-11.4-1.7A4.5 4.5 0 0 0 6.5 19h11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.5 19a4.5 4.5 0 0 0 0-9 6 6 0 0 0-11.4-1.7A4.5 4.5 0 0 0 6.5 19h11z'/%3E%3C/svg%3E"); background: var(--fp-ink); }
.fp-ico-ai { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Ccircle cx='4' cy='6' r='2'/%3E%3Ccircle cx='20' cy='6' r='2'/%3E%3Ccircle cx='4' cy='18' r='2'/%3E%3Ccircle cx='20' cy='18' r='2'/%3E%3Cpath d='M6 7l4 3M18 7l-4 3M6 17l4-3M18 17l-4-3' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Ccircle cx='4' cy='6' r='2'/%3E%3Ccircle cx='20' cy='6' r='2'/%3E%3Ccircle cx='4' cy='18' r='2'/%3E%3Ccircle cx='20' cy='18' r='2'/%3E%3Cpath d='M6 7l4 3M18 7l-4 3M6 17l4-3M18 17l-4-3' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E"); background: var(--fp-ink); }
.fp-ico-cert { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M8.5 12.5L7 21l5-2.5 5 2.5-1.5-8.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M8.5 12.5L7 21l5-2.5 5 2.5-1.5-8.5'/%3E%3C/svg%3E"); background: var(--fp-gradient); width: 26px; height: 26px; flex: none; }

/* ---------------- Hero ---------------- */
.fp-hero { position: relative; padding: 76px 0 60px; overflow: hidden; background: var(--fp-gradient-soft); }
.fp-pipeline-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.fp-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-top: 2rem; }
.fp-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--fp-font-mono); font-size: .82rem; color: var(--fp-blue-deep); background: var(--fp-surface); border: 1px solid var(--fp-line); padding: .4rem .9rem; border-radius: 999px; }
.fp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fp-cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.25); animation: fp-pulse 2s infinite; }
@keyframes fp-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.fp-hero-title { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-top: 1rem; }
.fp-hero-role { font-family: var(--fp-font-mono); font-size: 1.05rem; color: var(--fp-blue); margin: 0 0 1rem; }
.fp-hero-summary { color: var(--fp-ink-soft); font-size: 1.1rem; max-width: 52ch; }
.fp-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.fp-hero-visual { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.fp-photo-frame { position: relative; width: 240px; height: 240px; border-radius: 50%; z-index: 2; }
.fp-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; border-radius: 50%; box-shadow: var(--fp-shadow-lg); position: relative; z-index: 2; border: 4px solid var(--fp-surface); background: var(--fp-surface); }
.fp-photo-ring { position: absolute; inset: -12px; border-radius: 50%; background: var(--fp-gradient); opacity: .3; filter: blur(6px); z-index: 1; animation: fp-ring-pulse 4s ease-in-out infinite; }
@keyframes fp-ring-pulse { 0%,100% { opacity: .22; transform: scale(1); } 50% { opacity: .38; transform: scale(1.04); } }
.fp-node { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem; font-weight: 600; font-size: .9rem; animation: fp-float 6s ease-in-out infinite; z-index: 3; }
.fp-node .fp-ico { width: 20px; height: 20px; }
.fp-node-1 { top: 4%; left: 2%; animation-delay: 0s; }
.fp-node-2 { bottom: 12%; left: -2%; animation-delay: 1.2s; }
.fp-node-3 { top: 2%; right: 0%; animation-delay: .6s; }
.fp-node-4 { bottom: 6%; right: 2%; animation-delay: 1.8s; }
@keyframes fp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.fp-scroll-cue { display: flex; justify-content: center; margin-top: 2.5rem; position: relative; z-index: 1; }
.fp-scroll-cue span { width: 22px; height: 36px; border: 2px solid var(--fp-ink-soft); border-radius: 12px; position: relative; opacity: .5; }
.fp-scroll-cue span::after { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--fp-ink-soft); border-radius: 2px; transform: translateX(-50%); animation: fp-scroll-dot 1.8s infinite; }
@keyframes fp-scroll-dot { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ---------------- Reveal animation ----------------
   Safety-first: content is visible by default. Only once JS has
   confirmed it's running (html.fp-js, set synchronously in <head>)
   do reveal targets start hidden, and JS guarantees every one of
   them gets shown again (via IntersectionObserver, or a hard
   fallback timer if anything fails). If JS never runs at all,
   nothing on the page is ever hidden. */
.fp-reveal { opacity: 1; transform: none; }
html.fp-js .fp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.fp-js .fp-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Sections ---------------- */
.fp-section { padding: 96px 0; }
.fp-section-alt { background: var(--fp-surface); }
.fp-section-top-tight { padding-top: 20px; }
.fp-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }

/* About */
.fp-about-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 3rem; align-items: start; }
.fp-about-side { display: flex; flex-direction: column; gap: 1.4rem; }
.fp-about-photo-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem; }
.fp-about-photo-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; border: 2px solid var(--fp-bg); box-shadow: var(--fp-shadow-sm); background: var(--fp-bg); }
.fp-about-photo-card strong { display: block; font-family: var(--fp-font-display); font-size: 1rem; }
.fp-about-photo-card span { font-size: .85rem; color: var(--fp-ink-soft); }
.fp-about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fp-stat-card { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-md); padding: 1.4rem 1rem; text-align: center; }
.fp-stat-num { display: block; font-family: var(--fp-font-display); font-size: 2.1rem; font-weight: 700; background: var(--fp-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fp-stat-label { font-size: .85rem; color: var(--fp-ink-soft); }

/* Skills */
.fp-skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; margin-top: 2.5rem; }
.fp-skill-group { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-md); padding: 1.6rem; }
.fp-skill-group-title { font-size: 1rem; margin-bottom: 1.1rem; }
.fp-skill-row { margin-bottom: .9rem; }
.fp-skill-row-head { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: .35rem; color: var(--fp-ink-soft); }
.fp-skill-bar { height: 7px; border-radius: 99px; background: var(--fp-line); overflow: hidden; }
.fp-skill-bar > span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--fp-gradient); transition: width 1.1s cubic-bezier(.2,.7,.3,1); }
.fp-skill-bar > span.is-filled { width: var(--val); }

/* Projects */
.fp-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.fp-project-card { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-md); overflow: hidden; transition: box-shadow .25s ease, border-color .25s; will-change: transform; }
.fp-project-card:hover { box-shadow: var(--fp-shadow-lg); border-color: transparent; }
.fp-project-card-media { display: block; aspect-ratio: 16/10; background: var(--fp-gradient-soft); overflow: hidden; }
.fp-project-card-media img { width: 100%; height: 100%; object-fit: cover; }
.fp-project-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--fp-gradient-soft); }
.fp-project-placeholder .fp-ico { width: 42px; height: 42px; opacity: .5; }
.fp-project-card-body { padding: 1.4rem; }
.fp-project-card-body h3 { font-size: 1.05rem; margin: .3rem 0 .5rem; }
.fp-project-card-body p { color: var(--fp-ink-soft); font-size: .92rem; margin: 0 0 1rem; }
.fp-tag-row { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .3rem; }
.fp-tag { font-family: var(--fp-font-mono); font-size: .72rem; background: var(--fp-gradient-soft); color: var(--fp-blue-deep); padding: .25rem .6rem; border-radius: 999px; }
.fp-project-card-links { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; font-weight: 600; }
.fp-project-card-links a { color: var(--fp-ink-soft); }
.fp-project-card-links a:hover { color: var(--fp-blue); }
.fp-project-card-case { margin-left: auto; color: var(--fp-blue) !important; }

/* GitHub */
.fp-github-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center; }
.fp-github-wrap p { margin: .8rem 0 1.4rem; }
.fp-github-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fp-github-stats img { border-radius: var(--fp-radius-md); width: 100%; }

/* Timeline */
.fp-timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.fp-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--fp-line); }
.fp-timeline-item { position: relative; padding-left: 2.6rem; margin-bottom: 1.6rem; }
.fp-timeline-dot { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--fp-gradient); box-shadow: 0 0 0 4px var(--fp-bg); }
.fp-timeline-card { padding: 1.4rem 1.6rem; }
.fp-timeline-duration { font-family: var(--fp-font-mono); font-size: .78rem; color: var(--fp-blue); }
.fp-timeline-card h3 { font-size: 1.05rem; margin: .3rem 0 .1rem; }
.fp-timeline-role { color: var(--fp-ink-soft); font-size: .9rem; margin: 0 0 .6rem; }

/* Education */
.fp-edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.fp-edu-card { padding: 1.6rem; }
.fp-edu-card h3 { font-size: 1.05rem; }
.fp-edu-degree { color: var(--fp-blue); font-weight: 600; font-size: .9rem; margin: 0 0 .2rem; }
.fp-edu-duration { font-family: var(--fp-font-mono); font-size: .78rem; color: var(--fp-ink-soft); margin: 0 0 .8rem; }

/* Certificates */
.fp-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.fp-cert-card { display: flex; gap: .9rem; align-items: flex-start; background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); padding: 1.1rem 1.2rem; }
.fp-cert-card h4 { margin: 0 0 .25rem; font-size: .95rem; }
.fp-cert-card p { margin: 0; font-size: .82rem; color: var(--fp-ink-soft); }
.fp-cert-verify { display: inline-block; margin-top: .4rem; font-size: .78rem; font-weight: 600; color: var(--fp-blue) !important; }

/* Services */
.fp-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.fp-service-card { padding: 1.7rem; }
.fp-service-card .dashicons { font-size: 28px; width: 28px; height: 28px; color: var(--fp-blue); margin-bottom: .8rem; }
.fp-service-card h3 { font-size: 1.05rem; }

/* Achievements */
.fp-achievement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.fp-achievement-card { padding: 1.4rem; text-align: center; }
.fp-achievement-card .dashicons { color: var(--fp-amber); font-size: 24px; }
.fp-achievement-card h4 { margin: .5rem 0 .2rem; font-size: .95rem; }
.fp-achievement-card p { margin: 0; font-size: .8rem; color: var(--fp-ink-soft); }

/* Testimonials */
.fp-testimonial-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem; margin-top: 2.5rem; }
.fp-testimonial-card { padding: 1.8rem; }
.fp-testimonial-card p { font-size: 1.02rem; color: var(--fp-ink); margin: 0 0 1.2rem; }
.fp-testimonial-card footer { display: flex; align-items: center; gap: .8rem; }
.fp-testimonial-card .fp-avatar { border-radius: 50%; width: 42px; height: 42px; }
.fp-testimonial-card cite { font-style: normal; font-weight: 600; display: block; }
.fp-testimonial-card footer span { font-size: .82rem; color: var(--fp-ink-soft); }

/* Blog */
.fp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.fp-blog-grid-wide { margin-top: 0; }
.fp-post-card { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-md); overflow: hidden; }
.fp-post-card-media { display: block; aspect-ratio: 16/10; }
.fp-post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.fp-post-card-body { padding: 1.4rem; }
.fp-post-meta { font-family: var(--fp-font-mono); font-size: .74rem; color: var(--fp-ink-soft); display: flex; gap: .4rem; align-items: center; margin-bottom: .6rem; }
.fp-post-card-body h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.fp-post-card-body p { color: var(--fp-ink-soft); font-size: .92rem; }

/* FAQ */
.fp-faq-wrap { max-width: 860px; }
.fp-faq-list { margin-top: 2rem; }
.fp-faq-item { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-radius-sm); padding: 1.2rem 1.4rem; margin-bottom: .8rem; }
.fp-faq-item summary { cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.fp-faq-item summary::-webkit-details-marker { display: none; }
.fp-faq-plus { width: 20px; height: 20px; position: relative; flex: none; }
.fp-faq-plus::before, .fp-faq-plus::after { content: ""; position: absolute; background: var(--fp-blue); border-radius: 2px; }
.fp-faq-plus::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.fp-faq-plus::after { width: 2px; height: 12px; left: 9px; top: 4px; transition: transform .2s; }
.fp-faq-item[open] .fp-faq-plus::after { transform: rotate(90deg); opacity: 0; }
.fp-faq-item .fp-prose { margin-top: .8rem; }

/* Contact */
.fp-contact-section { background: var(--fp-gradient-soft); }
.fp-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.fp-contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: flex; flex-direction: column; gap: .8rem; }
.fp-contact-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.fp-contact-list .dashicons { color: var(--fp-blue); }
.fp-contact-form { padding: 2rem; }
.fp-form-row { margin-bottom: 1.1rem; }
.fp-form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.fp-form-row input, .fp-form-row textarea { width: 100%; padding: .8rem 1rem; border-radius: var(--fp-radius-sm); border: 1px solid var(--fp-line); background: var(--fp-bg); font: inherit; color: var(--fp-ink); resize: vertical; }
.fp-form-row input:focus, .fp-form-row textarea:focus { border-color: var(--fp-blue); }
.fp-hp-field { position: absolute; left: -9999px; }
.fp-form-status { min-height: 1.4em; font-size: .88rem; margin: .8rem 0 0; }
.fp-form-status.is-success { color: #16a34a; }
.fp-form-status.is-error { color: #dc2626; }

/* Footer */
.fp-footer { background: var(--fp-ink); color: #C4CDE0; padding: 72px 0 0; }
.fp-footer .fp-logo-text { color: #fff; }
.fp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.fp-footer-brand p { max-width: 34ch; margin: 1rem 0 0; font-size: .92rem; }
.fp-widget-title { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.fp-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .92rem; }
.fp-footer-menu a:hover { color: #fff; }
.fp-footer-bottom { display: flex; justify-content: space-between; padding: 1.6rem 0; font-size: .82rem; color: #8996B3; flex-wrap: wrap; gap: .5rem; }
.fp-social-footer a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.fp-social-footer .fp-ico { background: #C4CDE0; }

/* Page head / breadcrumbs */
.fp-page-head { padding-bottom: 2rem; }
.fp-archive-banner { border-radius: var(--fp-radius-lg); overflow: hidden; margin-bottom: 3rem; box-shadow: var(--fp-shadow-md); }
.fp-archive-banner img { width: 100%; display: block; }
.fp-breadcrumbs ol { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0; font-size: .82rem; color: var(--fp-ink-soft); }
.fp-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .5; }
.fp-breadcrumbs a { color: var(--fp-ink-soft); }
.fp-breadcrumbs a:hover { color: var(--fp-blue); }

/* Single post */
.fp-post-thumb { border-radius: var(--fp-radius-lg); overflow: hidden; margin-bottom: 3rem; }
.fp-post-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.fp-post-toc { position: sticky; top: 100px; padding: 1.4rem; }
.fp-post-toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fp-ink-soft); margin-bottom: .8rem; }
.fp-post-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.fp-post-toc a { font-size: .86rem; color: var(--fp-ink-soft); }
.fp-post-toc a:hover { color: var(--fp-blue); }
.fp-toc-sub { padding-left: 1rem; }
.fp-post-share { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--fp-line); display: flex; gap: .6rem; flex-wrap: wrap; font-size: .82rem; }
.fp-post-share span { width: 100%; color: var(--fp-ink-soft); margin-bottom: .3rem; }
.fp-post-share a { font-weight: 600; color: var(--fp-blue); }
.fp-comments-wrap { padding-top: 3rem; }
.fp-comment-list { list-style: none; padding: 0; }

/* Project detail */
.fp-project-detail-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: 3rem; align-items: start; }
.fp-project-meta { padding: 1.6rem; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1rem; }
.fp-project-meta span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--fp-ink-soft); }
.fp-project-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* Pagination */
.fp-pagination { display: flex; justify-content: center; gap: .6rem; margin-top: 3rem; }
.fp-pagination .page-numbers { padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--fp-line); font-size: .88rem; }
.fp-pagination .page-numbers.current { background: var(--fp-gradient); color: #fff; border-color: transparent; }

/* 404 */
.fp-404 { text-align: center; padding: 140px 0; }
.fp-404-inner { max-width: 640px; margin: 0 auto; }
.fp-404 .fp-hero-actions { justify-content: center; margin-bottom: 2rem; }

/* Search form */
.fp-search-form { display: flex; gap: .6rem; max-width: 460px; margin: 1.6rem auto 0; }
.fp-search-field { flex: 1; padding: .8rem 1rem; border-radius: 999px; border: 1px solid var(--fp-line); background: var(--fp-surface); font: inherit; color: var(--fp-ink); }
.fp-search-field:focus { border-color: var(--fp-blue); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .fp-hero-inner, .fp-about-grid, .fp-github-wrap, .fp-project-detail-grid, .fp-contact-grid { grid-template-columns: 1fr; }
  .fp-hero-visual { height: 280px; order: -1; }
  .fp-photo-frame { width: 190px; height: 190px; }
  .fp-node { padding: .6rem .85rem; font-size: .78rem; }
  .fp-project-grid, .fp-blog-grid, .fp-edu-grid, .fp-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-service-grid, .fp-achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-post-layout { grid-template-columns: 1fr; }
  .fp-post-toc { position: static; margin-bottom: 2rem; }
}
@media (max-width: 760px) {
  .fp-nav { position: fixed; inset: 76px 0 0 0; background: var(--fp-bg); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; padding: 2rem 24px; }
  .fp-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .fp-nav-list { flex-direction: column; gap: 1.2rem; font-size: 1.2rem; }
  .fp-nav-toggle { display: flex; }
  .fp-header-actions .fp-btn-sm { display: none; }
  .fp-section { padding: 64px 0; }
  .fp-project-grid, .fp-blog-grid, .fp-edu-grid, .fp-cert-grid, .fp-service-grid, .fp-achievement-grid, .fp-about-stats { grid-template-columns: 1fr; }
  .fp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fp-footer-grid { grid-template-columns: 1fr; }
  .fp-hero { padding-top: 40px; }
  .fp-photo-frame { width: 150px; height: 150px; }
  .fp-node { display: none; }
}
