/* Aurora — Glassmorphic Designer Resume */

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

:root {
  --bg: #0c0c1d;
  --bg-tint: #10102a;
  --surface: rgba(255,255,255,0.04);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --glass-hover: rgba(255,255,255,0.1);
  --text: #eef0ff;
  --text-soft: #9ea4c4;
  --text-dim: #5c6188;
  --cyan: #06b6d4;
  --violet: #8b5cf6;
  --rose: #f43f5e;
  --glow-cyan: rgba(6,182,212,0.35);
  --glow-violet: rgba(139,92,246,0.3);
  --gradient: linear-gradient(135deg, var(--cyan), var(--violet));
  --gradient-warm: linear-gradient(135deg, var(--violet), var(--rose));
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ── Glass utility ───────────────── */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.glass-soft {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r);
}

/* ── Ambient orbs ─────────────────── */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  z-index: 0; will-change: transform, translate;
}
.orb-1 { width: 500px; height: 500px; top: -10%; left: -5%; background: var(--glow-cyan); opacity: 0.2; }
.orb-2 { width: 450px; height: 450px; bottom: 20%; right: -8%; background: var(--glow-violet); opacity: 0.18; }
.orb-3 { width: 350px; height: 350px; top: 50%; left: 40%; background: rgba(244,63,94,0.12); opacity: 0.15; }

/* ── Header ──────────────────────── */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--wb-dark-surface, rgba(12,12,29,0.8));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-row { height: 68px; display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: 0.3s; }

.nav-menu { display: flex; list-style: none; gap: 24px; align-items: center; }
.nav-menu a { font-size: 0.82rem; font-weight: 500; color: var(--text-soft); transition: color 0.25s; }
.nav-menu a:hover { color: var(--text); }

.nav-btn {
  padding: 8px 22px !important; border-radius: 999px;
  background: var(--gradient) !important; color: #fff !important; font-weight: 700 !important;
}
.nav-btn:hover { box-shadow: 0 4px 20px var(--glow-cyan); }

/* ── Hero ─────────────────────────── */
.hero {
  position: relative; padding-top: 68px;
  min-height: 100vh; display: flex; align-items: center;
  overflow: clip;
}

.hero-cover {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }

.hero-flex {
  position: relative; z-index: 1;
  display: flex; gap: 56px; align-items: center;
  padding: 80px 0 60px;
}

/* Portrait card */
.hero-card {
  flex-shrink: 0; width: 340px;
  border-radius: var(--r-xl); padding: 20px;
  text-align: center;
}

.hero-portrait {
  position: relative; width: 260px; height: 320px;
  margin: 0 auto 16px; border-radius: var(--r-lg);
  overflow: clip; background: var(--surface);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait-ring {
  position: absolute; inset: -3px; border-radius: var(--r-lg);
  border: 3px solid transparent;
  background: var(--gradient) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.hero-badge-row { display: flex; justify-content: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(6,182,212,0.12); color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.2);
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

@media (prefers-reduced-motion: reduce) {
  .hero-badge::before { animation: none; opacity: 1; }
}

/* Hero body */
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--cyan); margin-bottom: 12px;
}

.hero-name {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text) 40%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-role { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 10px; }

.hero-chips {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 18px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-summary { font-size: 0.95rem; color: var(--text-soft); line-height: 1.85; max-width: 520px; margin-bottom: 22px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.pill-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-soft);
  padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
}
.pill-meta svg { color: var(--cyan); flex-shrink: 0; }

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; border: none; transition: all 0.35s var(--ease);
}

.btn-glow {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 20px var(--glow-cyan);
}
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 8px 32px var(--glow-cyan); }

.btn-glass {
  background: var(--glass); color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-glass:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-full { width: 100%; }

/* Floating stats */
.float-stat {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 20px; border-radius: var(--r);
}
.fs-1 { top: 28%; right: 6%; }
.fs-2 { bottom: 35%; left: 3%; }
.fs-3 { bottom: 18%; right: 12%; }
.fs-big {
  font-size: 1.4rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.fs-sm { font-size: 0.6rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }

/* ── Sections ─────────────────────── */
.block { position: relative; z-index: 1; padding: 80px 0; }
.block-tint { background: var(--bg-tint); }
.block-contact {
  background: linear-gradient(180deg, var(--bg-tint), var(--bg));
}

.block-head { margin-bottom: 40px; }

.chip {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 5px 16px; border-radius: 999px;
  background: rgba(6,182,212,0.1); color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.18);
  margin-bottom: 14px;
}

.block-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.02em;
}

/* ── Skills ───────────────────────── */
.skill-cloud {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.skill-bubble {
  border-radius: var(--r-lg); padding: 20px;
  text-align: center; transition: all 0.3s var(--ease);
}
.skill-bubble:hover { background: var(--glass-hover); border-color: var(--cyan); }

.sb-group { display: block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 4px; }
.sb-name { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; }

.sb-ring-wrap { position: relative; width: 68px; height: 68px; margin: 0 auto; }
.sb-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.sb-progress { transition: stroke-dashoffset 1.4s var(--ease); }
.sb-pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: var(--text);
}
.sb-pct::after { content: '%'; font-size: 0.6rem; color: var(--text-dim); }

/* ── Experience ───────────────────── */
.exp-track { position: relative; padding-left: 28px; }
.exp-track::before {
  content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px;
  width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 2px;
}

.exp-node { position: relative; padding-bottom: 28px; }
.exp-node:last-child { padding-bottom: 0; }

.en-dot {
  position: absolute; left: -28px; top: 10px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--cyan);
  box-shadow: 0 0 12px var(--glow-cyan);
}

.en-card {
  border-radius: var(--r); padding: 22px;
  transition: border-color 0.3s;
}
.en-card:hover { border-color: var(--cyan); }

.en-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.en-role { font-size: 1.02rem; font-weight: 700; }
.en-date { font-size: 0.78rem; color: var(--cyan); font-weight: 600; white-space: nowrap; }
.en-company { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 6px; }
.en-body { font-size: 0.84rem; color: var(--text-dim); line-height: 1.7; }

/* ── Education ────────────────────── */
.edu-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

.edu-tile {
  border-radius: var(--r); padding: 24px; transition: border-color 0.3s;
}
.edu-tile:hover { border-color: var(--cyan); }

.edu-dates { font-size: 0.78rem; color: var(--cyan); font-weight: 600; display: block; margin-bottom: 6px; }
.edu-deg { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.edu-school { font-size: 0.88rem; color: var(--text-soft); margin-bottom: 6px; }
.edu-note { font-size: 0.82rem; color: var(--text-dim); }

/* ── Tools ────────────────────────── */
.tool-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.tool-tile {
  position: relative; border-radius: var(--r-lg);
  padding: 24px 16px; text-align: center;
  overflow: clip; transition: all 0.3s var(--ease);
}
.tool-tile:hover { border-color: var(--cyan); transform: translateY(-4px); }

.tt-glow {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--glow-cyan); filter: blur(30px);
  opacity: 0; transition: opacity 0.4s;
}
.tool-tile:hover .tt-glow { opacity: 1; }

.tt-letter {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 14px; background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  font-size: 1.1rem; font-weight: 800;
  background-clip: padding-box;
  color: var(--cyan);
}

.tt-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 2px; }
.tt-cat { font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }

.tt-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: clip; }
.tt-fill { height: 100%; background: var(--gradient); border-radius: 999px; transition: width 1.2s var(--ease); }

/* ── Portfolio ────────────────────── */
.work-mosaic {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.work-piece { transition: transform 0.35s var(--ease); }
.work-piece:hover { transform: translateY(-6px); }

.wp-img {
  position: relative; border-radius: var(--r-lg);
  overflow: clip; aspect-ratio: 16/10;
  background: var(--surface); margin-bottom: 14px;
}
.wp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-piece:hover .wp-img img { transform: scale(1.05); }

.wp-overlay {
  position: absolute; inset: 0;
  background: rgba(12,12,29,0.75);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity 0.3s;
}
.work-piece:hover .wp-overlay { opacity: 1; }

.wp-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); }
.wp-link {
  padding: 9px 24px; border: 1px solid var(--cyan); border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--cyan);
  transition: all 0.25s;
}
.wp-link:hover { background: var(--cyan); color: var(--bg); }

.wp-name { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.wp-desc { font-size: 0.84rem; color: var(--text-soft); }

/* ── Case Studies ─────────────────── */
.cs-list { display: flex; flex-direction: column; gap: 28px; }

.cs-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg); overflow: clip;
  transition: all 0.35s var(--ease);
}
.cs-card:hover { border-color: var(--cyan); box-shadow: 0 12px 40px rgba(6,182,212,0.08); }

.cs-img { aspect-ratio: 4/3; overflow: clip; }
.cs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cs-card:hover .cs-img img { transform: scale(1.03); }

.cs-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.cs-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }

.cs-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.cs-tag {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--glass-border); color: var(--text-soft);
}

.cs-text { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 14px; }

.cs-outcome {
  padding: 12px 16px; border-radius: var(--r);
  border-left: 3px solid var(--cyan);
  margin-bottom: 14px;
}
.cs-olabel { display: block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 2px; }
.cs-oval { font-size: 0.88rem; color: var(--text); }

.cs-more { font-size: 0.82rem; font-weight: 700; color: var(--cyan); transition: color 0.25s; }
.cs-more:hover { color: var(--violet); }

/* ── Services ─────────────────────── */
.svc-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.svc-card {
  position: relative; border-radius: var(--r-lg);
  padding: 28px 22px; overflow: clip;
  transition: all 0.3s var(--ease);
}
.svc-card:hover { border-color: var(--cyan); transform: translateY(-4px); }

.svc-no {
  position: absolute; top: 14px; right: 18px;
  font-size: 2.2rem; font-weight: 800; color: rgba(255,255,255,0.03);
  line-height: 1; pointer-events: none;
  transition: color 0.3s;
}
.svc-card:hover .svc-no { color: rgba(6,182,212,0.1); }

.svc-icon { width: 42px; height: 42px; margin-bottom: 16px; border-radius: 10px; overflow: clip; background: rgba(6,182,212,0.1); }
.svc-icon img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.svc-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.svc-sub { font-size: 0.82rem; color: var(--text-soft); margin-bottom: 10px; }
.svc-detail { font-size: 0.8rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 14px; }
.svc-price {
  font-size: 0.85rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Testimonials ─────────────────── */
.rev-mosaic {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.rev-tile {
  border-radius: var(--r-lg); padding: 28px;
  transition: border-color 0.3s;
}
.rev-tile:hover { border-color: var(--cyan); }

.rev-stars { color: #fbbf24; font-size: 0.88rem; letter-spacing: 3px; margin-bottom: 14px; }

.rev-quote { font-size: 0.92rem; line-height: 1.8; font-style: italic; margin-bottom: 20px; color: var(--text); }

.rev-foot { display: flex; align-items: center; gap: 12px; }
.rev-avi { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.rev-name { font-size: 0.88rem; font-style: normal; display: block; }
.rev-role { font-size: 0.72rem; color: var(--text-dim); }

/* ── Social ───────────────────────── */
.social-center { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px 0; }
.social-label { font-weight: 700; color: var(--text-soft); }
.social-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.social-pill {
  padding: 8px 20px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-soft);
  transition: all 0.25s;
}
.social-pill:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(6,182,212,0.08); }

/* ── Contact ──────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  padding: 80px 0;
}

.contact-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; margin-bottom: 12px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact-sub { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 32px; line-height: 1.8; }

.ci-stack { display: flex; flex-direction: column; gap: 10px; }
.ci-row { display: flex; gap: 14px; padding: 12px 16px; border-radius: var(--r); }
.ci-k { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); min-width: 60px; padding-top: 2px; }
.ci-v { font-size: 0.9rem; color: var(--text); }

.c-form {
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px; border-radius: var(--r-lg);
}

.cf-grp { display: flex; flex-direction: column; gap: 5px; }
.cf-grp label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }
.cf-grp input,
.cf-grp textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
  border-radius: var(--r); color: var(--text);
  font-family: var(--font); font-size: 0.88rem;
  outline: none; transition: border-color 0.25s; resize: vertical;
}
.cf-grp input:focus,
.cf-grp textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.1); }
.cf-grp input::placeholder,
.cf-grp textarea::placeholder { color: var(--text-dim); }

/* ── Footer ───────────────────────── */
.foot { border-top: 1px solid var(--glass-border); }
.foot-row { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.foot-copy { font-size: 0.8rem; color: var(--text-dim); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 0.75rem; font-weight: 600; color: var(--text-dim); transition: color 0.25s; }
.foot-links a:hover { color: var(--cyan); }

/* ============================================================ ANIMATIONS
   Scroll-driven reveal, progressive enhancement only. The resting state is
   FULLY VISIBLE at rule level and lives outside every guard, so a browser
   without ViewTimeline support — or a same-origin preview iframe, where the
   timeline resolves to null — shows the complete page with nothing left to
   reveal. The hidden from-state exists only inside @keyframes. */
.ao { opacity: 1; }

/* Hero — above the fold, so it runs on a TIME timeline, not a scroll one:
   the hero is already on screen at load and a view() timeline would never
   advance for it. */
@media (prefers-reduced-motion: no-preference) {
  .hero .ao { animation: wb-aurora-rise .9s cubic-bezier(.19,1,.22,1) both; }
  .hero .hero-card.ao { animation-delay: .1s; }
  .hero .hero-eyebrow.ao { animation-delay: .2s; }
  .hero .hero-name.ao { animation-delay: .28s; }
  .hero .hero-role.ao { animation-delay: .36s; }
  .hero .hero-chips.ao { animation-delay: .44s; }
  .hero .hero-summary.ao { animation-delay: .52s; }
  .hero .hero-meta.ao { animation-delay: .6s; }
  .hero .hero-cta.ao { animation-delay: .68s; }

  /* Floating stats — a one-shot entrance plus a continuous ambient float,
     one `animation` shorthand carrying both, comma-separated (`scale(.8)`
     entrance mirrors the replaced `back.out` tween; the float loop mirrors
     the replaced `repeat:-1,yoyo:true` wall-clock drift). */
  .float-stat.ao {
    animation: wb-aurora-fs-in .8s cubic-bezier(.19,1,.22,1) both,
               wb-aurora-fs-float 3.4s ease-in-out infinite alternate;
    animation-delay: .8s, 1.4s;
  }
  .fs-2.ao { animation-delay: .95s, 1.7s; }
  .fs-3.ao { animation-delay: 1.1s, 2s; }
}
@keyframes wb-aurora-rise { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; } }
@keyframes wb-aurora-fs-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; } }
@keyframes wb-aurora-fs-float { from { translate: 0 -12px; } to { translate: 0 12px; } }

/* Below-fold sections — CSS scroll-driven replacement for the per-element
   fade/rise-up tween, once per element, `start: 'top 88%'`. Stagger is an
   animation-RANGE shift, never a delay: a wall-clock delay on a scroll
   timeline finishes long before the visitor arrives. Both ends stay inside
   `entry` so every reveal completes once the element has entered — an end
   anchored to `cover` would leave the last section of the page permanently
   part-transparent. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ao:not(.hero *) {
      animation: wb-aurora-up-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    :is(.skill-cloud,.exp-track,.edu-row,.tool-grid,.work-mosaic,.cs-list,.svc-cards,.rev-mosaic,.social-pills) > .ao:nth-child(2) { animation-range: entry 8% entry 48%; }
    :is(.skill-cloud,.exp-track,.edu-row,.tool-grid,.work-mosaic,.cs-list,.svc-cards,.rev-mosaic,.social-pills) > .ao:nth-child(3) { animation-range: entry 16% entry 56%; }
    :is(.skill-cloud,.exp-track,.edu-row,.tool-grid,.work-mosaic,.cs-list,.svc-cards,.rev-mosaic,.social-pills) > .ao:nth-child(4) { animation-range: entry 24% entry 64%; }
    :is(.skill-cloud,.exp-track,.edu-row,.tool-grid,.work-mosaic,.cs-list,.svc-cards,.rev-mosaic,.social-pills) > .ao:nth-child(5) { animation-range: entry 32% entry 72%; }
    :is(.skill-cloud,.exp-track,.edu-row,.tool-grid,.work-mosaic,.cs-list,.svc-cards,.rev-mosaic,.social-pills) > .ao:nth-child(n+6) { animation-range: entry 40% entry 80%; }

    @keyframes wb-aurora-up-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; } }
  }
}

/* Ambient orbs — the always-on wall-clock drift (a continuous back-and-forth
   `x`/`y` loop) composed with the whole-DOCUMENT scroll parallax that this
   theme's only scrub tween drove (`trigger: 'body', start: 'top top',
   end: 'bottom bottom', scrub: 2`, moving the orb by `y: 100`). These are two
   independent CSS properties — `transform` for the drift, `translate` for
   the parallax — so they compose instead of one clobbering the other.

   The parallax is the ONE case in this theme where `view()` would be WRONG:
   it measures an element's OWN passage through the viewport, but these orbs
   are `position: fixed` decoration meant to track the ENTIRE page's scroll,
   not their own (largely off-screen) box. `scroll()` reads the document
   scroller directly; `animation-range: normal` spans the whole scrollable
   range, exactly what the replaced tween did. Unlike `view()`, an
   `overflow: hidden` ancestor cannot break a `scroll()` timeline, since
   `scroll()` is never asked to track any element's intersection with a
   scrollport — this mapping is the first of its kind in this corpus. */
@media (prefers-reduced-motion: no-preference) {
  .orb { animation: wb-aurora-orb-drift 10s ease-in-out infinite alternate; }
  .orb-2 { animation: wb-aurora-orb-drift 12s ease-in-out infinite alternate; }
  .orb-3 { animation: wb-aurora-orb-drift 14s ease-in-out infinite alternate; }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .orb {
      animation: wb-aurora-orb-drift 10s ease-in-out infinite alternate,
                 wb-aurora-orb-parallax linear both;
      animation-timeline: auto, scroll();
      animation-range: normal, normal;
    }
    .orb-2 {
      animation: wb-aurora-orb-drift 12s ease-in-out infinite alternate,
                 wb-aurora-orb-parallax linear both;
      animation-timeline: auto, scroll();
      animation-range: normal, normal;
    }
    .orb-3 {
      animation: wb-aurora-orb-drift 14s ease-in-out infinite alternate,
                 wb-aurora-orb-parallax linear both;
      animation-timeline: auto, scroll();
      animation-range: normal, normal;
    }
  }
}
@keyframes wb-aurora-orb-drift { from { transform: translate(-24px, 18px); } to { transform: translate(24px, -18px); } }
@keyframes wb-aurora-orb-parallax { from { translate: 0 0; } to { translate: 0 100px; } }

/* ── Responsive ───────────────────── */
@media (max-width: 1024px) {
  .hero-flex { flex-direction: column; gap: 40px; }
  .hero-card { width: 280px; margin: 0 auto; }
  .float-stat { display: none; }
  .cs-card { grid-template-columns: 1fr; }
  .cs-body { padding: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    flex-direction: column; background: var(--bg);
    padding: 40px 28px; gap: 20px;
    transform: translateX(100%); transition: transform 0.3s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }

  .hero-flex { padding: 40px 0; }
  .hero-name { font-size: 2.2rem; }
  .hero-meta { flex-direction: column; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .skill-cloud { grid-template-columns: repeat(2, 1fr); }
  .work-mosaic { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .rev-mosaic { grid-template-columns: 1fr; }
  .edu-row { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .social-center { flex-direction: column; }
  .orb { display: none; }
}

/* Hide wire:loading elements before Livewire mounts (mirrors Livewire's runtime CSS) */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
.svc-no { color: oklch(from rgba(255, 255, 255, 0.03) calc(l + 0.1) c h / calc(min(1, alpha + 0.3))); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --text-dim: #848ab4; /* was #5c6188 */
}
