/*
 * Editorial professional layer
 * -----------------------------
 * A restrained, opt-in presentation for Eric's professional front door.
 * Legacy archive pages continue to use styles.css; key trust surfaces add
 * `editorial-page` on the body and load this file after page-specific CSS.
 */

:root {
    --editorial-paper: #f3f0e8;
    --editorial-paper-bright: #fbfaf6;
    --editorial-ink: #17212b;
    --editorial-ink-soft: #344250;
    --editorial-muted: #67727b;
    --editorial-rule: #cbc6ba;
    --editorial-rule-strong: #9d9a91;
    --editorial-blue: #24567a;
    --editorial-blue-dark: #173d5a;
    --editorial-blue-wash: #e4ebef;
    --editorial-serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
    --editorial-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --editorial-measure: 720px;
    --editorial-wide: 1120px;
}

body.editorial-page {
    margin: 0;
    background: var(--editorial-paper);
    color: var(--editorial-ink);
    font-family: var(--editorial-sans);
    font-size: 17px;
    line-height: 1.7;
    color-scheme: light;
}

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

.editorial-page ::selection {
    background: #c9d9e3;
    color: var(--editorial-ink);
}

.editorial-page h1,
.editorial-page h2,
.editorial-page h3,
.editorial-page h4 {
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.editorial-page h1 {
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    overflow-wrap: break-word;
}

.editorial-page h2 {
    font-size: clamp(2.15rem, 4vw, 3.75rem);
}

.editorial-page h3 {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.editorial-page p,
.editorial-page li {
    color: var(--editorial-ink-soft);
}

.editorial-page a {
    color: var(--editorial-blue);
    text-decoration-color: rgba(36, 86, 122, 0.4);
    text-underline-offset: 0.17em;
}

.editorial-page a:hover {
    color: var(--editorial-blue-dark);
    text-decoration-color: currentColor;
}

.editorial-page img {
    max-width: 100%;
}

.editorial-shell {
    width: min(calc(100% - 3rem), var(--editorial-wide));
    margin-inline: auto;
}

.editorial-site-nav .editorial-shell {
    width: min(calc(100% - 3rem), var(--editorial-wide));
}

.editorial-nav {
    display: flex;
    min-height: 68px;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.editorial-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.editorial-nav-links a {
    color: var(--editorial-ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.editorial-prose {
    max-width: var(--editorial-measure);
}

.editorial-prose p {
    margin: 0 0 1.25rem;
}

.editorial-kicker,
.editorial-eyebrow,
.editorial-card-kicker,
.opportunity-path-label {
    margin: 0 0 1rem;
    color: var(--editorial-blue) !important;
    font-family: var(--editorial-sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.editorial-lede {
    max-width: 760px;
    margin: 1.5rem 0 0;
    color: var(--editorial-ink-soft) !important;
    font-family: var(--editorial-serif);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    line-height: 1.5;
}

.editorial-section {
    padding: clamp(4.5rem, 8vw, 8rem) 0;
    border-top: 1px solid var(--editorial-rule);
    background: transparent;
}

.editorial-section:nth-of-type(even) {
    background: var(--editorial-paper-bright);
}

.editorial-section-heading {
    max-width: 820px;
    margin: 0 0 2rem;
}

.editorial-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--editorial-rule-strong);
}

.editorial-card {
    min-width: 0;
    padding: 2rem 2rem 2.25rem 0;
    border-bottom: 1px solid var(--editorial-rule);
    background: transparent;
}

.editorial-card:nth-child(odd) {
    padding-right: 2.5rem;
    border-right: 1px solid var(--editorial-rule);
}

.editorial-card:nth-child(even) {
    padding-left: 2.5rem;
}

.editorial-card h3 {
    margin: 0 0 0.8rem;
}

.editorial-card p {
    margin: 0 0 1.25rem;
}

.editorial-card a {
    display: block;
    width: fit-content;
    margin-top: 0.55rem;
    font-size: 0.94rem;
    font-weight: 650;
}

.editorial-list {
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--editorial-rule);
}

.editorial-list li {
    position: relative;
    margin: 0;
    padding: 0.9rem 0 0.9rem 1.5rem;
    border-bottom: 1px solid var(--editorial-rule);
}

.editorial-list li::before {
    position: absolute;
    top: 1.05rem;
    left: 0;
    color: var(--editorial-blue);
    content: "—";
}

.editorial-actions,
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.25rem;
    align-items: center;
    margin-top: 2rem;
}

.editorial-action,
.editorial-page .btn,
.editorial-page .btn-primary,
.editorial-page .btn-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.1rem;
    border: 1px solid var(--editorial-ink);
    border-radius: 2px;
    background: var(--editorial-ink);
    box-shadow: none;
    color: var(--editorial-paper-bright);
    font-family: var(--editorial-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transform: none;
}

.editorial-action:hover,
.editorial-page .btn:hover,
.editorial-page .btn-primary:hover {
    border-color: var(--editorial-blue);
    background: var(--editorial-blue);
    color: #fff;
    transform: none;
}

.editorial-action-secondary,
.editorial-page .btn-secondary {
    border-color: var(--editorial-rule-strong);
    background: transparent;
    color: var(--editorial-ink);
}

.editorial-page .editorial-action {
    color: var(--editorial-paper-bright);
}

.editorial-page .editorial-action-secondary {
    color: var(--editorial-ink);
}

.editorial-page .editorial-action:hover {
    color: #fff;
}

.editorial-page .editorial-action-secondary:hover {
    color: #fff;
}

.editorial-text-link,
.editorial-link {
    font-size: 0.93rem;
    font-weight: 700;
}

/* Professional homepage */

.executive-hero {
    padding: clamp(4.5rem, 9vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
    background: var(--editorial-paper-bright);
}

.executive-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.executive-hero h1 {
    max-width: 900px;
    margin: 0;
}

.executive-hero-note {
    max-width: 690px;
    margin: 1.25rem 0 0;
    color: var(--editorial-muted) !important;
    font-size: 0.95rem;
}

.executive-portrait {
    margin: 0;
    justify-self: end;
}

.executive-portrait img {
    display: block;
    width: min(280px, 100%);
    aspect-ratio: 1;
    border: 1px solid var(--editorial-rule);
    border-radius: 50%;
    filter: saturate(0.78) contrast(1.03);
    object-fit: cover;
}

.executive-portrait figcaption {
    margin-top: 0.8rem;
    color: var(--editorial-muted);
    font-size: 0.8rem;
    text-align: center;
}

.trust-facts {
    border-block: 1px solid var(--editorial-rule-strong);
    background: var(--editorial-paper);
}

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

.trust-fact {
    min-width: 0;
    padding: 1.6rem 1.5rem 1.7rem 0;
    border-right: 1px solid var(--editorial-rule);
}

.trust-fact + .trust-fact {
    padding-left: 1.5rem;
}

.trust-fact:last-child {
    padding-right: 0;
    border-right: 0;
}

.trust-fact span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--editorial-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-fact strong {
    display: block;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: 1.08rem;
    line-height: 1.35;
}

.work-index {
    margin-top: 3rem;
    border-top: 1px solid var(--editorial-rule-strong);
}

.work-entry {
    display: grid;
    grid-template-columns: 72px minmax(0, 1.3fr) minmax(240px, 0.7fr);
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--editorial-rule);
    color: inherit;
    text-decoration: none;
}

.work-entry:hover h3 {
    color: var(--editorial-blue);
}

.work-entry-index {
    color: var(--editorial-blue);
    font-family: var(--editorial-serif);
    font-size: 1.15rem;
}

.work-entry h3 {
    margin: 0 0 0.6rem;
    transition: color 150ms ease;
}

.work-entry p {
    margin: 0;
}

.work-entry-meta {
    color: var(--editorial-muted) !important;
    font-size: 0.9rem;
}

.latest-editorial-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--editorial-rule-strong);
}

.latest-editorial-list .now-card {
    display: block;
    min-width: 0;
    padding: 1.7rem 1.7rem 1.7rem 0;
    border: 0;
    border-right: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    transform: none;
}

.latest-editorial-list .now-card + .now-card {
    padding-left: 1.7rem;
}

.latest-editorial-list .now-card:nth-child(3n) {
    border-right: 0;
}

.latest-editorial-list .now-card:hover {
    background: transparent;
    transform: none;
}

.latest-editorial-list .now-card-meta {
    color: var(--editorial-muted);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.latest-editorial-list .now-card h3 {
    margin: 0.65rem 0;
}

.archive-bridge {
    background: var(--editorial-blue-wash) !important;
}

.archive-bridge-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
}

.contact-band {
    padding: clamp(4rem, 7vw, 7rem) 0;
    background: var(--editorial-ink);
    color: var(--editorial-paper-bright);
}

.contact-band h2,
.contact-band p,
.contact-band .editorial-kicker {
    color: var(--editorial-paper-bright) !important;
}

.contact-band .editorial-action {
    border-color: var(--editorial-paper-bright);
    background: var(--editorial-paper-bright);
    color: var(--editorial-ink);
}

/* About and resume */

.profile-hero {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background: var(--editorial-paper-bright);
}

.profile-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.profile-hero h1 {
    max-width: 900px;
    margin: 0;
}

.profile-portrait {
    margin: 0;
    text-align: center;
}

.profile-portrait img {
    display: block;
    width: min(240px, 100%);
    margin-inline: auto;
    aspect-ratio: 1;
    border: 1px solid var(--editorial-rule);
    border-radius: 50%;
    filter: saturate(0.78) contrast(1.03);
    object-fit: cover;
}

.profile-portrait figcaption {
    margin-top: 0.75rem;
    color: var(--editorial-muted);
    font-size: 0.8rem;
}

.profile-disclosure {
    padding: 3rem 0;
    border-top: 1px solid var(--editorial-rule);
    background: #e8e4db;
}

.profile-disclosure h2 {
    font-size: 1.45rem;
}

.profile-resume-main {
    padding: 3.5rem 0 6rem;
}

.profile-resume-document {
    max-width: 920px;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--editorial-rule);
    background: var(--editorial-paper-bright);
}

.profile-resume-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    padding-bottom: 2.25rem;
    border-bottom: 2px solid var(--editorial-ink);
}

.profile-resume-header h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.5rem);
}

.profile-resume-title,
.profile-resume-meta {
    color: var(--editorial-muted) !important;
    font-size: 0.92rem;
}

.profile-contact {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    font-style: normal;
    font-size: 0.87rem;
    text-align: right;
}

.profile-print-note {
    margin: 1rem 0;
    color: var(--editorial-muted) !important;
    font-size: 0.8rem;
}

.profile-resume-section {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2.4rem 0;
    border-bottom: 1px solid var(--editorial-rule);
}

.profile-resume-section > h2 {
    margin: 0;
    font-family: var(--editorial-sans);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-resume-entry + .profile-resume-entry {
    grid-column: 2;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--editorial-rule);
}

.profile-resume-entry h3 {
    margin: 0 0 0.5rem;
}

.profile-resume-entry p,
.profile-resume-entry li {
    font-size: 0.95rem;
}

.profile-source-note {
    color: var(--editorial-muted) !important;
    font-size: 0.82rem !important;
}

.profile-skill-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 2rem;
    margin: 0;
    padding-left: 1.15rem;
}

.profile-resume-footer {
    padding-top: 2rem;
    font-size: 0.85rem;
}

/* Opportunity/contact page */

.opportunity-hero {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0;
    background: var(--editorial-paper-bright);
}

.opportunity-hero h1 {
    max-width: 960px;
    margin: 0;
}

.opportunity-intro {
    max-width: 980px;
}

.opportunity-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid var(--editorial-rule-strong);
}

.opportunity-path {
    padding: 2.25rem 2.5rem 2.5rem 0;
    border-bottom: 1px solid var(--editorial-rule);
}

.opportunity-path + .opportunity-path {
    padding-right: 0;
    padding-left: 2.5rem;
    border-left: 1px solid var(--editorial-rule);
}

.opportunity-path-primary {
    background: transparent;
}

.opportunity-path h2,
.opportunity-path h3 {
    margin-top: 0;
}

.opportunity-fit-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.opportunity-fit-list li {
    padding: 0.65rem 0;
    border-top: 1px solid var(--editorial-rule);
}

.opportunity-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--editorial-rule-strong);
}

.opportunity-proof {
    padding: 1.75rem 1.75rem 1.75rem 0;
    border-right: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
}

.opportunity-proof + .opportunity-proof {
    padding-left: 1.75rem;
}

.opportunity-proof:last-child {
    border-right: 0;
}

.opportunity-contact {
    background: var(--editorial-blue-wash) !important;
}

.opportunity-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.opportunity-contact-details {
    padding-top: 0.5rem;
    border-top: 1px solid var(--editorial-rule-strong);
}

/* Atlas: keep the data visualization, remove the sci-fi shell. */

.editorial-page.atlas-page {
    --atlas-line: rgba(23, 33, 43, 0.16);
    --atlas-line-strong: rgba(23, 33, 43, 0.34);
    --atlas-panel: rgba(255, 255, 255, 0.72);
    --atlas-panel-deep: #17212b;
    background: var(--editorial-paper);
}

.editorial-page.atlas-page .atlas-context,
.editorial-page.atlas-page .context-bar {
    background: #e8e4db;
    color: var(--editorial-ink);
}

.editorial-page.atlas-page .atlas-hero {
    padding: clamp(4rem, 8vw, 7rem) 0;
    border-color: var(--editorial-rule);
    background: var(--editorial-paper-bright);
}

.editorial-page.atlas-page .atlas-hero::before,
.editorial-page.atlas-page .atlas-field::before {
    display: none;
}

.editorial-page.atlas-page .atlas-hero h1,
.editorial-page.atlas-page .atlas-hero p,
.editorial-page.atlas-page .atlas-stat strong,
.editorial-page.atlas-page .atlas-field-kicker,
.editorial-page.atlas-page .atlas-field-note,
.editorial-page.atlas-page .atlas-discovery h2,
.editorial-page.atlas-page .atlas-results-title,
.editorial-page.atlas-page .atlas-card h3 {
    color: var(--editorial-ink);
}

.editorial-page.atlas-page .atlas-hero h1 {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
}

.editorial-page.atlas-page .atlas-stat,
.editorial-page.atlas-page .atlas-field,
.editorial-page.atlas-page .atlas-filter-panel,
.editorial-page.atlas-page .atlas-card,
.editorial-page.atlas-page .atlas-topic-button,
.editorial-page.atlas-page .atlas-preset {
    border-color: var(--editorial-rule);
    border-radius: 2px;
    background: var(--editorial-paper-bright);
    box-shadow: none;
}

.editorial-page.atlas-page .atlas-field {
    background: var(--editorial-ink);
}

.editorial-page.atlas-page .atlas-field .atlas-field-kicker,
.editorial-page.atlas-page .atlas-field .atlas-field-note {
    color: #dce2e7;
}

.editorial-page.atlas-page .atlas-app,
.editorial-page.atlas-page .atlas-discovery {
    background: var(--editorial-paper);
}

.editorial-page.atlas-page input,
.editorial-page.atlas-page select {
    border-color: var(--editorial-rule-strong);
    border-radius: 2px;
    background: #fff;
    color: var(--editorial-ink);
}

.editorial-page.atlas-page .atlas-card p,
.editorial-page.atlas-page label,
.editorial-page.atlas-page small,
.editorial-page.atlas-page .atlas-count {
    color: var(--editorial-muted);
}

/* Atlas result cards retain their compact layout, with type sized for reading. */

.editorial-page.atlas-page .atlas-card h3 {
    font-size: clamp(1.16rem, 1.6vw, 1.32rem);
    line-height: 1.3;
}

.editorial-page.atlas-page .atlas-card h3 a {
    color: var(--editorial-ink);
}

.editorial-page.atlas-page .atlas-card h3 a:hover {
    color: var(--editorial-blue-dark);
}

.editorial-page.atlas-page .atlas-card-kicker {
    color: #4d5a65;
    font-size: 0.72rem;
    line-height: 1.4;
}

.editorial-page.atlas-page .atlas-card-type {
    color: var(--editorial-blue-dark);
}

.editorial-page.atlas-page .atlas-card-badge {
    border-color: rgba(36, 86, 122, 0.28);
    background: #edf2f4;
    color: #425463;
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.editorial-page.atlas-page .atlas-card-badge-draft {
    border-color: #c8932d;
    background: #fff3ce;
    color: #704300;
}

.editorial-page.atlas-page .atlas-card-badge-archived,
.editorial-page.atlas-page .atlas-card-badge-archive {
    color: #59636b;
}

.editorial-page.atlas-page .atlas-card-date {
    color: #4d5a65;
    font-size: 0.72rem;
    font-weight: 700;
}

.editorial-page.atlas-page .atlas-card-summary {
    color: var(--editorial-ink-soft);
    font-size: 0.94rem;
    line-height: 1.62;
}

.editorial-page.atlas-page .atlas-card-path {
    color: var(--editorial-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.editorial-page.atlas-page .atlas-card-topic {
    color: var(--editorial-blue);
    font-size: 0.75rem;
    font-weight: 600;
}

.editorial-page.atlas-page .atlas-card-topic + .atlas-card-topic::before {
    color: #778693;
}

/* Editorial article opt-in */

.editorial-page .research-article,
.editorial-page .article-shell {
    padding: clamp(3rem, 7vw, 6rem) 0;
    background: var(--editorial-paper);
}

.editorial-page .research-article > .container,
.editorial-page .article-shell > .container {
    max-width: 900px;
}

.editorial-page .article-header {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--editorial-rule-strong);
    text-align: left;
}

.editorial-page .article-header h1 {
    max-width: 900px;
    margin-inline: 0;
    font-size: clamp(3rem, 6vw, 5.75rem);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
}

.editorial-page .article-meta,
.editorial-page .article-subtitle,
.editorial-page .source-note,
.editorial-page .article-disclosure {
    color: var(--editorial-muted);
}

.editorial-page .article-content {
    max-width: var(--editorial-measure);
    margin-inline: 0;
}

.editorial-page .article-content h2 {
    margin-top: 3.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--editorial-rule);
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
}

.editorial-page .article-content p,
.editorial-page .article-content li {
    color: var(--editorial-ink-soft);
    font-size: 1.05rem;
    line-height: 1.78;
}

.editorial-page .article-content figure,
.editorial-page .article-figure {
    margin: 2.5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.editorial-page figcaption {
    padding: 0.75rem 0;
    border: 0;
    color: var(--editorial-muted);
    font-size: 0.82rem;
}

/* Footer */

.editorial-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--editorial-rule);
    background: var(--editorial-paper-bright);
}

.editorial-footer-layout {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.editorial-footer p {
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.82rem;
}

.editorial-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.editorial-link-list a {
    font-size: 0.82rem;
    font-weight: 650;
}

@media (max-width: 860px) {
    .editorial-shell {
        width: min(calc(100% - 2rem), var(--editorial-wide));
    }

    .executive-hero-layout,
    .profile-hero-layout,
    .editorial-split,
    .archive-bridge-layout,
    .opportunity-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .executive-portrait,
    .profile-portrait {
        justify-self: start;
    }

    .executive-portrait img,
    .profile-portrait img {
        width: 180px;
    }

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

    .trust-fact:nth-child(2) {
        border-right: 0;
    }

    .trust-fact:nth-child(odd) {
        padding-left: 0;
    }

    .trust-fact:nth-child(even) {
        padding-right: 0;
    }

    .trust-fact:nth-child(-n + 2) {
        border-bottom: 1px solid var(--editorial-rule);
    }

    .work-entry {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .work-entry-meta {
        grid-column: 2;
    }

    .latest-editorial-list,
    .opportunity-proof-grid {
        grid-template-columns: 1fr;
    }

    .latest-editorial-list .now-card,
    .latest-editorial-list .now-card + .now-card,
    .opportunity-proof,
    .opportunity-proof + .opportunity-proof {
        padding: 1.4rem 0;
        border-right: 0;
    }

    .profile-resume-header,
    .profile-resume-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-contact {
        text-align: left;
    }

    .profile-resume-entry + .profile-resume-entry {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    body.editorial-page {
        font-size: 16px;
    }

    .editorial-page h1 {
        font-size: clamp(2.7rem, 12vw, 3.35rem);
    }

    .editorial-grid,
    .opportunity-paths {
        grid-template-columns: 1fr;
    }

    .editorial-card,
    .editorial-card:nth-child(odd),
    .editorial-card:nth-child(even),
    .opportunity-path,
    .opportunity-path + .opportunity-path {
        padding: 1.5rem 0;
        border-right: 0;
        border-left: 0;
    }

    .trust-facts-grid {
        grid-template-columns: 1fr;
    }

    .trust-fact,
    .trust-fact + .trust-fact {
        padding: 1.1rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--editorial-rule);
    }

    .trust-fact:last-child {
        border-bottom: 0;
    }

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

    .work-entry-meta {
        grid-column: auto;
    }

    .profile-skill-list {
        grid-template-columns: 1fr;
    }

    .editorial-footer-layout {
        align-items: flex-start;
        flex-direction: column;
    }

    .editorial-nav {
        min-height: auto;
        padding: 1rem 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .editorial-nav-links {
        width: 100%;
        gap: 0.7rem 1rem;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-page *,
    .editorial-page *::before,
    .editorial-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    @page {
        size: letter;
        margin: 0.42in 0.5in;
    }

    body.editorial-page {
        background: #fff !important;
        color: #111 !important;
        font-size: 9pt;
        line-height: 1.32;
    }

    .profile-screen-only,
    .editorial-page .site-nav,
    .editorial-page .editorial-footer {
        display: none !important;
    }

    .profile-resume-main {
        padding: 0;
    }

    .profile-resume-document {
        width: 100%;
        max-width: none;
        padding: 0;
        border: 0;
        background: #fff;
    }

    .profile-resume-header {
        gap: 0.25in;
        padding-bottom: 0.12in;
    }

    .profile-resume-header h1 {
        font-size: 26pt;
        line-height: 1;
    }

    .profile-resume-header .editorial-eyebrow {
        margin-bottom: 0.04in;
        font-size: 7pt;
    }

    .profile-resume-header .profile-resume-title,
    .profile-resume-header .editorial-lede {
        margin: 0.04in 0 0;
        font-size: 8.5pt;
        line-height: 1.3;
    }

    .profile-contact {
        gap: 0.02in;
        font-size: 7.5pt;
    }

    .profile-resume-section {
        grid-template-columns: 1.25in 1fr;
        gap: 0.18in;
        padding: 0.11in 0;
        break-inside: auto;
    }

    .profile-resume-section > h2 {
        font-size: 7.25pt;
        break-after: avoid;
    }

    .profile-resume-entry {
        break-inside: avoid;
    }

    .profile-resume-entry + .profile-resume-entry {
        margin-top: 0.1in;
        padding-top: 0.1in;
    }

    .profile-resume-entry h3 {
        margin-bottom: 0.025in;
        font-size: 10pt;
    }

    .profile-resume-entry p,
    .profile-resume-entry li,
    .profile-resume-section .editorial-prose p,
    .profile-resume-section > ul {
        margin-top: 0.035in;
        margin-bottom: 0.035in;
        font-size: 8.25pt;
        line-height: 1.28;
    }

    .profile-resume-entry ul,
    .profile-resume-section > ul {
        padding-left: 0.16in;
    }

    .profile-source-note {
        font-size: 7.25pt !important;
    }

    .profile-skill-list {
        gap: 0.02in 0.22in;
    }

    .profile-disclosure {
        break-inside: avoid;
        display: grid;
        grid-template-columns: 1.25in 1fr;
        gap: 0.18in;
        padding: 0.11in 0;
        background: transparent;
    }

    .profile-disclosure h2 {
        margin: 0;
        font-family: var(--editorial-sans);
        font-size: 7.25pt;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .profile-disclosure p,
    .profile-resume-footer {
        margin: 0;
        font-size: 7.5pt;
        line-height: 1.28;
    }

    .profile-resume-footer {
        padding-top: 0.08in;
    }
}

/* ---- Site directory footer (fat footer) ---- */
.editorial-footer-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.75rem 2rem;
    padding-top: 2.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--editorial-rule);
    margin-bottom: 1.5rem;
}

.editorial-footer-directory h2 {
    margin: 0 0 0.65rem;
    font-family: var(--editorial-sans);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--editorial-muted);
}

.editorial-footer-directory ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.editorial-footer-directory li {
    margin: 0 0 0.45rem;
}

.editorial-footer-directory a {
    color: var(--editorial-ink-soft);
    text-decoration: none;
    font-size: 0.88rem;
}

.editorial-footer-directory a:hover {
    color: var(--editorial-blue);
    text-decoration: underline;
}

.editorial-footer-directory .footer-directory-all a {
    color: var(--editorial-blue);
    font-weight: 700;
}
