@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-base: #0e0e12;
    --bg-surface: #16161d;
    --bg-elevated: #1e1e28;
    --bg-subtle: #f8f7f4;
    --bg-muted: #f1efe9;
    --accent: #c8a54e;
    --accent-light: #e2c56e;
    --accent-glow: rgba(200, 165, 78, 0.15);
    --accent-glow-strong: rgba(200, 165, 78, 0.3);
    --white: #ffffff;
    --text-light: #f0ece4;
    --text-light-muted: #9a978f;
    --text-dark: #1a1a22;
    --text-dark-body: #555560;
    --text-dark-muted: #8a8a95;
    --border-light: rgba(255,255,255,0.06);
    --border-dark: rgba(0,0,0,0.06);
    --heading: 'Inter', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 16px;
    --radius-sm: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg-base);
    color: var(--text-light);
    font-family: var(--body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: var(--bg-base); }

/* ─── Noise texture overlay ─── */
body::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ─── Layout ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.text-center { text-align: center; }

/* ─── Section rhythm ─── */
.sec-dark { background: var(--bg-base); color: var(--text-light); }
.sec-surface { background: var(--bg-surface); color: var(--text-light); }
.sec-light { background: var(--bg-subtle); color: var(--text-dark); }
.sec-muted { background: var(--bg-muted); color: var(--text-dark); }
.sec-pad { padding: 7rem 0; }

/* ─── Section headings ─── */
.sec-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.sec-dark .sec-tag, .sec-surface .sec-tag { color: var(--accent); }
.sec-light .sec-tag, .sec-muted .sec-tag { color: var(--accent); }
.sec-tag::before { content: ''; width: 24px; height: 1.5px; background: var(--accent); }

.sec-title {
    font-family: var(--heading); font-weight: 700; line-height: 1.15;
}
.sec-title.lg { font-size: 3rem; }
.sec-title.md { font-size: 2.5rem; }
.sec-dark .sec-title, .sec-surface .sec-title { color: var(--white); }
.sec-light .sec-title, .sec-muted .sec-title { color: var(--text-dark); }
.sec-title em { font-style: italic; color: var(--accent); }

.sec-lead {
    font-size: 1.05rem; margin-top: 1rem; max-width: 560px;
}
.sec-dark .sec-lead, .sec-surface .sec-lead { color: var(--text-light-muted); }
.sec-light .sec-lead, .sec-muted .sec-lead { color: var(--text-dark-muted); }
.text-center .sec-lead { margin-left: auto; margin-right: auto; }

.sec-head { margin-bottom: 4rem; }

/* ─── Gradient border cards ─── */
.glow-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    background: var(--bg-elevated);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.glow-card::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(200,165,78,0.25), rgba(200,165,78,0.02), rgba(200,165,78,0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 40px rgba(200,165,78,0.06);
}
.glow-card-inner { padding: 2rem; position: relative; z-index: 1; }

/* Light section cards */
.clean-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.04);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.clean-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 2.2rem; border-radius: 8px; text-decoration: none;
    font-weight: 600; font-size: 0.92rem; font-family: var(--body);
    transition: all 0.4s var(--ease); cursor: pointer; border: none;
    position: relative; overflow: hidden;
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--bg-base);
    box-shadow: 0 4px 20px rgba(200,165,78,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-accent:hover {
    box-shadow: 0 8px 32px rgba(200,165,78,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent; border: 1.5px solid rgba(255,255,255,0.12);
    color: var(--text-light);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Navbar ─── */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 1.5rem 0; transition: all 0.5s var(--ease);
}
.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(14,14,18,0.85); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: var(--heading); font-size: 1.5rem; font-weight: 700;
    color: var(--white); text-decoration: none; letter-spacing: 0.5px;
}
.logo-accent { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; list-style: none; }
.nav-links a {
    color: var(--text-light-muted); text-decoration: none; font-size: 0.85rem;
    font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .btn { font-size: 0.82rem; padding: 0.55rem 1.3rem; }
.hamburger {
    display: none; background: none; border: none;
    color: var(--white); font-size: 1.3rem; cursor: pointer;
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px; position: relative; overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(200,165,78,0.06) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 80%, rgba(60,60,120,0.08) 0%, transparent 50%),
                var(--bg-base);
}
/* Decorative grid */
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask: radial-gradient(ellipse 70% 60% at 30% 50%, black 0%, transparent 70%);
    mask: radial-gradient(ellipse 70% 60% at 30% 50%, black 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 5rem; align-items: center; }
.hero-text { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 2rem;
    padding: 0.4rem 1rem 0.4rem 0; border-left: 3px solid var(--accent);
    padding-left: 1rem;
}
.hero h1 {
    font-family: var(--heading); font-size: 4rem; font-weight: 700;
    line-height: 1.1; margin-bottom: 1.75rem; color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-desc {
    font-size: 1.08rem; color: var(--text-light-muted); margin-bottom: 2.5rem;
    max-width: 500px; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; margin-bottom: 0; }

/* Stats strip */
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: 4rem; position: relative; z-index: 1;
    border-radius: var(--radius); overflow: hidden;
}
.hero-stats .stat {
    padding: 1.5rem 1.75rem; text-align: center;
    background: var(--bg-surface); border-right: 1px solid var(--border-light);
    position: relative;
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}
.stat-num {
    font-family: var(--heading); font-size: 2.4rem; font-weight: 700;
    color: var(--white); display: block;
}
.stat-label {
    font-size: 0.7rem; color: var(--text-light-muted);
    text-transform: uppercase; letter-spacing: 2px; margin-top: 0.35rem;
    display: block;
}

/* Monogram */
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.monogram {
    width: 280px; height: 280px; border-radius: 50%; position: relative;
    display: flex; align-items: center; justify-content: center;
}
.monogram::before {
    content: ''; position: absolute; inset: -2px; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), transparent 30%, var(--accent) 50%, transparent 80%, var(--accent));
    opacity: 0.25; animation: spin 12s linear infinite;
}
.monogram::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: var(--bg-base);
}
.monogram span {
    position: relative; z-index: 1;
    font-family: var(--heading); font-size: 5.5rem; font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
.about-prose h3 {
    font-family: var(--heading); font-size: 1.7rem; color: var(--text-dark);
    margin-bottom: 1.5rem; line-height: 1.3;
}
.about-prose p { color: var(--text-dark-body); margin-bottom: 1.25rem; font-size: 0.98rem; }
.about-prose strong { color: var(--text-dark); font-weight: 600; }

.highlights { display: grid; gap: 1rem; }
.hl-card { padding: 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.hl-icon {
    width: 48px; height: 48px; min-width: 48px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-strong));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.15rem;
}
.hl-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.3rem; }
.hl-card p { font-size: 0.85rem; color: var(--text-dark-muted); line-height: 1.55; }

/* ─── EXPERTISE ─── */
.tabs-bar {
    display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
    margin-bottom: 2.5rem;
}
.tab-btn {
    padding: 0.55rem 1.4rem; border-radius: 8px;
    border: 1px solid var(--border-light); background: transparent;
    color: var(--text-light-muted); font-family: var(--body); font-size: 0.85rem;
    font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease);
}
.tab-btn.active, .tab-btn:hover {
    background: var(--accent-glow); border-color: var(--accent); color: var(--accent);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.skill-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1.1rem; background: var(--bg-elevated); border-radius: var(--radius-sm);
    border: 1px solid var(--border-light); transition: all 0.3s var(--ease);
}
.skill-item:hover { border-color: rgba(200,165,78,0.2); transform: translateX(3px); }
.skill-item i { color: var(--accent); font-size: 0.9rem; width: 18px; text-align: center; }
.skill-item span { font-size: 0.88rem; color: var(--text-light); }

/* ─── EXPERIENCE ─── */
.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-glow) 50%, transparent 100%);
}
.tl-entry { position: relative; padding-left: 56px; margin-bottom: 2rem; }
.tl-entry:last-child { margin-bottom: 0; }
.tl-marker {
    position: absolute; left: 12px; top: 2.2rem; width: 18px; height: 18px;
    border-radius: 50%; border: 3px solid var(--bg-base);
    background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow);
    z-index: 1;
}
.tl-body { border-radius: var(--radius); }
.tl-body .glow-card-inner { padding: 1.75rem 2rem; }
.tl-date {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.6rem; display: inline-block;
}
.tl-role { font-family: var(--heading); font-size: 1.35rem; color: var(--white); margin-bottom: 0.2rem; }
.tl-company {
    font-size: 0.9rem; color: var(--text-light-muted); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.tl-company i { color: var(--accent); font-size: 0.75rem; }
.tl-list { list-style: none; }
.tl-list li {
    position: relative; padding-left: 1.1rem; margin-bottom: 0.45rem;
    font-size: 0.88rem; color: var(--text-light-muted); line-height: 1.6;
}
.tl-list li::before {
    content: ''; position: absolute; left: 0; top: 0.55em;
    width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.tl-list strong { color: var(--text-light); font-weight: 600; }

/* ─── SERVICES ─── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { padding: 2.5rem 2rem; text-align: center; }
.svc-icon {
    width: 56px; height: 56px; margin: 0 auto 1.5rem; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-strong));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--accent); transition: all 0.3s;
}
.svc-card:hover .svc-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--bg-base);
}
.svc-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.sec-light .svc-card h3 { color: var(--text-dark); }
.svc-card p { font-size: 0.88rem; line-height: 1.6; }
.sec-light .svc-card p { color: var(--text-dark-muted); }

/* ─── EDUCATION ─── */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.edu-col h3 {
    font-family: var(--heading); font-size: 1.5rem; margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.sec-muted .edu-col h3 { color: var(--text-dark); }
.edu-col h3 i { color: var(--accent); }
.edu-entry { padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; }
.edu-entry h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.sec-muted .edu-entry h4 { color: var(--text-dark); }
.edu-entry p { font-size: 0.85rem; }
.sec-muted .edu-entry p { color: var(--text-dark-muted); }

/* ─── RECOMMENDATIONS CAROUSEL ─── */
.rec-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 0 0 2rem;
    position: relative;
    -webkit-mask: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    mask: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.rec-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: rec-scroll 90s linear infinite;
}

.rec-carousel-wrapper:hover .rec-carousel-track {
    animation-play-state: paused;
}

@keyframes rec-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.rec-card {
    flex: 0 0 420px;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 2rem 2rem 1.5rem;
    position: relative;
    border: 1px solid var(--border-light);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.rec-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(200,165,78,0.15), rgba(200,165,78,0.02), rgba(200,165,78,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.rec-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px rgba(200,165,78,0.08);
    border-color: rgba(200,165,78,0.15);
}

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

.rec-quote {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.rec-text {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-card:hover .rec-text {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.rec-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.rec-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--bg-base);
    letter-spacing: 0.5px;
}

.rec-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.rec-role {
    font-size: 0.75rem;
    color: var(--text-light-muted);
    line-height: 1.4;
}

.rec-linkedin-cta {
    margin-top: 2.5rem;
}

.rec-linkedin-cta .btn {
    border-color: var(--accent);
    color: var(--accent);
}

.rec-linkedin-cta .btn:hover {
    background: var(--accent-glow);
}

/* ─── CONTACT ─── */
.contact-center { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-info h3 { font-family: var(--heading); font-size: 1.8rem; color: var(--white); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-light-muted); margin-bottom: 2.5rem; }
.c-list { list-style: none; }
.c-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.c-icon {
    width: 46px; height: 46px; min-width: 46px; border-radius: var(--radius-sm);
    background: var(--accent-glow); display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1rem;
}
.c-list a { color: var(--text-light); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.c-list a:hover { color: var(--accent); }

.c-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.c-form .field { margin-bottom: 0.75rem; }
.c-form input, .c-form textarea {
    width: 100%; padding: 0.85rem 1.2rem; background: var(--bg-elevated);
    border: 1px solid var(--border-light); border-radius: var(--radius-sm);
    color: var(--text-light); font-family: var(--body); font-size: 0.92rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.c-form input::placeholder, .c-form textarea::placeholder { color: var(--text-light-muted); }
.c-form input:focus, .c-form textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.c-form textarea { resize: vertical; min-height: 110px; }
.c-form .btn { width: 100%; justify-content: center; }

/* ─── FOOTER ─── */
footer { padding: 2.5rem 0; border-top: 1px solid var(--border-light); background: var(--bg-base); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-flex p { color: var(--text-light-muted); font-size: 0.82rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a {
    width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light-muted); font-size: 0.85rem; text-decoration: none; transition: all 0.3s;
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Animations ─── */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-visual { display: none; }
    .about-grid, .edu-grid { grid-template-columns: 1fr; }
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .skill-grid { grid-template-columns: repeat(2, 1fr); }
    .rec-card { flex: 0 0 360px; }
    .sec-title.lg { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--bg-surface); flex-direction: column; padding: 5rem 2rem 2rem;
        transition: right 0.5s var(--ease); gap: 1.5rem; z-index: 999;
        border-left: 1px solid var(--border-light);
    }
    .nav-links.open { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    .hero h1 { font-size: 2.6rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats .stat { border-bottom: 1px solid var(--border-light); }
    .sec-pad { padding: 5rem 0; }
    .svc-grid { grid-template-columns: 1fr; }
    .skill-grid { grid-template-columns: 1fr; }
    .c-form .form-row { grid-template-columns: 1fr; }
    .footer-flex { flex-direction: column; text-align: center; }
    .rec-card { flex: 0 0 300px; min-height: 220px; padding: 1.5rem; }
    .rec-text { font-size: 0.82rem; -webkit-line-clamp: 5; }
    .rec-carousel-track { animation-duration: 60s; }
}
