.efp-heading{padding:64px 0 54px;border-bottom:1px solid var(--efh-line);margin-bottom:50px}.efp-heading h1{font-size:clamp(38px,6vw,80px)!important;line-height:1.12!important;letter-spacing:-2.5px!important;max-width:1100px;overflow-wrap:anywhere}.efp-content{padding-bottom:80px}.efp-section{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.5fr);gap:80px;margin:60px 0 28px;padding-top:30px;border-top:1px solid var(--efh-line)}.efp-section h2,.efp-inquiry h2{font-size:clamp(24px,3vw,38px)!important;line-height:1.2!important;letter-spacing:-.8px!important;text-transform:none!important}.efp-copy{font-size:16px;line-height:1.95;color:var(--efh-muted);overflow-wrap:anywhere}.efp-copy p{margin:0 0 22px}.efp-copy strong{color:var(--efh-ink)}.efp-copy a{text-decoration:underline;text-underline-offset:4px}.efp-copy ul,.efp-copy ol{padding-left:24px;margin:18px 0 25px}.efp-copy li{margin:8px 0}.efp-copy h2,.efp-copy h3{line-height:1.3!important;letter-spacing:-.5px!important;color:var(--efh-ink);margin:36px 0 20px}.efp-text{max-width:850px;margin:24px 0 24px auto}.efp-questions{margin:30px 0 65px}.efp-questions details{border-bottom:1px solid var(--efh-line);padding:0 0 0 0}.efp-questions summary{padding:25px 45px 25px 0;position:relative;font-size:20px;line-height:1.5;cursor:pointer;list-style:none}.efp-questions summary::-webkit-details-marker{display:none}.efp-questions summary:after{content:'+';position:absolute;right:7px;top:22px;font-size:27px;color:var(--efh-red)}.efp-questions details[open] summary:after{content:'−'}.efp-questions details[open] summary{color:var(--efh-red)}.efp-questions .efp-copy{max-width:850px;padding:5px 30px 20px 0}.efp-inline-image{margin:45px 0;max-width:100%}.efp-inline-image img{width:100%;max-height:650px;object-fit:cover;height:auto}.efp-service{margin:28px 0}.efp-more{margin:30px 0 60px}.efp-inquiry{background:#ebece4;padding:42px;margin:35px 0}.efp-inquiry p{font-size:15px;line-height:1.8;max-width:600px;margin:20px 0}.efp-cards{margin:35px 0 60px}.efp-cards .efh-project:nth-child(even){padding-top:0}.efp-cards .efh-project-caption h2{font-size:18px!important;line-height:1.5!important;letter-spacing:-.2px!important}.efp-date{font-size:11px;color:var(--efh-muted);margin:20px 0}.efp-excerpt{font-size:14px;line-height:1.8;color:var(--efh-muted)}.efp-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:40px}.efp-filters a{padding:11px 17px;border:1px solid var(--efh-line);font-size:12px}.efp-filters a[aria-current],.efp-filters a:hover{background:var(--efh-ink);color:white}.efp-pagination{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.efp-pagination a,.efp-pagination span{padding:12px 16px;border:1px solid var(--efh-line);font-size:13px}.efp-pagination .current{background:var(--efh-ink);color:white}.efp-cover{margin:0 0 55px}.efp-cover img{width:100%;height:auto;max-height:800px;object-fit:contain}.efp-article{max-width:820px;margin:0 auto 70px}.efp-article img{height:auto;max-width:100%}.efp-gallery{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:50px 0}.efp-gallery img{width:100%;height:auto}.efp-page #wpadminbar input{width:auto}.efp-page :focus-visible{outline:2px solid var(--efh-red);outline-offset:5px}
@media(max-width:860px){.efp-section{gap:35px;grid-template-columns:1fr 1.6fr}.efp-copy{font-size:15px}.efp-heading{padding-top:45px}.efp-gallery{gap:16px}.efp-questions summary{font-size:18px}}
@media(max-width:580px){.efp-heading{padding:35px 0;margin-bottom:30px}.efp-heading h1{font-size:40px!important;letter-spacing:-1.5px!important}.efp-section{display:block;margin:35px 0 20px;padding-top:25px}.efp-section h2{margin-bottom:22px}.efp-copy{font-size:14px;line-height:1.9}.efp-text{margin:20px 0}.efp-content{padding-bottom:40px}.efp-questions summary{font-size:17px;padding-top:20px;padding-bottom:20px}.efp-questions .efp-copy{padding-right:0}.efp-questions{margin-bottom:40px}.efp-inquiry{padding:25px}.efp-cards,.efp-gallery{grid-template-columns:1fr;gap:30px}.efp-filters{gap:8px}.efp-filters a{padding:9px 12px;font-size:11px}.efp-more{margin-bottom:35px}.efp-article{margin-bottom:35px}.efp-cover{margin-bottom:30px}.efp-cards .efh-project-caption h2{font-size:17px!important}}
.efp-copy h4,.efp-copy h5,.efp-copy h6{font-family:Arial,Helvetica,sans-serif!important;font-size:24px!important;line-height:1.35!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important}.efp-section:first-child{margin-top:0}.efp-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 35px;margin:40px 0 60px}.efp-facts>div{border-top:1px solid var(--efh-line);padding:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:20px;font-size:14px;line-height:1.7}.efp-facts dt{color:var(--efh-muted)}.efp-facts dd{margin:0}.efp-video{grid-column:1 / -1}.efp-video video{display:block;width:100%;max-height:750px}.efp-video audio{width:100%}@media(max-width:580px){.efp-facts{grid-template-columns:1fr}.efp-facts>div{font-size:13px;gap:12px}}

.efp-disciplines{border-bottom:1px solid #d4d1c8;padding-bottom:22px;margin-bottom:18px;gap:16px}.efp-disciplines a{font-size:clamp(22px,3vw,38px);padding:12px 0;margin-right:32px;border:0;background:transparent!important;color:#777!important;letter-spacing:-.8px}.efp-disciplines a[aria-current]{color:#242622!important;box-shadow:inset 0 -2px #9b3932}.efp-types{gap:8px;margin-bottom:40px}.efp-types a{font-size:12px;padding:12px 15px}.efp-cards .efh-project:nth-child(even){padding-top:0}@media(max-width:580px){.efp-disciplines{display:flex;gap:22px}.efp-disciplines a{font-size:23px;margin-right:0}.efp-types{display:flex;flex-wrap:wrap}.efp-types a{font-size:11px;padding:12px}}

.efp-lightbox{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:20px 28px;border:0;background:#161815;color:#f7f5ef;box-sizing:border-box;overscroll-behavior:contain}.efp-lightbox[open]{display:flex;flex-direction:column;gap:14px}.efp-lightbox::backdrop{background:#161815}.efp-lightbox-top,.efp-lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none}.efp-lightbox-title{font-size:15px;line-height:1.5}.efp-lightbox button{font:inherit;font-size:14px;line-height:1.4;border:1px solid #70736c;background:transparent;color:#fff;border-radius:0;min-height:46px;padding:10px 18px;cursor:pointer;white-space:nowrap}.efp-lightbox button:hover{background:#34372f}.efp-lightbox button:focus-visible{outline:2px solid #fff;outline-offset:3px}.efp-lightbox-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;position:relative}.efp-lightbox-stage img{display:block;width:100%;height:100%;object-fit:contain;min-height:0}.efp-lightbox-count{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.efp-lightbox-error{position:absolute;bottom:20px;background:#161815;padding:12px}.efp-lightbox [hidden]{display:none!important}.efp-cover a,.efp-gallery a{cursor:zoom-in}@media(max-width:580px){.efp-lightbox{padding:16px 12px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));gap:12px}.efp-lightbox-title{font-size:13px}.efp-lightbox button{padding:10px 12px;font-size:13px}.efp-lightbox-top{align-items:flex-start}.efp-lightbox-bottom{gap:8px}}

/* EF portfolio lookup — only the primary portfolio index renders these classes. */
.efp-portfolio-search{display:flex;flex-direction:column;gap:9px;margin:0 0 28px;padding:0;max-width:680px}
.efp-portfolio-search label{font:inherit;font-size:13px;font-weight:600;color:var(--efh-ink);line-height:1.4}
.efp-search-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0}
.efp-search-controls input[type=search]{appearance:none;min-width:0;flex:1 1 220px;max-width:100%;height:48px;border:1px solid #aaa99f;background:transparent;border-radius:0;padding:0 14px;box-sizing:border-box;font:inherit;font-size:16px;color:var(--efh-ink)}
.efp-search-controls input::placeholder{color:#696b65;opacity:1}
.efp-search-controls button{appearance:none;min-height:48px;padding:0 25px;border:1px solid var(--efh-ink);border-radius:0;background:var(--efh-ink);font:inherit;font-size:14px;color:#fff;cursor:pointer}
.efp-search-controls button:hover{background:#9b3932;border-color:#9b3932}
.efp-search-clear,.efp-search-result a{font-size:13px;text-decoration:none!important;border-bottom:1px solid currentColor;padding:8px 0;line-height:1.4;color:var(--efh-red)!important}
.efp-search-result{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin:0 0 18px;font-size:14px;color:var(--efh-ink)}
.efp-search-result p{margin:0}
@media(max-width:580px){.efp-portfolio-search{margin-bottom:20px}.efp-search-controls input[type=search]{flex:1 1 140px}.efp-search-controls button{padding:0 18px}.efp-search-clear{flex-basis:auto}.efp-search-result{margin-bottom:15px}}
/* EF Architecture — editorial portfolio index. Scoped to the primary index. */
/* The dedicated body class is set only for the primary portfolio page in RO/EN. */
body.efp-portfolio-index #efh-main > .efp-heading {
    padding: 19px 0 12px;
    margin: 0;
    border-bottom: 0;
}
body.efp-portfolio-index #efh-main > .efp-heading .efh-eyebrow {
    margin-bottom: 7px !important;
    font-size: 10px;
    letter-spacing: 1.65px;
    line-height: 1.35;
    color: var(--efh-muted);
}
body.efp-portfolio-index #efh-main > .efp-heading h1 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(36px, 4.1vw, 58px) !important;
    letter-spacing: -.045em !important;
    font-weight: 400 !important;
    line-height: 1.04 !important;
}
.efp-index-shell {
    min-width: 0;
    --efp-index-rule: #d7d8cf;
    --efp-index-muted: #676b63;
}
.efp-index-shell .efp-index-controls {
    padding: 0 0 6px;
    border-bottom: 1px solid var(--efp-index-rule);
    margin: 0;
}
.efp-index-shell .efp-index-control-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 5px;
    min-width: 0;
}
.efp-index-shell .efp-disciplines {
    display: flex;
    flex: 1 1 auto;
    gap: clamp(18px, 3vw, 38px);
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
.efp-index-shell .efp-disciplines a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    margin: 0;
    border: 0;
    box-shadow: inset 0 -2px transparent;
    color: var(--efp-index-muted) !important;
    font-size: clamp(18px, 1.75vw, 24px) !important;
    line-height: 1.15;
    letter-spacing: -.035em;
    white-space: normal;
    background: transparent !important;
}
.efp-index-shell .efp-disciplines a[aria-current] {
    color: var(--efh-ink) !important;
    box-shadow: inset 0 -2px var(--efh-red);
}
.efp-index-shell .efp-disciplines a:hover {
    color: var(--efh-red) !important;
}
.efp-index-shell .efp-portfolio-search {
    flex: 0 1 430px;
    width: 100%;
    max-width: 430px;
    min-width: 240px;
    padding: 0;
    margin: 0;
    position: relative;
}
.efp-index-shell .efp-portfolio-search label {
    /* Still available to assistive technology; the input's hint is visible. */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.efp-index-shell .efp-search-controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}
.efp-index-shell .efp-search-controls input[type=search] {
    flex: 1 1 160px;
    width: 1%;
    min-width: 0;
    height: 44px;
    border: 1px solid #b8b9af;
    padding: 0 12px;
    border-radius: 0;
    font-size: 14px;
    background: transparent;
}
.efp-index-shell .efp-search-controls button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 19px;
    font-size: 13px;
    border-radius: 0;
    font-weight: 600;
}
.efp-index-shell .efp-search-clear {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
    align-self: center;
    border: 0;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}
.efp-index-shell .efp-types {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 6px;
    margin: 0;
    padding: 0;
}
.efp-index-shell .efp-types a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 11px;
    margin: 0;
    color: var(--efp-index-muted);
    line-height: 1.25;
    font-size: 12px;
    font-weight: 400;
    background: transparent;
    border: 1px solid transparent;
    white-space: normal;
}
.efp-index-shell .efp-types a[aria-current] {
    color: var(--efh-ink);
    background: #ebece4;
    border-color: #dbddd2;
    font-weight: 600;
}
.efp-index-shell .efp-types a:hover {
    color: var(--efh-red);
    background: transparent;
    border-color: var(--efp-index-rule);
}
.efp-index-shell .efp-index-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px 16px;
    min-height: 33px;
    padding: 4px 0 5px;
}
.efp-index-shell .efp-index-count {
    display: inline-flex;
    gap: .35em;
    align-items: baseline;
    margin: 0;
    color: var(--efp-index-muted);
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .025em;
    font-variant-numeric: tabular-nums;
}
.efp-index-shell .efp-index-count strong {
    color: var(--efh-ink);
    font-weight: 600;
}
.efp-index-shell .efp-search-result {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    gap: 5px 14px;
}
.efp-index-shell .efp-search-result a {
    padding: 4px 0;
    font-size: inherit;
}
.efp-index-shell .efp-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(34px, 4.15vw, 64px) clamp(20px, 2.35vw, 36px);
    margin: 0 0 45px;
    padding: 0;
}
.efp-index-shell .efp-index-card,
.efp-index-shell .efp-index-card:nth-child(even) {
    min-width: 0;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.efp-index-shell .efp-index-feature {
    grid-column: 1 / -1;
}
.efp-index-shell .efp-index-card .efh-project-photo {
    width: 100%;
    margin: 0;
    background: #e9e9e1;
    overflow: hidden;
}
.efp-index-shell .efp-index-card .efh-project-photo picture {
    display: block;
    width: 100%;
}
.efp-index-shell .efp-index-card .efh-project-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transform: none !important;
    transition: none !important;
    display: block;
}
.efp-index-shell .efp-index-card .efh-project-photo > span {
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 42px;
    color: var(--efh-ink);
    background: var(--efh-paper);
    border: 1px solid #dcded3;
    transition: background-color .18s ease, color .18s ease;
}
@media (hover:hover) {
    .efp-index-shell .efp-index-card .efh-project-photo:hover > span {
        background: var(--efh-ink);
        border-color: var(--efh-ink);
        color: var(--efh-paper);
    }
}
.efp-index-shell .efp-index-caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 24px;
    margin: 12px 0 0;
    padding: 12px 0 1px;
    border-top: 1px solid var(--efp-index-rule);
}
.efp-index-shell .efp-index-card-info {
    min-width: 0;
    flex: 1 1 auto;
}
.efp-index-shell .efp-index-category {
    font-size: 10px;
    line-height: 1.5;
    color: var(--efh-red);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 600;
    margin-bottom: 6px;
}
.efp-index-shell .efp-index-category:empty,
.efp-index-shell .efp-index-meta:empty { display: none; }
.efp-index-shell .efp-index-caption h2 {
    margin: 0;
    font-size: clamp(18px, 1.8vw, 25px) !important;
    font-weight: 400 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1.22 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}
.efp-index-shell .efp-index-feature .efp-index-caption h2 {
    font-size: clamp(26px, 3.05vw, 45px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.04em !important;
}
.efp-index-shell .efp-index-feature .efp-index-caption {
    padding-top: 13px;
    margin-top: 12px;
}
.efp-index-shell .efp-index-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 0;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--efp-index-muted);
}
.efp-index-shell .efp-index-meta > span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}
.efp-index-shell .efp-index-meta > span + span::before {
    content: "·";
    color: var(--efh-red);
    margin: 0 8px;
}
.efp-index-shell .efp-index-feature-label {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    color: var(--efp-index-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .11em;
    text-transform: uppercase;
    padding-top: 1px;
}
.efp-index-shell .efp-index-feature-label::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    content: "";
    background: var(--efh-red);
}
.efp-index-shell .efp-index-grid > p {
    grid-column: 1 / -1;
    min-height: 110px;
    padding: 36px 0;
    color: var(--efp-index-muted);
}
.efp-index-shell .efp-pagination {
    margin: 0;
    padding: 22px 0 0;
    gap: 6px;
    border-top: 1px solid var(--efp-index-rule);
}
.efp-index-shell .efp-pagination a,
.efp-index-shell .efp-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.3;
}
.efp-index-shell a:focus-visible,
.efp-index-shell button:focus-visible,
.efp-index-shell input:focus-visible {
    outline: 2px solid var(--efh-red);
    outline-offset: 3px;
}
@media (max-width: 700px) {
    body.efp-portfolio-index #efh-main > .efp-heading {
        padding: 15px 0 10px;
    }
    body.efp-portfolio-index #efh-main > .efp-heading h1 {
        font-size: clamp(34px, 8vw, 43px) !important;
    }
    .efp-index-shell .efp-index-control-top {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 6px;
    }
    .efp-index-shell .efp-disciplines {
        gap: 20px;
    }
    .efp-index-shell .efp-disciplines a {
        font-size: 20px !important;
    }
    .efp-index-shell .efp-portfolio-search {
        flex: 0 1 auto;
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .efp-index-shell .efp-search-controls input[type=search] {
        /* Avoid iOS focus zoom; the input retains a conventional 44px target. */
        font-size: 16px;
    }
    .efp-index-shell .efp-search-controls button { padding: 0 13px; }
    .efp-index-shell .efp-types {
        gap: 2px;
        margin-left: -2px;
        margin-right: -2px;
    }
    .efp-index-shell .efp-types a {
        font-size: 12px;
        padding: 6px 8px;
    }
    .efp-index-shell .efp-index-summary {
        min-height: 32px;
        gap: 5px 8px;
    }
    .efp-index-shell .efp-index-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        margin-bottom: 35px;
    }
    .efp-index-shell .efp-index-card .efh-project-photo > span {
        bottom: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
    }
    .efp-index-shell .efp-index-caption {
        padding-top: 10px;
        margin-top: 9px;
        flex-wrap: wrap;
        gap: 7px;
    }
    .efp-index-shell .efp-index-caption h2 { font-size: 20px !important; }
    .efp-index-shell .efp-index-feature .efp-index-caption h2 { font-size: 27px !important; }
    .efp-index-shell .efp-index-feature-label { display: none; }
    .efp-index-shell .efp-index-meta { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .efp-index-shell *, .efp-index-shell *::before, .efp-index-shell *::after {
        transition: none !important;
        animation: none !important;
    }
}
/* EF Architecture — photographic project viewer, scoped to the native dialog. */
.efp-lightbox.efp-viewer {
    --efv-bg: #181918;
    --efv-photo-bg: #141513;
    --efv-fg: #f3f1ec;
    --efv-muted: #b6b7af;
    --efv-line: #3c3f39;
    --efv-accent: #d57969;
    --efv-control: 44px;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: max(16px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow: hidden;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: var(--efv-bg);
    color: var(--efv-fg);
    font: 400 14px/1.4 Arial, Helvetica, sans-serif;
    overscroll-behavior: contain;
    color-scheme: dark;
}
.efp-lightbox.efp-viewer:not([open]) { display: none; }
.efp-lightbox.efp-viewer[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    align-items: stretch;
    gap: 9px;
}
.efp-lightbox.efp-viewer::backdrop { background: var(--efv-bg); }
.efp-lightbox.efp-viewer [hidden] { display: none !important; }

.efp-lightbox.efp-viewer .efp-viewer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding: 0 0 11px;
    border-bottom: 1px solid var(--efv-line);
}
.efp-lightbox.efp-viewer .efp-viewer-heading { min-width: 0; }
.efp-lightbox.efp-viewer .efp-viewer-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    color: var(--efv-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.efp-lightbox.efp-viewer .efp-viewer-kicker::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    background: var(--efv-accent);
}
.efp-lightbox.efp-viewer .efp-lightbox-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--efv-fg);
    font-size: clamp(16px, 1.65vw, 23px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.efp-lightbox.efp-viewer .efp-viewer-tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}
.efp-lightbox.efp-viewer button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: var(--efv-control);
    min-height: var(--efv-control);
    margin: 0;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--efv-fg);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    line-height: 1;
    transition: background-color .17s ease, color .17s ease, border-color .17s ease;
    -webkit-tap-highlight-color: transparent;
}
.efp-lightbox.efp-viewer button:hover { border-color: var(--efv-line); background: #2b2d29; }
.efp-lightbox.efp-viewer button:focus-visible {
    outline: 2px solid var(--efv-fg);
    outline-offset: 2px;
    border-color: var(--efv-accent);
}
.efp-lightbox.efp-viewer button:disabled { opacity: .44; cursor: default; }
.efp-lightbox.efp-viewer button:disabled:hover { background: transparent; border-color: transparent; }
.efp-lightbox.efp-viewer button > svg {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: currentColor;
}
.efp-lightbox.efp-viewer .efp-viewer-control-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
}
.efp-lightbox.efp-viewer .efp-viewer-zoom {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--efv-line);
}
.efp-lightbox.efp-viewer .efp-viewer-zoom button {
    width: var(--efv-control);
    border: 0;
}
.efp-lightbox.efp-viewer .efp-viewer-zoom .efp-viewer-zoom-reset {
    width: 54px;
    min-width: 54px;
    padding-inline: 3px;
    border-left: 1px solid var(--efv-line);
    border-right: 1px solid var(--efv-line);
    color: var(--efv-muted);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
}
.efp-lightbox.efp-viewer .efp-lightbox-close {
    width: var(--efv-control);
    border: 1px solid var(--efv-line);
    background: transparent;
}

.efp-lightbox.efp-viewer .efp-viewer-canvas {
    display: grid;
    grid-template-columns: var(--efv-control) minmax(0, 1fr) var(--efv-control);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 0;
    position: relative;
}
.efp-lightbox.efp-viewer .efp-viewer-stage {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    background: var(--efv-photo-bg);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: zoom-in;
}
.efp-lightbox.efp-viewer .efp-viewer-stage[data-zoomed="true"] { cursor: grab; }
.efp-lightbox.efp-viewer .efp-viewer-stage[data-zoomed="true"]:active { cursor: grabbing; }
.efp-lightbox.efp-viewer .efp-viewer-stage .efp-viewer-photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    display: block;
    object-fit: contain;
    object-position: center;
    transform-origin: 50% 50%;
    transition: opacity .16s ease;
    -webkit-user-drag: none;
}
.efp-lightbox.efp-viewer .efp-viewer-photo[aria-busy="true"] { opacity: .25; }
.efp-lightbox.efp-viewer .efp-viewer-loading,
.efp-lightbox.efp-viewer .efp-lightbox-error {
    position: absolute;
    z-index: 3;
    top: 50%;
    bottom: auto;
    left: 50%;
    width: max-content;
    max-width: min(85%, 420px);
    margin: 0;
    padding: 12px 18px;
    transform: translate(-50%, -50%);
    border: 1px solid var(--efv-line);
    color: var(--efv-fg);
    background: rgba(24, 25, 24, .93);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    pointer-events: none;
}
.efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-prev,
.efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-next {
    z-index: 4;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    width: var(--efv-control);
    height: var(--efv-control);
    border-color: var(--efv-line);
}
.efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-prev { grid-column: 1; }
.efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-next { grid-column: 3; }
.efp-lightbox.efp-viewer .efp-viewer-canvas > button svg { width: 23px; height: 23px; }

.efp-lightbox.efp-viewer .efp-viewer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 25px;
    padding: 0;
}
.efp-lightbox.efp-viewer .efp-viewer-caption {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--efv-muted);
    font-size: 12px;
    line-height: 1.45;
}
.efp-lightbox.efp-viewer .efp-lightbox-count {
    justify-self: center;
    min-width: 54px;
    white-space: nowrap;
    color: var(--efv-fg);
    text-align: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .05em;
}
.efp-lightbox.efp-viewer .efp-viewer-hint {
    justify-self: end;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--efv-muted);
    font-size: 11px;
}
.efp-lightbox.efp-viewer .efp-viewer-strip {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 10px 3px 5px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid var(--efv-line);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #74766f transparent;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-padding-inline: 3px;
}
.efp-lightbox.efp-viewer .efp-viewer-strip::-webkit-scrollbar { height: 5px; }
.efp-lightbox.efp-viewer .efp-viewer-strip::-webkit-scrollbar-thumb { background: #74766f; }
.efp-lightbox.efp-viewer .efp-viewer-strip::-webkit-scrollbar-track { background: transparent; }
.efp-lightbox.efp-viewer .efp-viewer-thumb {
    display: block;
    flex: 0 0 92px;
    position: relative;
    width: 92px;
    height: 62px;
    min-height: 44px;
    padding: 0;
    overflow: hidden;
    background: var(--efv-photo-bg);
    border: 2px solid var(--efv-line);
    opacity: .72;
    transition: opacity .17s ease, border-color .17s ease;
}
.efp-lightbox.efp-viewer .efp-viewer-thumb > img {
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    display: block;
    margin: 0;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}
.efp-lightbox.efp-viewer .efp-viewer-thumb > img:not([src]) { visibility: hidden; }
.efp-lightbox.efp-viewer .efp-viewer-thumb:hover { opacity: 1; border-color: var(--efv-muted); }
.efp-lightbox.efp-viewer .efp-viewer-thumb[aria-current="true"] {
    opacity: 1;
    border-color: var(--efv-accent);
}
.efp-lightbox.efp-viewer .efp-viewer-thumb-number {
    position: absolute;
    right: 2px;
    bottom: 2px;
    min-width: 16px;
    padding: 3px 4px;
    background: rgba(20, 21, 19, .86);
    color: var(--efv-fg);
    font-size: 10px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
.efp-lightbox.efp-viewer .efp-viewer-thumb[aria-current="true"] .efp-viewer-thumb-number {
    background: var(--efv-accent);
    color: #161715;
    font-weight: 600;
}

@media (max-width: 720px) {
    .efp-lightbox.efp-viewer {
        padding: max(11px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }
    .efp-lightbox.efp-viewer[open] { gap: 7px; }
    .efp-lightbox.efp-viewer .efp-viewer-top { gap: 8px; padding-bottom: 8px; }
    .efp-lightbox.efp-viewer .efp-viewer-canvas { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .efp-lightbox.efp-viewer .efp-viewer-stage { grid-column: 1; }
    .efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-prev,
    .efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-next {
        position: absolute;
        bottom: 7px;
        grid-column: auto;
        border-color: #5c5f58;
        background: rgba(24, 25, 24, .87);
    }
    .efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-prev { left: 6px; }
    .efp-lightbox.efp-viewer .efp-viewer-canvas > .efp-lightbox-next { right: 6px; }
    .efp-lightbox.efp-viewer .efp-viewer-bottom { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
    .efp-lightbox.efp-viewer .efp-viewer-hint { display: none; }
    .efp-lightbox.efp-viewer .efp-lightbox-count { justify-self: end; }
    .efp-lightbox.efp-viewer .efp-viewer-strip { padding-top: 8px; gap: 6px; }
    .efp-lightbox.efp-viewer .efp-viewer-thumb { flex-basis: 74px; width: 74px; height: 50px; }
}
@media (max-width: 460px) {
    .efp-lightbox.efp-viewer .efp-viewer-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--efv-control);
        grid-template-rows: auto auto;
        gap: 6px 8px;
        align-items: center;
    }
    .efp-lightbox.efp-viewer .efp-viewer-heading { grid-column: 1; grid-row: 1; }
    .efp-lightbox.efp-viewer .efp-viewer-tools { display: contents; }
    .efp-lightbox.efp-viewer .efp-lightbox-close { grid-column: 2; grid-row: 1; }
    .efp-lightbox.efp-viewer .efp-viewer-zoom { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
    .efp-lightbox.efp-viewer .efp-viewer-kicker { font-size: 9px; }
    .efp-lightbox.efp-viewer .efp-lightbox-title { font-size: 16px; }
    .efp-lightbox.efp-viewer .efp-viewer-bottom { min-height: 29px; }
    .efp-lightbox.efp-viewer .efp-viewer-caption {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow: hidden;
        font-size: 11px;
    }
}
@media (max-height: 520px) and (orientation: landscape) {
    .efp-lightbox.efp-viewer { padding-top: max(6px, env(safe-area-inset-top)); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
    .efp-lightbox.efp-viewer[open] { gap: 4px; }
    .efp-lightbox.efp-viewer .efp-viewer-top { padding-bottom: 4px; }
    .efp-lightbox.efp-viewer .efp-viewer-kicker { margin-bottom: 1px; }
    .efp-lightbox.efp-viewer .efp-lightbox-title { font-size: 15px; }
    .efp-lightbox.efp-viewer .efp-viewer-strip { padding-top: 4px; padding-bottom: 2px; }
    .efp-lightbox.efp-viewer .efp-viewer-thumb { flex-basis: 64px; width: 64px; height: 44px; }
    .efp-lightbox.efp-viewer .efp-viewer-bottom { min-height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .efp-lightbox.efp-viewer *,
    .efp-lightbox.efp-viewer *::before,
    .efp-lightbox.efp-viewer *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
/*
 * EF / One restrained entrance per offscreen portfolio card.
 * No opacity, blur, cropping or zoom is ever applied to project photography.
 */
@media (prefers-reduced-motion: no-preference) {
    .efp-portfolio-index .efp-index-card.efp-motion-ready {
        --efp-motion-rise: 14px;
        transform: none;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready.efp-motion-pending {
        transform: translate3d(0, var(--efp-motion-rise), 0);
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready.efp-motion-seen {
        transition: transform 540ms cubic-bezier(.19, .72, .29, 1);
        transform: none;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready.efp-motion-seen .efp-index-caption {
        position: relative;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready.efp-motion-seen .efp-index-caption::before {
        position: absolute;
        top: -1px;
        left: 0;
        width: clamp(42px, 5vw, 68px);
        height: 1px;
        background: var(--efh-red, #8c5d4d);
        content: "";
        pointer-events: none;
        transform-origin: left center;
        opacity: 0;
        animation: efp-portfolio-caption-mark 840ms cubic-bezier(.22, .63, .35, 1) both;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready:focus-within {
        transform: none;
        transition: none;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready:focus-within .efp-index-caption::before {
        animation: none;
    }
}

@keyframes efp-portfolio-caption-mark {
    0% { opacity: .75; transform: scaleX(.18); }
    52% { opacity: .75; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1); }
}

@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
    .efp-portfolio-index .efp-index-card.efp-motion-ready {
        --efp-motion-rise: 9px;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready.efp-motion-seen {
        transition-duration: 440ms;
    }
}

/* Immediate safety net if the OS preference changes during an entrance. */
@media (prefers-reduced-motion: reduce) {
    .efp-portfolio-index .efp-index-card.efp-motion-ready {
        transform: none !important;
        transition: none !important;
    }
    .efp-portfolio-index .efp-index-card.efp-motion-ready .efp-index-caption::before {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* EF Architecture — editorial continuation at the foot of a project.
   Intentionally independent from the lightbox and the original project galleries. */
.efp-journey {
    --efj-ink: var(--efh-ink, #242622);
    --efj-muted: var(--efh-muted, #676b63);
    --efj-rule: var(--efh-line, #dcded3);
    --efj-accent: var(--efh-red, #9b3932);
    --efj-wash: #eeeee7;
    --efj-gap: clamp(18px, 2.2vw, 32px);
    color: var(--efj-ink);
    min-width: 0;
    margin: clamp(46px, 6vw, 90px) 0 clamp(18px, 3vw, 40px);
    padding-top: clamp(24px, 3.2vw, 42px);
    border-top: 1px solid var(--efj-rule);
    font-family: Arial, Helvetica, sans-serif;
}

.efp-journey .efp-journey-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px var(--efj-gap);
    margin-bottom: clamp(20px, 2.6vw, 32px);
}
.efp-journey .efp-journey-heading > div { min-width: 0; }
.efp-journey .efp-journey-kicker,
.efp-journey .efp-journey-category {
    font: 600 10px/1.5 Arial, Helvetica, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--efj-muted);
    margin: 0;
    overflow-wrap: anywhere;
}
.efp-journey .efp-journey-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--efj-accent);
    margin-bottom: 10px;
}
.efp-journey .efp-journey-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: currentColor;
}
.efp-journey .efp-journey-heading h2 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(29px, 3.5vw, 48px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.04em !important;
    text-transform: none !important;
    margin: 0;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.efp-journey .efp-journey-category {
    flex: 0 1 auto;
    text-align: right;
    padding-bottom: 4px;
}

/* Two editorial directions: generous hit areas, restrained strokes and no
   image overlays. The whole panel is a link, including the visible title. */
.efp-journey .efp-journey-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-block: 1px solid var(--efj-rule);
    margin: 0 0 clamp(38px, 5vw, 66px);
    padding: 0;
}
.efp-journey .efp-journey-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    min-height: 96px;
    padding: clamp(18px, 2.1vw, 28px) clamp(13px, 2.1vw, 30px);
    color: var(--efj-ink);
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}
.efp-journey .efp-journey-prev { padding-inline-start: 0; }
.efp-journey .efp-journey-next {
    align-items: flex-end;
    text-align: right;
    padding-inline-end: 0;
}
.efp-journey .efp-journey-prev + .efp-journey-next {
    border-inline-start: 1px solid var(--efj-rule);
}
.efp-journey .efp-journey-step:only-child { grid-column: 1 / -1; }
.efp-journey .efp-journey-step-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--efj-muted);
    font: 600 10px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: color .18s ease;
}
.efp-journey .efp-journey-step-label svg {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: var(--efj-accent);
    transition: transform .18s ease;
}
.efp-journey .efp-journey-step-title {
    display: block;
    max-width: 100%;
    font: 400 clamp(17px, 1.75vw, 24px)/1.28 Arial, Helvetica, sans-serif;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.efp-journey .efp-journey-related { min-width: 0; }
.efp-journey .efp-journey-related-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: clamp(17px, 2vw, 26px);
}
.efp-journey .efp-journey-related-head h3 {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    font-size: clamp(22px, 2.25vw, 30px) !important;
    line-height: 1.18 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    margin: 0;
    overflow-wrap: anywhere;
}
.efp-journey .efp-journey-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3vw, 40px) var(--efj-gap);
    align-items: start;
    min-width: 0;
}
.efp-journey .efp-journey-card {
    min-width: 0;
    margin: 0;
    padding: 0;
}
.efp-journey .efp-journey-card-link {
    display: block;
    min-width: 0;
    min-height: 44px;
    color: var(--efj-ink);
    text-decoration: none;
}
.efp-journey .efp-journey-photo {
    width: 100%;
    min-width: 0;
    background: var(--efj-wash);
}
.efp-journey .efp-journey-photo:empty {
    min-height: 132px;
}
.efp-journey .efp-journey-photo picture {
    display: block;
    width: 100%;
}
.efp-journey .efp-journey-photo img {
    /* Native attachment ratio, including unusually wide or portrait renders.
       No fixed aspect ratio, overflow crop, or image hover scaling. */
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0;
}
.efp-journey .efp-journey-caption {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    min-height: 52px;
    border-top: 1px solid var(--efj-rule);
    margin-top: 10px;
    padding: 13px 0 0;
}
.efp-journey .efp-journey-caption > div { min-width: 0; }
.efp-journey .efp-journey-type {
    font: 600 9px/1.45 Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--efj-accent);
    overflow-wrap: anywhere;
    margin: 0 0 6px;
}
.efp-journey .efp-journey-caption h4 {
    font: 400 clamp(15px, 1.35vw, 19px)/1.36 Arial, Helvetica, sans-serif !important;
    letter-spacing: -.015em !important;
    color: inherit !important;
    text-transform: none !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
}
.efp-journey .efp-journey-arrow {
    width: 21px;
    height: 21px;
    color: var(--efj-accent);
    flex-shrink: 0;
    transition: transform .18s ease;
}

.efp-journey a:focus-visible {
    outline: 2px solid var(--efj-accent);
    outline-offset: 5px;
}
@media (hover: hover) and (pointer: fine) {
    .efp-journey .efp-journey-step:hover,
    .efp-journey .efp-journey-card-link:hover { color: var(--efj-accent); }
    .efp-journey .efp-journey-step:hover .efp-journey-step-label { color: var(--efj-accent); }
    .efp-journey .efp-journey-prev:hover .efp-journey-step-label svg { transform: translateX(-3px); }
    .efp-journey .efp-journey-next:hover .efp-journey-step-label svg { transform: translateX(3px); }
    .efp-journey .efp-journey-card-link:hover .efp-journey-arrow { transform: translate(2px, -2px); }
}
@media (max-width: 700px) {
    .efp-journey {
        --efj-gap: 18px;
        margin-top: 44px;
        padding-top: 25px;
    }
    .efp-journey .efp-journey-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
    .efp-journey .efp-journey-category { text-align: left; padding-bottom: 0; }
    .efp-journey .efp-journey-step-title { font-size: 18px; }
    .efp-journey .efp-journey-step { min-height: 88px; }
    .efp-journey .efp-journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .efp-journey .efp-journey-nav {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 38px;
    }
    .efp-journey .efp-journey-step {
        padding: 17px 0;
        gap: 5px;
        align-items: flex-start;
        text-align: left;
        min-height: 80px;
    }
    .efp-journey .efp-journey-prev + .efp-journey-next {
        border-inline-start: 0;
        border-top: 1px solid var(--efj-rule);
    }
    .efp-journey .efp-journey-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .efp-journey .efp-journey-caption { margin-top: 8px; padding-top: 11px; }
    .efp-journey .efp-journey-caption h4 { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .efp-journey *,
    .efp-journey *::before,
    .efp-journey *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
/* EF Architecture — progressive image resolution control. Keep the existing
   44px target and mobile viewer layout, without covering the photograph. */
.efp-lightbox.efp-viewer .efp-viewer-zoom .efp-viewer-hd {
    width: 48px;
    min-width: 48px;
    border-inline-start: 1px solid var(--efv-line);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}
.efp-lightbox.efp-viewer .efp-viewer-zoom .efp-viewer-hd[aria-pressed="true"] {
    opacity: 1;
    color: var(--efv-accent);
    border-inline-start: 1px solid var(--efv-line);
}
.efp-lightbox.efp-viewer .efp-viewer-zoom .efp-viewer-hd[aria-busy="true"] {
    color: var(--efv-muted);
}
.efp-lightbox.efp-viewer .efp-viewer-stage[data-upgrade-failed="true"] .efp-lightbox-error {
    top: auto;
    bottom: 8px;
    transform: translateX(-50%);
    padding: 6px 10px;
    max-width: min(70%, 420px);
    font-size: 11px;
}

