:root {
    --ink: #171a21;
    --sub: #5d6470;
    --dark: #111318;
    --dark2: #171a22;
    --white: #f8f8fa;
    --cream: #f5f5f3;
    --line: #e0e2e4;
    --accent: #f26470;
    --accent-2: #d94c5a;
    --display: 'Space Grotesk', system-ui, sans-serif;
    --body: 'DM Sans', system-ui, sans-serif

}

*,

*::before,

*::after {
    box-sizing: border-box

}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px

}

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased

}

a {
    color: inherit;
    text-decoration: none

}

button {
    font: inherit

}

button,

a,

summary {
    -webkit-tap-highlight-color: transparent

}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px

}

::selection {
    background: rgba(242, 100, 112, .28)

}

.container {
    width: min(1140px, calc(100% - 84px));
    margin-inline: auto

}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: -80px;
    left: 10px;
    background: #fff;
    color: #111;
    padding: 12px 15px

}

.skip-link:focus {
    top: 10px

}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(17, 19, 24, .79);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border-bottom: 1px solid rgba(255, 255, 255, .07)

}

.nav-shell {
    width: min(1220px, calc(100% - 84px));
    margin-inline: auto;
    height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center

}

.wordmark {
    font: 700 28px var(--display);
    letter-spacing: -.085em;
    color: white

}

.wordmark-period {
    color: var(--accent)

}

.site-nav {
    display: flex;
    gap: 36px;
    align-items: center

}

.site-nav>a {
    color: #c2c4cc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .015em;
    transition: color .18s

}

.site-nav>a:hover,

.site-nav>a.active {
    color: white

}

.site-nav .nav-resume {
    color: white;
    border: 1px solid #5b5c64;
    padding: 10px 16px;
    border-radius: 4px

}

.site-nav .nav-resume:hover {
    border-color: var(--accent)

}

.nav-resume span {
    color: var(--accent);
    margin-left: 5px

}

.menu-toggle {
    display: none

}

.hero {
    min-height: 660px;
    height: 85svh;
    max-height: 780px;
    background: var(--dark);
    color: white;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 110px 0 75px

}

.hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: .78

}

.hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 19, 24, .93) 0%, rgba(17, 19, 24, .72) 45%, rgba(17, 19, 24, .35) 100%), radial-gradient(ellipse at 75% 40%, rgba(242, 100, 112, .11), transparent 46%)

}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 25px

}

.hero-eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #b8b9c2;
    font-size: 10px;
    letter-spacing: .2em;
    font-weight: 700;
    margin-bottom: 30px

}

.eyebrow-line {
    width: 27px;
    height: 2px;
    background: var(--accent)

}

.eyebrow-divider {
    color: var(--accent);
    font-size: 13px

}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(56px, 8vw, 106px);
    letter-spacing: -.075em;
    font-weight: 600;
    line-height: .99;
    margin: 0 0 26px;
    max-width: 990px

}

.hero h1 span {
    color: var(--accent)

}

.hero-headline {
    font-family: var(--display);
    font-size: clamp(27px, 3.15vw, 42px);
    max-width: 800px;
    letter-spacing: -.046em;
    line-height: 1.27;
    font-weight: 500;
    margin: 0

}

.hero-headline em {
    font-style: normal;
    color: #b9bec9

}

.hero-copy {
    max-width: 560px;
    color: #a7acb7;
    font-size: 16px;
    line-height: 1.85;
    margin: 26px 0 35px

}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px

}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 33px;
    font-size: 12px;
    letter-spacing: .065em;
    font-weight: 700;
    transition: all .22s;
    border-radius: 3px

}

.button-accent {
    border: 1px solid var(--accent);
    color: #fff;
    padding: 17px 20px

}

.button-accent:hover {
    background: var(--accent);
    color: #111318

}

.button-accent span {
    font-size: 17px;
    color: var(--accent)

}

.button-accent:hover span {
    color: #111318

}

.hero-text-link {
    font-size: 13px;
    font-weight: 600;
    color: #dbdde3

}

.hero-text-link span {
    color: var(--accent);
    margin-left: 7px

}

.hero-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px

}

.hero-bottom {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 10px;
    color: #747985;
    letter-spacing: .17em;
    font-weight: 700

}

.scroll-line {
    display: block;
    width: 60px;
    height: 1px;
    background: #525761

}

.hero-bottom-right {
    margin-left: auto

}

.section {
    padding: 112px 0

}

.section-kicker {
    color: var(--accent-2);
    font-weight: 700;
    letter-spacing: .19em;
    font-size: 10px

}

.section-heading {
    margin-bottom: 50px

}

.section-heading h2 {
    font-family: var(--display);
    font-size: clamp(42px, 5.6vw, 68px);
    letter-spacing: -.067em;
    line-height: 1.08;
    font-weight: 600;
    margin: 16px 0 0

}

.section-heading h2>span:not(.accent-dot) {
    color: #878c94

}

.accent-dot {
    color: var(--accent)

}

.about-section {
    background: #f8f8f7

}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(50px, 9vw, 115px)

}

.about-copy p {
    font-size: 16px;
    line-height: 1.95;
    color: #4c525d;
    margin: 0 0 21px;
    max-width: 590px

}

.about-copy strong {
    color: var(--ink);
    font-weight: 700

}

.simple-link {
    display: inline-flex;
    gap: 15px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 8px

}

.simple-link span {
    color: var(--accent-2)

}

.simple-link:hover {
    color: var(--accent-2)

}

.skills-panel {
    border: 1px solid #e1e2e1;
    padding: 30px 34px;
    background: #fff;
    align-self: start;
    box-shadow: 0 18px 40px rgba(21, 26, 34, .035)

}

.skills-heading {
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 700;
    color: #1b1d23;
    margin-bottom: 30px

}

.skill-group {
    margin-bottom: 24px

}

.skill-label {
    font-size: 10px;
    letter-spacing: .12em;
    color: #a3a5aa;
    font-weight: 700

}

.skill-group p {
    margin: 8px 0 0;
    line-height: 1.75;
    font-weight: 600;
    font-size: 14px

}

.skill-group p span {
    color: var(--accent);
    margin: 0 4px

}

.skills-note {
    font-size: 12px;
    color: #868a92;
    border-top: 1px solid #ececee;
    padding-top: 18px;
    margin-top: 10px

}

.experience-section {
    background: #eef0f0

}

.section-heading-inline {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px

}

.section-heading-inline>p {
    font-size: 13px;
    line-height: 1.6;
    color: #747a82;
    margin: 0 2px 8px

}

.experience-list {
    border-top: 1px solid #d7dadd

}

.experience-entry {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
    padding: 32px 3px 35px;
    border-bottom: 1px solid #d7dadd

}

.experience-when {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    color: #8a8e95;
    padding-top: 8px

}

.experience-role h3 {
    font: 600 22px/1.25 var(--display);
    letter-spacing: -.035em;
    margin: 0 0 7px

}

.experience-role>span {
    font-size: 13px;
    color: #6e737c;
    font-weight: 600

}

.role-separator {
    color: var(--accent);
    padding: 0 4px

}

.experience-role p {
    max-width: 735px;
    font-size: 14px;
    color: #5e6570;
    line-height: 1.85;
    margin: 16px 0 0

}

.experience-glyph {
    display: none;
}

.projects-section {
    background: #12151c;
    color: white;
    padding-top: 116px;
    padding-bottom: 116px

}

.project-heading {
    margin-bottom: 58px

}

.project-heading h2 {
    margin-top: 16px

}

.project-heading>p {
    max-width: 540px;
    margin: 20px 0 0;
    color: #a2a8b2;
    line-height: 1.8;
    font-size: 15px

}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px

}

.project-card {
    background: #1a1e27;
    border: 1px solid #323740;
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
    transition: transform .23s, border-color .23s

}

.project-card:hover {
    border-color: #626975;
    transform: translateY(-3px)

}

.project-card-wide {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.08fr .92fr

}

.project-video {
    background: #0e1117;
    aspect-ratio: 16 / 8;
    overflow: hidden

}

.project-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0

}

.project-gallery {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 0;
    min-height: 320px;
    padding: 0;
    position: relative;
    background: #0e1117

}

.carousel-slides {
    min-width: 0;
    height: 296px;
    position: relative;
    overflow: hidden

}

.carousel-slides img {
    display: block;
    width: 100%;
    height: 296px;
    object-fit: contain;
    background: #202632;
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity .2s

}

.carousel-slides img:first-child {
    opacity: 1

}

.carousel-slides img.is-active {
    opacity: 1;
    z-index: 1

}

.carousel-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #596170;
    border-radius: 50%;
    background: #202632;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    z-index: 2;
    margin: 0

}

.carousel-caption {
    position: absolute;
    right: 40px;
    bottom: 10px;
    left: 40px;
    z-index: 2;
    padding: 6px 9px;
    color: #fff;
    background: rgba(12, 14, 19, .78);
    font-size: 10px;
    line-height: 1.4;
    pointer-events: none

}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    border-color: var(--accent);
    color: var(--accent)

}

.project-art {
    height: 240px;
    background: #202632;
    position: relative;
    overflow: hidden

}

.project-card-wide .project-art {
    height: auto;
    min-height: 390px

}

.project-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #202632;
    transition: transform .5s

}

.project-card:hover .project-art img {
    transform: scale(1.015)

}

.art-caption {
    position: absolute;
    bottom: 13px;
    right: 17px;
    color: rgba(255, 255, 255, .57);
    background: rgba(12, 14, 19, .64);
    border-radius: 3px;
    padding: 5px 7px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .09em

}

.project-body {
    padding: 32px 34px 29px

}

.project-card-wide .project-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 42px

}

.project-overline {
    font-size: 10px;
    letter-spacing: .13em;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px

}

.project-body h3 {
    font: 600 33px/1.1 var(--display);
    letter-spacing: -.055em;
    margin: 0 0 16px

}

.project-card-wide .project-body h3 {
    font-size: 47px

}

.project-summary {
    font-size: 14px;
    line-height: 1.8;
    color: #b4b8c2;
    margin: 0 0 19px;
    max-width: 540px

}

.project-tech {
    font-size: 11px;
    line-height: 1.8;
    color: #87909d;
    margin-bottom: 24px

}

.project-tech span {
    color: var(--accent);
    padding: 0 4px

}

.project-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 24px;
    min-height: 30px

}

.project-link {
    font-size: 12px;
    color: #f3f4f6;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    padding-bottom: 5px

}

.project-link span {
    color: var(--accent)

}

.project-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent)

}

.demo-link[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .72;
    border-bottom-style: dashed

}

.demo-link[aria-disabled="true"]:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .28)

}

.project-details {
    border-top: 1px solid #393e48;
    margin-top: 23px;
    padding-top: 16px;
    color: #c7cad2

}

.project-details summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    list-style: none;
    color: #c7cad2

}

.project-details summary::-webkit-details-marker {
    display: none

}

.project-details summary span {
    font-size: 18px;
    font-weight: 400;
    color: var(--accent)

}

.project-details[open] summary span {
    transform: rotate(45deg)

}

.details-copy {
    padding-top: 14px;
    font-size: 12px;
    line-height: 1.9;
    color: #9fa6b1

}

.project-details-inline {
    border: 0;
    margin: 0;
    padding: 0;
    display: inline-block

}

.project-details-inline summary {
    display: flex;
    gap: 10px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    padding-bottom: 5px;
    font-size: 12px;
    white-space: nowrap

}

.project-details-inline .details-copy {
    width: 100%

}

.projects-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #9098a5;
    margin-top: 55px

}

.projects-footer a {
    color: white;
    border-bottom: 1px solid var(--accent)

}

.projects-footer a span {
    color: var(--accent)

}

.contact-section {
    background: #f8f8f7;
    text-align: center;
    padding: 126px 0 110px

}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center

}

.contact-inner h2 {
    font: 600 clamp(55px, 8vw, 95px)/1.06 var(--display);
    letter-spacing: -.08em;
    margin: 22px 0 21px

}

.contact-inner h2 span {
    color: var(--accent-2)

}

.contact-inner>p {
    color: #686e77;
    font-size: 16px;
    max-width: 410px;
    line-height: 1.8;
    margin: 0 0 31px

}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 33px;
    background: #16191f;
    color: white;
    border: 1px solid #16191f;
    padding: 18px 23px;
    font-weight: 700;
    font-size: 13px;
    transition: background .2s, color .2s

}

.contact-email:hover {
    background: var(--accent-2);
    border-color: var(--accent-2)

}

.contact-email span {
    color: var(--accent)

}

.contact-email:hover span {
    color: white

}

.contact-secondary {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 38px

}

.contact-secondary a {
    font-size: 12px;
    font-weight: 700;
    color: #676b73

}

.contact-secondary a:hover {
    color: var(--accent-2)

}

.site-footer {
    background: #f8f8f7;
    border-top: 1px solid #e6e6e4;
    padding: 28px 0

}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    color: #8d9299;
    font-size: 11px

}

.footer-inner a {
    color: #555e68;
    font-weight: 700

}

.footer-inner a:hover {
    color: var(--accent-2)

}

/* Experience: company logos and grouped roles */

.experience-company-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;

}

/* Company logos */

.experience-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;

}

.experience-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

/* Role content */

.experience-company-layout .experience-role {
    min-width: 0;
    flex: 1;

}

.experience-company-name {
    margin: 0 0 6px;

}

.experience-timeline {
    position: relative;
    margin-top: 26px;
    margin-left: 5px;
    padding-left: 25px;

}

.experience-timeline-item {
    position: relative;
    padding-bottom: 30px;

}

.experience-timeline-item:last-child {
    padding-bottom: 0;

}

/* Timeline dots */

.experience-timeline-item::before {
    content: "";
    position: absolute;
    left: -29px;
    top: 7px;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;

}

/* Line between roles only */
.experience-timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: -25px;
    top: 16px;
    bottom: -7px;
    width: 1px;
    background: #c5c9ce;
}

.experience-timeline-item h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: inherit;

}

.experience-role-date {
    display: block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    opacity: 0.6;

}

.experience-timeline-item p {
    margin: 0;
    line-height: 1.7;

}

@media(max-width:950px) {

    .container,

    .nav-shell {
        width: min(1140px, calc(100% - 48px))

    }

    .site-nav {
        gap: 22px

    }

    .project-card-wide {
        grid-template-columns: 1fr

    }

    .project-card-wide .project-art {
        height: 340px;
        min-height: 0

    }

    .project-card-wide .project-video {
        aspect-ratio: 16 / 8

    }

    .project-card-wide .project-body {
        padding: 35px

    }

    .hero {
        height: 700px

    }
}

/* Mobile */

@media (max-width: 768px) {

    .experience-entry {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px 0;

    }

    .experience-company-layout {
        gap: 16px;

    }

    .experience-logo {
        width: 44px;
        height: 44px;

    }

    .experience-timeline {
        padding-left: 22px;

    }

    .experience-timeline-item::before {
        left: -26px;
    }

    .experience-timeline-item:not(:last-child)::after {
        left: -22px;
    }

}

@media(max-width:700px) {

    html {
        scroll-padding-top: 68px

    }

    .nav-shell {
        height: 68px

    }

    .site-header {
        background: rgba(17, 19, 24, .94)

    }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        border: 1px solid #555965;
        background: none;
        border-radius: 3px;
        color: white;
        cursor: pointer

    }

    .menu-toggle span {
        width: 17px;
        height: 1.5px;
        background: white;
        transition: transform .2s

    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3.8px) rotate(45deg)

    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-3.8px) rotate(-45deg)

    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: #171a21;
        border-bottom: 1px solid #353941;
        padding: 12px 24px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0

    }

    .site-nav.open {
        display: flex

    }

    .site-nav>a {
        padding: 14px 5px;
        font-size: 14px

    }

    .site-nav .nav-resume {
        margin-top: 12px;
        text-align: center

    }

    .container,

    .nav-shell {
        width: calc(100% - 38px)

    }

    .hero {
        min-height: 620px;
        height: 88svh;
        max-height: 760px;
        padding: 100px 0 65px

    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(17, 19, 24, .96), rgba(17, 19, 24, .73))

    }

    .hero h1 {
        font-size: clamp(49px, 13vw, 75px);
        line-height: 1.03

    }

    .hero-headline {
        font-size: clamp(25px, 6vw, 34px)

    }

    .hero-copy {
        font-size: 14px;
        line-height: 1.8

    }

    .hero-eyebrow {
        font-size: 8px;
        letter-spacing: .13em;
        gap: 9px

    }

    .hero-bottom {
        bottom: 25px

    }

    .hero-bottom-right {
        display: none

    }

    .section {
        padding: 78px 0

    }

    .section-heading {
        margin-bottom: 35px

    }

    .section-heading h2 {
        font-size: clamp(37px, 10.4vw, 58px)

    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 38px

    }

    .about-copy p {
        font-size: 15px

    }

    .skills-panel {
        padding: 25px

    }

    .section-heading-inline>p {
        display: none

    }

    .experience-entry {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 25px 0 29px

    }

    .experience-when {
        grid-column: 1 / -1;
        font-size: 10px;
        margin-bottom: 5px

    }

    .experience-role h3 {
        font-size: 20px

    }

    .experience-role p {
        font-size: 13px

    }

    .projects-section {
        padding-top: 84px;
        padding-bottom: 80px

    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 23px

    }

    .project-card-wide {
        grid-column: auto

    }

    .project-art,
    .project-card-wide .project-art {
        height: 205px

    }

    .project-video {
        aspect-ratio: 16 / 8

    }

    .project-gallery {
        gap: 0;
        min-height: 280px;
        padding: 0

    }

    .carousel-slides,
    .carousel-slides img {
        height: 256px

    }

    .project-card-wide .project-body,

    .project-body {
        padding: 27px 25px

    }

    .project-body h3,

    .project-card-wide .project-body h3 {
        font-size: 32px

    }

    .project-summary {
        font-size: 13px

    }

    .project-overline {
        font-size: 9px

    }

    .contact-section {
        padding: 90px 0 85px

    }

    .contact-inner h2 {
        font-size: clamp(52px, 13vw, 80px)

    }

    .contact-inner>p {
        font-size: 14px

    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center

    }

}

@media(max-width:420px) {

    .hero-eyebrow {
        font-size: 8px

    }

    .hero h1 {
        font-size: 46px

    }

    .hero-actions {
        gap: 20px

    }

    .button-accent {
        padding: 15px;
        gap: 18px

    }

    .hero-text-link {
        font-size: 12px

    }

    .project-art,

    .project-card-wide .project-art {
        height: 205px

    }

}

@media(prefers-reduced-motion:reduce) {

    html {
        scroll-behavior: auto

    }

    *,

    *::before,

    *::after {
        transition: none !important;
        animation: none !important

    }

    .hero canvas {
        display: none

    }

}

/* Consistent project widgets across media types and screen sizes. */
.project-card {
    display: flex;
    flex-direction: column;
}

.project-card > .project-video,
.project-card > .project-art,
.project-card > .project-gallery {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid #323740;
}

.project-video {
    aspect-ratio: 16 / 9;
}

.project-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
}

.project-body > .project-video {
    flex: none;
    margin: 0 0 20px;
    border: 1px solid #323740;
    border-radius: 6px;
}

.project-gallery {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
}

.carousel-slides {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.carousel-slides img {
    height: 100%;
}

.carousel-slides img:first-child:not(.is-active) {
    opacity: 0;
}

.carousel-previous,
.carousel-next {
    grid-row: 1;
    justify-self: center;
    width: 40px;
    height: 40px;
    background: rgba(14, 17, 23, .9);
}

.carousel-previous { grid-column: 1; }
.carousel-next { grid-column: 3; }

.carousel-caption {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 12px 16px;
    min-height: 60px;
    font-size: 11px;
    line-height: 1.6;
    background: #151922;
    border-top: 1px solid #323740;
}

.project-actions {
    gap: 12px 20px;
}

.project-link {
    min-height: 36px;
    white-space: normal;
}

.project-details {
    margin-top: 20px;
    padding-top: 16px;
}

.project-details > .details-copy {
    padding-top: 0;
}

.project-body h3,
.project-summary,
.project-tech,
.details-copy {
    overflow-wrap: anywhere;
}

@media (max-width: 800px) {
    .project-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .project-card,
    .project-art img,
    .carousel-slides img { transition: none; }
    .project-card:hover,
    .project-card:hover .project-art img { transform: none; }
}

/* Resume preview stays connected to its trigger for pointer and keyboard use. */
.resume-block { position: relative; }
.resume-preview {
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 10;
    width: min(340px, calc(100vw - 48px));
    padding: 10px;
    border: 1px solid #454b58;
    border-radius: 10px;
    background: #1a1e27;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.resume-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(440px, 55vh);
    object-fit: contain;
    background: white;
    border-radius: 4px;
}
.resume-preview > span {
    display: flex;
    justify-content: space-between;
    padding: 10px 4px 2px;
    color: #f8f8fa;
    font-size: 12px;
}
.resume-preview > span > span { color: var(--accent); }
.resume-block:focus-within .resume-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (hover: hover) {
    .resume-block:hover .resume-preview {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
@media (hover: none) {
    .resume-preview { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .resume-preview { transition: none; }
}

.experience-timeline-item .experience-department {
    display: block;
    margin: 0 0 6px;
    color: var(--sub);
    font-size: 13px;
    line-height: 1.5;
}

.experience-points {
    margin: 16px 0 0;
    padding-left: 19px;
    max-width: 735px;
    color: #5e6570;
    font-size: 14px;
    line-height: 1.85;
}
.experience-points li + li { margin-top: 12px; }
.experience-points li::marker { color: var(--accent-2); }
@media (max-width: 700px) {
    .experience-points { font-size: 13px; padding-left: 17px; }
}

/* Neural glow stays strongest on the open right side of the hero. */
.hero canvas { opacity: .9; pointer-events: none; }
.hero-shade {
    background: linear-gradient(90deg, rgba(17,19,24,.82), rgba(17,19,24,.48) 46%, rgba(17,19,24,.06)),
        radial-gradient(ellipse at 80% 45%, rgba(35,115,155,.1), transparent 60%);
}
@media (max-width: 700px) {
    .hero-shade { background: linear-gradient(90deg, rgba(17,19,24,.9), rgba(17,19,24,.62)); }
}

.hero h1 .hero-cursor {
    display: inline-block;
    margin-left: .06em;
    color: var(--accent);
    font-weight: 400;
    animation: hero-cursor-blink 1.1s steps(1, end) infinite;
}
@keyframes hero-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hero h1 .hero-cursor { animation: none; }
}
