@tailwind base; @tailwind components; @tailwind utilities; /* ── DESIGN TOKENS ── */ :root { --font-geist-sans: 'Geist', system-ui, sans-serif; --font-geist-mono: 'Geist Mono', monospace; --bg: #070707; --s1: #0f0f0f; --s2: #161616; --s3: #1e1e1e; --s4: #262626; --border: rgba(255,255,255,0.07); --border-h: rgba(255,255,255,0.14); --text: #f0f0f0; --muted: #888; --faint: #3d3d3d; --tr: 180ms cubic-bezier(.16,1,.3,1); --tr-slow: 320ms cubic-bezier(.16,1,.3,1); } /* ── BASE ── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; scroll-padding-top: 72px; } body { background: var(--bg); color: var(--text); font-family: var(--font-geist-sans); font-size: 1rem; line-height: 1.65; overflow-x: hidden; min-height: 100dvh; } ::selection { background: rgba(255,255,255,0.12); color: #fff; } :focus-visible { outline: 1.5px solid rgba(255,255,255,0.5); outline-offset: 3px; border-radius: 4px; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } } /* ── GLASS CARD ── */ .glass { background: rgba(255,255,255,0.025); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border: 1px solid var(--border); box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 8px 32px rgba(0,0,0,0.5), 0 32px 80px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06); border-radius: 16px; } .glass:hover { border-color: var(--border-h); box-shadow: 0 0 0 1px rgba(0,0,0,0.6), 0 12px 40px rgba(0,0,0,0.55), 0 40px 100px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08); } /* ── NOISE TEXTURE (hero) ── */ .noise { position: relative; isolation: isolate; } .noise::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; pointer-events: none; z-index: 0; opacity: .6; } /* ── DOT GRID BG ── */ .dot-grid { background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 32px 32px; } /* ── SECTION LABELS ── */ .label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; } .label::before { content: ''; display: block; width: 18px; height: 1px; background: rgba(255,255,255,0.3); } /* ── SKELETON ── */ @keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} } .skel { background: linear-gradient(90deg,var(--s2) 25%,var(--s3) 50%,var(--s2) 75%); background-size: 200% 100%; animation: shimmer 1.8s ease-in-out infinite; border-radius: 6px; } /* ── SCROLL REVEALS ── */ .reveal { opacity: 1; } @supports (animation-timeline: scroll()) { .reveal { opacity: 0; animation: fade-in linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; } @keyframes fade-in { to { opacity: 1; } } } /* ── BUTTONS ── */ .btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 10px; cursor: pointer; transition: all var(--tr); border: 1px solid transparent; } .btn:hover { transform: translateY(-1px); } .btn:active { transform: translateY(0); } .btn-primary { background: rgba(255,255,255,0.95); color: #000; border-color: rgba(255,255,255,0.2); box-shadow: 0 4px 20px rgba(255,255,255,0.08); } .btn-primary:hover { background: #fff; box-shadow: 0 6px 28px rgba(255,255,255,0.14); } .btn-ghost { background: rgba(255,255,255,0.04); color: var(--muted); border-color: var(--border); } .btn-ghost:hover { background: rgba(255,255,255,0.07); color: var(--text); border-color: var(--border-h); } /* ── CALENDAR CELLS ── */ .cal-cell { rx: 3px; transition: opacity 0.12s; } .cal-cell:hover { opacity: .75; cursor: default; } /* ── COMMIT TIMELINE ── */ .commit-line { position: relative; } .commit-line::before { content: ''; position: absolute; left: 4px; top: 20px; bottom: -8px; width: 1px; background: var(--faint); } .commit-line:last-child::before { display: none; } .prose { --tw-prose-body: rgba(226, 232, 240, 0.88); /* text-slate-200 */ --tw-prose-headings: #e5e7eb; /* text-slate-200 */ --tw-prose-links: #e5e7eb; --tw-prose-links-hover: #ffffff; --tw-prose-quotes: #e5e7eb; --tw-prose-bold: #e5e7eb; --tw-prose-bullets: rgba(148, 163, 184, 0.7); --tw-prose-hr: rgba(148, 163, 184, 0.25); --tw-prose-th-borders: rgba(148, 163, 184, 0.4); --tw-prose-td-borders: rgba(148, 163, 184, 0.2); } .prose.prose-invert { color: var(--tw-prose-body); } .prose.prose-invert h1, .prose.prose-invert h2, .prose.prose-invert h3, .prose.prose-invert h4 { letter-spacing: -0.02em; } .prose.prose-invert a { text-decoration: none; border-bottom: 1px dotted rgba(148, 163, 184, 0.6); } .prose.prose-invert a:hover { border-bottom-style: solid; border-bottom-color: rgba(248, 250, 252, 0.9); } .prose.prose-invert code { font-size: 0.8rem; background: rgba(15, 23, 42, 0.9); border-radius: 0.35rem; padding: 0.1rem 0.3rem; } .prose.prose-invert pre { background: radial-gradient(circle at top left, #020617, #020617); border-radius: 0.75rem; border: 1px solid rgba(148, 163, 184, 0.25); padding: 0.9rem 1rem; } .prose.prose-invert pre code { background: transparent; padding: 0; } .prose.prose-invert ul, .prose.prose-invert ol { margin-top: 0.75rem; margin-bottom: 0.75rem; }