/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* color */
  --sky-50:  #f2fbff;
  --sky-100: #d9f7ff;
  --sky-200: #aeeeff;
  --sky-300: #5fdcff;
  --azure-500: #20bdf2;
  --azure-600: #159bdd;
  --azure-700: #1263bd;
  --navy-900: #10163f;
  --ink-700: #2a3b52;
  --ink-500: #51647e;
  --gold-300: #ffe57c;
  --gold-400: #ffd331;
  --gold-500: #f2ad1d;
  --gold-600: #df8e0d;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.64);
  --glass-strong: rgba(255,255,255,0.92);
  --glass-border: rgba(255,255,255,0.85);
  --shadow-sm: 0 4px 14px rgba(18,99,189,0.12);
  --shadow-md: 0 16px 34px rgba(18,99,189,0.20);
  --shadow-lg: 0 28px 70px rgba(13,104,176,0.26);
  --shadow-gold: 0 10px 24px rgba(242,173,29,0.34);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  /* layout */
  --container: 1180px;
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 42px;
  --radius-pill: 999px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background:
    radial-gradient(circle at 88% 16%, rgba(255,211,49,0.30), transparent 16%),
    radial-gradient(circle at 10% 82%, rgba(255,255,255,0.42), transparent 20%),
    linear-gradient(135deg, #12b8f4 0%, #3fd0ff 54%, #6bddf7 100%);
  overflow-x: hidden;
  line-height: 1.5;
}
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; }
input, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--azure-500); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

main { position: relative; z-index: 1; }

/* ambient background orbs */
.bg-orbs { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.orb-1 { width: 480px; height: 480px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%); }
.orb-2 { width: 420px; height: 420px; top: 55vh; left: -180px; background: radial-gradient(circle, var(--gold-300), transparent 70%); opacity: 0.38; }
.orb-3 { width: 360px; height: 360px; bottom: -140px; right: 10vw; background: radial-gradient(circle, var(--azure-700), transparent 70%); opacity: 0.16; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 20px; transition: top 0.3s ease; }
.nav-pill {
  display: flex; align-items: center; gap: clamp(10px, 2vw, 28px);
  background: rgba(255,255,255,0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 2px solid rgba(255,255,255,0.92); border-radius: var(--radius-pill);
  padding: 8px 10px; box-shadow: 0 16px 34px rgba(14,102,181,0.20);
  width: min(100%, 1180px); transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled .nav-pill { box-shadow: var(--shadow-lg); }
.brand {
  min-width: 280px; display: inline-flex; align-items: center; gap: 10px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--sky-300), var(--azure-500));
  color: var(--white); padding: 11px 20px; font-weight: 800; font-size: 0.94rem; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42), 0 10px 20px rgba(32,189,242,0.24);
}
.brand svg { flex-shrink: 0; }
.brand-dot { color: var(--gold-500); }
.nav-links { display: flex; gap: clamp(10px, 1.6vw, 26px); margin-left: auto; }
.nav-links a { font-size: 0.92rem; font-weight: 800; color: var(--azure-700); transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--azure-700); }
.btn-resume {
  display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900); font-weight: 900; font-size: 0.86rem; padding: 11px 18px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold); transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap;
}
.btn-resume:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(216,138,31,0.4); }
.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-burger span { width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: 0.25s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.94rem; padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--azure-500), var(--azure-700)); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--glass-strong); color: var(--navy-900); border: 1px solid var(--glass-border); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; padding: 116px 5vw 18px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }

.hero-bgtype {
  position: absolute; top: 170px; left: 50%; transform: translate(-50%, -50%);
  width: 100%; text-align: center;
  font-family: var(--font-body); font-weight: 900; font-size: clamp(6.2rem, 13vw, 11.5rem);
  letter-spacing: 0.01em; line-height: 1; white-space: nowrap; z-index: 1; user-select: none;
  background: linear-gradient(180deg, rgba(32,189,242,0.34), rgba(32,189,242,0.08));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(18,99,189,0.04);
}

.icon-dock { position: absolute; left: max(28px, calc((100vw - 1180px) / 2 - 72px)); top: 56%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 5; }
.dock-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--azure-500), var(--azure-700)); color: var(--white);
  box-shadow: 0 12px 20px rgba(18,99,189,0.28); transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: dock-float 4s ease-in-out infinite;
}
.dock-icon:nth-child(2) { animation-delay: 0.3s; }
.dock-icon:nth-child(3) { animation-delay: 0.6s; }
.dock-icon:nth-child(4) { animation-delay: 0.9s; }
.dock-icon svg { width: 20px; height: 20px; }
.dock-letter { font-family: var(--font-body); font-size: 1rem; font-weight: 900; }
.dock-icon:hover { transform: translateX(6px) scale(1.05); box-shadow: var(--shadow-lg); }
.dock-icon::after {
  content: attr(data-tip); position: absolute; left: 64px; font-family: var(--font-mono); font-size: 0.7rem;
  background: var(--navy-900); color: var(--white); padding: 4px 10px; border-radius: 8px; opacity: 0;
  transform: translateX(-6px); transition: 0.2s ease; pointer-events: none; white-space: nowrap;
}
.dock-icon:hover::after { opacity: 1; transform: translateX(0); }
@keyframes dock-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.hero-grid {
  position: relative; z-index: 2; width: 100%; max-width: 1180px; min-height: min(650px, calc(100vh - 152px)); margin: 0 auto;
  display: grid; grid-template-columns: 0.86fr 1.14fr; align-items: center; gap: 14px; padding: 70px 34px 48px 118px;
  background:
    radial-gradient(circle at 86% 82%, rgba(255,211,49,0.34), transparent 18%),
    radial-gradient(circle at 16% 12%, rgba(95,220,255,0.18), transparent 26%),
    rgba(255,255,255,0.96);
  border: 4px solid rgba(255,255,255,0.95);
  border-radius: 46px 46px 18px 18px;
  box-shadow: 0 34px 80px rgba(13,104,176,0.26);
  overflow: hidden;
}
.hero-grid::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 420px; height: 220px;
  background: radial-gradient(ellipse, rgba(255,211,49,0.58), rgba(255,211,49,0) 68%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 5; align-self: center; max-width: 420px; transform: translateY(-18px); }
.eyebrow { font-family: var(--font-mono); font-size: 0.82rem; color: var(--azure-700); letter-spacing: 0.04em; margin-bottom: 14px; font-weight: 700; }
.hero-title { font-family: var(--font-body); font-weight: 900; font-size: clamp(2.8rem, 5.2vw, 4.5rem); line-height: 0.95; color: var(--navy-900); margin-bottom: 22px; letter-spacing: 0; }
.hero-title span { color: var(--azure-600); font-style: italic; }
.hero-bio { font-size: 1.02rem; color: var(--ink-500); max-width: 480px; margin-bottom: 32px; }
.hero-panel-copy { margin: 0 0 28px; max-width: 380px; }
.hero-panel-copy h3 { font-family: var(--font-body); font-size: 1.58rem; font-weight: 900; color: var(--navy-900); margin-bottom: 8px; }
.hero-panel-copy p { color: var(--ink-700); font-size: 0.98rem; line-height: 1.5; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-portrait { position: relative; z-index: 4; display: flex; justify-content: center; align-items: flex-end; min-height: 540px; transition: transform 0.2s ease-out; }
.portrait-frame {
  position: absolute; right: clamp(-34px, -2.4vw, -16px); bottom: -118px; width: min(610px, 104%);
  min-width: 360px; border-radius: 0; background: transparent; border: 0; box-shadow: none;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: visible; padding: 0;
}
.character-img {
  width: 100%; max-height: 760px; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 28px 32px rgba(16,22,63,0.24));
  animation: character-float 5.6s ease-in-out infinite;
}
.hero-name-tag {
  position: absolute; right: 9%; bottom: 42px; z-index: 6; color: var(--white); font-weight: 900;
  background: rgba(16,22,63,0.16); border: 2px solid rgba(255,255,255,0.72); border-radius: var(--radius-pill);
  padding: 10px 22px; box-shadow: 0 12px 24px rgba(16,22,63,0.18); backdrop-filter: blur(10px);
}
.portrait-glow { position: absolute; width: 74%; height: 70%; background: radial-gradient(circle, var(--gold-300), transparent 70%); opacity: 0.34; filter: blur(40px); z-index: -1; }
@keyframes character-float { 0%, 100% { transform: translateY(0) rotate(-0.5deg); } 50% { transform: translateY(-16px) rotate(0.8deg); } }

.status-capsule {
  position: absolute; top: 330px; right: clamp(30px, 4.8vw, 76px); z-index: 6;
  background: rgba(255,255,255,0.78); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.88);
  border-radius: 24px; padding: 15px 18px; box-shadow: var(--shadow-md); min-width: 196px;
}
.status-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.status-time { font-family: var(--font-mono); font-size: 1.32rem; font-weight: 700; color: var(--navy-900); }
.status-date { font-size: 0.76rem; color: var(--ink-500); }
.status-loc { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--ink-500); margin-bottom: 10px; }
.status-role { font-size: 0.86rem; font-weight: 700; color: var(--azure-700); margin-bottom: 12px; }
.status-badges { display: flex; flex-direction: column; gap: 8px; }
.badge { font-size: 0.72rem; font-weight: 600; background: var(--sky-100); color: var(--azure-700); padding: 6px 10px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 6px; width: fit-content; }
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; display: inline-block; box-shadow: 0 0 0 0 rgba(46,204,113,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,0.55); } 70% { box-shadow: 0 0 0 7px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

.marquee { position: relative; z-index: 2; margin-top: 56px; overflow: hidden; border-top: 1px solid rgba(27,79,140,0.12); border-bottom: 1px solid rgba(27,79,140,0.12); padding: 16px 0; background: var(--glass); }
.marquee-track { display: flex; gap: 14px; white-space: nowrap; font-family: var(--font-mono); font-size: 0.86rem; color: var(--azure-700); animation: scroll-left 28s linear infinite; width: max-content; }
.marquee-track span:nth-child(2n) { color: var(--gold-600); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section { max-width: var(--container); margin: 0 auto; padding: 110px 6vw 0; position: relative; z-index: 2; }
.section-head { margin-bottom: 48px; }
.section-eyebrow { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-600); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy-900); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { max-width: 1240px; padding-top: 76px; }
.about-section > .section-head { display: none; }
.about-showcase {
  position: relative; overflow: hidden; border-radius: 34px; padding: 24px 30px 26px;
  background:
    radial-gradient(circle at 18% 22%, rgba(32,189,242,0.18), transparent 20%),
    radial-gradient(circle at 88% 88%, rgba(255,211,49,0.14), transparent 19%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(232,248,255,0.94));
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 30px 80px rgba(13,104,176,0.22);
}
.about-hero-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 34px; align-items: center; }
.about-portrait-panel { position: relative; min-height: 405px; display: grid; place-items: end center; }
.about-orbit {
  position: absolute; left: 50%; top: 45%; width: 335px; height: 335px; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(18,99,189,0.96), rgba(32,189,242,0.52) 56%, rgba(255,255,255,0) 57%);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.34), 0 22px 55px rgba(18,99,189,0.28);
}
.about-orbit::before {
  content: ""; position: absolute; inset: 28px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.55);
}
.about-float {
  position: absolute; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px;
  background: rgba(255,255,255,0.64); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 16px 34px rgba(18,99,189,0.18);
  color: #0b5fe8;
}
.about-float svg,
.about-stat-grid svg,
.about-education svg,
.about-work svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-float svg { width: 30px; height: 30px; }
.about-float-1 { left: -10px; top: 72px; }
.about-float-2 { right: -8px; top: 84px; color: #6a35ee; }
.about-float-3 { left: -12px; bottom: 78px; }
.about-float-4 { right: -6px; bottom: 48px; }
.about-character {
  position: relative; z-index: 2; width: min(338px, 94%); max-height: 408px; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 28px 34px rgba(16,22,63,0.22));
}
.about-name-card {
  position: absolute; z-index: 3; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: min(330px, 86%); padding: 16px 20px; border-radius: 20px;
  background: linear-gradient(145deg, rgba(4,32,92,0.98), rgba(5,20,58,0.96));
  border: 2px solid rgba(32,189,242,0.5); box-shadow: 0 18px 38px rgba(3,22,56,0.32);
}
.about-name-card h3 { color: var(--white); font-size: 1.45rem; line-height: 1; margin-bottom: 6px; }
.about-name-card p { color: #55dfff; font-weight: 900; margin-bottom: 8px; font-size: 0.9rem; }
.about-name-card span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.78); font-size: 0.8rem; }
.about-name-card svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.about-kicker { color: rgba(11,95,232,0.42); font-family: var(--font-mono); font-weight: 900; letter-spacing: 0.05em; margin-bottom: 10px; }
.about-content-panel h2 { color: var(--navy-900); font-size: clamp(2.2rem, 3.7vw, 3.35rem); line-height: 1.08; font-weight: 900; margin-bottom: 16px; }
.about-content-panel h2 span { color: #1682f4; }
.about-lead { max-width: 610px; color: var(--ink-500); font-size: 0.98rem; line-height: 1.52; margin-bottom: 20px; }
.about-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.about-stat-grid div {
  min-height: 112px; padding: 14px 14px; border-radius: 16px; background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.9); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 16px 34px rgba(18,99,189,0.10);
}
.about-stat-grid svg { width: 22px; height: 22px; color: #1682f4; margin-bottom: 9px; }
.about-stat-grid strong { display: block; color: #0b5fe8; font-size: 1.55rem; line-height: 1; margin-bottom: 6px; }
.about-stat-grid span { display: block; color: var(--navy-900); font-weight: 800; font-size: 0.76rem; margin-bottom: 3px; }
.about-stat-grid small { color: var(--ink-500); font-size: 0.68rem; }
.about-bottom-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 18px; margin-top: 18px; }
.about-education,
.about-work {
  border-radius: 22px; padding: 18px; background: rgba(255,255,255,0.58); border: 1px solid rgba(255,255,255,0.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 16px 38px rgba(18,99,189,0.10);
}
.about-education h3,
.about-work h3 { display: flex; align-items: center; gap: 10px; color: var(--navy-900); font-size: 0.92rem; margin-bottom: 16px; }
.about-education h3 svg,
.about-work h3 svg { width: 22px; height: 22px; color: #0b5fe8; }
.edu-line { position: relative; display: grid; gap: 18px; padding-left: 58px; }
.edu-line::before { content: ""; position: absolute; left: 28px; top: 10px; bottom: 10px; border-left: 2px dotted rgba(32,189,242,0.36); }
.edu-line article { position: relative; }
.edu-line article::before {
  content: ""; position: absolute; left: -50px; top: 2px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azure-500), var(--azure-700)); box-shadow: 0 12px 24px rgba(18,99,189,0.18);
}
.edu-line article:nth-child(2)::before { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.edu-line span { display: block; color: #0b5fe8; font-weight: 900; margin-bottom: 5px; font-size: 0.86rem; }
.edu-line article:nth-child(2) span { color: var(--gold-600); }
.edu-line h4 { color: var(--navy-900); font-size: 1.02rem; margin-bottom: 2px; }
.edu-line strong { color: #0b5fe8; display: block; margin-bottom: 5px; font-size: 0.86rem; }
.edu-line p { color: var(--ink-500); font-size: 0.78rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.work-grid article { border-right: 1px solid rgba(18,99,189,0.12); padding-right: 12px; }
.work-grid article:last-child { border-right: 0; }
.work-grid svg { width: 24px; height: 24px; color: #0b5fe8; margin-bottom: 10px; }
.work-grid article:nth-child(2) svg { color: #18b957; }
.work-grid article:nth-child(3) svg { color: #6a35ee; }
.work-grid article:nth-child(4) svg { color: var(--gold-600); }
.work-grid h4 { color: var(--navy-900); margin-bottom: 6px; font-size: 0.92rem; }
.work-grid p { color: var(--ink-500); font-size: 0.78rem; line-height: 1.38; }
.about-focus { display: flex; gap: 20px; align-items: center; margin-top: 14px; padding: 11px 18px; border-radius: 14px; background: rgba(217,247,255,0.76); border: 1px solid rgba(32,189,242,0.22); }
.about-focus strong { color: #0b5fe8; }
.about-focus span { color: var(--ink-500); }

/* ============================================================
   TIMELINE (Experience)
   ============================================================ */
.timeline { position: relative; padding-left: 30px; border-left: 2px solid rgba(45,125,210,0.25); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: -38px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 5px var(--sky-100); }
.timeline-card { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 26px 30px; box-shadow: var(--shadow-sm); }
.timeline-period { font-family: var(--font-mono); font-size: 0.78rem; color: var(--azure-700); }
.timeline-role { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy-900); margin: 4px 0 2px; }
.timeline-org { font-size: 0.9rem; color: var(--gold-600); font-weight: 700; margin-bottom: 14px; }
.timeline-points { display: flex; flex-direction: column; gap: 8px; }
.timeline-points li { position: relative; padding-left: 18px; font-size: 0.92rem; color: var(--ink-500); }
.timeline-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--azure-500); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.project-card {
  background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 18px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-preview {
  --preview-w: 1180px;
  --preview-h: 664px;
  --preview-scale: min(1, calc((100vw - 120px) / 1180));
  position: relative; width: 100%; height: calc(var(--preview-h) * var(--preview-scale)); overflow: hidden; border-radius: 18px;
  background: linear-gradient(135deg, var(--sky-100), var(--azure-500)); border: 1px solid rgba(32,189,242,0.18);
  min-height: 500px; margin-bottom: 22px;
}
.project-preview-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.project-preview iframe {
  position: absolute; left: 0; top: 0; width: var(--preview-w); height: var(--preview-h); border: 0;
  z-index: 2; background: var(--white); transform: scale(var(--preview-scale)); transform-origin: top left;
}
.project-preview-fallback { object-fit: cover; z-index: 1; }
.preview-badge {
  position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center;
  min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.88); color: var(--azure-700); font-size: 0.72rem; font-weight: 900;
  box-shadow: 0 8px 16px rgba(16,22,63,0.12);
}
.project-card-top, .project-summary, .project-tags, .project-actions { padding-inline: 10px; }
.project-card-top h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy-900); }
.project-tagline { font-size: 0.84rem; color: var(--azure-700); font-weight: 700; margin: 4px 0 16px; }
.project-summary { font-size: 1rem; color: var(--ink-500); line-height: 1.55; margin-bottom: 18px; }
.project-points { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; flex-grow: 1; }
.project-points li { position: relative; padding-left: 16px; font-size: 0.86rem; color: var(--ink-500); line-height: 1.5; }
.project-points li::before { content: "—"; position: absolute; left: 0; color: var(--gold-500); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { font-family: var(--font-mono); font-size: 0.7rem; background: var(--sky-100); color: var(--azure-700); padding: 5px 10px; border-radius: var(--radius-pill); }
.project-actions { display: flex; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.project-cta {
  position: relative; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 900; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.project-cta span,
.project-cta b { position: relative; z-index: 1; }
.project-cta b { font-size: 1rem; line-height: 1; transition: transform 0.2s ease; }
.project-cta::before {
  content: ""; position: absolute; inset: 0; transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  transition: transform 0.45s ease;
}
.project-cta:hover { transform: translateY(-3px); }
.project-cta:hover::before { transform: translateX(105%); }
.project-cta:hover b { transform: translateX(3px); }
.project-cta-live {
  color: var(--white); background: linear-gradient(135deg, var(--azure-500), var(--azure-700));
  box-shadow: 0 16px 30px rgba(18,99,189,0.24);
}
.project-cta-code {
  color: var(--navy-900); background: rgba(255,255,255,0.92); border: 1px solid rgba(32,189,242,0.26);
  box-shadow: 0 12px 24px rgba(18,99,189,0.12);
}
.project-cta-code b {
  width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%;
  background: rgba(32,189,242,0.14); color: var(--azure-700);
}
.project-cta-live b {
  width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,0.2); color: var(--white);
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-section { max-width: 1320px; padding-top: 80px; }
.skills-section > .section-head { display: none; }
.skills-grid { display: block; }
.skills-showcase {
  position: relative; overflow: hidden; border-radius: 34px; padding: 22px 24px 24px;
  background:
    radial-gradient(circle at 16% 12%, rgba(95,220,255,0.22), transparent 18%),
    radial-gradient(circle at 86% 88%, rgba(255,211,49,0.18), transparent 17%),
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(232,248,255,0.94));
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow: 0 30px 80px rgba(13,104,176,0.24);
}
.skills-showcase::before {
  content: ""; position: absolute; right: 22px; top: 18px; width: 210px; height: 170px;
  background-image: radial-gradient(rgba(32,189,242,0.22) 1.5px, transparent 1.5px);
  background-size: 14px 14px; opacity: 0.55;
}
.skills-circuit {
  position: absolute; left: 36px; top: 58px; width: 300px; height: 120px; opacity: 0.38;
  background:
    linear-gradient(90deg, transparent 0 20px, rgba(32,189,242,0.45) 20px 22px, transparent 22px 100%),
    linear-gradient(180deg, transparent 0 44px, rgba(32,189,242,0.35) 44px 46px, transparent 46px 100%);
  border-radius: 20px;
}
.skills-head { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto 18px; }
.skills-kicker {
  display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 18px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,0.62); border: 1px solid rgba(32,189,242,0.28);
  color: #0b5fe8; font-family: var(--font-mono); font-size: 0.76rem; font-weight: 900; margin-bottom: 9px;
}
.skills-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1; color: var(--navy-900); margin-bottom: 10px; font-weight: 900; }
.skills-head h2 span { color: #096cf2; text-shadow: 0 10px 24px rgba(9,108,242,0.18); }
.skills-head p { font-size: 0.98rem; color: var(--ink-500); line-height: 1.42; }
.skills-head strong { color: #0b5fe8; }
.skills-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: stretch; }
.skills-card-row { display: grid; grid-template-columns: repeat(3, minmax(210px, 1fr)); gap: 14px; }
.skill-pro-card {
  position: relative;
  min-height: 248px; padding: 16px 16px 14px; border-radius: 22px;
  background: rgba(255,255,255,0.66); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 18px 42px rgba(18,99,189,0.12);
}
.skill-orb {
  position: absolute; top: 14px; right: 14px;
  width: 62px; height: 62px; margin: 0; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); box-shadow: 0 18px 34px rgba(18,99,189,0.18), inset 0 0 0 3px rgba(255,255,255,0.62);
}
.skill-orb svg {
  width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255,255,255,0.48));
}
.skill-blue .skill-orb { background: radial-gradient(circle at 32% 28%, #58e2ff, #2458ff 58%, #7b36e8); }
.skill-cyan .skill-orb { background: radial-gradient(circle at 32% 28%, #6bf7ff, #04b6d9 65%, #108bbd); }
.skill-purple .skill-orb { background: radial-gradient(circle at 32% 28%, #f3a9ff, #7735ee 65%, #5020c8); }
.skill-orange .skill-orb { background: radial-gradient(circle at 32% 28%, #ffd331, #f59a16 65%, #d87500); }
.skill-green .skill-orb { background: radial-gradient(circle at 32% 28%, #90ffc0, #08bd7b 65%, #079c66); }
.skill-pro-card h3 { color: var(--navy-900); font-size: 0.98rem; line-height: 1.15; margin: 3px 78px 14px 0; font-weight: 900; min-height: 34px; }
.skill-pro-card ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.skill-pro-card li { display: flex; align-items: flex-start; gap: 8px; color: #26395b; font-size: 0.72rem; line-height: 1.18; }
.skill-pro-card li span { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; margin-top: 5px; background: currentColor; }
.skill-blue { color: #2458ff; }
.skill-cyan { color: #04a9c9; }
.skill-purple { color: #6a35ee; }
.skill-orange { color: #f28a12; }
.skill-green { color: #08a96d; }
.skill-meter-top { display: flex; justify-content: space-between; color: currentColor; font-size: 0.74rem; font-weight: 900; margin-bottom: 7px; }
.skill-meter { height: 6px; border-radius: var(--radius-pill); background: rgba(18,99,189,0.13); overflow: hidden; }
.skill-meter span { display: block; height: 100%; border-radius: inherit; background: currentColor; }
.core-strength {
  border-radius: 24px; padding: 16px 16px; color: var(--white);
  background: radial-gradient(circle at 50% 24%, rgba(32,189,242,0.28), transparent 32%), linear-gradient(160deg, #06378d, #031638 72%);
  border: 2px solid rgba(32,189,242,0.62); box-shadow: 0 18px 42px rgba(3,22,56,0.28), inset 0 0 28px rgba(32,189,242,0.22);
}
.core-strength > p { text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 900; margin-bottom: 10px; }
.core-brain {
  width: 78px; height: 78px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center;
  border: 1px dashed rgba(95,220,255,0.35); color: #55dfff;
  background: radial-gradient(circle, rgba(85,223,255,0.16), rgba(85,223,255,0.02) 68%);
  box-shadow: inset 0 0 30px rgba(85,223,255,0.12), 0 0 32px rgba(85,223,255,0.16);
}
.core-brain svg {
  width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(85,223,255,0.75));
}
.core-strength > span { display: block; text-align: center; color: rgba(255,255,255,0.78); font-size: 0.78rem; }
.core-strength h3 { text-align: center; color: #55dfff; font-size: 0.9rem; line-height: 1.12; margin: 2px 0 8px; }
.core-line { width: 66px; height: 2px; margin: 0 auto 10px; background: rgba(255,255,255,0.74); }
.core-point { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.core-point b { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: rgba(255,255,255,0.12); color: #d9f7ff; }
.core-point b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.core-point strong { display: block; font-size: 0.76rem; margin-bottom: 2px; }
.core-point span { display: block; color: rgba(255,255,255,0.78); font-size: 0.68rem; line-height: 1.25; }
.skills-bottom { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-top: 16px; }
.tech-arsenal,
.skills-stats {
  border-radius: 22px; padding: 16px; background: rgba(255,255,255,0.58); border: 1px solid rgba(255,255,255,0.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 16px 38px rgba(18,99,189,0.10);
}
.tech-arsenal h3,
.skills-stats h3 { color: #0b5fe8; font-size: 0.84rem; font-weight: 900; margin-bottom: 10px; }
.arsenal-grid { display: grid; grid-template-columns: repeat(5, minmax(92px, 1fr)); gap: 9px; }
.arsenal-item {
  min-height: 66px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.66); box-shadow: 0 12px 28px rgba(18,99,189,0.08);
}
.arsenal-item img { width: 27px; height: 27px; object-fit: contain; }
.tool-monogram {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px;
  background: linear-gradient(135deg, var(--azure-500), var(--azure-700)); color: var(--white);
  font-size: 0.72rem; font-weight: 900;
}
.arsenal-item p { color: var(--navy-900); font-size: 0.66rem; font-weight: 700; text-align: center; }
.skills-stats h3 span { color: #0b5fe8; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stat-grid div { text-align: center; padding: 6px 5px; border-right: 1px solid rgba(18,99,189,0.12); }
.stat-grid div:last-child { border-right: 0; }
.stat-grid b { display: grid; place-items: center; color: rgba(11,95,232,0.45); margin: 0 auto 6px; }
.stat-grid b svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-grid strong { display: block; color: #0b5fe8; font-size: 1.1rem; line-height: 1; }
.stat-grid span { display: block; color: var(--ink-500); font-size: 0.66rem; margin-top: 5px; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cred-col { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.cred-col-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy-900); margin-bottom: 16px; }
.cred-list { display: flex; flex-direction: column; gap: 12px; }
.cred-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--ink-500); }
.cred-dot { flex-shrink: 0; margin-top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact { padding-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
.contact-blurb { font-size: 1.02rem; color: var(--ink-500); margin-bottom: 26px; max-width: 380px; }
.contact-line { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; font-size: 0.94rem; }
.contact-line svg { color: var(--azure-600); }
.contact-socials { display: flex; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.contact-socials a { font-family: var(--font-mono); font-size: 0.82rem; color: var(--azure-700); font-weight: 700; }
.contact-socials a:hover { color: var(--gold-600); }

.contact-form { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.8rem; font-weight: 700; color: var(--navy-900); }
.form-row input, .form-row textarea {
  background: var(--white); border: 1px solid rgba(27,79,140,0.18); border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 0.94rem; color: var(--navy-900); resize: vertical; transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--azure-500); }
.btn-submit { width: 100%; position: relative; }
.btn-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.5); border-top-color: var(--white); border-radius: 50%; }
.btn-submit.is-loading .btn-text { opacity: 0.5; }
.btn-submit.is-loading .btn-spinner { display: inline-block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin-top: 14px; font-size: 0.86rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-success { color: #1f9d55; }
.form-status.is-error { color: #d64545; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 2; max-width: 1180px; margin: 70px auto 0; padding: 0 5vw 42px; }
.footer-card {
  position: relative; overflow: hidden; border-radius: 34px; padding: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,211,49,0.42), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(217,247,255,0.94));
  border: 3px solid rgba(255,255,255,0.92);
  box-shadow: 0 28px 70px rgba(13,104,176,0.24);
}
.footer-card::before {
  content: "URMILA"; position: absolute; right: -16px; top: 4px; font-weight: 900; font-size: clamp(4rem, 13vw, 9rem);
  line-height: 1; color: rgba(32,189,242,0.13); pointer-events: none;
}
.footer-main { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 18px; max-width: 560px; }
.footer-mark {
  flex: 0 0 auto; width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--azure-500), var(--azure-700)); color: var(--white);
  font-family: var(--font-body); font-weight: 900; box-shadow: 0 18px 34px rgba(18,99,189,0.25);
}
.footer-kicker { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; color: var(--gold-600); margin-bottom: 4px; }
.footer h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--navy-900); margin-bottom: 10px; }
.footer p { font-size: 0.92rem; color: var(--ink-500); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; max-width: 340px; }
.footer-nav a,
.footer-socials a,
.footer-chip-row span {
  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill);
  font-weight: 800; white-space: nowrap;
}
.footer-nav a {
  background: rgba(255,255,255,0.78); color: var(--azure-700); border: 1px solid rgba(32,189,242,0.18);
  padding: 10px 16px; font-size: 0.86rem; transition: transform 0.2s ease, background 0.2s ease;
}
.footer-nav a:hover { transform: translateY(-2px); background: var(--white); }
.footer-bottom {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(18,99,189,0.12);
}
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-socials a {
  min-height: 38px; padding: 0 16px; background: linear-gradient(135deg, var(--azure-500), var(--azure-700));
  color: var(--white); font-size: 0.8rem; box-shadow: 0 12px 24px rgba(18,99,189,0.18); transition: transform 0.2s ease;
}
.footer-socials a:hover { transform: translateY(-2px); }
.footer-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-chip-row span { min-height: 32px; padding: 0 12px; background: rgba(255,211,49,0.32); color: var(--navy-900); font-size: 0.76rem; }
.footer-copy { margin-left: auto; font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .brand { min-width: 220px; }
  .hero { padding-top: 112px; }
  .icon-dock { left: 24px; top: 50%; }
  .hero-grid { grid-template-columns: 1fr; padding: 58px 34px 42px 96px; min-height: auto; align-items: center; }
  .hero-bgtype { top: 132px; left: 50%; width: 100%; font-size: clamp(5rem, 17vw, 8.5rem); }
  .hero-content { transform: none; }
  .hero-portrait { order: -1; min-height: 470px; margin-bottom: 0; }
  .portrait-frame { position: relative; right: auto; bottom: auto; width: min(520px, 104%); }
  .character-img { max-height: 620px; }
  .hero-name-tag { right: 16%; bottom: 40px; }
  .status-capsule { position: static; margin-top: 24px; width: fit-content; }
  .about-hero-grid, .about-bottom-grid { grid-template-columns: 1fr; }
  .about-portrait-panel { min-height: 510px; }
  .about-content-panel { text-align: center; }
  .about-lead { margin-inline: auto; }
  .about-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .project-preview { --preview-scale: min(1, calc((100vw - 92px) / 1180)); grid-row: auto; min-height: 300px; }
  .skills-showcase { padding: 24px; }
  .skills-layout { grid-template-columns: 1fr; }
  .skills-card-row { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
  .core-strength { max-width: 520px; margin: 0 auto; }
  .skills-bottom { grid-template-columns: 1fr; }
  .arsenal-grid { grid-template-columns: repeat(5, minmax(82px, 1fr)); }
  .skills-stats { max-width: 100%; }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .about-section { padding-top: 58px; }
  .about-showcase { padding: 18px 24px 20px; }
  .about-hero-grid { gap: 26px; }
  .about-portrait-panel { min-height: 352px; }
  .about-orbit { width: 292px; height: 292px; }
  .about-character { width: min(300px, 92%); max-height: 358px; }
  .about-name-card { width: min(300px, 84%); padding: 13px 18px; bottom: 4px; }
  .about-name-card h3 { font-size: 1.28rem; }
  .about-name-card p { font-size: 0.82rem; margin-bottom: 6px; }
  .about-kicker { margin-bottom: 8px; font-size: 0.82rem; }
  .about-content-panel h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); margin-bottom: 12px; }
  .about-lead { font-size: 0.9rem; line-height: 1.42; margin-bottom: 14px; }
  .about-stat-grid div { min-height: 94px; padding: 11px 12px; }
  .about-stat-grid svg { width: 19px; height: 19px; margin-bottom: 7px; }
  .about-stat-grid strong { font-size: 1.35rem; margin-bottom: 4px; }
  .about-stat-grid span { font-size: 0.7rem; }
  .about-stat-grid small { font-size: 0.64rem; }
  .about-bottom-grid { margin-top: 14px; gap: 14px; }
  .about-education, .about-work { padding: 14px; }
  .about-education h3, .about-work h3 { margin-bottom: 11px; }
  .edu-line { gap: 12px; }
  .edu-line h4 { font-size: 0.95rem; }
  .edu-line p { font-size: 0.72rem; }
  .work-grid { gap: 10px; }
  .work-grid svg { width: 21px; height: 21px; margin-bottom: 7px; }
  .work-grid h4 { font-size: 0.84rem; margin-bottom: 4px; }
  .work-grid p { font-size: 0.7rem; line-height: 1.3; }
  .about-focus { margin-top: 10px; padding: 9px 14px; font-size: 0.82rem; }
  .skills-section { padding-top: 60px; }
  .skills-showcase { padding: 18px 22px 20px; }
  .skills-head { margin-bottom: 14px; }
  .skills-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
  .skills-head p { font-size: 0.92rem; }
  .skill-pro-card { min-height: 226px; padding: 13px 14px 12px; }
  .skill-orb { width: 54px; height: 54px; top: 12px; right: 12px; }
  .skill-orb svg { width: 31px; height: 31px; }
  .skill-pro-card h3 { margin-right: 68px; margin-bottom: 8px; }
  .skill-pro-card ul { gap: 5px; margin-bottom: 10px; }
  .skill-pro-card li { font-size: 0.69rem; }
  .core-brain { width: 68px; height: 68px; }
  .core-brain svg { width: 44px; height: 44px; }
  .skills-bottom { margin-top: 12px; }
  .arsenal-item { min-height: 58px; }
}

@media (max-width: 720px) {
  .nav-pill { gap: 8px; }
  .brand { min-width: 0; max-width: calc(100vw - 156px); padding: 10px 14px; overflow: hidden; }
  .brand span { overflow: hidden; text-overflow: ellipsis; }
  .btn-resume span { display: none; }
  .btn-resume { padding: 11px 13px; }
  .nav-links { position: fixed; top: 78px; left: 20px; right: 20px; flex-direction: column; background: var(--glass-strong); backdrop-filter: blur(18px); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-lg); gap: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: 0.25s ease; }
  .nav-links.open { max-height: 320px; opacity: 1; padding: 18px; }
  .nav-burger { display: flex; }
  .icon-dock { left: 22px; gap: 10px; }
  .dock-icon { width: 40px; height: 40px; border-radius: 12px; }
  .dock-icon svg { width: 16px; height: 16px; }
  .dock-icon::after { display: none; }
  .hero { padding: 104px 4vw 0; }
  .hero-grid { padding: 34px 20px 32px 68px; border-radius: 34px 34px 16px 16px; }
  .hero-bgtype { font-size: clamp(3.4rem, 20vw, 5.8rem); top: 96px; left: 50%; width: 100%; }
  .hero-portrait { min-height: 350px; }
  .portrait-frame { min-width: 0; width: min(390px, 110%); }
  .character-img { max-height: 460px; }
  .hero-name-tag { right: 4%; bottom: 26px; font-size: 0.82rem; padding: 8px 14px; }
  .hero-title { font-size: clamp(2.2rem, 12vw, 3.1rem); }
  .hero-panel-copy h3 { font-size: 1.28rem; }
  .credentials-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-showcase { padding: 20px; border-radius: 28px; }
  .about-portrait-panel { min-height: 430px; }
  .about-orbit { width: 300px; height: 300px; }
  .about-character { width: min(320px, 98%); max-height: 390px; }
  .about-name-card { bottom: 0; padding: 16px 18px; }
  .about-name-card h3 { font-size: 1.35rem; }
  .about-content-panel h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .about-stat-grid, .work-grid { grid-template-columns: 1fr; }
  .work-grid article { border-right: 0; border-bottom: 1px solid rgba(18,99,189,0.12); padding: 0 0 16px; }
  .work-grid article:last-child { border-bottom: 0; }
  .about-focus { flex-direction: column; align-items: flex-start; gap: 6px; }
  .about-float { width: 54px; height: 54px; border-radius: 16px; }
  .about-float svg { width: 28px; height: 28px; }
  .skills-section { padding-inline: 3vw; }
  .skills-showcase { padding: 20px; border-radius: 28px; }
  .skills-head h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .skills-head p { font-size: 0.95rem; }
  .skills-card-row { grid-template-columns: 1fr; }
  .skill-pro-card { min-height: auto; }
  .skills-bottom { gap: 16px; }
  .arsenal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .stat-grid div:nth-child(2) { border-right: 0; }
  .project-card { padding: 14px; gap: 18px; }
  .project-preview { --preview-scale: calc((100vw - 64px) / 1180); min-height: 210px; }
  .about-facts { grid-template-columns: 1fr; }
  .footer { padding-inline: 4vw; }
  .footer-card { padding: 24px; border-radius: 28px; }
  .footer-main, .footer-brand, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .footer-copy { margin-left: 0; }
}
