/* ═══════════════════════════════════════════════
   NULLBYTE — Main Stylesheet
   ═══════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────── */
:root {
  --bg-base: #040810; --bg-raised: #070d16;
  --surface-1: #0a1525; --surface-2: #0f1e30; --surface-3: #162840;
  --surface-glass: rgba(10, 21, 37, 0.65); /* New glass layer */
  --accent: #00d4ff; --accent-dim: #0099bb;
  --accent-glow: rgba(0,212,255,0.18); --accent-glow-strong: rgba(0,212,255,0.35);
  --amber: #f5a623; --amber-dim: #c4841b;
  --red: #ff2d55; --green-ok: #30d158;
  --text-primary: #e8edf2; --text-secondary: #8fa3b8; --text-muted: #3d5a70; --text-code: #00d4ff;
  --border: #1a3045; --border-subtle: #0d1f30;
  --border-glass: rgba(26, 48, 69, 0.5); /* Semi-transparent border */
  --font-display: 'Chivo Mono','Neue Machina',monospace;
  --font-body: 'DM Sans',sans-serif;
  --font-mono: 'JetBrains Mono','Fira Code',monospace;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-glass);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0,212,255,0.18);
  --glow-accent: 0 0 20px rgba(0,212,255,0.3);
  --section-gap: clamp(4rem, 8vw, 6rem); /* Responsive gap */
  --card-pad: clamp(1.25rem, 4vw, 1.75rem); /* Responsive padding */
  --radius: 8px; --radius-lg: 16px; --radius-xl: 24px; /* Slightly softer corners */
  --ease: cubic-bezier(0.4,0,0.2,1); --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --t-fast: 150ms; --t-base: 250ms; --t-slow: 400ms;
}

/* ── Reset & Base ────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg-base); color: var(--text-primary); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent); color: var(--bg-base); }
img,video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: #33dfff; }
ul,ol { list-style: none; }

/* ── Skip Link ───────────────────────────────── */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--accent); color: var(--bg-base); padding: 0.5rem 1rem; border-radius: var(--radius); z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }
html { scrollbar-width: thin; scrollbar-color: var(--surface-3) var(--bg-base); }

/* ── Container System ────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem); }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem); }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem); }

/* ── Sections ────────────────────────────────── */
.section { padding: var(--section-gap) 0; position: relative; }
.section-header { margin-bottom: 3rem; }
.section-label { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; }
.section-label::before { content: '//'; opacity: 0.5; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; color: var(--text-primary); }

/* ── Navbar ──────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: clamp(0.75rem, 2vw, 1.25rem) 0; transition: all var(--t-base) var(--ease); }
.navbar.scrolled { background: var(--surface-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-subtle); padding: 0.6rem 0; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 1.5rem); }
.navbar-brand { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; }
.navbar-brand .status-dot { width: 8px; height: 8px; background: var(--green-ok); border-radius: 50%; animation: pulse-dot 2s ease infinite; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; padding: 0.25rem 0; position: relative; transition: color var(--t-fast) var(--ease); }
.nav-link:hover,.nav-link.active { color: var(--accent); }
.nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; }
.nav-cta { font-family: var(--font-mono); font-size: 0.75rem; padding: 0.4rem 1rem; border: 1px solid var(--accent); color: var(--accent); border-radius: var(--radius); text-transform: uppercase; letter-spacing: 1px; transition: all var(--t-fast) var(--ease); }
.nav-cta:hover { background: var(--accent); color: var(--bg-base); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all var(--t-base) var(--ease); border-radius: 1px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; background: rgba(4,8,16,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transform: translateX(100%); transition: transform var(--t-slow) var(--ease-spring); z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; padding: 2rem; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-link { font-size: 1.5rem; letter-spacing: 4px; font-weight: 600; }
#reading-progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--accent); transition: width 100ms linear; width: 0; z-index: 1001; }

/* ── Hero ────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding-top: 6rem; padding-bottom: 2rem; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100%; height: 100%; }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px,rgba(0,212,255,0.06) 1px,transparent 0); background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%,black 30%,transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%,black 30%,transparent 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding-top: 2rem; padding-bottom: 2rem; margin: auto; width: 100%; }
.status-chip { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(48,209,88,0.1); border: 1px solid rgba(48,209,88,0.25); border-radius: 999px; padding: 0.35rem 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--green-ok); margin-bottom: 1.5rem; }
.status-chip .dot { width: 6px; height: 6px; background: var(--green-ok); border-radius: 50%; animation: pulse-dot 2s ease infinite; }
.hero-eyebrow { font-family: var(--font-mono); font-size: clamp(0.7rem,1.2vw,0.85rem); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 4px; margin-bottom: clamp(0.5rem, 2vw, 1rem); }
.hero-name { font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: clamp(0.5rem, 2vw, 1rem); background: linear-gradient(135deg,#e8edf2 30%,#00d4ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-typed { font-family: var(--font-mono); font-size: clamp(0.9rem, 4vw, 1.4rem); color: var(--text-secondary); margin-bottom: clamp(1rem, 3vw, 1.5rem); }
.hero-typed .comment { color: var(--text-muted); }
.typed-cursor { animation: blink-cursor 0.8s step-end infinite; color: var(--accent); }
.hero-desc { font-size: clamp(0.95rem, 3vw, 1.1rem); color: var(--text-secondary); max-width: 540px; margin-bottom: clamp(1.5rem, 4vw, 2rem); line-height: 1.8; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 4vw, 2rem); }
.hero-social { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-social a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; transition: color var(--t-fast) var(--ease); }
.hero-social a:hover { color: var(--accent); }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; animation: bounce 2s ease infinite; color: var(--text-muted); font-size: 1.5rem; }

/* ── Stats Bar ───────────────────────────────── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 3rem; }
.stat-item { background: var(--surface-1); padding: 1.5rem; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: var(--accent); }
.stat-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 2px; margin-top: 0.25rem; }

/* ── Buttons ─────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; padding: 0.75rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all var(--t-base) var(--ease); text-decoration: none; position: relative; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--bg-base); border-color: var(--accent); }
.btn-primary:hover { background: #33dfff; box-shadow: var(--glow-accent); color: var(--bg-base); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.7rem; }
.btn-lg { padding: 1rem 2rem; font-size: 0.9rem; }
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading::after { content: ''; width: 14px; height: 14px; border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%; animation: spin 0.6s linear infinite; }
.btn-magnetic { will-change: transform; }
/* ── Cards ───────────────────────────────────── */
.card { background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: var(--card-pad); transition: all var(--t-base) var(--ease); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); }
.card-hover:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-hover); border-color: rgba(0,212,255,0.25); background: rgba(10, 21, 37, 0.8); }
.card-glow:hover { box-shadow: var(--shadow-hover),var(--glow-accent); }
.card-bordered { border: 1px solid var(--border-glass); }

/* ── Terminal Card ───────────────────────────── */
.terminal-window { background: var(--surface-glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 0.75rem 1rem; background: rgba(7, 13, 22, 0.8); border-bottom: 1px solid var(--border-glass); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-left: 0.5rem; }
.terminal-body { padding: 1.25rem; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.8; color: var(--text-secondary); }
.terminal-body .prompt { color: var(--accent); }
.terminal-body .comment { color: var(--text-muted); }
.terminal-body .value { color: var(--text-primary); }
.terminal-body .ok { color: var(--green-ok); }
.terminal-body .warn { color: var(--amber); }

/* ── Text Utilities ──────────────────────────── */
.text-gradient { background: linear-gradient(135deg,#e8edf2 30%,#00d4ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-secondary); }
.text-mono { font-family: var(--font-mono); }

/* ── Skill Tags ──────────────────────────────── */
.skill-tag { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.7rem; padding: 0.3rem 0.65rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-secondary); transition: all var(--t-fast) var(--ease); }
.skill-tag:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 12px rgba(0,212,255,0.15); }
.skill-tag-star::before { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 6px var(--accent); }
.skill-category { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); position: relative; overflow: hidden; transition: all var(--t-base) var(--ease); }
.skill-category::before { content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); transition: width var(--t-slow) var(--ease); }
.skill-category:hover::before { width: 100%; }
.skill-category:hover { border-color: rgba(0,212,255,0.15); }
.skill-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.skill-name { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }

/* ── Proficiency Bars ────────────────────────── */
.prof-item { margin-bottom: 1.25rem; }
.prof-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.prof-label { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-primary); }
.prof-value { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.prof-bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.prof-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg,var(--accent),#0077b6); border-radius: 3px; transition: width 1.2s var(--ease); }

/* ── Timeline ────────────────────────────────── */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg,transparent,var(--accent-dim),var(--accent),var(--accent-dim),transparent); transform: translateX(-50%); }
.timeline-item { position: relative; width: 50%; padding: 0 3rem 3rem; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 3rem; padding-left: 0; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 3rem; padding-right: 0; }
.timeline-dot { position: absolute; top: 0; width: 14px; height: 14px; background: var(--bg-base); border: 2px solid var(--accent); border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(odd) .timeline-dot { right: -7px; }
.timeline-item:nth-child(even) .timeline-dot { left: -7px; }
.timeline-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); text-align: left; transition: all var(--t-base) var(--ease); }
.timeline-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.timeline-company { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.timeline-role { font-size: 0.95rem; color: var(--accent); margin-bottom: 0.5rem; }
.timeline-period { font-family: var(--font-mono); font-size: 0.7rem; background: var(--surface-2); display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--radius); color: var(--text-secondary); margin-bottom: 0.75rem; }
.timeline-highlights { margin-bottom: 1rem; }
.timeline-highlights li { position: relative; padding-left: 1rem; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.35rem; }
.timeline-highlights li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Bento Grid ──────────────────────────────── */
.bento-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto; gap: 1.25rem; }
.bento-featured { grid-column: span 2; grid-row: span 2; }

/* ── Project Card ────────────────────────────── */
.project-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0; position: relative; overflow: hidden; transition: all var(--t-base) var(--ease); display: flex; flex-direction: column; }
.project-card::before { content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg); padding: 1px; background: linear-gradient(135deg,transparent,var(--accent),transparent,var(--amber),transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t-base) var(--ease); z-index: 2; pointer-events: none; }
.project-card:hover::before { opacity: 1; animation: rotate-gradient 3s linear infinite; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.project-image { width: 100%; height: 200px; overflow: hidden; border-bottom: 1px solid var(--border); position: relative; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base) var(--ease); filter: brightness(0.85); }
.project-card:hover .project-image img { transform: scale(1.05); filter: brightness(1); }
.project-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, var(--surface-1)); pointer-events: none; }
.project-card-content { padding: var(--card-pad); display: flex; flex-direction: column; flex-grow: 1; position: relative; z-index: 1; }
.bento-featured .project-image { height: 350px; }
.project-type { font-family: var(--font-mono); font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.project-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: auto; }
.project-links { display: flex; gap: 0.75rem; margin-top: 0; }
.featured-badge { position: absolute; top: 1rem; right: 1rem; font-family: var(--font-mono); font-size: 0.6rem; background: var(--accent-glow); border: 1px solid var(--accent); color: var(--accent); padding: 0.2rem 0.6rem; border-radius: var(--radius); text-transform: uppercase; letter-spacing: 1px; z-index: 5; backdrop-filter: blur(4px); }

/* ── Write-up Card ───────────────────────────── */
.writeup-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); transition: all var(--t-base) var(--ease); }
.writeup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.writeup-header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.difficulty-badge { font-family: var(--font-mono); font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: var(--radius); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.difficulty-easy { background: rgba(48,209,88,0.12); color: var(--green-ok); border: 1px solid rgba(48,209,88,0.3); }
.difficulty-medium { background: rgba(245,166,35,0.12); color: var(--amber); border: 1px solid rgba(245,166,35,0.3); }
.difficulty-hard { background: rgba(255,45,85,0.12); color: var(--red); border: 1px solid rgba(255,45,85,0.3); }
.platform-badge { font-family: var(--font-mono); font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: var(--radius); background: var(--surface-2); color: var(--text-secondary); }
.writeup-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.writeup-desc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 0.75rem; line-height: 1.5; }
.writeups-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.writeups-scroll { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.writeups-scroll .writeup-card { min-width: 300px; scroll-snap-align: start; flex-shrink: 0; }
/* ── Blog Card ───────────────────────────────── */
.blog-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); transition: all var(--t-base) var(--ease); position: relative; overflow: hidden; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.blog-card:hover::before { width: 100%; }
.blog-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--t-slow) var(--ease); }
.blog-card-category { font-family: var(--font-mono); font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.blog-card-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-excerpt { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.75rem; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.blog-featured { grid-column: 1 / -1; padding: clamp(1.5rem, 5vw, 2.5rem); }
.blog-featured .blog-card-title { font-size: clamp(1.2rem, 4vw, 1.6rem); -webkit-line-clamp: unset; line-clamp: unset; }

/* ── Cert Card ───────────────────────────────── */
.cert-scroll { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.cert-card { min-width: 280px; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); scroll-snap-align: start; flex-shrink: 0; transition: all var(--t-base) var(--ease); }
.cert-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-4px); }
.cert-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.cert-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.cert-issuer { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.cert-year { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.cert-status { font-family: var(--font-mono); font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: var(--radius); display: inline-block; }
.cert-status.active { background: rgba(48,209,88,0.12); color: var(--green-ok); }
.cert-status.progress { background: rgba(245,166,35,0.12); color: var(--amber); }
.cert-status.planned { background: var(--surface-2); color: var(--text-muted); }

/* ── CTA Band ────────────────────────────────── */
.cta-band { padding: 5rem 0; position: relative; overflow: hidden; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%,rgba(0,212,255,0.12),transparent 50%), radial-gradient(ellipse at 80% 50%,rgba(245,166,35,0.08),transparent 50%), radial-gradient(ellipse at 50% 80%,rgba(0,119,182,0.1),transparent 50%); background-size: 200% 200%; animation: mesh-shift 12s ease infinite; }
.cta-band-content { position: relative; z-index: 1; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: 0.75rem; }
.cta-band p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band .btn { margin: 0 0.5rem; }

/* ── Post Layout (Single) ────────────────────── */
.post-layout { display: grid; grid-template-columns: 1fr 240px; gap: 3rem; max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.post-content { min-width: 0; }
.post-header { margin-bottom: 2.5rem; padding-top: 5rem; }
.post-back { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; }
.post-back:hover { color: var(--accent); }
.post-title { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Post Body Typography ────────────────────── */
.post-body h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border-subtle); }
.post-body h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.post-body h4 { font-family: var(--font-display); font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.post-body p { margin-bottom: 1.25rem; line-height: 1.8; color: var(--text-secondary); }
.post-body ul,.post-body ol { margin-bottom: 1.25rem; padding-left: 0; }
.post-body ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.4rem; color: var(--text-secondary); }
.post-body ul li::before { content: '›'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.post-body ol { counter-reset: ol-counter; }
.post-body ol li { position: relative; padding-left: 1.75rem; margin-bottom: 0.4rem; color: var(--text-secondary); counter-increment: ol-counter; }
.post-body ol li::before { content: counter(ol-counter); position: absolute; left: 0; font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); font-weight: 700; }
.post-body blockquote { border-left: 3px solid var(--accent); background: var(--surface-1); padding: 1rem 1.5rem; margin: 1.5rem 0; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text-secondary); }
.post-body code { font-family: var(--font-mono); font-size: 0.85em; background: rgba(0,212,255,0.08); color: var(--text-code); padding: 0.15em 0.4em; border-radius: 3px; }
.post-body pre { margin-bottom: 1.5rem; }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9rem; }
.post-body th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; background: var(--surface-2); color: var(--text-primary); padding: 0.75rem 1rem; text-align: left; border-bottom: 2px solid var(--accent-dim); }
.post-body td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.post-body img { border-radius: var(--radius-lg); border: 1px solid var(--border); margin: 1.5rem 0; }
.post-body .drop-cap::first-letter { font-size: 3.5em; float: left; line-height: 0.8; margin-right: 0.1em; margin-top: 0.05em; font-family: var(--font-display); color: var(--accent); font-weight: 700; }

/* ── TOC Sidebar ─────────────────────────────── */
.toc-sidebar { position: sticky; top: 6rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
.toc-title { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 1rem; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 0.4rem; }
.toc-link { font-size: 0.8rem; color: var(--text-muted); transition: all var(--t-fast) var(--ease); padding-left: 0.75rem; border-left: 2px solid transparent; display: block; }
.toc-link:hover,.toc-link.active { color: var(--accent); border-left-color: var(--accent); }
.toc-link.depth-3 { padding-left: 1.5rem; font-size: 0.75rem; }

/* ── Code Block ──────────────────────────────── */
.code-block { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; position: relative; }
.code-block-header { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem; background: var(--bg-raised); border-bottom: 1px solid var(--border); }
.code-block-lang { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.code-block-copy { font-family: var(--font-mono); font-size: 0.65rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-secondary); padding: 0.2rem 0.6rem; border-radius: var(--radius); cursor: pointer; transition: all var(--t-fast) var(--ease); }
.code-block-copy:hover { border-color: var(--accent); color: var(--accent); }
.code-block pre { margin: 0; padding: 1.25rem; overflow-x: auto; }
.code-block code { font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7; }

/* ── Phase Header (Writeups) ─────────────────── */
.phase-header { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); text-transform: uppercase; letter-spacing: 3px; margin: 3rem 0 1.5rem; text-align: center; }
.phase-header::before,.phase-header::after { content: ' ══════ '; opacity: 0.4; }

/* ── Flag Box ────────────────────────────────── */
.flag-box { background: rgba(48,209,88,0.06); border: 1px solid rgba(48,209,88,0.2); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin: 1.5rem 0; font-family: var(--font-mono); font-size: 0.85rem; }
.flag-box .flag-icon { margin-right: 0.5rem; }
.flag-box .flag-value { color: var(--green-ok); font-weight: 600; }

/* ── Finding Box ─────────────────────────────── */
.finding-box { background: rgba(0,212,255,0.05); border-left: 3px solid var(--accent); padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.finding-box strong { color: var(--accent); }

/* ── Filter Tabs ─────────────────────────────── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn { font-family: var(--font-mono); font-size: 0.7rem; padding: 0.4rem 1rem; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-secondary); cursor: pointer; transition: all var(--t-fast) var(--ease); text-transform: uppercase; letter-spacing: 1px; }
.filter-btn:hover,.filter-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ── Avatar Frame ────────────────────────────── */
.avatar-frame { width: 200px; height: 200px; border-radius: var(--radius-xl); border: 2px solid var(--border); position: relative; overflow: hidden; background: var(--surface-1); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.avatar-frame::before { content: ''; position: absolute; top: -2px; left: -2px; width: 40px; height: 40px; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); border-radius: var(--radius-xl) 0 0 0; }
.avatar-frame::after { content: ''; position: absolute; bottom: -2px; right: -2px; width: 40px; height: 40px; border-bottom: 3px solid var(--accent); border-right: 3px solid var(--accent); border-radius: 0 0 var(--radius-xl) 0; }

/* ── Meta Card ───────────────────────────────── */
.meta-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); }
.meta-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.85rem; }
.meta-row:last-child { border-bottom: none; }
.meta-key { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.meta-value { color: var(--text-primary); }
/* ── Contact Form ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 2rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 0.75rem; transition: all var(--t-fast) var(--ease); }
.contact-method:hover { border-color: var(--accent); }
.contact-method-icon { font-size: 1.3rem; }
.contact-method-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }
.contact-method-value { font-size: 0.85rem; color: var(--text-primary); }
.form-group { margin-bottom: 1.25rem; }
.form-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); display: block; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 1px; }
.form-input,.form-select,.form-textarea { width: 100%; font-family: var(--font-body); font-size: 0.9rem; padding: 0.75rem 1rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); transition: border-color var(--t-fast) var(--ease); outline: none; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input.error,.form-textarea.error { border-color: var(--red); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238fa3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.field-error { font-family: var(--font-mono); font-size: 0.7rem; color: var(--red); margin-top: 0.3rem; min-height: 1rem; }
.form-submit { width: 100%; padding: 0.85rem; }
.form-status { font-family: var(--font-mono); font-size: 0.8rem; text-align: center; margin-top: 1rem; min-height: 1.5rem; }
.form-status.success { color: var(--green-ok); }
.form-status.error { color: var(--red); }

/* ── Uses List ───────────────────────────────── */
.uses-section { margin-bottom: 3rem; }
.uses-section h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.uses-item { padding: 0.75rem 0; border-bottom: 1px solid var(--border-subtle); }
.uses-item:last-child { border-bottom: none; }
.uses-item dt { font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.uses-item dd { color: var(--text-secondary); font-size: 0.9rem; }
.uses-item a { color: var(--accent); }

/* ── About Page ──────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.about-sidebar { position: sticky; top: 6rem; }
.about-content h2 { font-family: var(--font-display); font-size: 1.3rem; margin: 2.5rem 0 1rem; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.service-card { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; transition: all var(--t-base) var(--ease); }
.service-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-2px); }
.service-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.service-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.35rem; }
.service-desc { font-size: 0.8rem; color: var(--text-secondary); }
.approach-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.approach-icon { font-size: 1.5rem; flex-shrink: 0; }
.approach-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.approach-text { font-size: 0.85rem; color: var(--text-secondary); }
.opportunity-box { background: var(--accent-glow); border: 1px solid rgba(0,212,255,0.2); border-radius: var(--radius-lg); padding: var(--card-pad); margin-top: 2rem; }

/* ── About Strip ─────────────────────────────── */
.about-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ── Now Page ────────────────────────────────── */
.now-section { margin-bottom: 2.5rem; }
.now-section h2 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.now-item { padding: 0.4rem 0; color: var(--text-secondary); font-size: 0.9rem; }
.now-update { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2rem; }

/* ── Writeup Single Sidebar ──────────────────── */
.writeup-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
.writeup-sidebar { position: sticky; top: 6rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
.machine-info { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--card-pad); margin-bottom: 1.5rem; }
.machine-info h3 { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.machine-info h3::before { content: '●'; font-size: 0.5rem; }

/* ── Footer ──────────────────────────────────── */
.footer-divider { height: 1px; background: linear-gradient(90deg,transparent,var(--accent),transparent); margin-bottom: 0; }
.footer { background: var(--bg-raised); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-desc { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.footer-status { font-family: var(--font-mono); font-size: 0.75rem; color: var(--green-ok); display: flex; align-items: center; gap: 0.4rem; }
.footer h4 { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; transition: color var(--t-fast) var(--ease); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }

/* ── Scroll Reveal ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Keyframes ───────────────────────────────── */
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes blink-cursor { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-8px); } 60% { transform: translateX(-50%) translateY(-4px); } }
@keyframes mesh-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes rotate-gradient { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }

/* ── Game Modal ──────────────────────────────── */
.game-modal { position: fixed; inset: 0; background: rgba(4,8,16,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.game-modal.open { opacity: 1; pointer-events: auto; }
.game-container { width: 90%; max-width: 700px; background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.game-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: var(--bg-raised); border-bottom: 1px solid var(--border); }
.game-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); }
.game-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; padding: 0.25rem; transition: color var(--t-fast) var(--ease); }
.game-close:hover { color: var(--red); }
.game-body { padding: 0; height: 400px; overflow: hidden; }
.game-body canvas { width: 100%; height: 100%; display: block; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1280px) { .bento-grid { grid-template-columns: repeat(2,1fr); } .bento-featured { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 1024px) { .post-layout,.writeup-layout { grid-template-columns: 1fr; } .toc-sidebar,.writeup-sidebar { display: none; } .about-grid { grid-template-columns: 1fr; } .about-strip-grid { grid-template-columns: 1fr; gap: 2rem; } .about-sidebar { position: static; display: flex; flex-direction: column; align-items: center; text-align: center; } .footer-grid { grid-template-columns: 1fr 1fr; } .timeline::before { left: 20px; } .timeline-item { width: 100%; left: 0 !important; padding-left: 3.5rem !important; padding-right: 0 !important; text-align: left !important; } .timeline-item .timeline-dot { left: 13px !important; right: auto !important; } }
@media (max-width: 768px) { .nav-links { display: none; } .nav-cta { display: none; } .hamburger { display: flex; } .stats-bar { grid-template-columns: repeat(2,1fr); } .skills-grid { grid-template-columns: repeat(2,1fr); } .bento-grid { grid-template-columns: 1fr; } .bento-featured { grid-column: span 1; } .blog-grid { grid-template-columns: 1fr; } .writeups-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-grid > div:first-child { grid-column: 1 / -1; margin-bottom: 1rem; } .service-grid { grid-template-columns: 1fr; } .hero-cta { flex-direction: column; } .hero-cta .btn { width: 100%; justify-content: center; } }
@media (max-width: 480px) { .section { padding: 3rem 0; } .skills-grid { grid-template-columns: 1fr; } .stats-bar { grid-template-columns: 1fr 1fr; } .hero-name { font-size: 2rem; } }

/* ── Print Styles ────────────────────────────── */
@media print { body { background: #fff; color: #111; } .navbar,.footer,.hero-canvas,.hero-grid,.scroll-hint,.cta-band,.game-modal { display: none !important; } .card,.terminal-window,.project-card { box-shadow: none; border: 1px solid #ccc; } a { color: #111; text-decoration: underline; } .hero-name { -webkit-text-fill-color: #111; background: none; } }

/* ── Reduced Motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } .reveal { opacity: 1; transform: none; } }

/* ── Forced Light Mode Guard ─────────────────── */
@media (prefers-color-scheme: light) { :root { --bg-base: #0a0e14; --bg-raised: #0e141c; --surface-1: #121c28; --surface-2: #162030; --surface-3: #1c2c40; } }
