/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #C4FF0D;
    --bg-dark: #0A0A0A;
    --bg-secondary: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --accent-yellow: #C4FF0D;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-dark);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--text-light);
}

.nav-link.active {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-download {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 255, 13, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--bg-dark);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    max-width: 500px;
}

.hero-welcome {
    color: var(--accent-yellow);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-contact {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(196, 255, 13, 0.3);
}

.rating-box {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.rating-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.rating-info {
    display: flex;
    flex-direction: column;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.rating-avatars {
    display: flex;
    gap: -10px;
}

.rating-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}

.rating-avatars img:first-child {
    margin-left: 0;
}

/* Hero Center - Image */
.hero-center {
    display: flex;
    justify-content: center;
}

.hero-image {
    position: relative;
}

.hero-image .image-placeholder {
    width: 350px;
    height: 450px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 200px 200px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}

/* Hero Right - Stats */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(196, 255, 13, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2px;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.tab-btn.active {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border-color: var(--accent-yellow);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active:hover {
    background: var(--accent-yellow);
}

/* Timeline */
.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline {
    position: relative;
}

.timeline.hidden {
    display: none;
}

/* Education timeline flow (matches screenshot zig-zag path) */
.timeline-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    column-gap: 2.5rem;
    row-gap: 4.75rem;
    padding: 0.5rem 0.8rem;
}

.timeline-flow-lines {
    position: absolute;
    top: 0.95rem;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.95rem;
    pointer-events: none;
    z-index: 0;
}

.flow-line {
    position: absolute;
    border-color: rgba(255, 255, 255, 0.5);
    border-style: dotted;
}

.flow-line-top-left {
    top: 0;
    left: 0;
    width: 26%;
    border-width: 2px 0 0;
}

.flow-line-top-right {
    top: 0;
    left: 26%;
    width: 74%;
    border-width: 2px 0 0;
}

.flow-line-bottom {
    left: 0;
    right: 0;
    bottom: 0;
    border-width: 2px 0 0;
}

.flow-line-vertical-mid {
    top: 0;
    bottom: 0;
    left: 26%;
    border-width: 0 0 0 2px;
}

.flow-line-vertical-right {
    top: 0;
    bottom: 0;
    right: 0;
    border-width: 0 0 0 2px;
}

.timeline-item {
    position: relative;
    z-index: 1;
}

.timeline-flow .timeline-item {
    min-height: 172px;
    padding-left: 0.25rem;
}

.timeline-flow .timeline-item[data-position="top"] {
    grid-row: 1;
}

.timeline-flow .timeline-item[data-position="bottom"] {
    grid-row: 2;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.timeline-flow .timeline-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--bg-dark);
}

.timeline-flow .timeline-item[data-position="top"] .timeline-dot {
    position: absolute;
    top: 0;
    left: 0;
}

.timeline-flow .timeline-item[data-position="bottom"] .timeline-dot {
    position: absolute;
    left: 0;
    bottom: 0;
}

.timeline-flow .timeline-item.is-highlight .timeline-dot {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 4px rgba(196, 255, 13, 0.18);
}

.timeline-content {
    text-align: left;
}

.timeline-flow .timeline-item[data-position="top"] .timeline-content {
    padding-top: 1.75rem;
}

.timeline-flow .timeline-item[data-position="bottom"] .timeline-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1.75rem;
}

.timeline-date {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}

.timeline-content h3 {
    color: var(--text-light);
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Alternate tab timeline as compact cards */
.timeline-simple {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 1.1rem;
}

.timeline-simple .timeline-item {
    min-height: 190px;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.timeline-simple .timeline-dot {
    margin-bottom: 0.8rem;
}

.timeline-simple .timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
}

.timeline-simple .timeline-content p {
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    text-align: center;
    padding: 2rem 0;
    margin-top: 100px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .rating-box {
        margin: 2rem auto 0;
    }

    .btn-contact {
        display: inline-block;
    }

    .hero-image .image-placeholder {
        width: 300px;
        height: 400px;
    }

    .timeline-flow,
    .timeline-simple {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .timeline-flow {
        row-gap: 1.1rem;
    }

    .timeline-flow-lines {
        display: none;
    }

    .timeline-flow .timeline-item,
    .timeline-simple .timeline-item {
        min-height: auto;
        padding: 1.1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.02);
    }

    .timeline-flow .timeline-item[data-position="top"],
    .timeline-flow .timeline-item[data-position="bottom"] {
        grid-row: auto;
    }

    .timeline-flow .timeline-item[data-position="top"] .timeline-dot,
    .timeline-flow .timeline-item[data-position="bottom"] .timeline-dot {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        margin-bottom: 0.8rem;
    }

    .timeline-flow .timeline-item[data-position="top"] .timeline-content,
    .timeline-flow .timeline-item[data-position="bottom"] .timeline-content {
        display: block;
        height: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .timeline-flow .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.45rem;
    }

    .timeline-flow .timeline-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .btn-download {
        display: none;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-right {
        grid-template-columns: 1fr;
    }

    .timeline-flow,
    .timeline-simple {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }

    .nav-container,
    .hero-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-title,
    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-image .image-placeholder {
        width: 250px;
        height: 350px;
        font-size: 4rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    .rating-avatars img {
        width: 28px;
        height: 28px;
    }
}

/* -------------------------------------
   Arter-inspired redesign overrides
------------------------------------- */

:root {
    --arter-bg: #0b0d16;
    --arter-bg-soft: #141927;
    --arter-panel: rgba(18, 23, 36, 0.86);
    --arter-line: rgba(188, 198, 225, 0.14);
    --arter-text: #e9edf8;
    --arter-muted: #a8b2cc;
    --arter-accent: #ffc857;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at 15% 20%, #171b2b 0%, var(--arter-bg) 48%), var(--arter-bg);
    color: var(--arter-text);
    overflow-x: hidden;
}

.ambient {
    position: fixed;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.ambient-one {
    width: 300px;
    height: 300px;
    background: #c77b50;
    top: -80px;
    right: -100px;
}

.ambient-two {
    width: 340px;
    height: 340px;
    background: #4e5dce;
    bottom: -140px;
    left: -140px;
}

.app-shell {
    position: relative;
    z-index: 2;
    width: min(1300px, 96vw);
    margin: 24px auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

.panel {
    background: var(--arter-panel);
    border: 1px solid var(--arter-line);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(2, 4, 10, 0.6);
    backdrop-filter: blur(10px);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 16px;
    align-self: start;
}

.profile-card {
    padding: 24px;
    text-align: center;
}

.avatar-wrap {
    margin-bottom: 14px;
}

.avatar-placeholder {
    width: 116px;
    height: 116px;
    border-radius: 999px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    color: #1d1d2c;
    background: linear-gradient(150deg, #ffda7b, #ffaf47);
}

.avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border-radius: inherit;
}

.status-pill {
    display: none;
    font-size: 0.75rem;
    padding: 5px 11px;
    border-radius: 999px;
    color: #1b1b2a;
    background: var(--arter-accent);
    font-weight: 600;
}

.profile-card h1 {
    font-size: 1.4rem;
    margin: 8px 0 4px;
}

.role {
    margin: 0 0 14px;
    color: var(--arter-muted);
    font-size: 0.92rem;
}

.mini-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--arter-line);
    border-bottom: 1px solid var(--arter-line);
}

.mini-stats li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
}

.mini-stats span {
    color: var(--arter-muted);
}

.social-row {
    margin: 14px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--arter-line);
    display: grid;
    place-items: center;
    color: var(--arter-text);
    text-decoration: none;
}

.btn-primary,
.btn-ghost {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 11px 18px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd97b, var(--arter-accent));
    color: #1d1d2c;
}

.btn-primary.full {
    width: 100%;
}

.btn-ghost {
    border-color: var(--arter-line);
    color: var(--arter-text);
}

.sidebar-contact {
    padding: 18px 20px;
}

.sidebar-contact h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.sidebar-contact p {
    margin: 8px 0;
    color: var(--arter-muted);
    font-size: 0.9rem;
}

.sidebar-contact i {
    color: var(--arter-accent);
    margin-right: 8px;
}

.content {
    display: grid;
    gap: 18px;
}

.topbar {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar .nav-link {
    font-size: 0.88rem;
    color: var(--arter-muted);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 12px;
}

.topbar .nav-link.active,
.topbar .nav-link:hover {
    color: var(--arter-text);
    border-color: var(--arter-line);
    background: rgba(255, 255, 255, 0.03);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--arter-line);
    color: var(--arter-text);
    border-radius: 10px;
    width: 38px;
    height: 38px;
}

.hero,
.contact,
#resume,
#services,
#portfolio {
    padding: 24px;
}

.hero {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(320px, 1.3fr) minmax(260px, 1fr);
    column-gap: 28px;
    row-gap: 14px;
    align-items: center;
}

.hero .eyebrow {
    grid-column: 1 / -1;
}

.hero h2 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
}

.hero > p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
}

.eyebrow {
    margin: 0;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--arter-accent);
    font-weight: 600;
}

.hero h2,
.section-head h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.hero p,
.section-head p,
.resume-block p,
.services-grid p,
.work-card p {
    color: var(--arter-muted);
}

.hero-actions {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
    display: flex;
    gap: 10px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 14px;
}

.metric {
    padding: 18px;
    text-align: center;
}

.metric h3 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--arter-accent);
}

.metric p {
    margin: 4px 0 0;
    color: var(--arter-muted);
    font-size: 0.88rem;
}

.resume-grid,
.services-grid,
.work-grid {
    display: grid;
    gap: 14px;
}

.resume-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-block {
    min-width: 0;
    border: 1px solid var(--arter-line);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
}

#construction {
    padding: 24px;
    overflow: hidden;
}

#construction .section-head {
    margin-bottom: 12px;
}

#construction .section-head p {
    margin: 0;
}

#construction .resume-grid {
    gap: 16px;
}

.resume-block h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.resume-block article {
    border-top: 1px solid var(--arter-line);
    padding-top: 10px;
    margin-top: 10px;
}

.resume-block span {
    color: var(--arter-accent);
    font-size: 0.8rem;
}

.resume-block h4 {
    margin: 6px 0 4px;
}

.resume-block ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--arter-muted);
}

.resume-block li {
    margin: 4px 0;
    line-height: 1.45;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.services-grid article,
.work-card {
    border: 1px solid var(--arter-line);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.services-grid i {
    font-size: 1.4rem;
    color: var(--arter-accent);
}

.work-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.work-thumb {
    height: 130px;
    border-radius: 12px;
    border: 1px solid var(--arter-line);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    color: var(--arter-muted);
    font-size: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

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

.work-thumb img.logo-contain {
    object-fit: contain;
    padding: 10px;
    background: rgba(9, 12, 20, 0.92);
}

/* Card-specific thumbnail tuning for uploaded assets */
.work-grid .work-card:nth-child(1) .work-thumb {
    height: 140px;
}

.work-grid .work-card:nth-child(1) .work-thumb img {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    padding: 12px;
}

.work-grid .work-card:nth-child(2) .work-thumb {
    height: 140px;
    background: #f4f4f6;
}

.work-grid .work-card:nth-child(2) .work-thumb img {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    padding: 20px;
    background: transparent;
}

.contact-form {
    display: grid;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--arter-line);
    border-radius: 12px;
    background: rgba(11, 11, 20, 0.35);
    color: var(--arter-text);
    padding: 11px 12px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 200, 87, 0.5);
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .quick-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }

    .services-grid,
    .work-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .topbar nav {
        display: none;
        width: 100%;
    }

    .topbar nav.open {
        display: flex;
    }

    .resume-grid,
    .services-grid,
    .work-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }

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

    .hero .eyebrow,
    .hero h2,
    .hero > p:not(.eyebrow),
    .hero-actions {
        grid-column: 1;
        grid-row: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
