@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --ink: #18301f;
    --muted: #627066;
    --line: #dfe7dd;
    --paper: #fbfcf7;
    --white: #ffffff;
    --banana: #dff36c;
    --banana-soft: #f2f8c9;
    --green: #245936;
    --deep: #122719;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 92% 5%, rgba(223, 243, 108, .35), transparent 23rem),
        var(--paper);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.language-switch {
    position: absolute;
    z-index: 5;
    top: 1.5rem;
    right: max(1.5rem, calc((100vw - 1180px) / 2));
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,255,255,.78);
    color: var(--green);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: background .2s, transform .2s;
}
.language-switch:hover { background: var(--banana); transform: translateY(-2px); }

.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    align-items: center;
    gap: clamp(3rem, 9vw, 9rem);
    padding-block: 6rem;
}
.eyebrow, .section-label {
    margin: 0 0 1.5rem;
    color: var(--green);
    font-size: .77rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #7ca517; box-shadow: 0 0 0 6px rgba(124,165,23,.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.055em; }
h1 { max-width: 810px; margin-bottom: 2rem; font-size: clamp(3.3rem, 7.4vw, 7.5rem); line-height: .94; font-weight: 600; }
h1 em { position: relative; font-style: normal; z-index: 0; }
h1 em::after { content: ""; position: absolute; left: -.02em; right: -.04em; bottom: .06em; height: .24em; background: var(--banana); z-index: -1; transform: rotate(-1.5deg); }
.intro { max-width: 650px; margin-bottom: 2.2rem; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.65; }
.intro strong { color: var(--ink); font-weight: 500; }
.hero-actions, .contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.button { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 4px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--banana); }
.button.primary:hover { background: #d4eb4f; }
.text-link { color: var(--muted); text-underline-offset: 5px; }
.profile-card { padding: 1.25rem; background: rgba(255,255,255,.72); border: 1px solid var(--line); box-shadow: 0 28px 80px rgba(31,57,37,.09); backdrop-filter: blur(10px); }
.profile-photo {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: var(--banana-soft);
}
.profile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.45);
    pointer-events: none;
}
.profile-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 68% center;
    transition: transform .5s ease;
}
.profile-card:hover .profile-photo img { transform: scale(1.025); }
.profile-name { margin-bottom: .25rem; font-size: 1.1rem; font-weight: 600; }
.profile-role { color: var(--muted); }
.quick-facts { margin: 2rem 0 0; }
.quick-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.quick-facts dt { color: var(--muted); }
.quick-facts dd { margin: 0; font-weight: 600; text-align: right; }

.statement { padding-block: clamp(6rem, 12vw, 11rem); border-top: 1px solid var(--line); }
.big-statement { max-width: 1050px; margin: 0; font: 500 clamp(2rem, 4.5vw, 4.5rem)/1.18 "Manrope"; letter-spacing: -.05em; }
.work, .experience, .skills { padding-block: clamp(5rem, 10vw, 9rem); }
.section-head { display: grid; grid-template-columns: 1.5fr .5fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.section-head h2, .skills h2, .contact h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; font-weight: 600; }
.section-head > p { max-width: 370px; margin: 0; color: var(--muted); line-height: 1.65; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.project { overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.project.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr; }
.project-visual { min-height: 330px; display: grid; place-items: center; overflow: hidden; background: var(--banana-soft); }
.payroll-visual { padding: 2.5rem; background: #e8f2e8; }
.payroll-visual img { width: 100%; display: block; border-radius: 5px; box-shadow: 0 22px 60px rgba(24,48,31,.2); }
.project-copy { padding: clamp(1.6rem, 3vw, 3rem); }
.feature .project-copy { display: flex; flex-direction: column; justify-content: center; }
.project-number { color: #718043; font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.project h3 { margin-bottom: 1rem; font: 600 clamp(1.55rem, 2.5vw, 2.5rem)/1.12 "Manrope"; letter-spacing: -.04em; }
.project-copy > p:not(.project-number) { color: var(--muted); line-height: 1.65; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.tags li { padding: .42rem .7rem; background: var(--banana-soft); color: var(--green); border-radius: 50px; font-size: .75rem; }
.homestay-visual { padding: 2.5rem; background: #f2f7cf; }
.mini-window { width: min(100%, 420px); padding: 1.25rem; background: white; border-radius: 8px; box-shadow: 0 20px 45px rgba(47,68,25,.13); }
.window-title { display: block; margin-bottom: 1rem; font-weight: 600; }
.booking { display: flex; justify-content: space-between; padding: .9rem 0; border-top: 1px solid var(--line); font-size: .85rem; }
.booking span { color: #618026; }
.ai-visual { align-content: center; gap: .75rem; padding: 2.5rem; background: #e3f0e7; }
.chat-bubble { max-width: 75%; padding: .8rem 1rem; border-radius: 14px; font-size: .86rem; box-shadow: 0 10px 25px rgba(20,48,28,.07); }
.customer { justify-self: end; background: var(--green); color: white; border-bottom-right-radius: 3px; }
.agent { justify-self: start; background: white; border-bottom-left-radius: 3px; }
.typing { justify-self: start; display: flex; gap: 4px; padding: .7rem 1rem; background: white; border-radius: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9baa9e; animation: bounce 1s infinite alternate; }
.typing i:nth-child(2) { animation-delay: .2s; }.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { to { transform: translateY(-4px); } }
.sport-visual { position: relative; grid-template-columns: repeat(3, 65px); gap: 12px; align-content: center; background: #f5f7df; }
.medal { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font: 600 1.4rem "Manrope"; box-shadow: inset 0 0 0 5px rgba(255,255,255,.4), 0 10px 24px rgba(42,53,27,.12); }
.gold { background: #e8cc4b; }.silver { background: #cbd1c9; }.bronze { background: #c99a62; }
.score-line { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid #daddbc; font-size: .82rem; }
.score-line span { color: #668125; }

.experience { border-top: 1px solid var(--line); }
.timeline { border-top: 1px solid var(--ink); }
.timeline article { display: grid; grid-template-columns: 230px 1fr; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.timeline time { color: #718043; font-size: .85rem; }
.timeline h3 { margin-bottom: .4rem; font: 600 1.2rem "Manrope"; }
.timeline p { margin: 0; color: var(--muted); line-height: 1.55; }
.skills { border-top: 1px solid var(--line); }
.skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 8rem); }
.skill-groups > div { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.skill-groups h3 { margin-bottom: .5rem; font-size: .85rem; color: #718043; text-transform: uppercase; letter-spacing: .12em; }
.skill-groups p { margin: 0; color: var(--muted); line-height: 1.6; }
.contact { width: min(1180px, calc(100% - 48px)); margin: 3rem auto; padding: clamp(2.5rem, 7vw, 6rem); background: var(--banana); }
.contact h2 { max-width: 850px; }
.contact > p:not(.section-label) { max-width: 600px; margin: 1.5rem 0 2.5rem; font-size: 1.1rem; }
.button.dark { background: var(--deep); color: white; }
.contact-links > a:not(.button) { font-weight: 600; text-underline-offset: 5px; }
footer { display: flex; justify-content: space-between; gap: 2rem; padding-block: 3rem; color: var(--muted); font-size: .84rem; }
footer p { margin: 0; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 800px) {
    .wrap { width: min(100% - 32px, 1180px); }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 3rem; padding-block: 4rem; }
    h1 { font-size: clamp(3.2rem, 14vw, 5.8rem); }
    .profile-card { max-width: 430px; }
    .section-head, .skills-layout { grid-template-columns: 1fr; }
    .projects { grid-template-columns: 1fr; }
    .project.feature { grid-column: auto; display: block; }
    .project-visual { min-height: 280px; }
    .timeline article { grid-template-columns: 1fr; gap: .65rem; }
    .contact { width: calc(100% - 32px); }
    footer { flex-direction: column; gap: .65rem; }
}
@media (max-width: 480px) {
    .wrap { width: min(100% - 24px, 1180px); }
    .hero { padding-block: 2.5rem 4rem; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .payroll-visual, .homestay-visual, .ai-visual { padding: 1.25rem; }
    .sport-visual { grid-template-columns: repeat(3, 54px); }
    .contact { width: calc(100% - 24px); margin-block: 1rem; padding: 2rem 1.35rem; }
    .contact-links { align-items: flex-start; flex-direction: column; }
}
