/* ─── Catppuccin Mocha ─────────────────────────────────── */ :root { --base: #1e1e2e; --mantle: #181825; --crust: #11111b; --surface0: #313244; --surface1: #45475a; --surface2: #585b70; --overlay0: #6c7086; --overlay1: #7f849c; --overlay2: #9399b2; --text: #cdd6f4; --subtext0: #a6adc8; --subtext1: #bac2de; --lavender: #b4befe; --blue: #89b4fa; --sapphire: #74c7ec; --sky: #89dceb; --teal: #94e2d5; --green: #a6e3a1; --yellow: #f9e2af; --peach: #fab387; --maroon: #eba0ac; --red: #f38ba8; --mauve: #cba6f7; --pink: #f5c2e7; --flamingo: #f2cdcd; --rosewater: #f5e0dc; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { background: var(--base); color: var(--text); font-family: "JetBrains Mono", monospace; font-size: 15px; line-height: 1.7; overflow-x: hidden; } ::selection { background: var(--mauve); color: var(--crust); } /* ─── Scrollbar ────────────────────────────────────────── */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--mantle); } ::-webkit-scrollbar-thumb { background: var(--surface1); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--mauve); } /* ─── Nav ──────────────────────────────────────────────── */ nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; height: 56px; background: rgba(17, 17, 27, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--surface0); } .nav-logo { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--mauve); text-decoration: none; letter-spacing: 0.02em; } .nav-links { display: flex; gap: 2.5rem; list-style: none; } .nav-links a { color: var(--subtext0); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; position: relative; } .nav-links a::after { content: ""; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: var(--mauve); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; } .nav-links a:hover { color: var(--text); } .nav-links a:hover::after { transform: scaleX(1); } /* ─── Sections ─────────────────────────────────────────── */ section { min-height: 100vh; padding: 7rem 3rem 5rem; max-width: 1100px; margin: 0 auto; } section.full-width { max-width: none; padding-left: 0; padding-right: 0; } /* ─── Section labels ───────────────────────────────────── */ .section-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; } .section-label::after { content: ""; display: block; height: 1px; width: 3rem; background: var(--mauve); opacity: 0.5; } /* ─── Hero ─────────────────────────────────────────────── */ #hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 5rem; position: relative; } .hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--green); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.6s 0.2s forwards; } .hero-name { font-family: "Fraunces", serif; font-size: clamp(3.5rem, 9vw, 7.5rem); font-weight: 600; line-height: 1; color: var(--text); margin-bottom: 0.5rem; opacity: 0; animation: fadeUp 0.7s 0.35s forwards; } .hero-name em { font-style: italic; color: var(--mauve); } .hero-subtitle { font-family: "Fraunces", serif; font-size: clamp(1.2rem, 3vw, 2.2rem); font-weight: 300; color: var(--subtext1); margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.7s 0.5s forwards; } .hero-desc { max-width: 560px; color: var(--subtext0); font-size: 0.9rem; line-height: 1.8; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 0.7s 0.65s forwards; } .hero-by-line { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.3rem; } .hero-by { color: var(--text); font-size: 0.9rem; } .hero-by-role { font-family: "Fraunces", serif; font-style: italic; font-size: 0.85rem; color: var(--mauve); opacity: 0.8; } .hero-by-role::before { content: "— "; opacity: 0.4; } .hero-by-footer { display: block; margin-top: 1rem; color: var(--subtext0); font-size: 0.82rem; opacity: 0.75; } .hero-links { display: flex; gap: 1.25rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.7s 0.8s forwards; } .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: 4px; font-family: "JetBrains Mono", monospace; font-size: 0.78rem; letter-spacing: 0.05em; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; } .btn-primary { background: var(--mauve); color: var(--crust); } .btn-primary:hover { background: var(--lavender); transform: translateY(-2px); } .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--surface1); } .btn-ghost:hover { border-color: var(--mauve); color: var(--mauve); transform: translateY(-2px); } /* Decorative grid bg */ #hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--surface0) 1px, transparent 1px), linear-gradient(90deg, var(--surface0) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.18; mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent); pointer-events: none; } /* ─── About ────────────────────────────────────────────── */ .about-section { min-height: auto; padding-bottom: 5rem; } .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--surface0); border: 1px solid var(--surface0); border-radius: 8px; overflow: hidden; margin-top: 2.5rem; } .about-block { background: var(--mantle); padding: 1.75rem 2rem; position: relative; transition: background 0.2s; } .about-block:hover { background: var(--surface0); } .about-block--wide { grid-column: 1 / -1; border-top: 1px solid var(--surface0); } .about-block-tag { display: inline-block; margin-bottom: 0.85rem; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; } .about-block p { color: var(--subtext0); font-size: 0.85rem; line-height: 1.85; } .about-block p strong { color: var(--text); font-weight: 700; } .about-block p em { color: var(--mauve); font-style: italic; } .about-block p s { color: var(--overlay1); } .version-timeline { display: flex; flex-direction: column; gap: 0; position: relative; } .version-timeline::before { content: ""; position: absolute; left: 0.65rem; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--surface1); } .version-item { display: flex; gap: 1.25rem; padding: 1rem 0; position: relative; } .v-dot { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--surface0); border: 2px solid var(--surface1); flex-shrink: 0; margin-top: 0.15rem; transition: border-color 0.2s, background 0.2s; position: relative; z-index: 1; } .version-item:hover .v-dot { border-color: var(--mauve); background: var(--mauve); } .v-title { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; } .v-year { font-size: 0.7rem; color: var(--mauve); margin-bottom: 0.3rem; letter-spacing: 0.05em; } .v-desc { font-size: 0.8rem; color: var(--subtext0); line-height: 1.6; } /* ─── Skills ───────────────────────────────────────────── */ #skills h2 { font-family: "Fraunces", serif; font-size: 2.8rem; font-weight: 600; color: var(--text); margin-bottom: 3rem; } #skills h2 em { font-style: italic; color: var(--mauve); } .skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--surface0); border: 1px solid var(--surface0); border-radius: 8px; overflow: hidden; } .skill-card { background: var(--mantle); padding: 2rem; transition: background 0.2s; } .skill-card:hover { background: var(--surface0); } .skill-card-icon { font-size: 1.5rem; margin-bottom: 1rem; display: block; } .skill-card h3 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; letter-spacing: 0.05em; text-transform: uppercase; } .skill-card p { font-size: 0.82rem; color: var(--subtext0); line-height: 1.7; } .tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; } .tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 3px; font-size: 0.7rem; letter-spacing: 0.04em; font-weight: 700; } .tag-blue { background: rgba(137, 180, 250, 0.12); color: var(--blue); } .tag-green { background: rgba(166, 227, 161, 0.12); color: var(--green); } .tag-peach { background: rgba(250, 179, 135, 0.12); color: var(--peach); } .tag-teal { background: rgba(148, 226, 213, 0.12); color: var(--teal); } .tag-mauve { background: rgba(203, 166, 247, 0.12); color: var(--mauve); } .tag-yellow { background: rgba(249, 226, 175, 0.12); color: var(--yellow); } .tag-sky { background: rgba(137, 220, 235, 0.12); color: var(--sky); } /* ─── Tutorials / Projects shared ─────────────────────── */ .section-heading { font-family: "Fraunces", serif; font-size: 2.8rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; } .section-heading em { font-style: italic; color: var(--mauve); } .section-intro { color: var(--subtext0); font-size: 0.88rem; max-width: 560px; line-height: 1.8; margin-bottom: 3rem; } /* ─── Card grid ────────────────────────────────────────── */ .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--surface0); border: 1px solid var(--surface0); border-radius: 8px; overflow: hidden; } .card { background: var(--mantle); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: inherit; transition: background 0.2s; position: relative; overflow: hidden; } .card::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--mauve); transform: scaleY(0); transform-origin: bottom; transition: transform 0.25s; } .card:hover { background: var(--surface0); } .card:hover::before { transform: scaleY(1); } .card-date { font-size: 0.68rem; color: var(--overlay1); letter-spacing: 0.06em; } .card-title { font-size: 0.92rem; font-weight: 700; color: var(--text); transition: color 0.2s; } .card:hover .card-title { color: var(--mauve); } .card-desc { font-size: 0.8rem; color: var(--subtext0); line-height: 1.6; flex: 1; } .card-arrow { font-size: 0.8rem; color: var(--overlay0); transition: color 0.2s, transform 0.2s; align-self: flex-end; margin-top: 0.5rem; } .card:hover .card-arrow { color: var(--mauve); transform: translateX(3px); } /* ─── Contact ──────────────────────────────────────────── */ #contact { min-height: auto; padding-bottom: 8rem; } .contact-inner { border: 1px solid var(--surface0); border-radius: 8px; padding: 3.5rem; background: var(--mantle); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } .contact-inner h2 { font-family: "Fraunces", serif; font-size: 2.4rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; } .contact-inner h2 em { font-style: italic; color: var(--mauve); } .contact-inner p { color: var(--subtext0); font-size: 0.88rem; line-height: 1.8; margin-bottom: 1.5rem; } .contact-links { display: flex; flex-direction: column; gap: 0.75rem; } .contact-link { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--surface0); border-radius: 6px; text-decoration: none; color: var(--text); background: var(--base); transition: all 0.2s; font-size: 0.85rem; } .contact-link:hover { border-color: var(--mauve); color: var(--mauve); transform: translateX(4px); } .contact-link-icon { font-size: 1.1rem; width: 1.5rem; text-align: center; } .contact-link-label { flex: 1; } .contact-link-handle { font-size: 0.72rem; color: var(--overlay1); } /* ─── Footer ───────────────────────────────────────────── */ footer { border-top: 1px solid var(--surface0); padding: 1.5rem 3rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--overlay0); } footer a { color: var(--overlay1); text-decoration: none; } footer a:hover { color: var(--mauve); } /* ─── Animations ───────────────────────────────────────── */ @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; } .reveal.visible { opacity: 1; transform: none; } /* ─── Divider ──────────────────────────────────────────── */ .divider { height: 1px; background: var(--surface0); max-width: 1100px; margin: 0 auto; } /* ─── Responsive ───────────────────────────────────────── */ @media (max-width: 768px) { nav { padding: 0 1.5rem; } .nav-links { gap: 1.2rem; } section { padding: 6rem 1.5rem 4rem; } .about-grid { grid-template-columns: 1fr; } .about-block--wide { grid-column: 1; } .contact-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; } .hero-name { font-size: clamp(2.8rem, 12vw, 5rem); } footer { flex-direction: column; gap: 0.5rem; text-align: center; } }