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

:root {
    --forest: #102A22;
    --forest-light: #1D4032;
    --forest-soft: #294B3C;
    --burgundy: #783B4A;
    --burgundy-light: #A35F6D;
    --ivory: #E9E3D6;
    --muted: #B6C1B6;
    --line: rgba(233, 227, 214, 0.15);
    --page-width: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: var(--forest);
    color: var(--ivory);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--ivory);
    outline-offset: 5px;
}

::selection {
    color: var(--ivory);
    background: var(--burgundy);
}

/* NAVIGATION */

.site-header {
    width: 100%;
    min-height: 82px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: rgba(16, 42, 34, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
}

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

.brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: var(--burgundy);
    color: var(--ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-style: italic;
    border-radius: 50%;
}

.brand-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-link {
    color: var(--muted);
    font-size: 12px;
    transition: color 0.25s ease;
}

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

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    font-size: 12px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-contact:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    margin: 5px auto;
    background: var(--ivory);
}

/* HERO */

.section {
    position: relative;
    width: min(var(--page-width), 100%);
    margin-inline: auto;
    padding-inline: 7%;
}

.hero {
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 100px;
    isolation: isolate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 90px 90px;
    opacity: 0.25;
    mask-image: linear-gradient(to right, black, transparent 90%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 25px;
    animation: rise-in 0.8s ease both;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #A9BBA0;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(169, 187, 160, 0.5);
}

.hero-name {
    color: red !important;
    font-family: Impact, sans-serif !important;
    font-size: 70px !important;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.5px;
    color: var(--ivory);
}

.hero-name span {
    display: block;
    color: #B6C8B7;
    font-weight: 500;
    font-style: normal;
}

.hero h1 .accent-text {
    color: #C58B95;
}

.hero-description {
    max-width: 440px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 27px;
    margin-top: 34px;
}

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

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

.button-primary {
    background: var(--burgundy);
    color: var(--ivory);
}

.button-primary:hover {
    background: #8C4B5A;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ivory);
    font-size: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 5px;
}

.text-link span {
    color: #C58B95;
}

/* ORBITAL ARTWORK */

.hero-art {
    position: relative;
    width: min(100%, 430px);
    aspect-ratio: 1;
    justify-self: end;
    display: grid;
    place-items: center;
    animation: rise-in 1s 0.15s ease both;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(233, 227, 214, 0.24);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.orbit-one {
    inset: 8%;
}

.orbit-two {
    inset: 20%;
    border-color: rgba(197, 139, 149, 0.7);
    transform: rotate(-25deg) scaleX(0.72);
}

.orbit-three {
    inset: 28%;
    border-style: dashed;
    opacity: 0.6;
}

.hero-art:hover .orbit-one {
    transform: rotate(12deg);
}

.hero-art:hover .orbit-two {
    transform: rotate(15deg) scaleX(0.72);
}

.orbit-core {
    width: 35%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 25%, #315644, var(--forest-light) 75%);
    border: 1px solid rgba(233, 227, 214, 0.25);
    box-shadow: 0 0 75px rgba(120, 59, 74, 0.15);
}

.orbit-core span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(45px, 6vw, 76px);
    font-style: italic;
    line-height: 1;
}

.orbit-core small {
    margin-top: 10px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 2px;
}

.orbit-label {
    position: absolute;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.orbit-label-top {
    top: 10%;
    right: 0;
}

.orbit-label-bottom {
    bottom: 9%;
    left: 0;
}

.orbit-star {
    position: absolute;
    top: 20%;
    left: 18%;
    color: #C58B95;
    font-size: 23px;
    animation: slow-spin 18s linear infinite;
}

/* HERO FOOTER */

.hero-footer {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.3px;
}

.hero-footer a {
    transition: color 0.25s ease;
}

.hero-footer a:hover {
    color: var(--ivory);
}

/* CONTENT SECTIONS */

.content-section {
    padding-top: 125px;
    padding-bottom: 125px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 80px;
}

.content-section .eyebrow {
    margin-bottom: 24px;
}

.content-section h2 {
    max-width: 750px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.content-section > p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.content-section > .button {
    margin-top: 28px;
}

/* FOOTER */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 28px 7%;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.2px;
}

/* ANIMATIONS */

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slow-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* TABLET AND MOBILE */

@media (max-width: 1050px) {
    .site-header {
        padding-inline: 5%;
    }

    .navigation {
        gap: 15px;
    }

    .nav-link {
        font-size: 11px;
    }

    .brand-name {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .section {
        padding-inline: 5%;
    }

    .hero-footer {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 800px) {
    .site-header {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    .navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5% 22px;
        background: var(--forest);
        border-bottom: 1px solid var(--line);
    }

    .navigation.is-open {
        display: flex;
    }

    .nav-link {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
    }

    .nav-contact {
        justify-content: space-between;
        margin-top: 15px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 70px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: clamp(54px, 10vw, 78px);
        letter-spacing: -2.5px;
    }

    .hero-art {
        width: min(78%, 350px);
        justify-self: center;
        margin-top: 45px;
        margin-bottom: 25px;
    }

    .hero-footer {
        bottom: 18px;
    }

    .hero-footer span:last-child {
        display: none;
    }

    .content-section {
        padding-top: 85px;
        padding-bottom: 85px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero {
        padding-top: 55px;
    }

    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .hero h1 {
        font-size: clamp(45px, 12vw, 60px);
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .hero-art {
        width: 95%;
    }

    .orbit-label {
        font-size: 7px;
    }

    .hero-footer {
        font-size: 8px;
        letter-spacing: 0.7px;
    }

    .content-section h2 {
        font-size: 39px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding-inline: 5%;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* SCROLL REVEAL — KEEP CONTENT VISIBLE */

.content-section > *.reveal-ready {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.content-section > *.reveal-ready.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* SKILLS SECTION */
.section-intro {
    max-width: 600px;
    margin-bottom: 38px;
    color: var(--muted);
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 42px;
}

.skill-card {
    position: relative;
    padding: 30px;
    min-height: 245px;
    background: rgba(41, 75, 60, 0.28);
    border: 1px solid rgba(233, 227, 214, 0.12);
    border-radius: 4px;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

.skill-card:hover {
    background: rgba(41, 75, 60, 0.55);
    border-color: rgba(163, 95, 109, 0.75);
    transform: translateY(-5px);
}

.skill-number {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--burgundy-light);
    font-size: 0.78rem;
    letter-spacing: 2px;
}

.skill-card h3 {
    margin: 0 0 12px;
    color: var(--ivory);
    font-size: 1.25rem;
    font-weight: 500;
}

.skill-card p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.skill-tags span {
    display: inline-block;
    padding: 7px 11px;
    color: var(--ivory);
    background: rgba(16, 42, 34, 0.75);
    border: 1px solid rgba(233, 227, 214, 0.14);
    border-radius: 2px;
    font-size: 0.76rem;
    transition: border-color 0.25s ease,
                color 0.25s ease;
}

.skill-tags span:hover {
    color: #ffffff;
    border-color: var(--burgundy-light);
}

@media (max-width: 650px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 24px;
        min-height: auto;
    }
}

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}

.project-card {
    min-width: 0;
    overflow: hidden;
    background: rgba(29, 64, 50, 0.3);
    border: 1px solid rgba(233, 227, 214, 0.12);
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(163, 95, 109, 0.8);
}

.project-featured {
    grid-column: 1 / -1;
}

.project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 24px;
}

.project-category,
.project-index {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
}

.project-category {
    color: var(--burgundy-light);
}

.project-index {
    color: var(--muted);
}

.project-visual {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #17372B;
    border-top: 1px solid rgba(233, 227, 214, 0.1);
    border-bottom: 1px solid rgba(233, 227, 214, 0.1);
}

.project-visual-one {
    min-height: 290px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(120, 59, 74, 0.35), transparent 55%),
        #17372B;
}

.visual-label {
    position: absolute;
    top: 22px;
    left: 24px;
    color: var(--ivory);
    font-size: 0.72rem;
    letter-spacing: 3px;
}

.visual-window {
    width: min(75%, 440px);
    overflow: hidden;
    border: 1px solid rgba(233, 227, 214, 0.3);
    background: #102A22;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(18px);
    transition: transform 0.4s ease;
}

.project-card:hover .visual-window {
    transform: translateY(8px);
}

.visual-window-header {
    display: flex;
    gap: 5px;
    padding: 11px;
    border-bottom: 1px solid rgba(233, 227, 214, 0.12);
}

.visual-window-header span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--burgundy-light);
}

.visual-window-body {
    display: flex;
    min-height: 125px;
}

.visual-sidebar {
    width: 24%;
    border-right: 1px solid rgba(233, 227, 214, 0.12);
    background: rgba(41, 75, 60, 0.4);
}

.visual-content {
    flex: 1;
    padding: 18px;
}

.visual-line {
    width: 65%;
    height: 6px;
    margin-bottom: 9px;
    background: rgba(233, 227, 214, 0.55);
}

.visual-line.short {
    width: 38%;
    background: rgba(163, 95, 109, 0.8);
}

.visual-blocks {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.visual-blocks span {
    flex: 1;
    height: 42px;
    background: rgba(41, 75, 60, 0.9);
    border: 1px solid rgba(233, 227, 214, 0.12);
}

.project-visual-two {
    background:
        radial-gradient(circle at center, rgba(163, 95, 109, 0.22), transparent 45%),
        #142F25;
}

.sentinel-symbol {
    z-index: 1;
    color: var(--ivory);
    font-family: Georgia, serif;
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 400;
}

.sentinel-symbol::first-letter {
    color: var(--burgundy-light);
}

.sentinel-orbit {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(163, 95, 109, 0.65);
    border-radius: 50%;
    transform: rotate(-30deg) scaleX(1.4);
}

.sentinel-caption {
    position: absolute;
    bottom: 20px;
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 2px;
}

.project-visual-three {
    flex-direction: column;
    gap: 15px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(120, 59, 74, 0.32), transparent 60%),
        #17372B;
}

.assistance-mark {
    color: var(--ivory);
    font-family: Georgia, serif;
    font-size: 5rem;
    letter-spacing: 8px;
}

.assistance-mark span {
    color: var(--burgundy-light);
}

.assistance-caption {
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 2px;
}

.assistance-lines {
    display: flex;
    gap: 8px;
    width: 42%;
}

.assistance-lines span {
    height: 3px;
    flex: 1;
    background: rgba(233, 227, 214, 0.2);
}

.assistance-lines span:first-child {
    background: var(--burgundy-light);
}

.project-info {
    padding: 26px 24px 28px;
}

.project-info h3 {
    margin: 0 0 12px;
    color: var(--ivory);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.4;
}

.project-info p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-tags span {
    padding: 6px 10px;
    color: var(--ivory);
    border: 1px solid rgba(233, 227, 214, 0.16);
    font-size: 0.72rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ivory);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.project-link span {
    color: var(--burgundy-light);
    transition: transform 0.25s ease;
}

.project-link:hover {
    color: var(--burgundy-light);
}

.project-link:hover span {
    transform: translate(3px, -3px);
}

@media (max-width: 700px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-featured {
        grid-column: auto;
    }

    .project-visual-one {
        min-height: 240px;
    }

    .project-top {
        padding: 17px 18px;
    }

    .project-info {
        padding: 22px 18px 25px;
    }
}

/* =========================================
CREDENTIALS & ACHIEVEMENTS
========================================= */

.credentials-section {
    width: 100%;
}

.credentials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 42px;
}

.credentials-heading {
    min-width: 0;
}

.credentials-intro {
    max-width: 340px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* MAIN CARD */

.credentials-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.credential-accordion-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(233, 227, 214, 0.16);
    border-radius: 12px;
    background: rgba(29, 64, 50, 0.35);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.credential-accordion-card:hover {
    border-color: rgba(233, 227, 214, 0.3);
    background: rgba(29, 64, 50, 0.5);
}

/* COLLAPSED TITLE */

.credential-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 100px;
    padding: 28px 32px;
    border: none;
    background: transparent;
    color: var(--ivory);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.credential-accordion-title {
    min-width: 0;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.credential-accordion-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(233, 227, 214, 0.25);
    border-radius: 50%;
    color: var(--ivory);
    font-size: 1.2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.credential-accordion-toggle:hover .credential-accordion-icon {
    background: var(--forest-soft);
}

.credential-accordion-toggle[aria-expanded="true"]
.credential-accordion-icon {
    transform: rotate(45deg);
}

.credential-accordion-toggle:focus-visible {
    outline: 2px solid var(--ivory);
    outline-offset: -4px;
}

/* EXPANDED COLLECTION */

.credential-accordion-content {
    padding: 30px 32px 34px;
    border-top: 1px solid rgba(233, 227, 214, 0.15);
}

.credential-accordion-content[hidden] {
    display: none;
}

.credential-collection-heading {
    margin-bottom: 26px;
}

.credential-collection-heading > span {
    color: #a9c3a9;
    font-size: 0.68rem;
    letter-spacing: 2px;
}

.credential-collection-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* CERTIFICATE GRID */

.credential-certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.credential-certificate {
    min-width: 0;
    overflow: hidden;
}

.credential-certificate-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(233, 227, 214, 0.15);
    border-radius: 8px;
    background: var(--forest);
}

.credential-certificate-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.credential-certificate:hover
.credential-certificate-image img {
    transform: scale(1.025);
}

.credential-certificate h4 {
    margin: 14px 0 0;
    color: var(--ivory);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .credentials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .credentials-intro {
        max-width: 100%;
    }

    .credential-accordion-toggle {
        min-height: 85px;
        padding: 24px;
    }

    .credential-accordion-content {
        padding: 26px 24px;
    }

    .credential-certificates-grid {
        gap: 22px;
    }
}

@media (max-width: 520px) {
    .credential-accordion-toggle {
        gap: 12px;
        padding: 22px 18px;
    }

    .credential-accordion-content {
        padding: 22px 16px;
    }

    .credential-certificates-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .credential-certificate h4 {
        font-size: 0.9rem;
    }

    
}
.credential-accordion-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 100px !important;
    padding: 28px 32px !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #1D4032 !important;
    color: #E9E3D6 !important;
    border: 1px solid rgba(233, 227, 214, 0.2) !important;
    border-radius: 12px !important;
    font-family: inherit !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

/* =========================================
   CERTIFICATE TITLE LIST
========================================= */

.credential-title-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid rgba(233, 227, 214, 0.16);
}

.credential-title-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 8px;
    border: none;
    border-bottom: 1px solid rgba(233, 227, 214, 0.16);
    background: transparent;
    color: var(--ivory);
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease, padding 0.3s ease;
}

/* =========================================
   CERTIFICATE HOVER HIGHLIGHT
========================================= */

.credential-title-item {
    border-left: 2px solid transparent;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        padding 0.3s ease;
}

.credential-title-item:hover {
    background: rgba(169, 195, 169, 0.12);
    border-left-color: #A9C3A9;
    padding-left: 16px;
}

.credential-title-item:hover .credential-title-name {
    color: #D8E8D5;
}

.credential-title-item:hover .credential-title-number,
.credential-title-item:hover .credential-title-arrow {
    color: #C0D9B9;
}

.credential-title-item:focus-visible {
    background: rgba(169, 195, 169, 0.15);
    outline: 2px solid #A9C3A9;
    outline-offset: -2px;
}


.credential-title-item:hover {
    padding-left: 16px;
    padding-right: 16px;
    background: rgba(41, 75, 60, 0.35);
}

.credential-title-number {
    color: #a9c3a9;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.credential-title-name {
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.credential-title-arrow {
    color: #a9c3a9;
    font-size: 1.1rem;
    text-align: right;
    transition: transform 0.3s ease;
}

.credential-title-item:hover .credential-title-arrow {
    transform: translate(3px, -3px);
}

.credential-title-item:focus-visible {
    outline: 2px solid #a9c3a9;
    outline-offset: -3px;
}


/* =========================================
   CENTERED CERTIFICATE PREVIEW
========================================= */

.certificate-preview-modal {
    position: fixed;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);

    box-sizing: border-box;
    width: fit-content;
    max-width: min(900px, calc(100vw - 32px));
    max-height: 88vh;

    margin: 0;
    padding: 20px;

    overflow: auto;
    border: 1px solid rgba(169, 195, 169, 0.3);
    border-radius: 12px;

    background: #102A22;
    color: var(--ivory);
}

.certificate-preview-modal[open] {
    display: flex;
    flex-direction: column;
}

.certificate-preview-modal::backdrop {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

/* POPUP HEADER */

.certificate-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 16px;
}

.certificate-modal-header p {
    margin: 0;
    color: var(--ivory);
    font-size: 0.9rem;
    line-height: 1.5;
}

.certificate-modal-close {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(233, 227, 214, 0.25);
    border-radius: 50%;

    background: transparent;
    color: var(--ivory);
    font-size: 1.4rem;

    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.certificate-modal-close:hover {
    background: var(--forest-soft);
    border-color: #A9C3A9;
}

/* CERTIFICATE IMAGE */

.certificate-modal-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 0;

    overflow: hidden;
    border-radius: 8px;
    background: #0B211A;
}

.certificate-modal-image img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 70vh;

    object-fit: contain;
    object-position: center;
    border-radius: 6px;
}

/* SMALL SCREENS */

@media (max-width: 600px) {
    .certificate-preview-modal {
        max-width: calc(100vw - 24px);
        max-height: 85vh;
        padding: 14px;
    }

    .certificate-modal-image img {
        max-height: 65vh;
    }
}

.certificate-modal-image img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 6px;
}

@media (max-width: 520px) {
    .credential-title-item {
        grid-template-columns: 30px minmax(0, 1fr) 22px;
        gap: 10px;
        padding: 19px 4px;
    }

    .credential-title-name {
        font-size: 0.88rem;
    }

    .certificate-preview-modal {
        padding: 14px;
    }
}


/* =========================================
   EXPERIENCE & LEADERSHIP
========================================= */

.experience-list {
    display: flex;
    flex-direction: column;
    margin-top: 42px;
    border-top: 1px solid var(--line);
}

.experience-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr) 30px;
    align-items: start;
    gap: 28px;
    padding: 34px 12px;
    border-bottom: 1px solid var(--line);
    transition: background 0.3s ease, padding 0.3s ease;
}

.experience-item > * {
    min-width: 0;
    visibility: visible;
    opacity: 1;
}

.experience-item:hover {
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(41, 75, 60, 0.25);
}

.experience-period {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.experience-period span:first-child {
    color: var(--burgundy-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    line-height: 1.2;
}

.experience-period span:last-child {
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 1.3px;
}

.experience-content {
    display: block;
    min-width: 0;
}

.experience-category {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--burgundy-light);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
}

.experience-content h3 {
    display: block;
    margin: 0 0 8px;
    color: var(--ivory);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.45;
}

.experience-organization {
    display: block;
    margin-bottom: 15px;
    color: var(--ivory);
    font-size: 0.9rem;
}

.experience-description {
    display: block;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

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

.experience-tags span {
    display: inline-block;
    padding: 6px 10px;
    color: var(--ivory);
    border: 1px solid rgba(233, 227, 214, 0.16);
    font-size: 0.72rem;
}

.experience-mark {
    color: var(--burgundy-light);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.experience-item:hover .experience-mark {
    transform: translate(3px, -3px);
}

/* MOBILE LAYOUT */

@media (max-width: 650px) {
    .credential-item {
        grid-template-columns: 30px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 24px 4px;
    }

    .credential-item:hover {
        padding-left: 8px;
        padding-right: 8px;
    }

    .credential-details h3 {
        font-size: 1.08rem;
    }

    .experience-item {
        grid-template-columns: 1fr 22px;
        gap: 16px;
        padding: 26px 4px;
    }

    .experience-period {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .experience-period span:first-child {
        font-size: 1.4rem;
    }

    .experience-content {
        grid-column: 1;
    }

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

    .experience-content h3 {
        font-size: 1.15rem;
    }

    .experience-item:hover {
        padding-left: 8px;
        padding-right: 8px;
    }
}


/* SAFE CONTENT VISIBILITY */

.content-section > *.reveal-ready,
.content-section > *.is-visible {
    visibility: visible;
}

.content-section > *.reveal-ready {
    opacity: 1;
    transform: translateY(0);
}

.content-section > *.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure descriptions and nested content remain visible */

.credential-item,
.credential-details,
.credential-details h3,
.credential-details p,
.experience-item,
.experience-content,
.experience-content h3,
.experience-content p,
.experience-content span,
.experience-tags,
.experience-tags span {
    visibility: visible;
}


/* =========================================
   VERDANT — SIGNATURE INTERACTION LAYER
   Subtle • Editorial • Forest & Burgundy
========================================= */

:root {
    --hover-wash: rgba(233, 227, 214, 0.035);
    --hover-line: rgba(197, 139, 149, 0.65);
    --hover-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    --motion-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Smooth, consistent interactions */
a,
button,
.project-card,
.skill-card,
.credential-item,
.experience-item,
.skill-tags span,
.project-tags span,
.experience-tags span {
    transition:
        color 240ms ease,
        background-color 280ms ease,
        border-color 280ms ease,
        box-shadow 350ms ease,
        transform 350ms var(--motion-smooth);
}

/* Navigation: understated editorial underline */
.nav-link {
    position: relative;
    padding-block: 8px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background: var(--burgundy-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms var(--motion-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Buttons: refined lift and depth */
.button,
.nav-contact {
    position: relative;
    overflow: hidden;
}

.button:hover,
.nav-contact:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.button:active,
.nav-contact:active {
    transform: translateY(0) scale(0.985);
}

/* Text links: color and arrow response */
.text-link,
.project-link,
.hero-footer a,
.site-footer a {
    transition: color 250ms ease;
}

.text-link:hover,
.project-link:hover,
.hero-footer a:hover,
.site-footer a:hover {
    color: var(--burgundy-light);
}

/* Cards: quiet highlight, never excessive */
.project-card,
.skill-card {
    isolation: isolate;
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover,
    .skill-card:hover {
        box-shadow: var(--hover-shadow);
    }

    .skill-tags span:hover,
    .project-tags span:hover,
    .experience-tags span:hover {
        background: rgba(120, 59, 74, 0.18);
        border-color: var(--hover-line);
        transform: translateY(-2px);
    }

    .credential-item:hover,
    .experience-item:hover {
        box-shadow: inset 2px 0 0 var(--burgundy-light);
    }

    .project-card:hover .project-category,
    .skill-card:hover .skill-number {
        color: #D9A1AA;
    }

    .hero-art:hover .orbit-label {
        color: var(--ivory);
    }
}

/* Keyboard users receive the same visual care */
a:focus-visible,
button:focus-visible,
.skill-card:focus-visible,
.project-card:focus-visible {
    outline: 2px solid var(--burgundy-light);
    outline-offset: 4px;
}

/* Respect visitors who prefer less movement */
@media (prefers-reduced-motion: reduce) {
    a,
    button,
    .project-card,
    .skill-card,
    .credential-item,
    .experience-item,
    .skill-tags span,
    .project-tags span,
    .experience-tags span,
    .nav-link::after {
        transition: none !important;
    }
}


/* =========================================
   VERDANT — REFINED K MONOGRAM
========================================= */

.orbit-core {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(41, 75, 60, 0.95),
            var(--forest) 78%
        );
    border: 1px solid rgba(233, 227, 214, 0.32);
    box-shadow:
        0 0 0 8px rgba(233, 227, 214, 0.025),
        0 0 55px rgba(120, 59, 74, 0.16);
    transition:
        border-color 450ms ease,
        box-shadow 450ms ease,
        transform 450ms ease;
}

.monogram-letter {
    color: var(--ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(45px, 6vw, 76px);
    font-style: italic;
    font-weight: 400;
    line-height: 0.95;
    transition:
        color 350ms ease,
        transform 450ms ease;
}

.monogram-rule {
    display: block;
    width: 24px;
    height: 1px;
    margin-top: 8px;
    background: var(--burgundy-light);
    transition: width 350ms ease;
}

.orbit-core small {
    margin-top: 8px;
    color: var(--muted);
    font-size: 7px;
    letter-spacing: 2.5px;
}

@media (hover: hover) and (pointer: fine) {
    .hero-art:hover .orbit-core {
        border-color: rgba(197, 139, 149, 0.75);
        box-shadow:
            0 0 0 8px rgba(233, 227, 214, 0.035),
            0 0 65px rgba(120, 59, 74, 0.22);
    }

    .hero-art:hover .monogram-letter {
        color: #F5EDE1;
        transform: translateY(-2px);
    }

    .hero-art:hover .monogram-rule {
        width: 38px;
    }
}
.hero-name {
    font-family: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
    color: #E9E3D6 !important;
}

.hero-name span {
    display: block;
    color: var(--burgundy-light);
    font-style: italic;
}
/* =========================================
   VERDANT — PERSONAL NAME / HERO
========================================= */

.hero-name {
    color: var(--ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6.5vw, 6.2rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 28px;
}

.hero-name span {
    display: block;
    color: var(--burgundy-light);
    font-style: italic;
}

.hero-description {
    max-width: 490px;
    line-height: 1.9;
}

@media (max-width: 600px) {
    .hero-name {
        font-size: clamp(2.8rem, 12vw, 4.5rem);
    }
}

/* =========================================
   VERDANT — HERO LAYOUT REFINEMENT
========================================= */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-name {
    margin-top: 26px;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-description {
    max-width: 460px;
    margin-bottom: 30px;
}

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

.hero-art {
    transition: transform 500ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .hero-art:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        max-width: 520px;
    }
}

@media (max-width: 600px) {
    .hero-name {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .hero-actions {
        gap: 18px;
    }
}


/* =========================================
   VERDANT — ABOUT
   Editorial / Forest Green / Soft Glow
========================================= */

.about-section {
    --about-glow: rgba(128, 178, 139, 0.13);
    --about-line: rgba(166, 190, 167, 0.19);
    --about-muted: #b8c6ba;
    --about-light: #e6eee5;
    --about-ivory: #f4f0e6;
    --about-burgundy: #75434f;

    position: relative;
    isolation: isolate;
}

/* Section labels */

.about-section .about-eyebrow {
    margin-bottom: 42px;
    letter-spacing: 0.16em;
}

.about-section .about-kicker {
    margin-bottom: 20px;
    color: #a5bca7;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.about-section .about-heading h2 {
    max-width: 620px;
    margin: 0;
    color: var(--about-ivory);
    font-size: clamp(2.5rem, 5.2vw, 4.8rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.055em;
}

.about-section .about-heading h2 span {
    display: block;
    color: #a9c4ac;
    transition:
        color 350ms ease,
        text-shadow 350ms ease;
}

.about-section .about-heading h2:hover span {
    color: #d2e8d2;
    text-shadow: 0 0 24px rgba(159, 206, 165, 0.17);
}

.about-section .about-note {
    margin-top: 26px;
    color: var(--about-muted);
    font-size: 0.69rem;
    line-height: 1.9;
    letter-spacing: 0.1em;
}

.about-section .about-note span {
    padding: 0 5px;
    color: #a97b86;
}

.about-section .about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: #d0d9cd;
    font-family: 'Playfair Display', serif;
    font-size: 0.96rem;
    font-style: italic;
}

.about-section .signature-line {
    display: inline-block;
    width: 34px;
    height: 1px;
    flex-shrink: 0;
    background: #9db69f;
    transition:
        width 350ms ease,
        box-shadow 350ms ease;
}

.about-section .about-heading:hover .signature-line {
    width: 52px;
    box-shadow: 0 0 12px rgba(157, 182, 159, 0.45);
}

.about-section .about-small-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #9eafa0;
    font-size: 0.78rem;
}

.about-section .detail-mark {
    color: #b68a94;
    transition:
        color 300ms ease,
        transform 400ms ease;
}

.about-section .about-small-detail:hover .detail-mark {
    color: #e0b2bc;
    transform: rotate(45deg);
}

/* About copy */

.about-section .about-copy {
    max-width: 620px;
}

.about-section .about-copy p {
    margin: 0 0 21px;
    color: #c4cec4;
    font-size: 0.96rem;
    line-height: 1.95;
    transition:
        color 300ms ease,
        transform 300ms ease;
}

.about-section .about-copy p:hover {
    color: #f0f3e9;
    transform: translateX(3px);
}

/* Interests heading */

.about-section .interests-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin: 76px 0 26px;
}

.about-section .interests-heading .eyebrow {
    margin: 0 0 12px;
    color: #a5bca7;
    font-size: 0.7rem;
    letter-spacing: 0.17em;
}

.about-section .interests-title {
    margin: 0;
    color: var(--about-ivory);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.025em;
}

.about-section .interests-subtitle {
    max-width: 300px;
    margin: 0 0 4px;
    color: #aab9ac;
    font-size: 0.82rem;
    line-height: 1.7;
}

/* Interest cards */

.about-section .interests-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-section .interest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 245px;
    padding: 23px 21px 20px;
    overflow: hidden;
    border: 1px solid var(--about-line);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.005) 65%
        ),
        rgba(20, 48, 38, 0.5);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.035);
    transform: translateY(0);
    transition:
        background 350ms ease,
        border-color 350ms ease,
        box-shadow 350ms ease,
        transform 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Soft glow inside each card */

.about-section .interest-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 15% 0%,
        rgba(154, 202, 158, 0.15),
        transparent 68%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 400ms ease;
}

.about-section .interest-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(177, 213, 176, 0.75),
        transparent
    );
    opacity: 0;
    transition: opacity 350ms ease;
}

.about-section .interest-card:hover,
.about-section .interest-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(163, 204, 165, 0.52);
    background-color: rgba(39, 75, 55, 0.78);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.13),
        0 0 22px rgba(127, 183, 135, 0.09);
}

.about-section .interest-card:hover::before,
.about-section .interest-card:hover::after,
.about-section .interest-card:focus-within::before,
.about-section .interest-card:focus-within::after {
    opacity: 1;
}

.about-section .interest-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.about-section .interest-number {
    color: #93a996;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    transition: color 300ms ease;
}

.about-section .interest-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(166, 190, 167, 0.24);
    border-radius: 50%;
    color: #b4c9b5;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    transition:
        color 350ms ease,
        background 350ms ease,
        border-color 350ms ease,
        transform 450ms ease;
}

.about-section .interest-card:hover .interest-symbol {
    color: #f0f4e8;
    background: rgba(163, 204, 165, 0.13);
    border-color: rgba(181, 216, 181, 0.58);
    transform: rotate(8deg);
}

.about-section .interest-card h4 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #f0eee3;
    font-family: 'Playfair Display', serif;
    font-size: 1.14rem;
    font-weight: 400;
    line-height: 1.4;
    transition:
        color 300ms ease,
        text-shadow 300ms ease;
}

.about-section .interest-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: #b7c5b8;
    font-size: 0.82rem;
    line-height: 1.75;
    transition: color 300ms ease;
}

.about-section .interest-card:hover h4 {
    color: #d8ebd7;
    text-shadow: 0 0 16px rgba(177, 220, 178, 0.12);
}

.about-section .interest-card:hover p {
    color: #e0e8dc;
}

.about-section .interest-card:hover .interest-number {
    color: #d0e4d0;
}

.about-section .interest-caption {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(166, 190, 167, 0.14);
    color: #a0b4a2;
    font-size: 0.59rem;
    letter-spacing: 0.13em;
    transition:
        color 300ms ease,
        border-color 300ms ease;
}

.about-section .interest-card:hover .interest-caption {
    color: #d3e5d1;
    border-color: rgba(166, 205, 167, 0.34);
}

/* Virgo detail */

.about-section .about-zodiac {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 23px 25px;
    overflow: hidden;
    border: 1px solid rgba(135, 92, 105, 0.36);
    border-radius: 14px;
    background: linear-gradient(
        110deg,
        rgba(91, 49, 61, 0.22),
        rgba(26, 52, 41, 0.4) 72%
    );
    transition:
        border-color 350ms ease,
        background 350ms ease,
        box-shadow 350ms ease;
}

.about-section .about-zodiac:hover {
    border-color: rgba(174, 126, 140, 0.6);
    background: linear-gradient(
        110deg,
        rgba(111, 59, 74, 0.32),
        rgba(36, 69, 49, 0.52) 72%
    );
    box-shadow: 0 0 24px rgba(117, 67, 79, 0.11);
}

.about-section .zodiac-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    flex-shrink: 0;
    border: 1px solid rgba(174, 126, 140, 0.38);
    border-radius: 50%;
    color: #d4aab2;
    font-size: 1.8rem;
    transition:
        transform 400ms ease,
        color 350ms ease;
}

.about-section .about-zodiac:hover .zodiac-symbol {
    color: #f0c9d0;
    transform: rotate(-8deg);
}

.about-section .zodiac-copy {
    position: relative;
    z-index: 1;
}

.about-section .zodiac-label {
    margin: 0 0 6px;
    color: #d6aab4;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.about-section .zodiac-description {
    margin: 0;
    color: #d0d5c9;
    font-size: 0.86rem;
    line-height: 1.7;
}

.about-section .zodiac-decoration {
    margin-left: auto;
    color: rgba(204, 158, 169, 0.4);
    font-size: 2rem;
    transition:
        color 350ms ease,
        transform 450ms ease;
}

.about-section .about-zodiac:hover .zodiac-decoration {
    color: #d6aab4;
    transform: rotate(45deg);
}

/* Responsive layout */

@media (max-width: 1000px) {
    .about-section .interests-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-section .interest-card {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .about-section .about-eyebrow {
        margin-bottom: 30px;
    }

    .about-section .interests-heading {
        margin-top: 54px;
        align-items: flex-start;
        flex-direction: column;
    }

    .about-section .about-copy p {
        font-size: 0.92rem;
    }

    .about-section .about-zodiac {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-section .interests-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .about-section .interest-card {
        min-height: 0;
        padding: 21px;
    }

    .about-section .interest-card-top {
        margin-bottom: 21px;
    }

    .about-section .about-signature {
        align-items: flex-start;
        font-size: 0.88rem;
    }

    .about-section .about-zodiac {
        gap: 13px;
        padding: 17px;
    }

    .about-section .zodiac-symbol {
        width: 41px;
        height: 41px;
        font-size: 1.5rem;
    }

    .about-section .zodiac-decoration {
        display: none;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .about-section *,
    .about-section *::before,
    .about-section *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Responsive layout */

@media (max-width: 1000px) {
    .about-section .interests-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-section .interest-card {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    .about-section .about-eyebrow {
        margin-bottom: 30px;
    }

    .about-section .interests-heading {
        margin-top: 54px;
        align-items: flex-start;
        flex-direction: column;
    }

    .about-section .about-copy p {
        font-size: 0.92rem;
    }

    .about-section .about-zodiac {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-section .interests-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .about-section .interest-card {
        min-height: 0;
        padding: 21px;
    }

    .about-section .interest-card-top {
        margin-bottom: 21px;
    }

    .about-section .about-signature {
        align-items: flex-start;
        font-size: 0.88rem;
    }

    .about-section .about-zodiac {
        gap: 13px;
        padding: 17px;
    }

    .about-section .zodiac-symbol {
        width: 41px;
        height: 41px;
        font-size: 1.5rem;
    }

    .about-section .zodiac-decoration {
        display: none;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .about-section *,
    .about-section *::before,
    .about-section *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}



/* =========================================
   PORTFOLIO REVISION — LIGHT SECTIONS
========================================= */

main > section.content-section {
    background-color: #F7F5EF;
    color: #162A08;
}

main > section.content-section h2,
main > section.content-section h3 {
    color: #162A08;
}

main > section.content-section p {
    color: #46513F;
}

main > section.content-section .eyebrow,
.card-number {
    color: #65764E;
    letter-spacing: 0.12em;
}

/* General cards for skills and credentials */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.portfolio-card {
    padding: 28px;
    background: #FFFFFF;
    color: #162A08;
    border: 1px solid #E5E5DC;
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(22, 42, 8, 0.08);
}

.portfolio-card h3 {
    margin: 18px 0 12px;
    line-height: 1.35;
}

.portfolio-card p {
    line-height: 1.8;
}

.card-number {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Tags */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.project-tags span {
    display: inline-block;
    padding: 6px 10px;
    background: #F0F1E8;
    color: #28502A;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* Credentials */

.credentials-grid {
    align-items: stretch;
}

.status-label {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 10px;
    background: #E9EEDF;
    color: #28502A;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Experience timeline */

.experience-list {
    max-width: 900px;
    margin-top: 36px;
    border-top: 1px solid #DCDDCF;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #DCDDCF;
}

.experience-date {
    padding-top: 5px;
    color: #65764E;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.experience-content h3 {
    margin: 0 0 8px;
}

.experience-content p {
    line-height: 1.8;
}

.experience-organization {
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contact */

.contact-section h2 span {
    color: #65764E;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
}

/* Keep links readable on light sections */

main > section.content-section a:not(.button) {
    color: #28502A;
}

/* Responsive layout */

@media (max-width: 700px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portfolio-card {
        padding: 22px;
    }

    .contact-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Respect reduced-motion preferences */

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

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


/* ========================================
   VERDANT THEME — FULL-WIDTH LIGHT SECTIONS
   ======================================== */

:root {
    --verdant-light: #F7F5EF;
    --verdant-dark: #162A22;
    --verdant-green: #294C3B;
    --verdant-text: #26352C;
    --verdant-muted: #737B72;
    --verdant-line: #DCDDD3;
}

/* Keep the main page background light */
html {
    background: var(--verdant-light);
    scroll-behavior: smooth;
}

body {
    background: var(--verdant-light);
    color: var(--verdant-text);
}

/* Keep the hero dark */
.hero {
    background: var(--verdant-dark);
    color: var(--verdant-light);
}

/* Make every content section fully light */
main > .content-section {
    width: 100%;
    max-width: none;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--verdant-light);
    color: var(--verdant-text);
    padding: 100px max(7%, calc((100% - 1200px) / 2));
    box-sizing: border-box;
}

/* Headings and paragraphs */
.content-section h2,
.content-section h3 {
    color: var(--verdant-dark);
}

.content-section p {
    color: var(--verdant-muted);
}

/* Small section labels */
.content-section .eyebrow,
.content-section .detail-label {
    color: var(--verdant-green);
}

/* Project cards */
.projects-grid {
    gap: 24px;
}

.project-card,
.credential-card {
    background: #FFFEFA;
    border: 1px solid var(--verdant-line);
    border-radius: 4px;
    box-shadow: none;
}

/* Experience cards, when we add the section */
.experience-item {
    border-color: var(--verdant-line);
}

/* Contact details */
.contact-item {
    border-color: var(--verdant-line);
}

/* Footer */
.site-footer {
    background: var(--verdant-light);
    color: var(--verdant-muted);
    border-top: 1px solid var(--verdant-line);
}

/* Mobile spacing */
@media (max-width: 768px) {
    main > .content-section {
        padding: 72px 6%;
    }
}


/* =========================================
   CREDENTIALS — VERDANT EDITORIAL ARCHIVE
   ========================================= */

.credentials-section {
    background: #F7F5EF !important;
    color: #26352C;
    overflow: hidden;
}

.credentials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 56px;
}

.credentials-header h2 {
    margin: 18px 0 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 500;
}

.credentials-header h2 span {
    color: #7A393F;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.credentials-intro {
    max-width: 310px;
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.9;
    color: #737B72;
}

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

.credentials-grid .credential-card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #FFFEFA;
    border: 1px solid #E3E0D6;
    border-radius: 3px;
    box-shadow: none;
    transition:
        transform 350ms ease,
        border-color 350ms ease,
        box-shadow 350ms ease;
}

/* Image area */
.credential-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 20%, #476653 0, transparent 32%),
        linear-gradient(135deg, #243D30, #102A22);
}

.credential-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(16, 42, 34, 0.08),
        transparent 40%,
        rgba(16, 42, 34, 0.24)
    );
}

.credential-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(.2, .7, .2, 1);
}

.credential-image-index,
.credential-image-arrow {
    position: absolute;
    z-index: 1;
    color: #FFFEFA;
}

.credential-image-index {
    top: 18px;
    left: 20px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
}

.credential-image-arrow {
    right: 18px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 254, 250, 0.65);
    border-radius: 50%;
    font-size: 1.2rem;
    transition:
        color 300ms ease,
        background 300ms ease,
        transform 300ms ease;
}

/* Text area */
.credential-info {
    position: relative;
    padding: 27px 28px 30px;
}

.credential-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #7A393F;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.credential-info h3 {
    margin: 23px 0 12px;
    color: #162A22;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.credential-info p {
    margin: 0;
    max-width: 440px;
    color: #737B72;
    font-size: 0.9rem;
    line-height: 1.8;
}

.credential-status {
    display: inline-block;
    margin-top: 24px;
    padding-top: 13px;
    border-top: 1px solid #E3E0D6;
    color: #737B72;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

/* Hover interaction */
.credentials-grid .credential-card:hover {
    transform: translateY(-8px);
    border-color: #A8B5A5;
    box-shadow: 0 18px 40px rgba(22, 42, 34, 0.09);
}

.credential-card:hover .credential-image img {
    transform: scale(1.045);
}

.credential-card:hover .credential-image-arrow {
    background: #F7F5EF;
    color: #162A22;
    transform: rotate(45deg);
}

/* Keyboard accessibility */
.credentials-grid .credential-card:focus-within {
    outline: 2px solid #7A393F;
    outline-offset: 4px;
}

.credentials-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid #DCDDD3;
    color: #737B72;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

/* Responsive layout */
@media (max-width: 760px) {
    .credentials-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 35px;
    }

    .credentials-intro {
        max-width: 440px;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .credential-image {
        height: 240px;
    }

    .credential-info {
        padding: 23px 21px 26px;
    }

    .credentials-footer {
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .credentials-grid .credential-card,
    .credential-image img,
    .credential-image-arrow {
        transition: none;
    }
}

/* =========================================
   VERDANT — UNIFIED FOREST GREEN THEME
========================================= */

html,
body {
    background-color: #102A22;
}

body {
    color: #E9E3D6;
}

/* Keep every major section on the same dark canvas */
main,
section,
.content-section,
.hero,
.about-section {
    background-color: #102A22;
}

/* Refined separation between sections */
.content-section {
    position: relative;
}

/* Keep cards subtly distinct from the background */
.interest-card,
.project-card,
.skill-card,
.credential-card,
.experience-card {
    background-color: rgba(233, 227, 214, 0.035);
    border-color: rgba(233, 227, 214, 0.15);
}

/* Olive hover accents */
a,
button {
    transition:
        color 250ms ease,
        border-color 250ms ease,
        background-color 250ms ease;
}

a:hover {
    color: #A3A86B;
}

/* Ivory headings for consistent contrast */
h1,
h2,
h3 {
    color: #E9E3D6;
}


/* =========================================
   VERDANT — FINAL THEME OVERRIDES
========================================= */

/* One consistent forest-green background */
html,
body,
main,
main > section,
main > .content-section,
.hero,
.about-section,
.site-footer {
    background-color: #102A22 !important;
    color: #E9E3D6;
}

/* Restore the subtle section separators */
main > .content-section {
    width: min(1240px, 100%);
    max-width: 1240px;
    margin-inline: auto;
    border-top: 1px solid rgba(233, 227, 214, 0.15);
}

/* Keep headings readable */
.content-section h2,
.content-section h3,
.interest-card h3 {
    color: #E9E3D6;
}

/* Keep supporting text soft */
.about-copy > p,
.interest-card p,
.zodiac-description {
    color: #B6C1B6;
}

/* Olive-green hover accents */
@media (hover: hover) and (pointer: fine) {
    .interest-card:hover {
        border-color: #A3A86B;
        background-color: rgba(163, 168, 107, 0.12);
    }

    .interest-card:hover h3,
    .interest-card:hover .interest-number {
        color: #A3A86B;
    }

    a:hover {
        color: #A3A86B;
    }
}

/* Game-inspired display font */
.hero-name {
    font-family: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #E9E3D6;
    text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.22);
}

.hero-name span {
    display: block;
    color: #A3A86B;
    font-family: inherit;
    font-style: normal;
    transition: color 250ms ease, transform 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .hero-name span:hover {
        color: #C0C58A;
        transform: translateY(-3px);
    }
}

@media (max-width: 520px) {
    .hero-name {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }
}



/* =========================================
   VERDANT — FINAL TEXT COLOR AND FONT FIX
========================================= */

/* All main section headings: light ivory */
#about h2,
#skills h2,
#projects h2,
#credentials h2,
#experience h2,
#contact h2,
main > section.content-section h2,
main > section.content-section h3,
main > section.content-section h4 {
    color: #E9E3D6 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

/* All section paragraphs: readable light gray-green */
#about p,
#skills p,
#projects p,
#credentials p,
#experience p,
#contact p,
main > section.content-section p {
    color: #B6C1B6 !important;
}

/* Keep the dark forest-green background */
#about,
#skills,
#projects,
#credentials,
#experience,
#contact,
main > section.content-section {
    background-color: #102A22 !important;
}

/* Burgundy accents in headings */
#about h2 span,
#skills h2 span,
#projects h2 span,
#credentials h2 span,
#experience h2 span,
#contact h2 span {
    color: #D99AA5 !important;
    font-style: italic;
}

/* Preserve the display font and light color of your name */
.hero-name {
    font-family: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
    color: #E9E3D6 !important;
}

/* Keep your name's accent visible */
.hero-name span {
    color: #A3A86B !important;
}

/* Keep smaller labels readable */
main > section.content-section .eyebrow,
main > section.content-section .detail-label {
    color: #A3A86B !important;
}


/* =========================================
   VERDANT — SKILLS SECTION
========================================= */

#skills .skills-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
    align-items: stretch;
}

#skills .skill-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(182, 193, 182, 0.17);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

#skills .skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(160, 103, 116, 0.65);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

#skills .skill-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 26px;
}

#skills .skill-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(160, 103, 116, 0.45);
    border-radius: 10px;
    color: #C9A1A5;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

#skills .skill-card-header h3 {
    margin: 2px 0 7px;
    color: var(--ivory, #E9E3D6);
    font-size: 1.08rem;
    line-height: 1.4;
}

#skills .skill-card-header p {
    margin: 0;
    color: var(--muted, #B6C1B6);
    font-size: 0.84rem;
    line-height: 1.6;
}

/* Programming languages and software logos */

#skills .skill-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

#skills .skill-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 0;
    min-height: 112px;
    padding: 15px 8px;
    border: 1px solid rgba(182, 193, 182, 0.10);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.10);
    text-align: center;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

#skills .skill-logo-item:hover {
    transform: translateY(-3px);
    border-color: rgba(160, 103, 116, 0.5);
    background: rgba(160, 103, 116, 0.07);
}

#skills .skill-logo-item img {
    display: block;
    width: 40px;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

#skills .skill-logo-item:hover img {
    transform: scale(1.07);
}

#skills .skill-logo-item span:last-child {
    color: var(--ivory, #E9E3D6);
    font-size: 0.78rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#skills .tool-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #1D4032;
    color: #E9E3D6;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Practical capabilities */

#skills .skill-capabilities {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#skills .skill-capability {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(182, 193, 182, 0.12);
}

#skills .skill-capability:first-child {
    padding-top: 0;
}

#skills .skill-capability:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

#skills .capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(160, 103, 116, 0.35);
    border-radius: 12px;
    color: #C9A1A5;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

#skills .capability-icon svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#skills .skill-capability:hover .capability-icon {
    transform: translateY(-2px);
    background: rgba(160, 103, 116, 0.10);
}

#skills .skill-capability h4 {
    margin: 2px 0 7px;
    color: var(--ivory, #E9E3D6);
    font-size: 0.95rem;
    line-height: 1.5;
}

#skills .skill-capability p {
    margin: 0;
    color: var(--muted, #B6C1B6);
    font-size: 0.86rem;
    line-height: 1.75;
}

/* Professional skills */

#skills .professional-skills {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 11px;
}

#skills .professional-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid rgba(182, 193, 182, 0.20);
    border-radius: 8px;
    color: var(--ivory, #E9E3D6);
    font-size: 0.82rem;
    line-height: 1.4;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease;
}

#skills .professional-skills span:hover {
    border-color: rgba(160, 103, 116, 0.65);
    background: rgba(160, 103, 116, 0.07);
    color: #D7B4B8;
}

/* Responsive layout */

@media (max-width: 900px) {
    #skills .skills-layout {
        gap: 16px;
    }

    #skills .skill-card {
        padding: 22px;
    }

    #skills .skill-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #skills .skills-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 28px;
    }

    #skills .skill-card {
        padding: 21px;
        border-radius: 15px;
    }

    #skills .skill-card-header {
        gap: 12px;
        margin-bottom: 22px;
    }

    #skills .skill-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    #skills .skill-logo-item {
        min-height: 100px;
        padding: 12px 5px;
    }

    #skills .skill-logo-item img {
        width: 34px;
        height: 34px;
    }

    #skills .skill-logo-item span:last-child {
        font-size: 0.73rem;
    }

    #skills .skill-capability {
        gap: 12px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    #skills .skill-card,
    #skills .skill-logo-item,
    #skills .skill-logo-item img,
    #skills .capability-icon,
    #skills .professional-skills span {
        transition: none;
    }

    #skills .skill-card:hover,
    #skills .skill-logo-item:hover,
    #skills .skill-logo-item:hover img,
    #skills .skill-capability:hover .capability-icon {
        transform: none;
    }
}

/* =========================================
   VERDANT — INTERACTIVE SKILLS
========================================= */

#skills .skills-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
}

#skills .skills-overview-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 245px;
    padding: 26px;
    border: 1px solid rgba(182, 193, 182, 0.17);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--ivory, #E9E3D6);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

#skills .skills-overview-card:hover {
    transform: translateY(-5px);
    border-color: rgba(160, 103, 116, 0.7);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

#skills .skills-overview-card:focus-visible,
#skills .skills-back-button:focus-visible {
    outline: 2px solid #C9A1A5;
    outline-offset: 4px;
}

#skills .skills-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#skills .skills-card-number {
    color: #C9A1A5;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

#skills .skills-card-arrow {
    color: var(--muted, #B6C1B6);
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

#skills .skills-overview-card:hover .skills-card-arrow {
    transform: translate(3px, -3px);
    color: #C9A1A5;
}

#skills .skills-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 25px 0 20px;
    border: 1px solid rgba(160, 103, 116, 0.4);
    border-radius: 12px;
    color: #D1ADB1;
    font-size: 1.25rem;
}

#skills .skills-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

#skills .skills-card-description {
    margin-top: 8px;
    color: var(--muted, #B6C1B6);
    font-size: 0.88rem;
    line-height: 1.7;
}

#skills .skills-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    color: #D1ADB1;
    font-size: 0.82rem;
}

/* Detail views */

#skills .skills-detail[hidden],
#skills .skills-overview[hidden] {
    display: none !important;
}

#skills .skills-detail {
    margin-top: 28px;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid rgba(182, 193, 182, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    animation: skillsReveal 0.3s ease both;
}

#skills .skills-back-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 32px;
    padding: 10px 14px;
    border: 1px solid rgba(182, 193, 182, 0.2);
    border-radius: 8px;
    background: transparent;
    color: var(--ivory, #E9E3D6);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

#skills .skills-back-button:hover {
    border-color: #A06774;
    background: rgba(160, 103, 116, 0.08);
    color: #D9B8BC;
}

#skills .skills-detail-kicker {
    margin: 0 0 10px;
    color: #C9A1A5;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
}

#skills .skills-detail > h3 {
    margin: 0;
    color: var(--ivory, #E9E3D6);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1.3;
}

#skills .skills-detail-intro {
    max-width: 650px;
    margin: 14px 0 30px;
    color: var(--muted, #B6C1B6);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* Logo grid */

#skills .skills-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

#skills .skills-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-width: 0;
    min-height: 145px;
    padding: 20px 10px;
    border: 1px solid rgba(182, 193, 182, 0.12);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.10);
    text-align: center;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

#skills .skills-detail-item:hover {
    transform: translateY(-3px);
    border-color: rgba(160, 103, 116, 0.55);
    background: rgba(160, 103, 116, 0.055);
}

#skills .skills-detail-item img {
    display: block;
    width: 42px;
    height: 42px;
    max-width: 100%;
    object-fit: contain;
}

#skills .skills-detail-item > span:not(.skills-tool-monogram) {
    color: var(--ivory, #E9E3D6);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#skills .skills-detail-item small {
    color: var(--muted, #B6C1B6);
    font-size: 0.75rem;
    line-height: 1.5;
}

#skills .skills-tool-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #1D4032;
    color: #E9E3D6;
    font-size: 0.9rem;
    font-weight: 700;
}

#skills .skills-tool-group + .skills-tool-group {
    margin-top: 32px;
}

#skills .skills-tool-group > h4 {
    margin: 0 0 16px;
    color: #D1ADB1;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Capability details */

#skills .skills-capability-list {
    display: flex;
    flex-direction: column;
}

#skills .skills-capability-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(182, 193, 182, 0.13);
}

#skills .skills-capability-item:first-child {
    padding-top: 0;
}

#skills .skills-capability-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

#skills .skills-capability-index {
    color: #C9A1A5;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

#skills .skills-capability-item h4,
#skills .skills-professional-list h4 {
    margin: 0 0 8px;
    color: var(--ivory, #E9E3D6);
    font-size: 1rem;
    line-height: 1.5;
}

#skills .skills-capability-item p,
#skills .skills-professional-list p {
    margin: 0;
    color: var(--muted, #B6C1B6);
    font-size: 0.88rem;
    line-height: 1.8;
}

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

#skills .skills-mini-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(182, 193, 182, 0.16);
    border-radius: 6px;
    color: var(--ivory, #E9E3D6);
    font-size: 0.75rem;
}

/* Professional skills list */

#skills .skills-professional-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

#skills .skills-professional-list article {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 21px 0;
    border-bottom: 1px solid rgba(182, 193, 182, 0.13);
}

#skills .skills-professional-list article > span {
    color: #C9A1A5;
    font-size: 0.77rem;
    padding-top: 3px;
}

#skills .skills-note {
    margin: 26px 0 0;
    color: var(--muted, #B6C1B6);
    font-size: 0.8rem;
    line-height: 1.7;
}

@keyframes skillsReveal {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 760px) {
    #skills .skills-detail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #skills .skills-professional-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    #skills .skills-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 28px;
    }

    #skills .skills-overview-card {
        min-height: 215px;
        padding: 22px;
    }

    #skills .skills-detail {
        padding: 20px 16px;
    }

    #skills .skills-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    #skills .skills-detail-item {
        min-height: 132px;
        padding: 16px 8px;
    }

    #skills .skills-capability-item {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 12px;
    }
}

/* Accessible reduced-motion support */

@media (prefers-reduced-motion: reduce) {
    #skills .skills-overview-card,
    #skills .skills-card-arrow,
    #skills .skills-detail-item,
    #skills .skills-back-button {
        transition: none;
    }

    #skills .skills-overview-card:hover,
    #skills .skills-detail-item:hover {
        transform: none;
    }

    #skills .skills-detail {
        animation: none;
    }
}


/* =========================================
   VERDANT — PROFESSIONAL PIXEL TYPOGRAPHY
========================================= */

/* Professional font for the entire portfolio */
body {
    font-family: 'DM Sans', sans-serif;
}

/* Elegant headings throughout the portfolio */
h2,
.project-info h3,
.experience-content h3 {
    font-family: 'Playfair Display', serif;
}

/* Pixel font for your name on the homepage only */
.hero .hero-name {
    font-family: 'Pixelify Sans', sans-serif !important;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Keep both lines of your name consistent */
.hero .hero-name span {
    font-family: 'Pixelify Sans', sans-serif !important;
    font-weight: 600;
}


/* Responsive pixel-style name */
.hero .hero-name {
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    line-height: 1.2;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero .hero-name span {
    display: block;
    margin-top: 0.08em;
}

@media (max-width: 480px) {
    .hero .hero-name {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -0.5px;
    }
}

/* =========================================
   VERDANT — MINIMAL HERO PORTRAIT
========================================= */

.hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: auto;
    isolation: auto;
}

.hero-photo-frame {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #1D4032;
}

.hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    border-radius: inherit;
}

/* Mobile layout */
@media (max-width: 768px) {
    .hero-art {
        max-width: 300px;
        margin: 32px auto 20px;
    }

    .hero-photo-frame {
        max-width: 260px;
        border-radius: 14px;
    }
}

/* =========================================
   VERDANT — HERO PORTRAIT FIX
========================================= */

.hero-art {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 380px;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0 auto;
    padding: 0;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

/* Portrait frame */
.hero-photo-frame {
    display: block;
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background-color: #1D4032;
    border: none;
    box-shadow: none;
}

/* Actual portrait */
.hero-photo-frame img.hero-photo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 35%;
    border-radius: inherit;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* Remove leftover orbital decorations */
.hero-art .orbit,
.hero-art .orbit-core,
.hero-art .orbit-star,
.hero-art .orbit-label {
    display: none !important;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .hero-art {
        max-width: 300px;
        margin: 28px auto 20px;
    }

    .hero-photo-frame {
        max-width: 260px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .hero-art {
        max-width: 260px;
    }

    .hero-photo-frame {
        max-width: 230px;
        border-radius: 13px;
    }
}

/* FIX: EXPERIENCE ABOVE CONTACT */

main {
    display: block !important;
    width: 100%;
}

#experience,
#contact {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative !important;
}

/* Experience entries */
#experience .experience-list {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}

/* Contact content */
#contact .contact-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    gap: 28px;
}

#contact .contact-heading,
#contact .contact-details {
    width: 100% !important;
    max-width: 100% !important;
}

#contact {
    margin-top: 64px !important;
    padding-top: 40px;
    border-top: 1px solid rgba(197, 166, 157, 0.25);
}


/* =========================================
   CREDENTIALS — FINAL SECTION ALIGNMENT
========================================= */

.credentials-section {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    box-sizing: border-box;
}

/* HEADER: HEADING LEFT, DESCRIPTION RIGHT */

.credentials-header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    align-items: center;
    column-gap: clamp(40px, 6vw, 100px);

    width: 100%;
    margin: 0 0 52px;
}

.credentials-heading {
    min-width: 0;
}

.credentials-heading h2 {
    max-width: none;
    margin: 0;

    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.credentials-heading h2 > span {
    display: block;
    white-space: nowrap;
}

.credentials-intro {
    width: 100%;
    max-width: 350px;
    margin: 0;

    justify-self: end;
    align-self: center;

    font-size: 0.95rem;
    line-height: 1.9;
}

/* CERTIFICATION CARD */

.credentials-grid {
    display: block;
    width: 100%;
    margin: 0;
}

.credential-accordion-card {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* ACCORDION HEADER */

.credential-accordion-toggle {
    width: 100%;
    box-sizing: border-box;
}

/* EXPANDED CONTENT */

.credential-accordion-content {
    width: 100%;
    box-sizing: border-box;
}

.credential-title-list {
    width: 100%;
}

/* =========================================
   RESPONSIVE ALIGNMENT
========================================= */

@media (max-width: 900px) {

    .credentials-header {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
        column-gap: 32px;
    }

    .credentials-heading h2 {
        font-size: clamp(2.5rem, 5.2vw, 3.5rem);
    }

}

@media (max-width: 650px) {

    .credentials-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-bottom: 36px;
    }

    .credentials-heading h2 {
        font-size: clamp(2.5rem, 9vw, 3.5rem);
    }

    .credentials-heading h2 > span {
        white-space: normal;
    }

    .credentials-intro {
        max-width: 100%;
        justify-self: start;
        font-size: 0.9rem;
    }

    .credential-accordion-toggle {
        padding: 22px;
    }

    .credential-accordion-content {
        padding: 24px 20px;
    }

}
