/* Modern Youth Portfolio — Signal */

:root,
[data-theme="dark"] {
    --bg: #14171c;
    --surface: #1c2128;
    --surface-2: #252b34;
    --ink: #f2f3f5;
    --muted: #a3a9b4;
    --accent: #c6f23a;
    --accent-ink: #0c0d0f;
    --accent-hover: #d4ff55;
    --line: rgba(242, 243, 245, 0.12);
    --header-bg: rgba(20, 23, 28, 0.92);
    --control-bg: rgba(28, 33, 40, 0.88);
    --overlay: rgba(14, 16, 20, 0.88);
    --image-fade: rgba(20, 23, 28, 0.55);
    --accent-soft: rgba(198, 242, 58, 0.35);
    --glow-a: rgba(198, 242, 58, 0.1);
    --glow-b: rgba(90, 140, 255, 0.08);
    --glow-c: rgba(198, 242, 58, 0.05);
    --font-display: "Syne", system-ui, sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
    --space: clamp(1.25rem, 3.5vw, 2.75rem);
    --section-y: clamp(3.75rem, 9vh, 6.5rem);
    --max: min(1600px, 96vw);
    --content-narrow: 100%;
    --header-h: 4.25rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 4px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    color-scheme: dark;
}

[data-theme="light"] {
    --bg: #f3f4f6;
    --surface: #ffffff;
    --surface-2: #e9ebf0;
    --ink: #12141a;
    --muted: #5c6573;
    --accent: #5f8f0f;
    --accent-ink: #ffffff;
    --accent-hover: #6fa512;
    --line: rgba(18, 20, 26, 0.12);
    --header-bg: rgba(243, 244, 246, 0.92);
    --control-bg: rgba(255, 255, 255, 0.9);
    --overlay: rgba(18, 20, 26, 0.72);
    --image-fade: rgba(18, 20, 26, 0.35);
    --accent-soft: rgba(95, 143, 15, 0.35);
    --glow-a: rgba(95, 143, 15, 0.1);
    --glow-b: rgba(70, 110, 200, 0.08);
    --glow-c: rgba(95, 143, 15, 0.05);
    color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--safe-top));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: clamp(0.98rem, 0.9vw + 0.7rem, 1.0625rem);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

body.menu-open,
html.menu-open {
    overflow: hidden;
}

p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

img {
    max-width: 100%;
    display: block;
}

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

ul,
ol {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

.bg-glow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 40% at 15% 0%, var(--glow-a), transparent 55%),
        radial-gradient(ellipse 45% 35% at 90% 10%, var(--glow-b), transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, var(--glow-c), transparent 55%);
    transition: opacity 0.3s var(--ease);
}

main,
footer {
    position: relative;
    z-index: 1;
}

/* ——— Header ——— */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: calc(var(--header-h) + var(--safe-top));
    padding-top: var(--safe-top);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: max(var(--space), var(--safe-left));
    padding-right: max(var(--space), var(--safe-right));
    transition: background 0.3s var(--ease), border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.header.is-sticky {
    background: var(--header-bg);
    border-bottom-color: var(--line);
    backdrop-filter: blur(12px);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
    z-index: 1;
}

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

.theme-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 44px;
    padding: 0.4rem 0.7rem 0.4rem 0.45rem;
    background: var(--control-bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 1;
}

.theme-toggle:hover {
    border-color: var(--accent-soft);
}

.theme-toggle-track {
    position: relative;
    width: 2.55rem;
    height: 1.35rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    transition: background 0.25s var(--ease), border-color 0.25s;
}

.theme-toggle-knob {
    position: absolute;
    top: 50%;
    left: 0.15rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--muted);
    transform: translateY(-50%);
    transition: left 0.25s var(--ease), background 0.25s var(--ease);
}

.theme-toggle[aria-checked="true"] .theme-toggle-track {
    background: var(--accent);
    border-color: transparent;
}

.theme-toggle[aria-checked="true"] .theme-toggle-knob {
    left: calc(100% - 1.15rem);
    background: var(--accent-ink);
}

.theme-toggle-side {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.1rem;
}

.theme-side-icon {
    grid-area: 1 / 1;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--ink);
    transition: opacity 0.2s ease, color 0.2s ease;
}

.theme-side-sun {
    opacity: 0;
}

.theme-toggle[aria-checked="true"] .theme-side-moon {
    opacity: 0;
}

.theme-toggle[aria-checked="true"] .theme-side-sun {
    opacity: 1;
    color: var(--accent);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar a {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted);
    transition: color 0.2s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--ink);
}

.navbar a.active {
    color: var(--accent);
}

/* Fixed hamburger — always above page content & menu overlay */
.menu-toggle {
    display: none;
    position: fixed;
    top: calc(var(--safe-top) + 0.55rem);
    right: max(0.75rem, var(--safe-right));
    z-index: 10050;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    background: var(--control-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--ink);
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Desktop: nav aligned with the fixed header */
@media (min-width: 769px) {
    .theme-toggle {
        position: fixed;
        top: calc(var(--safe-top) + 0.55rem);
        right: max(var(--space), var(--safe-right));
        z-index: 1202;
        margin-left: 0;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: calc(max(var(--space), var(--safe-right)) + 7.5rem);
        height: calc(var(--header-h) + var(--safe-top));
        padding-top: var(--safe-top);
        z-index: 1201;
        transform: none;
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: none !important;
    }
}

/* ——— Shared ——— */

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--space);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.85rem;
    text-align: left;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 18ch;
    padding-bottom: 0.08em;
    text-align: left;
    overflow: visible;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-block {
    margin-top: 0.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    min-height: 44px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--surface);
}

.btn-doc {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
    font-size: 0.82rem;
    padding: 0.7rem 1rem;
    min-height: 40px;
}

.btn-doc:hover {
    border-color: var(--accent-soft);
    color: var(--accent);
}

.doc-downloads {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.about-copy .doc-downloads {
    margin-top: 1.15rem;
}

.doc-downloads-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    margin: 0;
    flex-shrink: 0;
}

.doc-downloads-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s;
    text-align: left;
    margin-top: 1.25rem;
}

.section-head .text-link {
    margin-top: 0;
    flex-shrink: 0;
}

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

/* ——— Hero ——— */

.hero {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: end;
    gap: clamp(1.1rem, 2.2vw, 1.75rem);
    padding-top: calc(var(--header-h) + var(--safe-top) + clamp(1.25rem, 3vh, 2rem));
    padding-right: var(--space);
    padding-bottom: calc(clamp(2.75rem, 7vh, 4.5rem) + var(--safe-bottom));
    padding-left: var(--space);
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 1.1rem;
    text-align: left;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    opacity: 0;
    animation: rise 0.8s var(--ease) 0.1s forwards;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 1px;
    animation: pulse 2s ease infinite;
    flex-shrink: 0;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 0.95rem;
    padding-bottom: 0.06em;
    text-align: left;
    opacity: 0;
    animation: rise 0.9s var(--ease) 0.2s forwards;
    overflow: visible;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.7rem;
    text-align: left;
    max-width: 36ch;
    opacity: 0;
    animation: rise 0.85s var(--ease) 0.35s forwards;
}

.hero-lead {
    color: var(--muted);
    max-width: 46ch;
    margin-bottom: 1.15rem;
    opacity: 0;
    animation: rise 0.85s var(--ease) 0.45s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-cta-block {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 36rem;
    opacity: 0;
    animation: rise 0.85s var(--ease) 0.55s forwards;
}

.hero-cta-block .hero-actions,
.hero-cta-block .doc-downloads {
    opacity: 1;
    animation: none;
}

.hero-visual {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    align-self: stretch;
    min-width: 0;
    opacity: 0;
    animation: fade 1.1s var(--ease) 0.35s forwards;
}

.hero-frame {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 4 / 5;
    background: var(--surface);
    overflow: hidden;
    border-radius: var(--radius);
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(transparent, var(--image-fade));
    pointer-events: none;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Keep resume buttons inside the first screen on shorter desktops */
@media (max-height: 820px) and (min-width: 901px) {
    .hero {
        min-height: 100dvh;
        align-items: end;
        padding-top: calc(var(--header-h) + var(--safe-top) + 1rem);
        padding-bottom: calc(2rem + var(--safe-bottom));
        gap: clamp(1.25rem, 3vw, 2.5rem);
    }

    .hero-name {
        font-size: clamp(2.85rem, 6.5vw, 4.75rem);
        margin-bottom: 0.65rem;
    }

    .hero-status {
        margin-bottom: 0.75rem;
    }

    .hero-lead {
        margin-bottom: 0.85rem;
    }

    .hero-frame {
        width: min(100%, 480px);
    }
}

/* ——— About ——— */

.about,
.skills,
.certificates,
.contact {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Extra bottom padding lifts the optical center above the Windows taskbar */
    padding: calc(var(--header-h) + var(--safe-top) + 1.25rem) 0 calc(clamp(5.5rem, 16vh, 8rem) + var(--safe-bottom));
    box-sizing: border-box;
}

.about > .section-inner,
.skills > .section-inner,
.certificates > .section-inner,
.contact > .section-inner {
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(1.35rem, 2.8vw, 2.25rem);
    align-items: center;
    width: 100%;
}

.about-photo {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    width: 100%;
    max-width: none;
    max-height: min(62vh, 520px);
    margin-inline: 0;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92);
}

.about-photo::before {
    content: "";
    position: absolute;
    top: -8%;
    right: -8%;
    width: 40%;
    height: 40%;
    border: 2px solid var(--accent);
    z-index: 1;
    pointer-events: none;
}

.about-copy .section-label {
    margin-bottom: 0.65rem;
}

.about-copy .section-title {
    margin-bottom: 1.1rem;
    max-width: 18ch;
}

.about-copy > p:not(.section-label) {
    color: var(--muted);
    margin-bottom: 0.8rem;
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: none;
    text-align: justify;
    text-justify: inter-word;
}

.about-copy .doc-downloads {
    margin-top: 1.1rem;
}

.about-copy .doc-downloads-label {
    text-align: left;
}

/* ——— Education ——— */

.education {
    padding: var(--section-y) 0;
    background: var(--surface);
}

.edu-track {
    position: relative;
    margin-top: 0.5rem;
    max-width: var(--content-narrow);
    margin-left: 0;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.edu-track::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 0.85rem;
    bottom: 0.85rem;
    width: 2px;
    background: linear-gradient(
        180deg,
        var(--accent) 0%,
        color-mix(in srgb, var(--accent) 35%, transparent) 45%,
        var(--line) 100%
    );
}

.edu-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.35rem;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.edu-item:last-child {
    padding-bottom: 0;
}

.edu-marker {
    position: relative;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 1.35rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px var(--surface);
}

.edu-marker::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--accent);
}

.edu-card {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.25s, transform 0.25s var(--ease);
}

.edu-item:hover .edu-card {
    border-color: var(--accent-soft);
    transform: translateX(4px);
}

.edu-logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    background: #fff;
    padding: 0.25rem;
    border-radius: 2px;
    flex-shrink: 0;
}

.edu-num {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.edu-copy h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    text-align: left;
}

.edu-meta {
    font-size: 0.95rem;
    color: var(--ink);
    text-align: left;
    margin-bottom: 0.2rem;
}

.edu-detail {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: left;
}

/* ——— Experience ——— */

.experience {
    padding: var(--section-y) 0;
}

.exp-track {
    position: relative;
    margin-top: 0.5rem;
    max-width: var(--content-narrow);
    margin-left: 0;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.exp-track::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 0.85rem;
    bottom: 0.85rem;
    width: 2px;
    background: linear-gradient(
        180deg,
        var(--accent) 0%,
        color-mix(in srgb, var(--accent) 35%, transparent) 45%,
        var(--line) 100%
    );
}

.exp-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.35rem;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.exp-item:last-child {
    padding-bottom: 0;
}

.exp-marker {
    position: relative;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 1.35rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px var(--bg);
}

.exp-marker::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--accent);
}

.exp-card {
    padding: 1.35rem 1.4rem 1.45rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.25s, transform 0.25s var(--ease);
}

.exp-item:hover .exp-card {
    border-color: var(--accent-soft);
    transform: translateX(4px);
}

.exp-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.exp-head h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    text-align: left;
}

.exp-meta {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: left;
}

.exp-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
    text-align: left;
}

.exp-group-title {
    margin: 1.15rem 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: left;
}

.exp-group-title:first-of-type {
    margin-top: 0;
}

.exp-points a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.exp-points a:hover {
    color: var(--ink);
}

.exp-tag {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--accent);
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius);
}

.exp-points {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.exp-points li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
    text-align: justify;
}

.exp-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.35rem;
    height: 0.35rem;
    background: var(--accent);
}

/* ——— Work ——— */

.work {
    padding: var(--section-y) 0;
    background: var(--surface);
}

.work-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 0.25rem;
}

.work-link,
.work-link-static {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s var(--ease);
}

.work-link:hover {
    border-color: var(--accent-soft);
    transform: translateY(-4px);
}

.work-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.work-image-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 45%),
        linear-gradient(145deg, var(--surface-2) 0%, var(--bg) 100%);
    text-align: center;
}

.work-image-label {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.work-image-sub {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.work-link:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 1.15rem 1.2rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.work-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
    text-align: left;
}

.work-info p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.85rem;
    flex: 1;
}

.work-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
}

.work-tech li {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    padding: 0.28rem 0.55rem;
    border-radius: var(--radius);
    line-height: 1.2;
}

.work-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    align-self: flex-start;
    margin-top: 0.15rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    line-height: 1.2;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 40%, transparent);
}

.work-cta::after {
    content: "→";
    font-size: 0.95em;
    line-height: 1;
    transition: transform 0.2s var(--ease);
}

.work-link:hover .work-cta {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent);
}

.work-link:hover .work-cta::after {
    transform: translateX(3px);
}

.work-link:focus-visible .work-cta {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Skills */

.skills-board {
    margin-top: 0.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.15rem;
}

.skills-group {
    padding: 1.05rem 1.15rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.skills-group-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.65rem;
    text-align: left;
}

.skills-group .skills-list {
    margin-top: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.3rem;
    margin-top: 0;
    max-width: none;
}

.skills-list li {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0.28rem 0;
    margin-right: 0.9rem;
    border-bottom: 1.5px solid var(--accent);
    text-align: left;
}

/* ——— Certificates ——— */

.certificates {
    background: var(--surface);
}

.cert-scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0 1.1rem;
    margin: 0 calc(-1 * var(--space));
    padding-left: var(--space);
    padding-right: var(--space);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.cert-scroller:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.cert-card {
    flex: 0 0 min(280px, 26vw);
    max-width: 300px;
    scroll-snap-align: start;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cert-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 190px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    padding: 0.5rem;
}

.cert-card span {
    display: block;
    padding: 0.8rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    border-top: 1px solid var(--line);
}

.cert-hint {
    font-size: 0.84rem;
    color: var(--muted);
    text-align: left;
}

/* Contact */

.contact-head {
    max-width: 44rem;
    margin-bottom: 1.75rem;
}

.contact-lead {
    color: var(--muted);
    max-width: 56ch;
    margin-top: 0.65rem;
    text-align: justify;
    text-justify: inter-word;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
    min-height: 100%;
    text-align: left;
}

.contact-card-icon {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 0.45rem;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.contact-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
}

.contact-card:hover {
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
    transform: translateY(-4px);
    background: var(--surface-2);
}

.contact-card:hover .contact-card-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.contact-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.45;
    word-break: break-word;
}

.contact-card-action {
    margin-top: auto;
    padding-top: 0.55rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
}

.contact-card:hover .contact-card-action {
    color: var(--accent);
}

/* ——— Footer ——— */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem var(--space);
    padding-bottom: calc(1.35rem + var(--safe-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}

.footer p {
    text-align: left;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a:not(.back-top) {
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:not(.back-top):hover {
    color: var(--accent);
}

.back-top {
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 1rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.back-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

/* ——— Modal ——— */

.modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: var(--overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}

.modal[hidden] {
    display: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
}

.modal-close:hover {
    opacity: 1;
    color: var(--accent);
}

.modal-image {
    max-width: min(900px, 92vw);
    max-height: 78vh;
    object-fit: contain;
}

.modal-caption {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
    max-width: 40ch;
}

/* ——— Reveal ——— */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay {
    transition-delay: 0.1s;
}

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

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ——— Responsive ——— */

@media (max-width: 1024px) {
    .work-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: calc(var(--header-h) + var(--safe-top) + 1.25rem);
        padding-bottom: calc(2.75rem + var(--safe-bottom));
        gap: 1.5rem;
        align-items: start;
        justify-items: center;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .hero-frame {
        width: min(58vw, 240px);
        max-height: none;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .hero-status {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-name {
        font-size: clamp(2.6rem, 12vw, 4.25rem);
        word-break: break-word;
        text-align: center;
        width: 100%;
    }

    .hero-tagline {
        font-size: clamp(1rem, 3.5vw, 1.15rem);
        max-width: 30ch;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-lead {
        max-width: 42ch;
        width: 100%;
        margin-bottom: 1.35rem;
        text-align: justify;
        text-justify: inter-word;
    }

    .hero-cta-block {
        max-width: none;
        width: 100%;
        align-items: stretch;
        gap: 0.85rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-cta-block .doc-downloads {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-block .doc-downloads-label {
        text-align: center;
    }

    .hero-cta-block .doc-downloads-row {
        justify-content: stretch;
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-block .btn-doc {
        width: 100%;
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        justify-items: center;
    }

    .about-photo {
        max-width: min(64vw, 280px);
        max-height: min(46vh, 360px);
        width: 100%;
        margin: 0 auto;
    }

    .about-photo::before {
        width: 36%;
        height: 36%;
    }

    .about-copy {
        width: 100%;
    }

    .about-copy .section-label,
    .about-copy .section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-copy .section-title {
        max-width: 16ch;
    }

    .about-copy > p:not(.section-label) {
        text-align: justify;
        text-justify: inter-word;
    }

    .about-copy .doc-downloads {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .about-copy .doc-downloads-label {
        text-align: left;
    }

    .about-copy .doc-downloads-row {
        justify-content: stretch;
        width: 100%;
        flex-direction: column;
    }

    .about-copy .btn-doc {
        width: 100%;
        flex: 1 1 auto;
        justify-content: center;
    }

    .about,
    .skills,
    .certificates,
    .contact {
        min-height: auto;
        display: block;
        padding: var(--section-y) 0;
    }

    .skills-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .section-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
    }

    .section-head .section-label,
    .section-head .section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        max-width: none;
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }

    .education .section-label,
    .education .section-title,
    .experience .section-label,
    .experience .section-title,
    .skills .section-label,
    .skills .section-title,
    .certificates .section-label,
    .certificates .section-title,
    .contact .section-label,
    .contact .section-title,
    .contact-head {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-head {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-lead {
        max-width: none;
        width: 100%;
        text-align: justify;
        text-justify: inter-word;
    }

    .contact-channels {
        grid-template-columns: 1fr;
    }

    .work-info p {
        text-align: justify;
        text-justify: inter-word;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 3.75rem;
    }

    .header {
        background: var(--header-bg);
        border-bottom-color: var(--line);
        z-index: 10040;
        /* leave space so logo/theme don't sit under the hamburger */
        padding-right: 4.25rem;
    }

    .theme-toggle {
        margin-right: 0;
        padding: 0.35rem 0.6rem 0.35rem 0.4rem;
        gap: 0.75rem;
    }

    .theme-toggle-side {
        width: 1.05rem;
        height: 1.05rem;
    }

    .theme-side-icon {
        width: 1.05rem;
        height: 1.05rem;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.25rem;
        background: var(--bg);
        opacity: 0;
        visibility: hidden;
        pointer-events: none !important;
        transition: opacity 0.2s ease;
        padding: calc(var(--header-h) + var(--safe-top) + 1.25rem) var(--space) calc(2rem + var(--safe-bottom));
        z-index: 10045;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: none;
    }

    .navbar.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto !important;
    }

    .navbar a {
        font-family: var(--font-display);
        font-size: clamp(1.35rem, 6.5vw, 1.75rem);
        font-weight: 700;
        color: var(--ink);
        padding: 0.85rem 0.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-bottom: 1px solid var(--line);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        pointer-events: auto;
    }

    .navbar a:last-child {
        border-bottom: none;
    }

    .navbar a.active {
        color: var(--accent);
    }

    .work-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skills-list {
        justify-content: flex-start;
        max-width: none;
    }

    .skills-list li {
        margin-right: 0.85rem;
    }

    .edu-track {
        max-width: none;
        text-align: left;
    }

    .edu-card {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1.1rem 1.15rem;
    }

    .edu-item:hover .edu-card {
        transform: none;
    }

    .edu-copy h3 {
        font-size: 1.05rem;
        text-align: left;
    }

    .exp-track {
        max-width: none;
        text-align: left;
    }

    .exp-item:hover .exp-card {
        transform: none;
    }

    .exp-head {
        flex-wrap: wrap;
    }

    .exp-head h3,
    .exp-meta {
        text-align: left;
    }

    .exp-points li {
        text-align: left;
    }

    .certificates {
        min-height: auto;
        display: block;
        padding: var(--section-y) 0;
    }

    .certificates .section-inner {
        display: block;
    }

    .cert-scroller {
        gap: 0.9rem;
        scroll-padding-inline: var(--space);
    }

    .cert-card {
        flex: 0 0 min(260px, 78vw);
        max-width: none;
    }

    .cert-card img {
        max-height: 180px;
        padding: 0.45rem;
    }

    .contact-card-value {
        font-size: 0.95rem;
    }

    .modal {
        padding: 1.25rem;
        padding-top: calc(1.25rem + var(--safe-top));
        padding-bottom: calc(1.25rem + var(--safe-bottom));
    }

    .modal-close {
        top: max(0.75rem, var(--safe-top));
        right: max(0.75rem, var(--safe-right));
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        font-size: 2rem;
    }

    .modal-image {
        max-width: 100%;
        max-height: 70dvh;
    }

    /* Keep body copy justified on phones */
    p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .hero-status,
    .hero-name,
    .hero-tagline,
    .section-label,
    .section-title,
    .cert-hint,
    .footer p,
    .modal-caption,
    .edu-meta,
    .edu-detail,
    .edu-copy h3,
    .exp-head h3,
    .exp-meta,
    .work-info h3,
    .work-cta,
    .cert-card span {
        text-align: center;
        hyphens: none;
    }

    .edu-copy h3,
    .edu-meta,
    .edu-detail,
    .exp-head h3,
    .exp-meta,
    .exp-points li {
        text-align: left;
    }

    .work-info h3,
    .work-cta,
    .cert-card span {
        text-align: left;
    }

    .hero-lead,
    .about-copy p,
    .work-info p,
    .contact-lead {
        text-align: justify;
        text-justify: inter-word;
    }

    .cert-hint {
        text-align: center;
        width: 100%;
    }
}

/* Large phones / phablets in portrait */
@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--header-h) + var(--safe-top) + 1rem);
        padding-bottom: calc(2.25rem + var(--safe-bottom));
        gap: 1.25rem;
    }

    .hero-frame {
        width: min(62vw, 200px);
    }

    .hero-status {
        font-size: 0.72rem;
        padding: 0.35rem 0.65rem;
        max-width: 100%;
    }

    .hero-name {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
        margin-bottom: 0.7rem;
    }

    .hero-tagline {
        margin-bottom: 0.55rem;
    }

    .hero-lead {
        margin-bottom: 1.15rem;
        font-size: 0.95rem;
    }

    .about,
    .education,
    .experience,
    .work,
    .skills,
    .certificates,
    .contact {
        padding-top: clamp(3rem, 10vh, 4.5rem);
        padding-bottom: clamp(3rem, 10vh, 4.5rem);
    }

    .about-photo::before {
        display: none;
    }

    .work-info {
        padding: 1rem 1rem 1.15rem;
    }

    .footer {
        gap: 1rem;
        font-size: 0.8rem;
    }
}

/* Small phones (iPhone SE, older Androids) */
@media (max-width: 375px) {
    :root {
        --space: 1rem;
        --header-h: 3.5rem;
    }

    .hero-name {
        font-size: clamp(2.35rem, 13vw, 3rem);
        line-height: 1.05;
    }

    .hero-frame {
        width: min(62vw, 200px);
        margin-inline: auto;
    }

    .about-photo {
        max-width: min(62vw, 200px);
    }

    .section-title {
        font-size: clamp(1.55rem, 8vw, 1.9rem);
    }

    .edu-card {
        padding: 1rem;
    }

    .edu-logo {
        width: 2.35rem;
        height: 2.35rem;
    }

    .cert-card {
        flex: 0 0 82vw;
    }

    .cert-card img {
        max-height: 170px;
    }
}

/* Extra-small / foldable narrow */
@media (max-width: 320px) {
    .hero-name {
        font-size: 2.1rem;
    }

    .logo {
        font-size: 1.15rem;
    }

    .navbar a {
        font-size: 1.35rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        grid-template-columns: 1fr 0.7fr;
        min-height: auto;
        padding-top: calc(var(--header-h) + var(--safe-top) + 0.75rem);
        padding-bottom: 1.5rem;
        align-items: center;
        justify-items: stretch;
        text-align: left;
        gap: 1.25rem;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-visual {
        order: 0;
        justify-content: flex-end;
    }

    .hero-frame {
        width: min(100%, 180px);
        aspect-ratio: 1 / 1;
        margin: 0 0 0 auto;
    }

    .hero-name,
    .hero-tagline,
    .hero-status {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-name {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 0.65rem;
    }

    .hero-lead {
        margin-bottom: 1rem;
        text-align: justify;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-status {
        margin-bottom: 0.65rem;
    }

    .navbar a {
        font-size: 1.25rem;
        padding: 0.65rem 0.5rem;
        min-height: 42px;
    }
}

/* Touch devices: keep hover CTAs visible */
@media (hover: none) {
    .work-link:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .work-cta {
        opacity: 1;
        box-shadow: none;
    }

    .work-link:hover .work-cta {
        transform: none;
        box-shadow: none;
    }
}

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

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