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

:root {
    --accent: #ff4a2d;
    --accent-h: #ff6b4a;
    --text: #18181b;
    --muted: #52525b;
    --faint: #a1a1aa;
    --glass: rgba(255, 255, 255, 0.45);
    --glass-s: rgba(255, 255, 255, 0.65);
    --gb: rgba(255, 255, 255, 0.55);
    --border: rgba(255, 255, 255, 0.50);
    --card: rgba(255, 255, 255, 0.35);
    --trans: 340ms cubic-bezier(0.4, 0, 0.2, 1);
    --r: 18px;
}

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

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    background:
        radial-gradient(ellipse 75% 55% at 8% -5%, rgba(255, 160, 100, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse 55% 50% at 95% 105%, rgba(255, 80, 40, 0.20) 0%, transparent 55%),
        radial-gradient(ellipse 65% 70% at 50% 55%, rgba(210, 215, 255, 0.30) 0%, transparent 65%),
        linear-gradient(150deg, #f0f1f8 0%, #fdf2ee 50%, #eef0fc 100%);
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(90px);
}

body::before {
    width: 500px;
    height: 500px;
    top: -180px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 100, 50, 0.22), transparent 70%);
}

body::after {
    width: 380px;
    height: 380px;
    bottom: -100px;
    right: -60px;
    background: radial-gradient(circle, rgba(130, 120, 255, 0.16), transparent 70%);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--trans);
}

a:hover {
    opacity: .72;
}

/* ── BG Symbols ── */
.bg-symbols {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    padding: 48px;
    overflow: hidden;
}

.bg-symbols span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: clamp(13px, 1.8vw, 22px);
    color: var(--accent);
    opacity: 0.055;
    font-weight: 700;
    user-select: none;
}

.bg-symbols span:nth-child(3n) {
    transform: rotate(8deg);
}

.bg-symbols span:nth-child(5n) {
    transform: rotate(-6deg);
}

.bg-symbols span:nth-child(7n) {
    transform: rotate(13deg);
}

/* ── Header ── */
.main-header {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1080px;
    z-index: 100;
    height: auto;
    background: var(--glass-s);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(80, 40, 20, 0.11), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 24px;
    /* Taller header, smaller gap for safety */
}

/* Issue 1+6: brand as clickable button, bigger logo */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity var(--trans);
}

.brand:hover {
    opacity: 0.75;
}

.brand-logo {
    width: clamp(48px, 6vw, 80px);
    height: clamp(48px, 6vw, 80px);
    border-radius: clamp(12px, 1.5vw, 20px);
    overflow: hidden;
    border: 1.5px solid rgba(255, 74, 45, 0.25);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    padding: 6px 12px;
    border-radius: 9px;
    transition: all var(--trans);
    position: relative;
    white-space: nowrap;
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform var(--trans);
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(255, 74, 45, 0.06);
}

.nav-btn.active {
    color: var(--accent);
    font-weight: 600;
    background: rgba(255, 74, 45, 0.07);
}

.nav-btn.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.hdr-socials {
    display: flex;
    align-items: center;
    gap: 3px;
}

.hdr-social {
    width: 29px;
    height: 29px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px solid transparent;
    transition: all var(--trans);
}

.hdr-social:hover {
    color: var(--accent);
    border-color: rgba(255, 74, 45, 0.2);
    background: rgba(255, 74, 45, 0.07);
    opacity: 1;
}

.hire-btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.79rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 9px;
    white-space: nowrap;
    transition: all var(--trans);
    box-shadow: 0 3px 14px rgba(255, 74, 45, 0.32);
}

.hire-btn:hover {
    background: var(--accent-h);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255, 74, 45, 0.42);
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 280ms ease;
}

/* ── Content Area ── */
.content-area {
    position: fixed;
    top: clamp(104px, 12vw, 140px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 20px 18px;
}

.glass-box {
    position: relative;
    width: 100%;
    max-width: 1080px;
    border-radius: var(--r);
    background: var(--gb);
    backdrop-filter: blur(32px) saturate(2);
    -webkit-backdrop-filter: blur(32px) saturate(2);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(70, 30, 10, 0.13), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
    overflow: hidden;
}

.glass-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.95) 70%, transparent);
}

/* Issue 4&5: sections never scroll on desktop; overflow auto on mobile handled below */
.view-section {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.99);
    transition: opacity var(--trans), transform var(--trans);
    overflow-y: auto;
    overflow-x: hidden;
}

.view-section::-webkit-scrollbar {
    width: 6px;
}

.view-section::-webkit-scrollbar-track {
    background: transparent;
}

.view-section::-webkit-scrollbar-thumb {
    background: rgba(255, 74, 45, 0.3);
    border-radius: 10px;
}

.view-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 74, 45, 0.6);
}

.view-section.active {
    opacity: 1;
    pointer-events: all;
    transform: none;
}

/* sections that need centered padding */
.section-wrap {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(20px, 4vh, 40px);
}

.section-container {
    width: 100%;
    padding: 0 44px 28px;
}

.sec-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ── ABOUT: single hero layout ── */
.about-hero {
    height: 100%;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: 1fr 340px;
    align-content: center;
    padding: 0 54px;
    gap: 80px;
    position: relative;
}

.about-photo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.photo-glow {
    display: none;
}

.avatar-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        -10px -10px 24px rgba(255, 255, 255, 0.8),
        10px 10px 24px rgba(0, 0, 0, 0.08),
        inset 2px 2px 6px rgba(255, 255, 255, 0.6),
        inset -2px -2px 6px rgba(0, 0, 0, 0.03),
        0 0 50px rgba(255, 74, 45, 0.25);
    overflow: hidden;
    background: transparent;
    position: relative;
    z-index: 1;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-h));
    color: #fff;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* text column */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    order: -1;
}

.hello-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.05;
    letter-spacing: -2px;
    white-space: nowrap;
}

.shimmer-orange {
    background: linear-gradient(90deg, #ff4a2d 0%, #ff9a44 50%, #ff4a2d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    display: inline-block;
}

@keyframes shimmer {
    to {
        background-position: -200% center;
    }
}

.accent {
    color: var(--accent);
}

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

.about-bio {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 600px;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.pill {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 74, 45, 0.08);
    color: var(--accent);
    border: 1px solid rgba(255, 74, 45, 0.18);
    border-radius: 20px;
    padding: 5px 14px;
}

.about-ctas {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.about-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    margin-top: 4px;
}

.ac-item {
    color: var(--muted);
    font-weight: 500;
    transition: color var(--trans);
}

a.ac-item:hover {
    color: var(--accent);
    opacity: 1;
}

.ac-socials {
    display: flex;
    gap: 6px;
}

.ps-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: var(--muted);
    transition: all var(--trans);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.ps-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    opacity: 1;
}

.about-ctas {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--trans);
    box-shadow: 0 3px 14px rgba(255, 74, 45, 0.32);
}

.cta-primary:hover {
    background: var(--accent-h);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255, 74, 45, 0.42);
    opacity: 1;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(255, 74, 45, 0.3);
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all var(--trans);
    background: rgba(255, 74, 45, 0.04);
}

.cta-secondary:hover {
    background: rgba(255, 74, 45, 0.1);
    border-color: var(--accent);
    opacity: 1;
}

.motto {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--faint);
    border-left: 3px solid rgba(255, 74, 45, 0.3);
    padding-left: 10px;
}

/* ── RESUME ── */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.tl-col {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tl-col-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.tl-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.tl-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: 4px;
}

.tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255, 74, 45, 0.14);
}

.tl-line {
    width: 2px;
    flex: 1;
    background: rgba(255, 74, 45, 0.15);
    min-height: 20px;
    margin-top: 4px;
}

.tl-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 4px;
}

.tl-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tl-role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.tl-company {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 500;
}

.tl-desc {
    font-size: 0.75rem;
    color: var(--faint);
    line-height: 1.6;
    margin-top: 3px;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
    min-height: calc(100% - 60px);
    align-content: stretch;
}

.svc-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 14px;
    padding: 20px 18px;
    transition: all var(--trans);
    cursor: default;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.svc-card:hover {
    border-color: rgba(255, 74, 45, 0.28);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 28px rgba(255, 74, 45, 0.11);
    transform: translateY(-2px);
}

.svc-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1;
}

.svc-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.svc-card p {
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── TESTIMONIALS ── */
.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    min-height: calc(100% - 60px);
    align-content: stretch;
}

.testi-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all var(--trans);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testi-card.featured {
    grid-column: span 2;
    background: rgba(255, 74, 45, 0.04);
    border-color: rgba(255, 74, 45, 0.18);
}

.testi-card:hover {
    border-color: rgba(255, 74, 45, 0.28);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 28px rgba(255, 74, 45, 0.1);
}

.quote-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 0.8;
    opacity: 0.6;
}

.quote-text {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-h));
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
}

.testi-author span {
    display: block;
    font-size: 0.7rem;
    color: var(--faint);
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    height: 100%;
    overflow: hidden;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 36px 36px;
    border-right: 1px solid rgba(255, 74, 45, 0.1);
    background: linear-gradient(160deg, rgba(255, 74, 45, 0.06), rgba(255, 140, 80, 0.03));
}

.contact-tagline {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 280px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cl-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    background: rgba(255, 74, 45, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.cl-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1px;
}

.contact-list a,
.contact-list span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
}

.contact-list a:hover {
    color: var(--accent);
    opacity: 1;
}

.contact-socials {
    display: flex;
    gap: 8px;
}

/* Contact form */
.form-header {
    margin-bottom: 8px;
}

.contact-form {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    overflow: auto;
}

.submit-btn {
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 9px 20px;
    cursor: pointer;
    transition: all var(--trans);
    box-shadow: 0 3px 12px rgba(255, 74, 45, 0.3);
}

.submit-btn:hover {
    background: var(--accent-h);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255, 74, 45, 0.4);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.69rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    padding: 9px 13px;
    color: var(--text);
    outline: none;
    resize: none;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    transition: all var(--trans);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 74, 45, 0.4);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 3px rgba(255, 74, 45, 0.09);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

/* ── Mobile ── */
@media (max-width:768px) {
    .hamburger {
        display: flex;
    }

    .hdr-socials {
        display: none;
    }

    .hire-btn {
        display: none;
    }

    /* Hide to give hamburger space */
    .main-header {
        width: calc(100% - 20px);
        top: 10px;
    }

    .header-inner {
        padding: 10px 14px;
        gap: 6px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .main-nav {
        position: fixed;
        top: 90px;
        left: 50%;
        z-index: 99;
        transform: translateX(-50%) translateY(-12px);
        width: calc(100% - 20px);
        max-width: 1080px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 10px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.85);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
        opacity: 0;
        pointer-events: none;
        transition: opacity 260ms ease, transform 260ms ease;
    }

    .main-nav.open {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-btn {
        width: 100%;
        text-align: left;
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    /* Issue 4&5: mobile glass box scrolls internally, no body scroll */
    .content-area {
        padding: 0 10px 10px;
        top: 86px;
    }

    .glass-box {
        overflow-y: auto;
        border-radius: 14px;
    }

    .view-section {
        position: relative;
        inset: auto;
        opacity: 1;
        pointer-events: all;
        transform: none;
        display: none;
        overflow: visible;
        min-height: 100%;
    }

    .view-section.active {
        display: block;
    }

    /* About hero → stacked on mobile */
    .about-hero {
        grid-template-columns: 1fr;
        padding: 16px 20px;
        gap: 12px;
        height: auto;
        align-content: start;
    }

    .about-photo-wrap {
        order: -1;
        margin-top: 10px;
    }

    .avatar-frame {
        width: 110px;
        height: 110px;
        border-width: 2px;
    }

    .photo-glow {
        width: 140px;
        height: 140px;
    }

    .hero-name {
        font-size: 1.8rem;
        white-space: normal;
    }

    .hello-text {
        font-size: 0.85rem;
    }

    .hero-role {
        font-size: 0.8rem;
    }

    .about-bio {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .about-text {
        gap: 8px;
    }

    .about-contacts {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 4px;
    }

    /* Other sections */
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    /* Form first */
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .testi-card.featured {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 16px;
    }

    .testi-grid {
        height: auto;
    }

    .section-container {
        padding: 20px;
    }

    .section-wrap {
        height: auto;
        align-items: flex-start;
        padding-top: 0;
    }

    .contact-info-panel,
    .contact-form {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    /* Full width on mobile */
}