:root {
    --resume-accent: var(--color-action);
    --resume-accent-dark: var(--color-action-strong);
    --resume-paper: var(--color-paper);
    --resume-surface: var(--color-surface);
    --resume-line: var(--color-rule);
    --resume-utility: var(--font-sans);
}

.resume-page {
    background: var(--resume-paper);
}

.resume-intro.editorial-intro {
    background: var(--resume-surface);
    border-bottom: 1px solid var(--resume-line);
}

.resume-intro-inner.editorial-intro-inner {
    padding-block: var(--editorial-intro-space);
}

.resume-intro-grid {
    align-items: end;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
}

.resume-location.editorial-metadata {
    color: var(--muted);
    font-family: var(--resume-utility);
    font-size: var(--editorial-meta-size);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.resume-intro h1 {
    font-size: var(--page-title-size);
    line-height: 1.08;
    margin-top: 11px;
}

.resume-role {
    color: var(--ink);
    font-size: clamp(1.18rem, 2.2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin-top: 14px;
    max-width: none;
    text-wrap: balance;
}

.resume-summary {
    color: var(--ink-soft);
    font-size: var(--text-base);
    line-height: var(--leading-copy);
    margin-top: var(--space-4);
    max-width: 78ch;
}

.resume-snapshot.editorial-record-list {
    border-bottom: 1px solid var(--resume-line);
    border-top: 1px solid var(--line-strong);
    margin: 0;
}

.resume-snapshot > div {
    align-items: baseline;
    border-top: 1px solid var(--resume-line);
    display: grid;
    gap: 16px;
    grid-template-columns: 96px minmax(0, 1fr);
    padding-block: 7px 8px;
    position: relative;
}

.resume-snapshot > div:first-child {
    border-top: 0;
}

.resume-snapshot > div::before {
    background: var(--resume-accent);
    border: 2px solid var(--resume-surface);
    border-radius: 50%;
    content: "";
    height: 6px;
    left: -5px;
    position: absolute;
    top: 12px;
    width: 6px;
}

.resume-snapshot dt,
.project-type,
.expertise-list dt,
.resume-section > h2 {
    font-family: var(--resume-utility);
    text-transform: uppercase;
}

.resume-snapshot dt {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.5;
    padding-left: 8px;
}

.resume-snapshot dd {
    color: var(--ink-soft);
    font-size: 0.78rem;
    line-height: 1.42;
}

.resume-snapshot dd strong,
.resume-snapshot dd > a {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 20px;
}

.resume-snapshot dd > span {
    display: block;
    margin-top: 0;
}

.resume-snapshot a {
    text-decoration-color: rgba(43, 91, 84, 0.32);
    text-underline-offset: 3px;
}

.resume-snapshot a:hover,
.resume-snapshot a:focus-visible {
    color: var(--resume-accent-dark);
    text-decoration-color: currentColor;
}

.resume-snapshot a:focus-visible {
    border-radius: 3px;
    box-shadow: 0 0 0 3px var(--resume-surface), 0 0 0 6px var(--resume-accent-dark);
    outline: 0;
}

.resume-contact.editorial-intro-index {
    align-items: center;
    border-top: 1px solid var(--resume-line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin-top: 34px;
    padding-top: 18px;
}

.resume-contact li {
    align-items: center;
    display: flex;
}

.print-url,
.print-experience-continuation {
    display: none;
}

.resume-contact a,
.selected-work-copy a,
.resume-email-link {
    align-items: center;
    color: var(--resume-accent-dark);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    min-height: 44px;
    text-decoration-color: rgba(53, 111, 109, 0.35);
    text-underline-offset: 4px;
}

.resume-contact a:not(.resume-email-link) {
    padding-inline: 7px;
}

a.print-url {
    display: none;
}

.resume-email-link {
    background: var(--resume-accent-dark);
    border-radius: 4px;
    color: var(--white);
    justify-content: center;
    padding: 10px 16px;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.resume-contact .resume-email-link,
.resume-contact-layout .resume-email-link {
    color: var(--white);
}

.resume-contact a:hover,
.resume-contact a:focus-visible,
.selected-work-copy a:hover,
.selected-work-copy a:focus-visible {
    color: var(--ink);
    text-decoration-color: currentColor;
}

.resume-contact .resume-email-link:hover,
.resume-contact .resume-email-link:focus-visible,
.resume-contact-layout .resume-email-link:hover,
.resume-contact-layout .resume-email-link:focus-visible {
    background: var(--ink);
    color: var(--white);
}

.resume-email-link:hover {
    transform: translateY(-1px);
}

.resume-shell {
    padding-block: 60px 82px;
}

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

.resume-section.editorial-section {
    display: grid;
    gap: 64px;
    grid-template-columns: 148px minmax(0, 1fr);
    scroll-margin-top: 92px;
}

.resume-section.editorial-section + .resume-section.editorial-section {
    border-top: 1px solid var(--resume-line);
    margin-top: 52px;
    padding-top: 48px;
}

.resume-section.editorial-section > h2 {
    align-self: start;
    color: var(--resume-accent-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.065em;
    line-height: 1.5;
    padding-top: 4px;
}

.resume-section > h2::after {
    background: var(--signal);
    content: "";
    display: block;
    height: 2px;
    margin-top: 10px;
    width: 28px;
}

.expertise-list {
    border-top: 1px solid var(--line-strong);
    margin: 0;
}

.expertise-list dt {
    color: var(--resume-accent-dark);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1.4;
}

.expertise-list > div {
    border-top: 1px solid var(--resume-line);
    display: grid;
    gap: 18px;
    grid-template-columns: 184px minmax(0, 1fr);
    padding-block: 10px;
}

.expertise-list > div:first-child {
    border-top: 0;
}

.expertise-list dd {
    color: var(--ink-soft);
    font-size: 0.83rem;
    line-height: 1.52;
}

.experience-list {
    min-width: 0;
}

.experience-group.editorial-record-group + .experience-group.editorial-record-group {
    margin-top: 44px;
}

.experience-heading {
    align-items: start;
    border-bottom: 1px solid var(--line-strong);
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding-bottom: 14px;
}

.experience-heading h3 {
    font-size: 1.18rem;
    letter-spacing: -0.012em;
    line-height: 1.3;
}

.experience-heading div > p,
.experience-location {
    color: var(--muted);
    font-size: 0.77rem;
    line-height: 1.45;
    margin-top: 4px;
}

.experience-location {
    flex: 0 0 180px;
    margin-top: 2px;
    text-align: right;
}

.role-entry.editorial-record {
    border-bottom: 1px solid var(--resume-line);
    display: grid;
    gap: 28px;
    grid-template-columns: 116px minmax(0, 1fr);
    padding-block: 22px 24px;
}

.role-date {
    color: var(--resume-accent-dark);
    font-family: var(--resume-utility);
    font-size: 0.67rem;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    line-height: 1.5;
    padding-top: 3px;
    position: relative;
}

.role-date::before {
    background: var(--resume-accent);
    border: 3px solid var(--resume-paper);
    border-radius: 50%;
    content: "";
    height: 9px;
    position: absolute;
    right: 7px;
    top: 6px;
    width: 9px;
    z-index: 1;
}

.role-date::after {
    background: var(--line-strong);
    bottom: -27px;
    content: "";
    position: absolute;
    right: 11px;
    top: 15px;
    width: 1px;
}

.role-entry:last-child .role-date::after {
    display: none;
}

.role-date time,
.role-date span {
    display: block;
}

.role-date .role-date-month {
    display: inline;
}

.role-date .role-date-separator {
    color: var(--muted);
    font-family: var(--font);
    font-weight: 400;
}

.role-detail h4 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.role-detail ul {
    margin: 10px 0 0 1.05rem;
}

.role-detail li {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.62;
    padding-left: 4px;
}

.role-detail li + li {
    margin-top: 6px;
}

.role-detail li::marker {
    color: var(--resume-accent);
}

.role-entry-compact {
    padding-block: 17px;
}

.project-entry.editorial-record {
    align-items: start;
    border-top: 1px solid var(--resume-line);
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    padding-block: 20px 22px;
}

.project-entry:first-child {
    border-top-color: var(--line-strong);
    padding-top: 14px;
}

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

.project-type {
    color: var(--resume-accent-dark);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 1.4;
}

.project-entry h3 {
    font-size: 1.18rem;
    letter-spacing: -0.012em;
    line-height: 1.35;
    margin-top: 6px;
}

.project-entry p:not(.project-type) {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.67;
    margin-top: 10px;
    max-width: 62ch;
}

.selected-work-copy a {
    margin-top: 10px;
}

.project-visual.editorial-evidence-figure {
    background: var(--resume-surface);
    border: 1px solid var(--resume-line);
    border-radius: var(--radius-panel);
    margin: 0;
    overflow: hidden;
}

.project-visual img {
    background: var(--color-white);
    height: 220px;
    object-fit: contain;
    padding: 6px;
    width: 100%;
}

.project-visual figcaption {
    border-top: 1px solid var(--resume-line);
    color: var(--muted);
    font-size: var(--editorial-caption-size);
    line-height: 1.5;
    padding: var(--space-2) var(--space-3) calc(var(--space-2) + var(--space-1));
}

.education-list > div {
    border-top: 1px solid var(--resume-line);
    display: grid;
    gap: 7px 22px;
    grid-template-columns: minmax(220px, 1fr) minmax(210px, 1fr) 82px;
    padding-block: 16px;
}

.education-list > div:first-child {
    border-top-color: var(--line-strong);
}

.education-list > div:last-child {
    border-bottom: 1px solid var(--resume-line);
}

.education-list dt {
    color: var(--ink);
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 1.45;
}

.education-list dt span {
    color: var(--muted);
    display: block;
    font-size: 0.69rem;
    font-weight: 400;
}

.education-list dd {
    color: var(--muted);
    font-size: 0.81rem;
    line-height: 1.5;
}

.education-list .education-date {
    color: var(--resume-accent-dark);
    font-family: var(--resume-utility);
    font-size: 0.67rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.resume-contact-band.editorial-next-step {
    background: var(--editorial-end-band);
    border-top: 1px solid var(--resume-line);
    padding-block: 42px;
}

.resume-contact-layout.editorial-next-step-layout {
    align-items: center;
    display: flex;
    gap: 48px;
    justify-content: space-between;
}

.resume-contact-label.editorial-next-step-label {
    color: var(--muted);
    font-family: var(--resume-utility);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.resume-contact-layout h2 {
    font-size: 1.4rem;
    letter-spacing: -0.012em;
    line-height: 1.3;
    margin-top: 6px;
    max-width: 34ch;
    text-wrap: balance;
}

.resume-contact-summary.editorial-next-step-prompt {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.58;
    margin-top: 9px;
    max-width: 68ch;
}

.resume-contact-layout .resume-email-link {
    flex: 0 0 auto;
}

.resume-footer {
    background: var(--paper-deep);
    border-top: 1px solid var(--resume-line);
}

.resume-footer a {
    text-underline-offset: 3px;
}

@media (max-width: 960px) {
    .resume-intro-grid {
        align-items: start;
        gap: 34px;
        grid-template-columns: 1fr;
    }

    .resume-snapshot {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .resume-snapshot > div,
    .resume-snapshot > div:first-child {
        border-left: 1px solid var(--resume-line);
        border-top: 0;
        display: block;
        padding: 10px 12px 11px;
    }

    .resume-snapshot > div:first-child {
        border-left: 0;
    }

    .resume-snapshot > div::before {
        left: 12px;
        top: -5px;
    }

    .resume-snapshot dt {
        padding-left: 0;
    }

    .resume-snapshot dd {
        margin-top: 2px;
    }

    .resume-section.editorial-section {
        display: block;
    }

    .resume-section.editorial-section > h2 {
        margin-bottom: 22px;
        padding-top: 0;
    }
}

@media (max-width: 875px) {
    .project-entry.editorial-record {
        gap: 28px;
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .education-list > div {
        grid-template-columns: minmax(180px, 1fr) minmax(190px, 1fr);
    }

    .education-list .education-date {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .project-entry.editorial-record {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .project-visual.editorial-evidence-figure {
        margin-inline: auto;
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .resume-intro-inner {
        padding-block: 46px 34px;
    }

    .resume-role {
        font-size: 1.16rem;
    }

    .resume-summary {
        font-size: 0.96rem;
    }

    .resume-snapshot {
        display: block;
    }

    .resume-snapshot > div,
    .resume-snapshot > div:first-child {
        border-left: 0;
        border-top: 1px solid var(--resume-line);
        display: grid;
        gap: 12px;
        grid-template-columns: 88px minmax(0, 1fr);
        padding-inline: 8px 0;
    }

    .resume-snapshot > div:first-child {
        border-top: 0;
    }

    .resume-snapshot > div::before {
        left: -5px;
        top: 15px;
    }

    .resume-snapshot dd {
        margin-top: 0;
    }

    .resume-contact {
        align-items: stretch;
        display: grid;
        gap: 3px;
    }

    .resume-contact a:not(.resume-email-link) {
        padding-inline: 0;
    }

    .resume-contact .resume-email-link {
        justify-self: start;
    }

    .resume-shell {
        padding-block: 48px 66px;
    }

    .resume-section.editorial-section {
        scroll-margin-top: 100px;
    }

    .resume-section.editorial-section + .resume-section.editorial-section {
        margin-top: 43px;
        padding-top: 39px;
    }

    .expertise-list > div {
        gap: 4px;
        grid-template-columns: 1fr;
    }

    .experience-heading {
        display: block;
    }

    .experience-location {
        text-align: left;
    }

    .role-entry.editorial-record {
        display: block;
    }

    .role-date {
        align-items: baseline;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.4em;
        padding-top: 0;
        white-space: nowrap;
    }

    .role-entry-compact .role-date {
        gap: 0;
    }

    .role-date time,
    .role-date span {
        display: inline;
    }

    .role-date::before,
    .role-date::after {
        display: none;
    }

    .role-detail {
        margin-top: 8px;
    }

    .project-visual.editorial-evidence-figure {
        margin-inline: 0;
        max-width: none;
    }

    .education-list > div {
        display: block;
    }

    .education-list dd {
        margin-top: 4px;
    }

    .education-list .education-date {
        margin-top: 7px;
        text-align: left;
    }

    .resume-contact-layout {
        align-items: flex-start;
        display: block;
    }

    .resume-contact-layout h2 {
        font-size: 1.22rem;
    }

    .resume-contact-summary {
        font-size: 0.86rem;
    }

    .resume-contact-layout .resume-email-link {
        margin-top: 18px;
    }
}

@media print {
    @page {
        margin: 0.44in;
    }

    .resume-page,
    .resume-page * {
        font-feature-settings: "liga" 0, "clig" 0;
        font-variant-ligatures: none;
    }

    .resume-page {
        background: #ffffff;
        color: #243a35;
        font-size: 9.25pt;
    }

    .resume-page .site-header,
    .resume-page .skip-link,
    .resume-contact-band,
    .resume-footer,
    .selected-work figure {
        display: none;
    }

    .resume-page .container,
    .resume-page .editorial-container {
        width: 100%;
    }

    .resume-intro {
        background: #ffffff;
        box-shadow: none;
    }

    .resume-intro-inner {
        padding-block: 0 8px;
    }

    .resume-intro-grid {
        gap: 22px;
        grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.85fr);
    }

    .resume-intro h1 {
        font-size: 24pt;
    }

    .resume-role {
        font-size: 11.5pt;
        margin-top: 6px;
    }

    .resume-summary {
        font-size: 8.75pt;
        line-height: 1.36;
        margin-top: 6px;
    }

    .resume-snapshot {
        display: block;
    }

    .resume-snapshot > div,
    .resume-snapshot > div:first-child {
        border-left: 0;
        border-top: 1px solid #d4e0da;
        display: grid;
        gap: 8px;
        grid-template-columns: 88px minmax(0, 1fr);
        padding: 3px 0;
    }

    .resume-snapshot > div:first-child {
        border-top: 0;
    }

    .resume-snapshot > div::before {
        display: none;
    }

    .resume-snapshot dd {
        font-size: 8.25pt;
        margin-top: 0;
    }

    .resume-snapshot dd strong,
    .resume-snapshot dd > a {
        font-size: 8.75pt;
        min-height: 0;
    }

    .resume-snapshot dd > span {
        display: none;
    }

    .resume-snapshot > div:first-child dd > .snapshot-domain-context {
        display: inline;
        font-size: 8.25pt;
        margin: 0 0 0 0.25em;
    }

    .resume-contact {
        gap: 14px;
        margin-top: 7px;
        padding-top: 4px;
    }

    .resume-contact a,
    .resume-email-link,
    .resume-contact .resume-email-link,
    .resume-contact-layout .resume-email-link {
        background: transparent;
        color: #243a35;
        min-height: 0;
        padding: 0;
        text-decoration: none;
    }

    .resume-contact li {
        display: inline;
    }

    a.print-url {
        color: #536862;
        display: inline;
        font-size: 8pt;
        font-weight: 400;
        min-height: 0;
        overflow-wrap: anywhere;
        padding: 0;
        text-decoration: none;
    }

    a.print-url::before {
        content: " · ";
    }

    .resume-shell {
        padding-block: 8px 0;
    }

    .resume-section {
        display: grid;
        gap: 16px;
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .resume-section > h2 {
        margin-bottom: 0;
    }

    .resume-section > h2,
    .experience-heading {
        break-after: avoid;
        page-break-after: avoid;
    }

    .resume-section + .resume-section {
        margin-top: 9px;
        padding-top: 7px;
    }

    .expertise-list dt {
        font-size: 7.5pt;
    }

    .expertise-list > div {
        border-top: 0;
        gap: 10px;
        grid-template-columns: 110px minmax(0, 1fr);
        padding-block: 2px;
    }

    .expertise-list dd {
        font-size: 8pt;
        line-height: 1.28;
    }

    .experience-group {
        break-inside: auto;
        page-break-inside: auto;
    }

    .experience-group + .experience-group {
        margin-top: 8px;
    }

    .print-experience-continuation {
        border-bottom: 1px solid #b7cac2;
        break-before: page;
        color: #536862;
        display: flex;
        font-family: var(--resume-utility);
        font-size: 7.5pt;
        font-weight: 500;
        justify-content: space-between;
        letter-spacing: 0.05em;
        line-height: 1.35;
        margin: 0 0 3px;
        padding-bottom: 5px;
        page-break-before: always;
        text-transform: uppercase;
    }

    .experience-heading {
        padding-bottom: 5px;
    }

    .experience-heading div > p,
    .experience-location {
        font-size: 8.25pt;
    }

    .role-entry {
        break-inside: avoid-page;
        gap: 12px;
        grid-template-columns: 86px minmax(0, 1fr);
        page-break-inside: avoid;
        padding-block: 5px;
    }

    .experience-heading + .role-entry {
        break-before: avoid-page;
        page-break-before: avoid;
    }

    .role-date::before,
    .role-date::after {
        display: none;
    }

    .role-detail h4 {
        font-size: 9pt;
    }

    .role-detail ul {
        margin-top: 3px;
    }

    .role-detail li {
        font-size: 8.5pt;
        line-height: 1.3;
    }

    .role-detail li + li {
        margin-top: 2px;
    }

    .role-entry-compact {
        align-items: center;
        grid-template-columns: 86px minmax(0, 1fr);
        padding-block: 4px;
    }

    .role-entry-compact .role-date {
        display: flex;
        gap: 0;
        padding-top: 0;
        white-space: nowrap;
    }

    .role-entry-compact .role-date time,
    .role-entry-compact .role-date span {
        display: inline;
    }

    .role-entry-compact .role-date .role-date-month {
        display: none;
    }

    .experience-group > .role-entry:last-child {
        border-bottom: 0;
    }

    .selected-work-list {
        display: block;
    }

    .project-entry {
        break-inside: avoid;
        display: block;
        padding-block: 4px;
    }

    .project-entry:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .project-entry p:not(.project-type) {
        display: none;
    }

    .project-entry h3 {
        font-size: 9.25pt;
        margin-top: 2px;
    }

    .selected-work-copy a {
        font-size: 8.25pt;
        margin-top: 4px;
        min-height: 0;
    }

    .project-entry-positioning a:not(.print-url) {
        display: none;
    }

    .project-entry-positioning .print-url {
        display: block;
        margin-top: 3px;
    }

    .project-entry-positioning .print-url::before {
        content: none;
    }

    .education-list > div {
        break-inside: avoid-page;
        display: grid;
        gap: 8px;
        grid-template-columns: minmax(170px, 1.25fr) minmax(155px, 1fr) 60px;
        page-break-inside: avoid;
        padding-block: 4px;
    }

    .education-list > div:first-child {
        border-top: 0;
    }

    .education-list dt {
        font-size: 8.75pt;
    }

    .education-list dd {
        font-size: 8.25pt;
    }

    .education-list .education-date {
        font-size: 8pt;
        grid-column: auto;
        margin-top: 0;
        text-align: right;
    }
}
