/* EOD 1.1 — additive portfolio, navigation and static fallback styles. */
:root { --eod-header-height: 77px; --eod-paper: #f1f0eb; --eod-ink: #101014; --eod-accent: #aaa0ff; }
.eod-header { display: block; padding: 10px 36px 9px; height: var(--eod-header-height); background: rgba(5,5,5,.97); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.eod-header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 30px; }
.eod-header .eod-logo { flex: 0 0 auto; color: #fff; }
.eod-header .eod-status { flex: 0 0 auto; color: #fff; }
.eod-header .status-dot { background: #fff; }
.eod-header.is-light { background: rgba(241,240,235,.98); color: #050505; border-color: rgba(5,5,5,.14); }
.eod-header.is-light .eod-logo, .eod-header.is-light .eod-status { color: #050505; }
.eod-global-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); }
.eod-global-nav a { color: inherit; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; padding: 5px 0; min-height: 28px; display: inline-flex; align-items: center; }
.eod-global-nav a:hover, .eod-global-nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.eod-header-descriptor { margin: 5px 0 0; text-align: center; font-size: 10px; line-height: 1.4; letter-spacing: .06em; color: inherit; opacity: .86; }
.eod-header-descriptor span { padding: 0 5px; }
.admin-bar .eod-header { top: 32px; }
.eod-skip { position: fixed; top: 8px; left: 12px; z-index: 10000; transform: translateY(-150%); color: #050505; background: #fff; padding: 12px; }
.eod-skip:focus { transform: none; }
.eod-global-nav a:focus-visible, .eod-site-footer a:focus-visible, .eod-editorial a:focus-visible, .eod-inner a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#main-content:focus { outline: none; }
#selected-work, #eod-about, #eod-services, #eod-enable, #contact { scroll-margin-top: calc(var(--eod-header-height) + 16px); }
.eod-editorial { padding: clamp(68px, 10vw, 145px) clamp(24px, 8vw, 130px); }
.eod-dark { background: #101014; color: #f6f5f1; }
.eod-paper { background: var(--eod-paper); color: var(--eod-ink); }
.eod-editorial h1, .eod-editorial h2 { font-size: clamp(42px, 8vw, 116px); line-height: .93; font-weight: 900; letter-spacing: -.07em; margin: 20px 0 28px; overflow-wrap: break-word; }
.eod-kicker { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; line-height: 1.6; }
.eod-dark .eod-kicker { color: #b8afff; }
.eod-paper .eod-kicker, .eod-inner .eod-kicker { color: #5140a4; }
.eod-section-copy { max-width: 760px; font-size: clamp(17px, 2vw, 24px); line-height: 1.55; margin: 0 0 22px; }
.eod-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 28px; }
.eod-work-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(18px, 2.5vw, 32px); border: 1px solid rgba(255,255,255,.2); }
.eod-work-card h3 { font-size: clamp(22px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: break-word; }
.eod-work-card p:not(.eod-kicker) { font-size: 16px; line-height: 1.55; }
.eod-card-subtitle { font-weight: 700; }
.eod-work-card .eod-text-link { margin-top: auto; align-self: flex-start; }
.eod-card-image { display: block; margin: 0 0 6px; }
.eod-card-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: contain; background: rgba(128,128,128,.1); }
.eod-text-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; display: inline-block; padding: 8px 0; }
.eod-button { display: inline-block; padding: 13px 18px; border: 1px solid currentColor; font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: .055em; text-transform: uppercase; color: inherit; text-decoration: none; margin: 8px 12px 8px 0; }
.eod-button:hover { background: #f1f0eb; color: #101014; }
.eod-paper .eod-button:hover, .eod-inner .eod-button:hover { background: #101014; color: #fff; }
.eod-inner { min-height: 72vh; background: var(--eod-paper); color: var(--eod-ink); padding: calc(var(--eod-header-height) + clamp(40px, 8vw, 100px)) clamp(22px, 8vw, 130px) clamp(60px, 8vw, 100px); }
.eod-inner-article, .eod-inner-nav { max-width: 1140px; margin: 0 auto; }
.eod-inner h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1.02; letter-spacing: -.06em; margin: 16px 0 30px; overflow-wrap: break-word; }
.eod-inner .eod-featured { margin: 20px 0 36px; }
.eod-inner .eod-featured img { max-width: 100%; height: auto; display: block; }
.eod-prose { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.65; overflow-wrap: break-word; }
.eod-prose > p, .eod-prose > ul, .eod-prose > ol, .eod-prose > blockquote { max-width: 820px; margin: 0 0 20px; }
.eod-prose > ul, .eod-prose > ol { padding-left: 24px; }
.eod-prose > h2 { font-size: clamp(27px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; margin: 44px 0 16px; }
.eod-prose > h3 { margin: 30px 0 12px; font-size: 24px; }
.eod-prose a:not(.eod-button) { color: #3c2c87; }
.eod-prose .eod-lede { font-size: clamp(22px, 3.3vw, 36px); line-height: 1.28; letter-spacing: -.03em; }
.eod-prose img, .eod-prose video, .eod-prose iframe { max-width: 100%; }
.eod-prose img { height: auto; }
.eod-prose .eod-work-card { border-color: rgba(5,5,5,.22); }
.eod-inner-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; border-top: 1px solid rgba(5,5,5,.2); padding-top: 24px; margin-top: 56px; }
.eod-site-footer { background: #050505; color: #f5f5f5; border-top: 1px solid rgba(255,255,255,.15); padding: 48px clamp(24px, 8vw, 130px) 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eod-footer-logo { color: inherit; font-size: 34px; font-weight: 900; text-decoration: none; letter-spacing: -.08em; }
.eod-site-footer p { color: #c2c2c2; line-height: 1.6; font-size: 14px; margin: 6px 0; }
.eod-site-footer nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 22px; }
.eod-site-footer nav a { color: inherit; font-size: 14px; padding: 5px 0; }
.eod-footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.eod-static-home { padding-top: calc(var(--eod-header-height) + clamp(40px, 7vw, 100px)); }
.eod-static-home .eod-static-small-title { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.04em; line-height: 1.1; margin: 48px 0 16px; }
.eod-static-capabilities { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.eod-static-capabilities h3 { font-size: 24px; }
/* Default to accessible HTML; activate the original scroll experience only after initialization. */
.eod-motion-only { display: none; }
html.eod-motion-ready .eod-motion-only { display: block; }
html.eod-motion-ready .eod-static-home { display: none; }
.eod-brief-notice { margin: 0 auto 24px; max-width: 1100px; padding: 16px; border: 1px solid currentColor; line-height: 1.5; }
@media(max-width: 850px) { .eod-header .eod-status { display: none; } .eod-header-top { gap: 12px; } }
@media(max-width:700px) {
    :root { --eod-header-height: 65px; }
    .eod-header { padding: 7px 16px 6px; height: var(--eod-header-height); }
    .eod-global-nav { gap: clamp(8px, 3vw, 17px); }
    .eod-global-nav a { font-size: 10px; letter-spacing: .04em; padding: 5px 0; min-height: 30px; }
    .eod-header-descriptor { margin-top: 3px; font-size: 9px; letter-spacing: .025em; }
    .eod-header-descriptor span { padding: 0 2px; }
    .eod-card-grid { grid-template-columns: 1fr; gap: 12px; }
    .eod-site-footer { grid-template-columns: 1fr; }
    .eod-site-footer nav { justify-content: flex-start; }
    .admin-bar .eod-header { top: 46px; }
}
@media(max-width: 350px) { .eod-header { padding-inline: 10px; } .eod-global-nav { gap: 8px; } .eod-global-nav a { font-size: 9px; } }
@media(prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.eod-motion-ready .eod-motion-only { display: none; }
    html.eod-motion-ready .eod-static-home { display: block; }
    .eod-header, .eod-header *, .eod-editorial *, .eod-site-footer * { animation: none !important; transition: none !important; }
}

/* V1.1.1 — static editorial portfolio refinements. No animation-engine overrides. */
.eod-global-nav a { font-size: 14px; letter-spacing: .07em; min-height: 35px; padding: 6px 0; }
.eod-header-descriptor { font-size: 12px; letter-spacing: .035em; opacity: .94; margin-top: 2px; }
.eod-header-top { min-height: 35px; }
.eod-portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,2vw,24px); margin: 34px 0 36px; }
.eod-project-card, .eod-prose .eod-project-card { background:#101014; color:#f6f5f1; border:1px solid #383841; padding:clamp(20px,3vw,34px); gap:16px; }
.eod-project-card--featured { grid-column:1/-1; padding:clamp(24px,4vw,48px); }
.eod-project-card .eod-kicker { color:#c1b8ff; margin:0; }
.eod-project-card .eod-card-image { margin:0; border:1px solid #393943; }
.eod-project-card .eod-card-image img { aspect-ratio:auto; width:100%; height:auto; max-height:560px; object-fit:contain; background:#19191f; }
.eod-project-card:not(.eod-project-card--featured) .eod-card-image img { max-height:360px; }
.eod-project-card-body { display:flex; flex-direction:column; gap:10px; flex:1; min-width:0; }
.eod-project-card-body h3 { font-size:clamp(27px,3.2vw,43px); margin:0; }
.eod-project-card--featured h3 { font-size:clamp(39px,5vw,72px); }
.eod-project-card .eod-card-subtitle { font-size:clamp(17px,2vw,24px); }
.eod-project-card .eod-project-tags { color:#c1b8ff; font-size:11px !important; letter-spacing:.1em; font-weight:700; margin:8px 0; }
.eod-project-card .eod-text-link, .eod-prose .eod-project-card .eod-text-link { color:#fff; margin-top:auto; }
.eod-project-card .eod-text-link:hover { color:#c1b8ff; }
.eod-inner .eod-featured { background:#101014; border:1px solid #34343d; margin:24px 0 38px; }
.eod-inner .eod-featured img { width:100%; height:auto; max-height:680px; object-fit:contain; }
.eod-project-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; margin:30px 0 24px; border-top:1px solid #c4c2bc; border-bottom:1px solid #c4c2bc; max-width:960px; }
.eod-project-meta > div { min-width:0; padding:18px 0; }
.eod-project-meta dt { text-transform:uppercase; font-size:11px; font-weight:700; letter-spacing:.11em; color:#5140a4; margin-bottom:6px; }
.eod-project-meta dd { font-size:clamp(15px,1.6vw,18px); line-height:1.5; font-weight:600; margin:0; }
.eod-inner .eod-primary-button { background:#101014; color:#fff; border-color:#101014; }
.eod-inner .eod-primary-button:hover { background:#3c2c87; color:#fff; }
.eod-prose > ul.eod-feature-list { list-style:none; padding:0; max-width:960px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:20px 0 32px; }
.eod-feature-list li { padding:18px; background:#e7e5df; border-top:2px solid #5140a4; font-size:16px; line-height:1.55; }
.eod-feature-list strong { display:block; margin-bottom:5px; }
.eod-prose .wp-block-image { margin:30px 0; max-width:100%; }
.eod-prose figcaption { font-size:14px; line-height:1.5; color:#53515d; }
.eod-method-note { max-width:820px; font-size:17px; line-height:1.6; margin:0 0 22px; }
@media(max-width:700px) {
    .eod-global-nav { gap:clamp(9px,2.5vw,16px); }
    .eod-global-nav a { font-size:12px; letter-spacing:.025em; min-height:35px; }
    .eod-header-descriptor { font-size:11px; letter-spacing:0; margin-top:1px; }
    .eod-portfolio-grid, .eod-prose > ul.eod-feature-list { grid-template-columns:1fr; }
    .eod-project-card--featured { grid-column:auto; }
    .eod-project-meta { gap:0 16px; }
    .eod-project-meta > div { padding:13px 0; }
}
@media(max-width:350px) {
    .eod-global-nav { gap:7px; }
    .eod-global-nav a { font-size:11px; }
    .eod-header-descriptor { font-size:10px; }
    .eod-project-meta { grid-template-columns:1fr; }
}

/* V1.1.2 — centered header, five-link navigation, and mobile image sizing. */
.eod-header-top {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 12px;
}
.eod-header .eod-logo { justify-self: start; }
.eod-header .eod-status { justify-self: end; white-space: nowrap; }
.eod-global-nav { grid-column: 2; gap: clamp(12px, 2.4vw, 34px); }
.eod-header-descriptor { width: 100%; margin-inline: auto; text-align: center; }
/* A real, opaque header keeps underlying text from showing through. */
.eod-header { background: #050505; }
.eod-header.is-light { background: #f1f0eb; }
/* Native fragment navigation remains functional without JavaScript. */
#main-content, #selected-work, #eod-about, #eod-services, #eod-enable, #contact {
    scroll-margin-top: calc(var(--eod-header-height) + 16px);
}
@media (max-width: 1024px) {
    .eod-header .eod-status { display: none; }
}
@media (max-width: 700px) {
    .eod-header { padding: 7px 12px 6px; }
    .eod-header-top { display: flex; justify-content: space-between; gap: 8px; }
    .eod-global-nav { gap: clamp(6px, 1.8vw, 14px); }
    .eod-global-nav a { font-size: 11px; letter-spacing: 0; white-space: nowrap; min-height: 35px; }
    .eod-header-descriptor { font-size: 10px; letter-spacing: 0; }
    /* Keep screenshots proportional even when a lazy-load placeholder or a
       legacy image rule provides an oversized intrinsic/explicit height. */
    .eod-project-card .eod-card-image, .eod-inner .eod-featured {
        flex: 0 0 auto; height: auto !important; min-height: 0 !important;
        max-height: none !important; aspect-ratio: auto !important;
    }
    .eod-project-card .eod-card-image img,
    .eod-inner .eod-featured img,
    .eod-inner .eod-prose .wp-block-image img {
        display: block; width: 100%; height: auto !important;
        min-height: 0 !important; max-height: none !important;
        aspect-ratio: auto var(--eod-image-ratio, 16/9) !important; object-fit: contain;
        aspect-ratio: auto var(--eod-image-ratio, attr(width type(<number>), 16) / attr(height type(<number>), 9)) !important;
        contain: none !important; contain-intrinsic-size: none;
    }
    .eod-inner .eod-prose .wp-block-image img { width: min(100%, var(--eod-image-width, 100%)); max-width: 100%; }
}
@media (max-width: 350px) {
    .eod-header { padding-inline: 9px; }
    .eod-global-nav { gap: 6px; }
    .eod-global-nav a { font-size: 10px; }
    .eod-header-descriptor { font-size: 9.5px; }
}
