/* =============== GOOGLE FONTS =============== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* =============== DESIGN TOKENS (shared with the ZENOEX brand system) =============== */

:root {
    --background: #0f1117;
    --surface: #161b22;
    --surface-elevated: #1c2128;
    --foreground: #e6edf3;
    --muted: #7d8590;
    --border: #21262d;

    --primary: #6c2bff;
    --primary-hover: #5a20e0;
    --primary-dim: rgba(108, 43, 255, .15);
    --secondary: #8a63ff;
    --accent: #9f7aea;

    --success: #3fb950;
    --warning: #d29922;

    --gradient-primary: linear-gradient(135deg, #8a63ff 0%, #6c2bff 50%, #9f7aea 100%);
    --gradient-white: linear-gradient(135deg, #e6edf3 0%, #8a63ff 100%);

    --radius-sm: .8rem;
    --radius-md: 1.2rem;
    --radius-lg: 1.6rem;
    --radius-xl: 2rem;
    --radius-pill: 999px;

    --ease: cubic-bezier(.16, 1, .3, 1);
}

/* =============== RESET =============== */

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

svg {
    display: block;
}

::selection {
    background-color: rgba(108, 43, 255, .35);
    color: var(--foreground);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

/* =============== SHARED UTILITIES =============== */

main {
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 6rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(108, 43, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 43, 255, .05) 1px, transparent 1px);
    background-size: 6.4rem 6.4rem;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 90%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 40%, transparent 90%);
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--secondary);
}

.tagline .dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(138, 99, 255, .6);
    animation: pulse-glow 2.4s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(138, 99, 255, .5); }
    70% { box-shadow: 0 0 0 8px rgba(138, 99, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(138, 99, 255, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* =============== PAGE HERO (about / projects / contact intro) =============== */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    text-align: center;
}

.page-hero .glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60rem;
    height: 30rem;
    opacity: .18;
    background: radial-gradient(ellipse, var(--primary) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.page-hero h1 {
    font-size: 4.4rem;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.7rem;
    max-width: 56rem;
    line-height: 1.7;
}

.error-code {
    font-size: 9rem;
    line-height: 1;
}

/* =============== BUTTONS =============== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    height: 4.8rem;
    padding: 0 2.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: solid 1px transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 43, 255, .25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 32px rgba(108, 43, 255, .4);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--foreground);
}

.btn-secondary:hover {
    border-color: rgba(108, 43, 255, .4);
    background: var(--surface-elevated);
}

/* =============== HEADER / NAV =============== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.6rem 0;
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}

header.scrolled {
    background: rgba(22, 27, 34, .82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(33, 38, 45, .6);
    padding: 1.2rem 0;
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6);
}

.header-inner {
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.9rem;
    font-weight: 700;
    transition: color .3s var(--ease);
}

.logo p span {
    color: var(--secondary);
}

.logo:hover p {
    color: var(--secondary);
}

.logo:hover p span {
    color: var(--foreground);
}

.org-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--surface);
    border: solid 1px var(--border);
    border-radius: var(--radius-pill);
    padding: .6rem 1.4rem .6rem 1rem;
    transition: border-color .3s var(--ease), color .3s var(--ease);
}

.org-badge:hover {
    border-color: rgba(108, 43, 255, .4);
    color: var(--foreground);
}

.org-badge .org-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 3.6rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    position: relative;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--muted);
    padding: .6rem 0;
    transition: color .2s var(--ease);
}

.nav-links a:hover {
    color: var(--foreground);
}

.nav-links a.active {
    color: var(--foreground);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.2rem;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--primary);
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--muted);
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.social-link:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.text-for-a {
    font-size: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    width: 4rem;
    height: 4rem;
    background: var(--surface);
    border: solid 1px var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle span {
    width: 1.8rem;
    height: 2px;
    background: var(--foreground);
    border-radius: var(--radius-pill);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============== HOME PAGE / HERO =============== */

#home {
    position: relative;
    min-height: calc(100vh - 8rem);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 6rem;
    padding: 6rem 0;
}

.hero-content h1 {
    font-size: 5.4rem;
    margin: 1.6rem 0 1rem;
}

.role {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--muted);
}

.phrases {
    font-family: 'JetBrains Mono', monospace;
    color: var(--secondary);
    font-weight: 600;
}

.lead {
    font-size: 1.7rem;
    color: var(--muted);
    max-width: 50rem;
    line-height: 1.75;
    margin: 2.2rem 0 3.6rem;
}

.hero-actions {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 4.4rem;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 2.6rem;
}

.hero-contact a {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-size: 1.4rem;
    color: var(--muted);
    transition: color .2s var(--ease);
}

.hero-contact a:hover {
    color: var(--secondary);
}

.hero-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44rem;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: solid 1px rgba(108, 43, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring.ring-1 {
    width: 34rem;
    height: 34rem;
    margin: -17rem 0 0 -17rem;
    animation: orbit 22s linear infinite;
}

.orbit-ring.ring-2 {
    width: 42rem;
    height: 42rem;
    margin: -21rem 0 0 -21rem;
    border-color: rgba(138, 99, 255, .09);
    animation: orbit-reverse 28s linear infinite;
}

.orbit-ring .orbit-dot {
    position: absolute;
    top: 50%;
    right: -.4rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px 2px rgba(108, 43, 255, .6);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30rem;
    height: 30rem;
    margin: -15rem 0 0 -15rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: .3;
}

.photo-frame {
    position: relative;
    z-index: 1;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    padding: .4rem;
    background: var(--gradient-primary);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: solid 4px var(--background);
}

.floating-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--surface);
    border: solid 1px var(--border);
    border-radius: var(--radius-pill);
    padding: 1rem 1.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 20px 45px -20px rgba(0, 0, 0, .6);
    animation: float 6s ease-in-out infinite;
}

.floating-badge .dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--success);
}

.badge-top {
    top: 2%;
    left: -6%;
}

.badge-bottom {
    bottom: 4%;
    right: -8%;
    animation-delay: 1.4s;
}

/* =============== ABOUT PAGE =============== */

#me {
    background: var(--surface);
    border: solid 1px var(--border);
    border-radius: var(--radius-xl);
    padding: 5rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.me-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.me-photo {
    width: 24rem;
    height: 24rem;
    flex-shrink: 0;
    border-radius: 50%;
    padding: .4rem;
    background: var(--gradient-primary);
}

.me-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: solid 4px var(--surface);
}

.paragraphs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.paragraphs p {
    font-size: 1.7rem;
    line-height: 1.75;
    color: var(--muted);
}

.paragraphs p strong {
    color: var(--foreground);
}

.stats {
    display: flex;
    gap: 4rem;
    margin-top: .8rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.stat strong {
    font-size: 3.4rem;
    font-weight: 700;
}

.stat span {
    font-size: 1.2rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 500;
}

#skills {
    margin-bottom: 6rem;
}

#skills > h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
}

.nav-skills-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.skills-button {
    background: var(--surface);
    border: solid 1px var(--border);
    color: var(--muted);
    padding: 1.1rem 2.2rem;
    border-radius: var(--radius-pill);
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.skills-button:hover {
    border-color: rgba(108, 43, 255, .4);
    color: var(--foreground);
}

.button-active,
.button-active:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.skills-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 2rem;
}

.skill {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: var(--surface);
    border: solid 1px var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}

.skill:hover {
    border-color: rgba(108, 43, 255, .3);
    background: var(--surface-elevated);
    transform: translateY(-4px);
}

.skill-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.4rem;
    height: 4.4rem;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: #fff;
}

.skill-icon img {
    width: 2.6rem;
    height: 2.6rem;
    object-fit: contain;
}

.skill h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

/* =============== CARDS (projects + contact share the founder-card look) =============== */

.card {
    position: relative;
    background: var(--surface);
    border: solid 1px var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(ellipse at top right, rgba(108, 43, 255, .1) 0%, transparent 60%);
    transition: opacity .4s var(--ease);
    pointer-events: none;
}

.card:hover {
    border-color: rgba(108, 43, 255, .25);
    background: var(--surface-elevated);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

/* =============== PROJECT PAGE =============== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(34rem, 1fr));
    gap: 3rem;
    margin-bottom: 8rem;
}

.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.project:hover .project-image img {
    transform: scale(1.06);
}

.project-body {
    position: relative;
    z-index: 1;
    padding: 2.6rem 2.6rem 0;
}

.project-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.project-body h3 {
    font-size: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.15rem;
    font-weight: 600;
    padding: .4rem 1.1rem;
    border-radius: var(--radius-pill);
    border: solid 1px;
    white-space: nowrap;
}

.badge .badge-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
}

.badge-completed {
    color: var(--success);
    border-color: rgba(63, 185, 80, .25);
    background: rgba(63, 185, 80, .1);
}

.badge-completed .badge-dot {
    background: var(--success);
}

.badge-in-progress {
    color: var(--secondary);
    border-color: rgba(138, 99, 255, .25);
    background: rgba(138, 99, 255, .1);
}

.badge-in-progress .badge-dot {
    background: var(--secondary);
}

.project-body p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.tags span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--surface-elevated);
    border: solid 1px var(--border);
    border-radius: var(--radius-sm);
    padding: .4rem 1.1rem;
}

.project-footer {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.2rem;
    padding: 2.4rem 2.6rem;
}

.icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border: solid 1px var(--border);
    border-radius: 50%;
    color: var(--muted);
    transition: all .2s var(--ease);
}

.icon-btn:hover {
    border-color: rgba(108, 43, 255, .4);
    color: var(--secondary);
    transform: translateY(-2px);
}

.icon-btn svg {
    width: 16px;
    height: 16px;
}

/* =============== CONTACT PAGE =============== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
    max-width: 84rem;
    margin: 0 auto 8rem;
}

.contact-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.8rem;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5.4rem;
    height: 5.4rem;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--primary-dim);
    color: var(--secondary);
    border: solid 1px rgba(108, 43, 255, .2);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 0;
}

.contact-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.contact-value {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =============== FOOTER =============== */

footer {
    border-top: solid 1px var(--border);
    background: var(--surface);
    margin-top: 4rem;
}

.footer-inner {
    max-width: 128rem;
    margin: 0 auto;
    padding: 5rem 6rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-brand p {
    font-size: 1.4rem;
    color: var(--muted);
    max-width: 32rem;
    margin-top: 1.2rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 2.4rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 1.4rem;
    color: var(--muted);
    transition: color .2s var(--ease);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-socials {
    display: flex;
    gap: 1.8rem;
}

.footer-bottom {
    max-width: 128rem;
    margin: 0 auto;
    padding: 2.4rem 6rem 3.2rem;
    border-top: solid 1px var(--border);
}

.footer-bottom p {
    font-size: 1.3rem;
    color: var(--muted);
    text-align: center;
}

/* =============== RESPONSIVE =============== */

@media screen and (max-width: 1024px) {
    main, .header-inner, .footer-inner, .footer-bottom {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding: 4rem 0;
    }

    .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-contact {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        height: 34rem;
    }
}

@media screen and (max-width: 900px) {
    .org-badge span:not(.org-dot) {
        display: none;
    }

    .nav-panel {
        position: fixed;
        top: 8rem;
        left: 2rem;
        right: 2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 2.4rem;
        background: var(--surface);
        border: solid 1px var(--border);
        border-radius: var(--radius-xl);
        padding: 3rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-1rem);
        transition: all .3s var(--ease);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    }

    .nav-panel.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-socials {
        border-top: solid 1px var(--border);
        padding-top: 2.4rem;
    }

    .nav-toggle {
        display: flex;
    }

    .me-content {
        flex-direction: column;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 560px) {
    html {
        font-size: 56%;
    }

    main {
        padding: 0 2.4rem;
    }

    .header-inner {
        padding: 0 2.4rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .page-hero h1 {
        font-size: 3.4rem;
    }

    .hero-visual,
    .photo-frame,
    .hero-glow {
        height: 24rem;
    }

    .photo-frame,
    .hero-glow {
        width: 24rem;
    }

    .floating-badge {
        font-size: 1.1rem;
        padding: .8rem 1.4rem;
    }

    #me {
        padding: 3rem 2.4rem;
    }

    .footer-inner {
        padding: 4rem 2.4rem 2rem;
    }

    .footer-bottom {
        padding: 2rem 2.4rem 2.8rem;
    }
}
