/* ============================================================
   Clarissa Amistad Portfolio — Technology Pink Stylesheet
   Pure pink-on-dark aesthetic. No purple base backgrounds.
   ============================================================ */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Near-black backgrounds — all color comes from pink accents */
    --bg-0:    #060408;
    --bg-1:    #09060d;
    --bg-2:    #0e0a16;

    /* Glass system */
    --card:    rgba(255, 255, 255, 0.055);
    --card-pk: rgba(255, 75, 193, 0.07);
    --line:    rgba(255, 255, 255, 0.09);
    --line-pk: rgba(255, 75, 193, 0.30);

    /* Text */
    --text:    #fef2fc;
    --muted:   #c5aec2;

    /* Pink palette — all accents are pure pink */
    --pink:    #ff4bc1;
    --pink-2:  #ff82d5;
    --pink-3:  #ffc0ec;
    --pink-g:  linear-gradient(135deg, #ff4bc1, #ff82d5);

    /* Status */
    --ok:      #2dffa0;
    --warning: #f59e0b;
    --danger:  #ef4444;

    /* Layout */
    --radius:  16px;
    --shadow:  0 8px 32px rgba(255, 75, 193, 0.12);
    --glow:    0 0 28px rgba(255, 75, 193, 0.22);
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: Inter, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(ellipse 70% 55% at 8%  5%,  rgba(255, 75,  193, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 92% 95%, rgba(255, 130, 210, 0.10) 0%, transparent 55%),
        var(--bg-0);
    min-height: 100vh;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 { color: var(--text); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-2); }

/* ============================================================
   FIXED ELEMENTS
   ============================================================ */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    z-index: 9999;
    background: linear-gradient(90deg, var(--pink), var(--pink-2), var(--pink-3));
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 75, 193, 0.6);
}

#cursor-glow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 75, 193, 0.08) 0%, transparent 68%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: min(1140px, 92%); margin-inline: auto; }
.section   { padding: 90px 0; }
.grid-2    { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-1    { display: grid; gap: 20px; }
.d-none    { display: none !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 4, 8, 0.70);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background .3s, border-color .3s, box-shadow .3s;
}

#mainNav.scrolled {
    background: rgba(6, 4, 8, 0.95);
    border-bottom-color: rgba(255, 75, 193, 0.18);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.navbar-brand {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .3px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff 30%, var(--pink-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand i {
    -webkit-text-fill-color: var(--pink-2);
    color: var(--pink-2);
    filter: drop-shadow(0 0 6px rgba(255, 130, 213, 0.6));
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: var(--muted);
    font-weight: 500;
    font-size: .9rem;
    transition: color .2s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink-2);
    text-shadow: 0 0 12px rgba(255, 130, 213, 0.45);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 2px;
    background: var(--pink-g);
    transition: width .22s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.menu-toggle {
    display: none;
    width: 38px; height: 38px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    place-items: center;
    transition: border-color .2s;
}

.menu-toggle:hover { border-color: var(--pink-2); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

/* Subtle tech grid overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 75, 193, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 75, 193, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    animation: orbFloat 14s ease-in-out infinite alternate;
}

.hero-orb-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(255, 75, 193, 0.28), transparent 68%);
    top: -140px; right: -90px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(255, 130, 213, 0.20), transparent 68%);
    left: -90px; bottom: -90px;
    animation-delay: 5s;
}

.hero-orb-3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255, 192, 236, 0.16), transparent 68%);
    right: 22%; top: 38%;
    animation-delay: 9s;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(22px, 28px) scale(1.08); }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
    width: min(1140px, 92%);
    margin-inline: auto;
}

.hero-content { padding: 32px; }

.hero-title {
    font-family: Montserrat, sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--pink), var(--pink-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(255, 75, 193, 0.35));
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pink-3);
    font-family: 'Courier New', monospace;
    min-height: 1.8rem;
    margin-bottom: 16px;
    letter-spacing: .02em;
}

.cursor-blink { opacity: .8; animation: blink 1s steps(1) infinite; }

@keyframes blink { 50% { opacity: 0; } }

.hero-text {
    color: var(--muted);
    margin-bottom: 26px;
    max-width: 58ch;
    font-size: .95rem;
    line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    padding: 12px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease;
    letter-spacing: .01em;
}

.btn-primary {
    background: var(--pink-g);
    color: #1a0011;
    box-shadow: 0 6px 20px rgba(255, 75, 193, 0.36);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 75, 193, 0.52);
}

.btn-outline {
    border-color: rgba(255, 75, 193, 0.36);
    background: rgba(255, 75, 193, 0.06);
    color: var(--pink-2);
}

.btn-outline:hover {
    transform: translateY(-3px);
    border-color: var(--pink-2);
    background: rgba(255, 75, 193, 0.12);
    box-shadow: 0 8px 22px rgba(255, 75, 193, 0.18);
}

/* ============================================================
   HERO PROFILE CARD
   ============================================================ */
.hero-profile {
    padding: 32px 28px;
    display: grid;
    place-items: center;
    text-align: center;
}

/* Avatar with animated pulse rings */
.avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 75, 193, 0.28);
    animation: pulsate 3.5s ease-in-out infinite;
    pointer-events: none;
}

.pulse-ring.pr-2 {
    inset: -22px;
    border-color: rgba(255, 130, 213, 0.15);
    animation-delay: 1.2s;
}

@keyframes pulsate {
    0%   { transform: scale(0.96); opacity: 0.5; }
    50%  { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(0.96); opacity: 0.5; }
}

.profile-img {
    width: min(260px, 72vw);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 130, 213, 0.50);
    box-shadow:
        0 0 0 6px rgba(255, 75, 193, 0.07),
        0 12px 40px rgba(255, 75, 193, 0.28);
    display: block;
    transition: box-shadow .4s ease, transform .4s ease;
}

.profile-img:hover {
    transform: scale(1.03);
    box-shadow:
        0 0 0 8px rgba(255, 75, 193, 0.10),
        0 0 60px rgba(255, 75, 193, 0.45);
}

.profile-role {
    font-family: Montserrat, sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: var(--pink-3);
    margin-bottom: 6px;
    line-height: 1.4;
}

.profile-note { color: var(--muted); font-size: .85rem; }
.profile-note i { color: var(--pink-2); margin-right: 4px; }

.stats-row {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.stat-box {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 8px;
    background: rgba(255, 75, 193, 0.04);
    transition: border-color .2s, background .2s;
}

.stat-box:hover {
    border-color: rgba(255, 75, 193, 0.3);
    background: rgba(255, 75, 193, 0.08);
}

.stat-number {
    font-family: Montserrat, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--pink-g);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-top: 2px;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}

/* ============================================================
   SECTION TAGS & TITLES
   ============================================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 75, 193, 0.38);
    background: rgba(255, 75, 193, 0.10);
    color: var(--pink-2);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 14px;
    margin-bottom: 14px;
}

.section-tag i { font-size: .75rem; }

.section-title {
    font-family: Montserrat, sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 44px; height: 3px;
    background: var(--pink-g);
    margin-top: 10px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 75, 193, 0.45);
}

.section-sub {
    color: var(--muted);
    max-width: 66ch;
    margin-bottom: 28px;
    font-size: .94rem;
    line-height: 1.7;
}

/* ============================================================
   GLASS CARDS
   ============================================================ */
.glass-card {
    background: var(--card);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

/* Elegant pink shimmer line at card top on hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--pink) 50%, transparent 90%);
    opacity: 0;
    transition: opacity .3s;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 75, 193, 0.30);
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 75, 193, 0.10),
        var(--glow);
}

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

/* ============================================================
   PANELS
   ============================================================ */
.panel { padding: 28px; }

.meta {
    color: var(--pink-2);
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.panel ul  { padding-left: 20px; display: grid; gap: 9px; color: var(--muted); font-size: .92rem; }
.panel p   { color: var(--muted); font-size: .94rem; line-height: 1.7; }
.panel h3  { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }

/* Bio accent — left pink border */
.bio-accent {
    padding-left: 36px;
    position: relative;
}

.bio-accent::after {
    content: '';
    position: absolute;
    left: 28px; top: 28px; bottom: 28px;
    width: 2px;
    background: var(--pink-g);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 75, 193, 0.4);
}

/* ============================================================
   ROLE HEADER (experience cards)
   ============================================================ */
.role-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.date-chip {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pink-2);
    background: rgba(255, 75, 193, 0.10);
    border: 1px solid rgba(255, 75, 193, 0.22);
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skill-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    transition: border-color .2s, background .2s;
}

.skill-card:hover {
    border-color: rgba(255, 75, 193, 0.25);
    background: rgba(255, 75, 193, 0.04);
}

.skill-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: .88rem;
}

.skill-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .84rem;
}

.skill-name i { color: var(--pink-2); }

.skill-pct {
    font-family: 'Courier New', monospace;
    font-size: .8rem;
    color: var(--pink-2);
    font-weight: 700;
}

.skill-bar {
    width: 100%; height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.skill-bar-fill {
    width: 0; height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--pink-2));
    border-radius: inherit;
    transition: width .8s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
}

/* Shine sweep on skill fill */
.skill-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
    animation: shimmer 2.8s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.tools-wrap {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    transition: transform .18s ease, border-color .18s, color .18s, box-shadow .18s;
}

.tool-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 130, 213, 0.65);
    color: var(--pink-2);
    box-shadow: 0 4px 12px rgba(255, 75, 193, 0.15);
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card { position: relative; overflow: hidden; }

.project-card:hover { transform: translateY(-6px); }

.project-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255, 75, 193, 0.10);
    border: 1px solid rgba(255, 75, 193, 0.22);
    color: var(--pink-2);
    font-size: 1.1rem;
    margin-bottom: 14px;
    transition: background .2s, box-shadow .2s;
}

.project-card:hover .project-icon {
    background: rgba(255, 75, 193, 0.18);
    box-shadow: 0 0 14px rgba(255, 75, 193, 0.28);
}

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255, 75, 193, 0.10);
    border: 1px solid rgba(255, 75, 193, 0.20);
    color: var(--pink-2);
    font-size: 1.2rem;
    margin-bottom: 14px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-details  { padding: 28px; }
.contact-form-wrap { padding: 28px; }

.contact-intro {
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: .92rem;
    transition: color .2s;
}

.contact-item:hover { color: var(--text); }

.ci-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255, 75, 193, 0.09);
    border: 1px solid rgba(255, 75, 193, 0.20);
    color: var(--pink-2);
    font-size: .88rem;
    flex-shrink: 0;
    transition: background .2s, box-shadow .2s, border-color .2s;
}

.contact-item:hover .ci-icon {
    background: rgba(255, 75, 193, 0.16);
    border-color: rgba(255, 75, 193, 0.40);
    box-shadow: 0 0 12px rgba(255, 75, 193, 0.20);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-group { margin-top: 12px; }

.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-family: Inter, sans-serif;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}

.form-control::placeholder { color: rgba(197, 174, 194, 0.55); }

.form-control:focus {
    border-color: rgba(255, 130, 213, 0.75);
    background: rgba(255, 75, 193, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 75, 193, 0.12);
}

textarea.form-control { min-height: 120px; resize: vertical; }

#form-success {
    margin-top: 14px;
    border: 1px solid rgba(45, 255, 160, 0.40);
    background: rgba(45, 255, 160, 0.10);
    color: #a0ffd8;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: .88rem;
}

/* reCAPTCHA */
.recaptcha-wrap { padding: 4px 0; }

@media (max-width: 400px) {
    .recaptcha-wrap .g-recaptcha {
        transform: scale(0.87);
        transform-origin: left center;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 36px 0 44px;
    text-align: center;
    border-top: 1px solid var(--line);
}

.footer-copy {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 6px;
}

.footer-sub {
    color: rgba(197, 174, 194, 0.45);
    font-size: .78rem;
    letter-spacing: .04em;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 44px; height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--pink-g);
    color: #1a0011;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    z-index: 200;
    box-shadow: 0 8px 22px rgba(255, 75, 193, 0.36);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    box-shadow: 0 12px 28px rgba(255, 75, 193, 0.55);
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid,
    .grid-2,
    .contact-grid { grid-template-columns: 1fr; }
    .work-wide { grid-column: auto !important; }
}

@media (max-width: 780px) {
    body { cursor: auto; }
    #cursor-glow { display: none; }
    .menu-toggle { display: inline-grid; }
    .hero-section::after { display: none; }

    .nav-list {
        position: absolute;
        top: 68px; left: 0; right: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: rgba(6, 4, 8, 0.97);
        flex-direction: column;
        align-items: flex-start;
        display: none;
        gap: 4px;
    }

    .nav-list.open  { display: flex; }
    .form-row       { grid-template-columns: 1fr; }
    .section        { padding: 70px 0; }
    .hero-content   { padding: 22px; }
    .bio-accent     { padding-left: 28px; }
    .bio-accent::after { left: 20px; }
}
