:root {
    --ink: #10233f;
    --ink-deep: #09172b;
    --ink-soft: #29415f;
    --paper: #f5f7f4;
    --surface: #ffffff;
    --surface-blue: #eaf0ff;
    --accent: #2256d9;
    --accent-dark: #173fa7;
    --accent-soft: #dbe6ff;
    --teal: #0c756f;
    --text: #1b2a3d;
    --text-muted: #5f6d7d;
    --line: #dbe1e7;
    --line-dark: rgba(255, 255, 255, 0.18);
    --success: #0b6b47;
    --error: #a63232;
    --shadow-sm: 0 1px 2px rgba(9, 23, 43, 0.06), 0 8px 24px rgba(9, 23, 43, 0.06);
    --shadow-lg: 0 24px 70px rgba(6, 18, 36, 0.22);
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 2rem;
    --header-height: 5rem;
}

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

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

body {
    margin: 0;
    min-width: 20rem;
    color: var(--text);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
    font: inherit;
}

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

a {
    color: var(--accent);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--accent-dark);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
summary:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

@supports selector(:focus-visible) {
    a:focus:not(:focus-visible),
    button:focus:not(:focus-visible),
    input:focus:not(:focus-visible),
    textarea:focus:not(:focus-visible),
    summary:focus:not(:focus-visible) {
        outline: none;
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    summary:focus-visible {
        outline: 3px solid #ffbf47;
        outline-offset: 3px;
    }
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--surface);
    background: var(--ink-deep);
    border-radius: var(--radius-sm);
    transform: translateY(-150%);
}

.skip-link:focus {
    color: var(--surface);
    transform: translateY(0);
}

.shell {
    width: min(100% - 2.5rem, 75rem);
    margin-inline: auto;
}

.narrow-shell {
    width: min(100% - 2.5rem, 68rem);
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 35, 63, 0.1);
}

@supports ((-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))) {
    .site-header {
        background: rgba(255, 255, 255, 0.86);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    min-width: max-content;
    flex-direction: column;
    color: var(--ink);
    line-height: 1.15;
    text-decoration: none;
}

.brand:hover {
    color: var(--ink);
}

.brand span {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.brand small {
    margin-top: 0.22rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-navigation a {
    padding: 0.6rem 0.8rem;
    color: var(--ink-soft);
    border-radius: 0.65rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.primary-navigation a:hover {
    color: var(--ink);
    background: var(--surface-blue);
}

.primary-navigation .nav-contact {
    margin-left: 0.45rem;
    padding-inline: 1rem;
    color: var(--surface);
    background: var(--ink);
}

.primary-navigation .nav-contact:hover {
    color: var(--surface);
    background: var(--accent-dark);
}

.menu-toggle {
    display: none;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    cursor: pointer;
}

.menu-toggle-label {
    font-size: 0.85rem;
    font-weight: 750;
}

.menu-toggle-lines {
    display: grid;
    width: 1.15rem;
    gap: 0.32rem;
}

.menu-toggle-lines span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child {
    transform: translateY(0.16rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child {
    transform: translateY(-0.16rem) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--surface);
    background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 58%, #183c75 100%);
}

.hero-grid {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: clamp(5rem, 9vw, 8.5rem);
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
    color: #86dbd1;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 13ch;
    margin-bottom: 1.75rem;
    color: var(--surface);
    font-size: 3.25rem;
    font-size: clamp(3.25rem, 5.2vw, 5.7rem);
    font-weight: 800;
}

h2 {
    margin-bottom: 0;
    font-size: 2.35rem;
    font-size: clamp(2.35rem, 4.6vw, 4.4rem);
    font-weight: 800;
}

h3 {
    margin-bottom: 0.6rem;
    font-size: 1.35rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 760;
}

.hero-lead {
    max-width: 41rem;
    margin: 0 0 2rem;
    color: #dce6f4;
    font-size: 1.12rem;
    font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}

.hero-actions,
.project-links,
.contact-links,
.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.18rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    font-size: 0.94rem;
    font-weight: 780;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
    color: var(--surface);
    background: var(--accent);
    border-color: var(--accent);
}

.button-primary:hover {
    color: var(--surface);
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.button-secondary {
    color: var(--surface);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.button-secondary:hover {
    color: var(--surface);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.72);
}

.button-quiet {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
}

.button-quiet:hover {
    color: var(--ink);
    background: var(--paper);
    border-color: #bdc7d1;
}

.portrait-card {
    width: min(100%, 23rem);
    justify-self: end;
    padding: 0.8rem;
    color: var(--surface);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.portrait-card img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 0.45rem);
}

.portrait-caption {
    padding: 1.15rem 0.55rem 0.45rem;
}

.portrait-caption span,
.portrait-caption strong {
    display: block;
}

.portrait-caption span {
    margin-bottom: 0.15rem;
    color: #94d8d1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portrait-caption strong {
    font-size: 0.98rem;
}

.section {
    padding-block: clamp(5rem, 9vw, 8rem);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: clamp(2.6rem, 5vw, 4.5rem);
}

.section-heading > p {
    margin: 0 0 0.4rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section-projects {
    background: var(--surface);
}

.project-card {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
    overflow: hidden;
    color: var(--surface);
    background: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.project-copy {
    min-width: 0;
    padding: clamp(2rem, 5vw, 4.25rem);
}

.project-kicker,
.card-label,
.skill-number,
.status-label {
    margin: 0 0 0.75rem;
    color: var(--teal);
    font-size: 0.73rem;
    font-weight: 820;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-kicker {
    color: #86dbd1;
}

.project-card h3 {
    margin-bottom: 1rem;
    color: var(--surface);
    font-size: 2.5rem;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.project-intro {
    max-width: 43rem;
    margin: 0 0 1.75rem;
    color: #dce6f4;
    font-size: 1.15rem;
}

.project-points {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 2rem;
    padding-left: 1.2rem;
    color: #c4d2e3;
}

.project-points li::marker {
    color: #86dbd1;
}

.project-links .text-link {
    color: var(--surface);
}

.project-links .text-link:hover {
    color: #b9d7ff;
}

.project-method {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.25rem);
    color: var(--ink);
    background: var(--surface-blue);
}

.project-method > p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.project-method ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-method li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-block: 0.95rem;
    border-bottom: 1px solid rgba(16, 35, 63, 0.15);
    font-weight: 780;
}

.project-method li:last-child {
    border-bottom: 0;
}

.project-method li span {
    color: var(--accent);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

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

.timeline-item {
    display: grid;
    grid-template-columns: minmax(11.5rem, 0.36fr) minmax(0, 0.64fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    padding-block: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--line);
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.timeline-date span,
.timeline-date small {
    display: block;
}

.timeline-date small {
    margin-top: 0.35rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 760;
}

.timeline-content {
    min-width: 0;
}

.timeline-content h3 {
    margin-bottom: 0.35rem;
}

.timeline-content > p:last-child {
    max-width: 47rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.organization {
    margin: 0 0 0.85rem;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 780;
}

.organization a {
    color: inherit;
}

.status-label {
    display: inline-flex;
    width: max-content;
    margin-bottom: 0.8rem;
    padding: 0.32rem 0.55rem;
    color: var(--success);
    background: #dff4e9;
    border-radius: 999px;
    letter-spacing: 0.08em;
}

.history-disclosure {
    margin-top: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.52);
}

.history-disclosure summary {
    padding: 1.15rem 1.35rem;
    color: var(--ink);
    font-weight: 780;
    cursor: pointer;
}

.history-disclosure[open] summary {
    border-bottom: 1px solid var(--line);
}

.history-disclosure .timeline {
    margin-inline: 1.35rem;
    border-top: 0;
}

.timeline-compact .timeline-item {
    padding-block: 1.65rem;
}

.timeline-compact .timeline-item:last-child {
    border-bottom: 0;
}

.timeline-compact h3 {
    font-size: 1.2rem;
}

.section-skills {
    background: var(--surface-blue);
}

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

.skill-card {
    min-width: 0;
    padding: clamp(1.6rem, 3.5vw, 2.5rem);
    background: var(--surface);
    border: 1px solid rgba(34, 86, 217, 0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.skill-number {
    color: var(--accent);
}

.skill-card h3 {
    margin-bottom: 1.4rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 0.42rem 0.68rem;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 680;
}

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

.background-card {
    min-width: 0;
    padding: clamp(1.6rem, 3.5vw, 2.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.background-card-wide {
    grid-column: span 2;
}

.background-card > p:last-of-type {
    color: var(--text-muted);
}

.text-link {
    font-weight: 760;
}

.award-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.award-list li {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.award-list strong,
.award-list span {
    display: block;
}

.award-list strong {
    color: var(--accent);
}

.award-list span {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-section {
    color: var(--surface);
    background: var(--ink-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.7fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.contact-copy h2 {
    max-width: 12ch;
    color: var(--surface);
}

.contact-copy > p:not(.eyebrow) {
    max-width: 34rem;
    color: #c4d2e3;
    font-size: 1.08rem;
}

.contact-email {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--surface);
    font-size: 1.15rem;
    font-weight: 780;
}

.contact-email:hover,
.contact-links a:hover {
    color: #b9d7ff;
}

.contact-links {
    margin-top: 1.4rem;
}

.contact-links a {
    color: #c4d2e3;
    font-weight: 700;
}

.contact-form {
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text);
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.field-group {
    margin-bottom: 1.15rem;
}

.field-group label {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 760;
}

.field-group input,
.field-group textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 0.85rem;
    color: var(--text);
    background: #fbfcfd;
    border: 1px solid #bbc5d0;
    border-radius: 0.65rem;
    font-size: 1rem;
}

.field-group textarea {
    min-height: 9.5rem;
    resize: vertical;
}

.field-group input:hover,
.field-group textarea:hover {
    border-color: #8796a6;
}

.field-group input:focus,
.field-group textarea:focus {
    border-color: var(--accent);
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.submit-button {
    width: 100%;
}

.submit-button:disabled {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

.form-status {
    min-height: 1.6em;
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-status[data-state="success"] {
    color: var(--success);
}

.form-status[data-state="error"] {
    color: var(--error);
}

.site-footer {
    padding-block: 2rem;
    color: #aebdd0;
    background: #061121;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-footer strong {
    color: var(--surface);
}

.site-footer p {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
}

.footer-button {
    padding: 0;
    color: #c8d5e5;
    background: transparent;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.footer-button:hover {
    color: var(--surface);
}

.consent-banner {
    position: fixed;
    z-index: 1500;
    right: 1rem;
    bottom: 1rem;
    width: min(calc(100% - 2rem), 42rem);
    padding: 1.25rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.consent-banner > div:first-child {
    margin-bottom: 1rem;
}

.consent-banner strong {
    color: var(--ink);
    font-size: 1rem;
}

.consent-banner p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.consent-banner a {
    color: inherit;
    font-weight: 700;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

.consent-actions .button {
    min-height: 2.65rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
}

@media (max-width: 62rem) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.55fr);
        gap: 3rem;
    }

    .project-card {
        grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.42fr);
    }

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

    .skill-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 53.75rem) {
    :root {
        --header-height: 4.5rem;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .primary-navigation {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.6rem 0 1rem;
    }

    html.js .primary-navigation {
        display: none;
    }

    html.js .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a {
        padding: 0.8rem;
    }

    .primary-navigation .nav-contact {
        margin: 0.25rem 0 0;
        text-align: center;
    }

    .hero-grid,
    .project-card,
    .section-heading,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid {
        min-height: auto;
        gap: 3.5rem;
    }

    .hero-copy {
        max-width: 44rem;
    }

    .portrait-card {
        width: min(100%, 20rem);
        justify-self: start;
    }

    .section-heading {
        gap: 1.25rem;
    }

    .section-heading > p {
        max-width: 40rem;
    }

    .project-method {
        border-top: 1px solid rgba(16, 35, 63, 0.15);
    }

    .project-method ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1.5rem;
    }

    .contact-copy h2 {
        max-width: 15ch;
    }
}

@media (max-width: 42rem) {
    .shell,
    .narrow-shell {
        width: min(100% - 2rem, 75rem);
    }

    .brand small {
        display: none;
    }

    .hero-grid {
        padding-block: 4.5rem;
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4.2rem);
    }

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

    .portrait-card {
        width: min(100%, 18rem);
    }

    .timeline-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }

    .timeline-date small {
        display: inline;
        margin: 0 0 0 0.4rem;
    }

    .skill-grid,
    .background-grid,
    .award-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .skill-card:last-child,
    .background-card-wide {
        grid-column: auto;
    }

    .project-method ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form {
        border-radius: var(--radius-md);
    }

    .footer-inner,
    .footer-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
    }

    .consent-banner {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100% - 1.5rem);
    }

    .consent-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .button:hover {
        transform: none;
    }
}

@media print {
    :root {
        --paper: #ffffff;
        --surface: #ffffff;
        --text: #000000;
        --text-muted: #333333;
        --ink: #000000;
    }

    body {
        color: #000000;
        background: #ffffff;
        font-size: 10.5pt;
    }

    .site-header,
    .hero-actions,
    .project-links,
    .contact-form,
    .consent-banner,
    .footer-button {
        display: none !important;
    }

    .hero,
    .contact-section,
    .project-card {
        color: #000000;
        background: #ffffff;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr 11rem;
        padding-block: 1.5rem;
    }

    .hero h1,
    .hero-lead,
    .project-card h3,
    .project-intro,
    .contact-copy h2 {
        color: #000000;
    }

    .project-card,
    .skill-card,
    .background-card,
    .contact-form {
        box-shadow: none;
        border: 1px solid #bbbbbb;
    }

    .project-method,
    .section-skills {
        background: #ffffff;
    }

    .section {
        padding-block: 1.8rem;
    }

    .history-disclosure > * {
        display: block !important;
    }

    .history-disclosure summary {
        display: none !important;
    }

    a {
        color: #000000;
        text-decoration: none;
    }
}
