:root {
    --blue: #0d6efd;
    --dark: #212529;
    --light: #f5f6f8;
    --muted: #6c757d;
    --line: #dee2e6
}

/* About และ Skills แบบใหม่ */
.about-points{display:grid;gap:14px;margin-top:26px}.about-points div{display:grid;gap:2px;padding-left:15px;border-left:3px solid var(--blue)}.about-points strong{font-weight:400}.about-points span{color:var(--muted);font-size:.9rem}.skill-group h3{margin:0 0 14px;font-size:1.08rem;font-weight:400}.skill-card{display:grid;gap:2px;margin-bottom:12px;padding:15px 17px;border:1px solid var(--line);border-radius:6px}.skill-card strong{font-weight:400}.skill-card span{color:var(--muted);font-size:.86rem}.skills-grid{align-items:start}.chips{display:flex;flex-wrap:wrap;gap:10px}.chips span{padding:10px 14px;min-height:auto;background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:.88rem}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--dark);
    font-family: Kanit, sans-serif;
    font-weight: 300;
    line-height: 1.7
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: auto
}

a {
    text-decoration: none
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    width: 100%;
    background: var(--dark);
    color: #fff;
    box-shadow: 0 2px 10px #0002
}

.nav {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    color: #fff;
    font-size: 1.05rem
}

.nav-links {
    display: flex;
    gap: 25px
}

.nav-links a {
    color: #bbb;
    font-size: .9rem
}

.nav-links a:hover {
    color: #fff
}

.hero {
    min-height: 500px;
    padding: 135px 0 80px;
    background: var(--dark);
    color: #fff;
    text-align: center
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4rem);
    font-weight: 500
}

.hero-content h2 {
    margin: 8px 0 0;
    color: #ced4da;
    font-size: 1.25rem;
    font-weight: 400
}

.hero-content p {
    margin: 12px 0 0;
    color: #adb5bd;
    font-size: 1.1rem
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px
}

.button {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: .95rem
}

.primary {
    color: #fff;
    background: var(--blue)
}

.outline {
    color: var(--blue);
    border: 1px solid var(--blue)
}

.outline:hover {
    color: #fff;
    background: var(--blue)
}

.section {
    padding: 70px 0
}

.soft {
    background: var(--light)
}

.section-heading {
    margin-bottom: 30px
}

.section-heading h2 {
    display: inline;
    margin: 0;
    font-size: 2rem;
    font-weight: 500
}

.section-heading>span {
    display: none
}

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 42px
}

.about-photo {
    text-align: center
}

.profile-image {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px
}

.highlight {
    font-size: 1.1rem
}

.muted {
    color: var(--muted)
}

.details {
    display: grid;
    gap: 22px;
    margin-top: 28px
}

.details h3,
.skills-grid h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    font-weight: 400
}

.cards,
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.cards span,
.chips span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 2px 5px #0000000d
}

.timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.timeline article {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-align: center
}

.timeline h3 {
    margin: 8px 0 2px;
    font-size: 1.1rem;
    font-weight: 400
}

.timeline p {
    margin: 0;
    color: var(--muted)
}

.timeline small {
    color: var(--blue)
}

.timeline strong {
    display: block;
    margin-top: 12px;
    color: var(--muted)
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px
}

.skill {
    margin-bottom: 18px
}

.skill>div:first-child {
    display: flex;
    justify-content: space-between
}

.skill small {
    color: var(--muted);
    font-size: .8rem
}

.bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 10px
}

.bar i {
    display: block;
    height: 100%;
    background: var(--blue);
    border-radius: 10px
}

.chips span {
    min-height: 52px
}

.contact {
    padding: 65px 0;
    background: var(--dark);
    color: #fff;
    text-align: center
}

.contact h2 {
    margin: 0 0 22px;
    font-weight: 400
}

.contact .eyebrow {
    color: #adb5bd
}

footer {
    padding: 20px 0;
    color: var(--muted);
    font-size: .85rem;
    text-align: center
}

@media(max-width:700px) {
    .nav-links {
        gap: 12px
    }

    .nav-links a {
        font-size: .76rem
    }

    .about-grid,
    .skills-grid,
    .timeline {
        grid-template-columns: 1fr
    }

    .about-grid {
        gap: 20px
    }

    .section {
        padding: 55px 0
    }

    .hero {
        min-height: 470px
    }

    .profile-image {
        width: 200px;
        height: 200px
    }

    .section-heading h2 {
        font-size: 1.8rem
    }
}
