@charset "UTF-8";

:root {
    color-scheme: light;
    --paper: #f5f3ee;
    --ink: #171717;
    --muted: #6e6b65;
    --line: #d9d5cd;
    --accent: #3155e7;
    --card: #ebe8e0;
    --white: #fff;
    --header: rgba(245, 243, 238, 0.88);
    --shadow: rgba(23, 23, 23, 0.08);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #151515;
    --ink: #f4f1e9;
    --muted: #aaa69d;
    --line: #393833;
    --accent: #91a4ff;
    --card: #22221f;
    --white: #1b1b19;
    --header: rgba(21, 21, 21, 0.88);
    --shadow: rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    transition: background 0.25s, color 0.25s;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.section-shell {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: 8px;
    left: -9999px;
    z-index: 99;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
}

.skip-link:focus {
    left: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 82px;
    padding: 0 max(32px, calc((100vw - 1160px) / 2));
    border-bottom: 1px solid var(--line);
    background: var(--header);
    backdrop-filter: blur(14px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    font: 800 32px/1 Manrope, sans-serif;
    letter-spacing: -3px;
}

.brand-mark span,
.footer-brand span {
    color: var(--accent);
}

.brand-text {
    font: 700 10px/1.4 "DM Mono", monospace;
    letter-spacing: 0.08em;
}

.brand-text small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.15em;
}

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

.main-nav a,
.header-contact {
    font-size: 12px;
    font-weight: 600;
}

.main-nav a {
    color: var(--muted);
    transition: color 0.2s;
}

.main-nav a:hover,
.text-link:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 10px "DM Mono", monospace;
    cursor: pointer;
}

.theme-icon {
    font-size: 18px;
}

.header-contact {
    padding: 10px 13px;
    border: 1px solid var(--line);
}

.header-contact span {
    margin-left: 9px;
    color: var(--accent);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
}

.hero {
    padding-top: 76px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 23px;
    color: var(--muted);
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.12em;
}

.eyebrow-line {
    width: 26px;
    height: 1px;
    background: var(--accent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 44px;
}

.hero-copy {
    padding: 20px 0 28px;
}

.hero-kicker {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
}

.hero h1 {
    margin: 0;
    font: 800 clamp(54px, 7.2vw, 96px) / 0.94 Manrope, sans-serif;
    letter-spacing: -0.085em;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 440px;
    margin: 28px 0 26px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: var(--ink);
    color: var(--paper);
}

.button-dark:hover {
    background: var(--accent);
    color: #fff;
}

.text-link {
    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    margin-left: 5px;
    color: var(--accent);
}

.hero-art {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 380px;
    height: clamp(380px, 40vw, 490px);
    background: #d9d5cd;
    color: #171717;
}

.art-topline,
.art-bottomline {
    position: absolute;
    right: 18px;
    left: 18px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.08em;
}

.art-topline {
    top: 18px;
}

.art-bottomline {
    bottom: 18px;
}

.art-disc {
    position: absolute;
    top: 18%;
    right: 7%;
    z-index: 1;
    width: 63%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #3155e7;
}

.art-square {
    position: absolute;
    bottom: 19%;
    left: 13%;
    z-index: 2;
    width: 38%;
    aspect-ratio: 1;
    transform: rotate(-12deg);
    background: #f5f3ee;
}

.art-letter {
    position: absolute;
    top: 26%;
    left: 21%;
    z-index: 3;
    color: #171717;
    font: 800 clamp(130px, 19vw, 235px) / 1 Manrope, sans-serif;
    letter-spacing: -0.13em;
}

.art-letter span {
    color: #3155e7;
}

.art-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(23, 23, 23, 0.45);
    border-radius: 50%;
}

.orbit-one {
    top: 31%;
    left: 4%;
    width: 85%;
    height: 45%;
    transform: rotate(-38deg);
}

.orbit-two {
    top: 3%;
    left: 24%;
    width: 60%;
    height: 90%;
    transform: rotate(27deg);
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.08em;
}

.work-section,
.about-section,
.skills-section,
.experience-section {
    padding-top: 112px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    align-items: end;
    gap: 50px;
    margin-bottom: 38px;
}

.section-heading .eyebrow {
    margin-bottom: 16px;
}

.section-heading h2,
.contact-grid h2 {
    margin: 0;
    font: 700 clamp(38px, 5vw, 62px) / 1.05 Manrope, sans-serif;
    letter-spacing: -0.07em;
}

.section-heading h2 em,
.contact-grid h2 em {
    color: var(--accent);
    font-style: normal;
}

.section-intro {
    max-width: 370px;
    margin: 0 0 4px auto;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.project-grid,
#karya .project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 40px 28px;
}

.project-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.project-card:nth-child(3) {
    grid-column: 1 / -1;
}

.project-card .project-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 1.45 / 1;
    box-sizing: border-box;
    isolation: isolate;
}

.visual-umkm {
    background: #c8d7bd;
    color: #18291d;
}

.visual-flyer {
    background: #e5c66e;
    color: #2b281c;
}

.visual-logo {
    background: #d4e0ed;
    color: #123f79;
}

.visual-index,
.visual-caption {
    position: absolute;
    z-index: 3;
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.1em;
}

.visual-index {
    top: 18px;
    left: 18px;
}

.visual-caption {
    bottom: 18px;
    left: 18px;
}

.visual-arrow {
    position: absolute;
    right: 17px;
    bottom: 13px;
    z-index: 3;
    font-size: 22px;
}

.visual-art {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-visual:hover .visual-art {
    transform: scale(1.06) rotate(-2deg);
}

.visual-umkm .visual-art {
    width: 210px;
    height: 210px;
    transform: rotate(-8deg);
    border-radius: 50%;
    background: #315b3c;
    color: #f5f3ee;
    font: 800 48px / 0.86 Manrope, sans-serif;
    letter-spacing: -0.08em;
}

.visual-umkm .visual-art b {
    color: #d5edb4;
}

.visual-flyer .visual-art {
    width: 210px;
    min-height: 240px;
    padding: 18px;
    transform: rotate(5deg);
    background: #3155e7;
    color: #fff;
    box-shadow: 14px 14px 0 rgba(23, 23, 23, 0.12);
    font: 800 31px / 0.92 Manrope, sans-serif;
    letter-spacing: -0.06em;
}

.visual-flyer .visual-art small {
    display: block;
    margin-top: 15px;
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.1em;
}

.visual-logo .visual-art {
    display: flex;
    flex-direction: column;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: #f5f3ee;
    color: #3155e7;
    font: 700 23px / 1.1 Manrope, sans-serif;
    box-shadow: 0 0 0 14px rgba(49, 85, 231, 0.12);
}

.visual-logo .logo-house {
    position: relative;
    font-size: 100px;
    line-height: 0.9;
}

.visual-logo .logo-house b {
    position: absolute;
    right: -12px;
    bottom: 0;
    color: #4d9c65;
    font-size: 31px;
}

.visual-logo .visual-art small {
    margin-top: 10px;
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.07em;
}

.project-visual .project-image,
.project-card .project-card-image,
.project-card .project-card-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-position: center;
}

.project-visual .project-image {
    z-index: 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-visual:hover .project-image {
    transform: scale(1.035);
}

.project-card .project-card-image {
    padding: 18px;
    box-sizing: border-box;
    background: #e5e2db;
    object-fit: contain;
}

.project-card .project-card-video {
    background: #171717;
    object-fit: contain;
}

.project-card .visual-index,
.project-card .visual-caption,
.project-card .visual-arrow {
    z-index: 2;
}

.project-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.project-type {
    margin: 0 0 7px;
    color: var(--muted);
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-card .project-type {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.project-info h3,
.project-card .project-info h3 {
    margin: 0;
    font: 700 clamp(20px, 1.8vw, 26px) / 1.3 Manrope, sans-serif;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.project-card .project-info h3 {
    margin-top: 8px;
}

.project-info h3 a:hover {
    color: var(--accent);
}

.project-open {
    padding: 0 4px;
    color: var(--accent);
    font-size: 23px;
}

.project-summary {
    max-width: 550px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.project-card .project-summary {
    max-width: 60ch;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.8;
}

.small-note {
    margin-top: 26px;
    color: var(--muted);
    font-size: 11px;
}

.about-section {
    margin-top: 100px;
    border-top: 1px solid var(--line);
}

.about-copy {
    max-width: 560px;
}

.about-copy p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.about-copy .lead {
    color: var(--ink);
    font: 500 22px / 1.55 Manrope, sans-serif;
    letter-spacing: -0.035em;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.about-stats > div {
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
}

.stat-index {
    display: block;
    margin-bottom: 22px;
    color: var(--accent);
    font: 11px "DM Mono", monospace;
}

.about-stats strong {
    font: 700 17px Manrope, sans-serif;
}

.about-stats p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.skills-section {
    margin-top: 100px;
    border-top: 1px solid var(--line);
}

.skills-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.skill-label {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.12em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 12px;
}

.tool-list {
    border-top: 1px solid var(--line);
}

.tool-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.tool-list small {
    color: var(--muted);
    font: 10px "DM Mono", monospace;
}

.experience-section {
    margin-top: 100px;
    border-top: 1px solid var(--line);
}

.timeline {
    border-top: 1px solid var(--line);
}

.timeline-item {
    display: grid;
    grid-template-columns: 0.55fr 1.5fr 30px;
    align-items: start;
    gap: 28px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.timeline-date {
    padding-top: 5px;
    color: var(--muted);
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.1em;
}

.timeline-item h3 {
    margin: 0;
    font: 700 19px / 1.35 Manrope, sans-serif;
    letter-spacing: -0.035em;
}

.timeline-role {
    margin: 5px 0 9px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.timeline-item p:last-child {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.timeline-mark {
    color: var(--accent);
    font-size: 20px;
    text-align: right;
}

.contact-section {
    margin-top: 120px;
    padding: 48px;
    background: var(--card);
}

.contact-section > .eyebrow {
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: end;
    gap: 60px;
}

.contact-copy > p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.contact-email {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
    font: 600 clamp(15px, 2vw, 20px) Manrope, sans-serif;
    letter-spacing: -0.03em;
}

.contact-email span {
    color: var(--accent);
}

.contact-links {
    display: flex;
    gap: 22px;
    margin-top: 17px;
}

.contact-links a {
    font-size: 12px;
    font-weight: 700;
}

.contact-links a:hover {
    color: var(--accent);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.footer-brand {
    font: 800 20px Manrope, sans-serif;
    letter-spacing: -0.06em;
}

.site-footer p,
.footer-copy {
    margin: 0;
    color: var(--muted);
    font: 9px "DM Mono", monospace;
    letter-spacing: 0.04em;
}

.detail-page {
    padding-top: 55px;
    padding-bottom: 40px;
}

.back-link {
    display: inline-block;
    margin-bottom: 45px;
    color: var(--muted);
    font-size: 12px;
}

.back-link:hover {
    color: var(--accent);
}

.detail-title {
    max-width: 900px;
    margin: 0 0 36px;
    font: 800 clamp(40px, 7vw, 82px) / 1 Manrope, sans-serif;
    letter-spacing: -0.075em;
}

.detail-visual {
    height: clamp(300px, 50vw, 520px);
    margin-bottom: 50px;
}

.detail-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.detail-description {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.8;
}

.project-facts {
    border-top: 1px solid var(--line);
}

.project-facts > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.project-facts > div span {
    color: var(--muted);
}

.project-facts > div strong {
    text-align: right;
    font-weight: 600;
}

.project-facts .button {
    margin-top: 20px;
}

.detail-next {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 70px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.detail-next span {
    color: var(--muted);
    font: 9px "DM Mono", monospace;
}

.detail-next a {
    font-size: 13px;
    font-weight: 700;
}

.not-found {
    padding-top: 100px;
    padding-bottom: 100px;
}

.not-found h1 {
    margin: 0 0 30px;
    font: 800 clamp(42px, 7vw, 76px) / 1 Manrope, sans-serif;
    letter-spacing: -0.07em;
}

.detail-media {
    width: 100%;
    margin: 28px 0 44px;
    overflow: hidden;
    background: #171717;
}

.detail-video-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 78vh;
    background: #171717;
    object-fit: contain;
}

.detail-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    background: var(--paper, #f5f3ee);
}

.detail-image {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: contain;
}

.will-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.will-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hormati pengaturan pengurangan animasi */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .will-reveal {
        opacity: 1;
        transform: none;
    }

    .project-visual .project-image {
        transition: none;
    }
}

@media (max-width: 900px) {
    .section-shell {
        width: min(100% - 40px, 720px);
    }

    .site-header {
        padding: 0 20px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .brand-text {
        display: none;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-art {
        min-height: 340px;
        height: 38vw;
    }

    .hero h1 {
        font-size: clamp(50px, 7.8vw, 75px);
    }

    .section-heading {
        gap: 28px;
    }

    .contact-section {
        padding: 34px;
    }

    .skills-layout {
        gap: 35px;
    }

    .detail-columns {
        gap: 40px;
    }

    .project-grid,
    #karya .project-grid {
        gap: 32px 20px;
    }

    .project-card .project-visual {
        aspect-ratio: 1.2 / 1;
    }

    .project-card .project-info h3 {
        font-size: 21px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 76px;
    }

    .section-shell {
        width: calc(100% - 36px);
    }

    .site-header {
        height: 70px;
        padding: 0 18px;
        gap: 12px;
    }

    .brand-mark {
        font-size: 29px;
    }

    .brand-text {
        display: block;
        font-size: 9px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .header-actions {
        gap: 12px;
    }

    .theme-toggle {
        gap: 4px;
    }

    .theme-label {
        display: none;
    }

    .header-contact {
        padding: 8px 10px;
        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 25px;
        height: 25px;
        padding: 3px;
    }

    .menu-toggle span {
        display: block;
        width: 19px;
        height: 1px;
        background: var(--ink);
    }

    .main-nav {
        position: absolute;
        top: 69px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 3px;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
    }

    .hero {
        padding-top: 44px;
    }

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

    .hero-copy {
        padding: 10px 0 0;
    }

    .hero h1 {
        font-size: clamp(55px, 14vw, 82px);
    }

    .hero-description {
        margin: 22px 0;
        font-size: 14px;
    }

    .hero-art {
        height: 78vw;
        min-height: 300px;
        max-height: 430px;
    }

    .art-letter {
        font-size: clamp(150px, 42vw, 220px);
    }

    .hero-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 28px;
        font-size: 8px;
    }

    .work-section,
    .about-section,
    .skills-section,
    .experience-section {
        padding-top: 76px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 27px;
    }

    .section-heading h2,
    .contact-grid h2 {
        font-size: clamp(39px, 11vw, 55px);
    }

    .section-intro {
        max-width: 100%;
        margin: 0;
        font-size: 13px;
    }

    .project-grid,
    #karya .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .project-card:nth-child(3) {
        grid-column: auto;
    }

    .project-card:nth-child(3) .project-visual {
        height: 280px;
    }

    .project-card .project-visual {
        aspect-ratio: 1.15 / 1;
    }

    .project-card .project-card-image {
        padding: 12px;
    }

    .project-visual {
        min-height: 260px;
    }

    .project-info h3 {
        font-size: 18px;
    }

    .project-card .project-info h3 {
        font-size: 21px;
    }

    .project-card .project-summary {
        font-size: 15px;
    }

    .about-section,
    .skills-section,
    .experience-section {
        margin-top: 72px;
    }

    .about-copy .lead {
        font-size: 19px;
    }

    .about-copy p {
        font-size: 13px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-stats > div {
        padding-top: 12px;
    }

    .stat-index {
        margin-bottom: 9px;
    }

    .skills-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline-item {
        grid-template-columns: 1fr 24px;
        gap: 8px 15px;
        padding: 21px 0;
    }

    .timeline-date {
        grid-column: 1 / -1;
    }

    .timeline-item > div {
        grid-column: 1;
    }

    .timeline-mark {
        grid-column: 2;
        grid-row: 2;
    }

    .timeline-item h3 {
        font-size: 17px;
    }

    .contact-section {
        margin-top: 80px;
        padding: 25px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-copy > p {
        font-size: 13px;
    }

    .contact-email {
        font-size: 16px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .detail-page {
        padding-top: 35px;
    }

    .back-link {
        margin-bottom: 34px;
    }

    .detail-title {
        font-size: clamp(40px, 12vw, 66px);
    }

    .detail-visual {
        height: 320px;
        margin-bottom: 30px;
    }

    .detail-columns {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .detail-description {
        font-size: 16px;
    }

    .detail-next {
        flex-direction: column;
    }

    .not-found {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .detail-media {
        margin: 20px 0 32px;
    }

    .project-video {
        max-height: 70vh;
    }

    .detail-image {
        max-height: 520px;
    }
}

@media (max-width: 640px) {
    .project-card .project-card-image {
        padding: 12px;
    }

    .project-card .project-info h3 {
        font-size: 21px;
    }

    .project-card .project-summary {
        font-size: 15px;
    }
}

/* ========================================
   RIWAYAT PENDIDIKAN
======================================== */

.education-section {
    padding-top: 112px;
    margin-top: 100px;
    border-top: 1px solid var(--line);
}

.education-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.education-card {
    position: relative;
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--card);
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.education-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--shadow);
}

.education-current {
    border-left: 3px solid var(--accent);
}

.education-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.education-info {
    flex: 1;
    min-width: 0;
}

.education-level {
    margin: 0 0 13px;
    color: var(--muted);
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.1em;
}

.education-card h3 {
    margin: 0;
    font: 700 clamp(20px, 2.4vw, 27px) / 1.35
        Manrope, sans-serif;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.education-major {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.education-status {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    font: 600 9px "DM Mono", monospace;
    letter-spacing: 0.04em;
}

.status-active {
    background: rgba(49, 85, 231, 0.1);
    color: var(--accent);
}

.status-graduated {
    background: var(--paper);
    color: var(--muted);
}

.education-status > p {
    margin: 0;
    color: var(--muted);
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.06em;
    text-align: right;
}

.education-content {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.education-description {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.education-school-description {
    margin-top: 22px;
}

.education-subheading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.education-subheading-mark {
    color: var(--accent);
    font-size: 18px;
}

.education-subheading h4 {
    margin: 0;
    font: 700 12px Manrope, sans-serif;
    letter-spacing: 0.01em;
}

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.education-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-size: 11px;
    line-height: 1.5;
}

/* TABLET */

@media (max-width: 900px) {
    .education-card {
        padding: 24px;
    }

    .education-main {
        gap: 18px;
    }
}

/* PONSEL */

@media (max-width: 680px) {
    .education-section {
        padding-top: 76px;
        margin-top: 72px;
    }

    .education-list {
        gap: 18px;
    }

    .education-card {
        padding: 20px;
    }

    .education-main {
        flex-direction: column;
        gap: 18px;
    }

    .education-status {
        align-items: flex-start;
        gap: 7px;
    }

    .education-status > p {
        text-align: left;
    }

    .education-content {
        margin-top: 20px;
        padding-top: 18px;
    }

    .education-description {
        font-size: 12px;
    }

    .education-subheading {
        margin-top: 20px;
    }

    .education-tags span {
        padding: 7px 10px;
        font-size: 11px;
    }
}

/* AKSESIBILITAS */

@media (prefers-reduced-motion: reduce) {
    .education-card {
        transition: none;
    }

    .education-card:hover {
        transform: none;
    }
}


/* FOTO PROFIL HERO */
.hero .hero-grid .hero-portrait {
    justify-self: center;
    width: 100%;
    max-width: 300px;
    margin: 0;
}

.hero .hero-grid .hero-portrait img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    background: var(--card);
    box-shadow: 10px 10px 0 var(--accent);
}

.hero .hero-grid .hero-portrait figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 22px;
}

.hero .hero-grid .hero-portrait figcaption strong {
    font: 700 16px "Manrope", sans-serif;
    letter-spacing: -0.01em;
}

.hero .hero-grid .hero-portrait figcaption span {
    color: var(--muted);
    font: 10px "DM Mono", monospace;
    letter-spacing: 0.08em;
}

@media (max-width: 680px) {
    .hero .hero-grid .hero-portrait {
        max-width: 260px;
    }

    .hero .hero-grid .hero-portrait img {
        max-height: 325px;
        box-shadow: 8px 8px 0 var(--accent);
    }
}