/* WordPress adapters only. The imported design tokens/site.css remain the baseline. */
.wp-block-image { margin: 0; }
.wp-block-image.ym-process-diagram {
    width: min(calc(100% - clamp(24px, 5vw, 80px)), 1690px);
    margin: clamp(16px, 3vw, 48px) auto;
}
.ym-process-diagram a { display: block; cursor: zoom-in; }
.ym-process-diagram img { display: block; width: 100%; height: auto; }

.ym-materials {
    --material-blue: #104b85;
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    width: min(100%, 1920px);
    margin-inline: auto;
    color: #101012;
    background: linear-gradient(173deg, #d9d9db 0%, #eeeded 38%, #e4e3e4 67%, #d4d3d5 100%);
}
.ym-materials__photo {
    position: absolute; z-index: -1; inset: 0 0 0 auto; width: 65.833333%; height: 100%;
    object-fit: contain; object-position: right center;
    mask-image: linear-gradient(to right, transparent, black 7%);
}
.ym-materials__copy {
    width: 40%; min-height: 41.6667cqw; padding: 3.2cqw 1cqw 1.35cqw 8.85cqw;
}
.ym-materials__copy h2 {
    margin: 0 0 0 .9cqw; font: 400 5.83cqw/.96 Impact, 'Arial Narrow', sans-serif;
    text-transform: uppercase; letter-spacing: 0; text-wrap: wrap;
}
.ym-materials__copy h2 span {
    display: block; width: 125%; transform: scaleX(.8); transform-origin: left;
    overflow-wrap: anywhere;
}
.ym-materials__copy h2 span:first-child { color: var(--material-blue); }
.ym-materials__copy h2 span + span { font-size: .9em; }
.ym-materials__copy h2::after {
    content: ''; display: block; width: 7.7cqw; height: max(3px, .62cqw);
    margin: 2.25cqw 0 2.58cqw -.9cqw; background: var(--material-blue);
}
.ym-materials__list {
    display: grid; margin: 0; padding: 0; list-style: none;
    font: 400 clamp(18px, 2.5cqw, 48px)/1.05 'Arial Narrow', 'Liberation Sans Narrow', Arial, sans-serif;
    letter-spacing: -.015em;
}
.ym-materials__list li {
    display: grid; grid-template-columns: 1cqw minmax(0, 1fr); align-items: baseline; gap: 2.4cqw;
    overflow-wrap: break-word;
}
.ym-materials__list li::before {
    content: ''; width: .39em; height: .42em; border-radius: 50%; align-self: start;
    margin-top: .37em; background: var(--material-blue);
}
.ym-materials__more {
    justify-self: start; text-decoration: underline; text-decoration-color: transparent;
    text-underline-offset: .15em; transition: color 140ms, text-decoration-color 140ms;
}
.ym-materials__more:is(:hover, :focus-visible) { color: var(--material-blue); text-decoration-color: currentColor; }
.ym-materials__more:active { color: #062c55; }
@media (max-width: 640px) {
    .ym-materials__copy { width: 100%; min-height: 0; padding: 26px 6% 14px; }
    .ym-materials__copy h2 { margin: 0; font-size: clamp(40px, 9cqw, 58px); }
    .ym-materials__copy h2::after { width: 60px; height: 4px; margin: 16px 0 17px; }
    .ym-materials__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: clamp(18px, 4.7cqw, 24px); line-height: 1.2; }
    .ym-materials__list li { grid-template-columns: .42em minmax(0, 1fr); gap: .55em; }
    .ym-materials__list li::before { width: .35em; height: .35em; margin-top: .44em; }
    .ym-materials__photo { position: static; width: 100%; height: auto; mask-image: linear-gradient(to bottom, transparent, black 5%); }
}
@media (prefers-reduced-motion: reduce) {
    .ym-materials__more { transition: none; }
}

/* The photographs and symbols are crops of the owner's process artwork. */
.ym-workflow {
    --navy: #0a2141;
    --orange: #f35b0b;
    --edge: clamp(12px, 2.8cqw, 47px);
    container-type: inline-size;
    width: min(100%, 1690px);
    margin: clamp(20px, 3vw, 48px) auto;
    color: var(--navy);
    background: white;
}
.ym-workflow__header { position: relative; justify-content: center; min-height: 11.3cqw; }
.ym-workflow__header-photo {
    position: absolute; inset: 0 0 0 auto; width: 41%; height: 100%;
    object-fit: cover; object-position: center right;
    mask-image: linear-gradient(to right, transparent, black 11%);
}
.ym-workflow__intro { position: relative; width: 63%; padding: 1.75cqw 0 1.5cqw var(--edge); }
.ym-workflow__intro h2 {
    color: var(--navy); font: 400 clamp(32px, 4.15cqw, 70px)/1.02 Impact, 'Arial Narrow', sans-serif;
    text-transform: uppercase; letter-spacing: -.012em; text-wrap: wrap;
}
.ym-workflow__intro p { margin-top: .5em; color: #535963; font-size: clamp(16px, 1.55cqw, 26px); line-height: 1.2; }
.ym-workflow__intro::after { display: block; content: ''; width: 6.4cqw; min-width: 50px; height: 3px; background: var(--orange); margin-top: 1.1cqw; }
.ym-workflow__steps {
    --gap-x: clamp(22px, 3.1cqw, 52px);
    --gap-y: clamp(20px, 1.45cqw, 26px);
    --arrow: clamp(13px, 1.3cqw, 22px);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense;
    align-items: start; gap: var(--gap-y) var(--gap-x); list-style: none;
    padding: 6px var(--edge) 16px; margin: 0;
}
.ym-step { position: relative; min-width: 0; border: 1px solid #d7dde2; border-radius: 9px; background: white; }
.ym-step:not(:last-child)::after {
    content: ''; position: absolute; pointer-events: none; width: var(--arrow); height: var(--arrow);
    left: var(--arrow-x, calc(100% + var(--gap-x) / 2)); top: var(--arrow-y, 50%);
    transform: translate(-50%, -50%) rotate(var(--turn, 0deg));
    clip-path: polygon(0 33%, 57% 33%, 57% 4%, 100% 50%, 57% 96%, 57% 67%, 0 67%);
    background: var(--orange);
}
.ym-step__face {
    position: relative; display: grid; grid-template-columns: 54% 46%; align-items: center;
    min-height: clamp(110px, 8.7cqw, 148px); overflow: hidden; border-radius: 8px;
    color: var(--navy); user-select: text;
}
summary.ym-step__face { cursor: pointer; list-style: none; }
summary.ym-step__face::-webkit-details-marker { display: none; }
.ym-step__number {
    position: absolute; top: 9px; left: 10px; display: grid; place-items: center;
    min-width: 1.5em; height: 1.5em; padding: 0 .15em; border-radius: 50%;
    color: white; background: #c84300; font: 700 clamp(19px, 1.65cqw, 28px)/1 'Arial Narrow', Arial, sans-serif;
}
.ym-step__label {
    display: grid; justify-items: center; align-content: center; gap: 5px; text-align: center;
    padding: 10px 4px 10px clamp(43px, 4.2cqw, 70px);
}
.ym-step__icon { width: auto; max-width: 72%; height: clamp(36px, 4cqw, 68px); object-fit: contain; }
.ym-step__name { font: 700 clamp(16px, 1.45cqw, 24px)/1.15 'Arial Narrow', 'Liberation Sans Narrow', var(--font); }
.ym-step__photo { width: 100%; height: clamp(104px, 8.4cqw, 142px); object-fit: contain; }
.ym-step__indicator {
    position: absolute; left: 18px; bottom: 14px; width: 12px; height: 12px;
    color: #63788d; transition: transform 160ms ease;
}
.ym-step__indicator::before, .ym-step__indicator::after {
    content: ''; position: absolute; background: currentColor; inset: 5px 0;
}
.ym-step__indicator::after { transform: rotate(90deg); }
.ym-step details[open] .ym-step__indicator { transform: rotate(45deg); color: var(--navy); }
.ym-step details[open] .ym-step__name, summary.ym-step__face:hover .ym-step__name { color: #00529b; }
.ym-step__face:focus-visible { outline: 2px solid #00529b; outline-offset: 2px; }
.ym-step__description { margin: 0; border-top: 1px solid #e0e4e7; padding: 12px 16px 16px; font-size: 15px; line-height: 1.5; color: #34465b; }
.ym-workflow__tagline {
    display: flex; justify-content: center; align-items: center; gap: 1em; padding: 9px 18px;
    color: white; text-align: center; background: linear-gradient(130deg, #071b33 95%, #293c50 95% 97%, #f35b0b 97% 98%, #071b33 98%);
    font: 600 clamp(16px, 1.55cqw, 26px)/1.25 'Arial Narrow', var(--font);
}
.ym-workflow__tagline::before, .ym-workflow__tagline::after { content: ''; width: 6%; height: 1px; background: #bfcad5; }
@media (min-width: 1000px) {
    .ym-step:nth-child(6n + 4) { grid-column: 3; }
    .ym-step:nth-child(6n + 5) { grid-column: 2; }
    .ym-step:nth-child(6n) { grid-column: 1; }
    .ym-step:is(:nth-child(6n + 4), :nth-child(6n + 5)) { --arrow-x: calc(0px - var(--gap-x) / 2); --turn: 180deg; }
    .ym-step:nth-child(3n) { --arrow-x: 50%; --arrow-y: calc(100% + var(--gap-y) / 2); --turn: 90deg; }
}
@media (min-width: 601px) and (max-width: 999px) {
    .ym-workflow__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ym-step:nth-child(4n + 3) { grid-column: 2; --arrow-x: calc(0px - var(--gap-x) / 2); --turn: 180deg; }
    .ym-step:nth-child(4n) { grid-column: 1; }
    .ym-step:nth-child(2n) { --arrow-x: 50%; --arrow-y: calc(100% + var(--gap-y) / 2); --turn: 90deg; }
}
@media (max-width: 600px) {
    .ym-workflow__intro { width: 64%; padding-block: 12px 18px; }
    .ym-workflow__intro h2 { font-size: clamp(24px, 6cqw, 34px); }
    .ym-workflow__intro p { font-size: 15px; }
    .ym-workflow__intro::after { margin-top: 12px; }
    .ym-workflow__header-photo { width: 36%; height: auto; max-height: 100%; align-self: center; object-fit: contain; top: 50%; bottom: auto; transform: translateY(-50%); }
    .ym-workflow__steps { grid-template-columns: 1fr; }
    .ym-step { --arrow-x: 50%; --arrow-y: calc(100% + var(--gap-y) / 2); --turn: 90deg; }
    .ym-workflow__tagline { background: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
    .ym-step__indicator { transition: none; }
}
.entry-content { gap: var(--s6); }
.entry-content ul { list-style: disc; padding-left: var(--s6); }
.entry-content ol { padding-left: var(--s6); }
.entry-content > * { max-width: var(--display-width); }
.entry-content a { text-decoration: underline; text-underline-offset: var(--s1); }
.entry-content .wp-block-image img { height: auto; }
body > #wpadminbar { display: block; }
/* WordPress floats these items. The site's column-list rule would cover the mobile menu. */
#wpadminbar .ab-top-menu { display: block; }
.screen-reader-text { clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; }
/* Inner core blocks supply content, not a second spacing system. */
.service-copy > .wp-block-list { padding: 0; margin: 0; }
.service-copy .wp-block-list > li { margin: 0; }
.banner-transcript > :is(p,h2,h3), .about-story .copy > :is(p,h2) { margin: 0; }
/* WordPress responsive image candidates must not shrink this fixed-size thumbnail. */
.product-note > img { flex-shrink: 0; }

.ym-project-banner {
    container-type: inline-size;
    position: relative;
    display: flow-root;
    isolation: isolate;
    aspect-ratio: 1920 / 650;
    background: #f5f5f5;
}
.ym-project-banner__photo {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
}
.ym-project-banner__copy {
    /* One unit is one pixel in the original 1920-wide artwork. */
    --u: calc(100cqw / 1920);
    width: calc(728 * var(--u));
    margin-left: calc(74 * var(--u));
    padding: calc(50 * var(--u)) 0 calc(28 * var(--u));
    color: #29313c;
    font: 400 calc(16 * var(--u))/1.3125 Arial, Helvetica, sans-serif;
    user-select: text;
}
.ym-project-banner__copy :is(h2, h3, p) {
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: normal;
    text-wrap: wrap;
}
.ym-project-banner .ym-project-banner__copy :is(h2, h3) {
    font-weight: 700;
    font-size: calc(45 * var(--u));
    line-height: calc(52 * var(--u));
}
.ym-project-banner__copy h2 { color: #00529b; }
.ym-project-banner__copy h3 { color: #05080c; position: relative; }
.ym-project-banner__copy h3::after {
    content: "";
    display: block;
    width: calc(151 * var(--u));
    height: calc(11 * var(--u));
    margin: calc(19 * var(--u)) 0 calc(29 * var(--u));
    border-radius: calc(2 * var(--u));
    background: #00529b;
}
.ym-project-banner__copy h3::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(168 * var(--u));
    width: calc(133 * var(--u));
    height: calc(11 * var(--u));
    border-radius: calc(2 * var(--u));
    background: #b0bcca;
}
.ym-project-banner__copy p + p { margin-top: calc(6 * var(--u)); }
.ym-project-banner__copy strong { color: #0a1f40; font-size: 1.0625em; font-weight: 700; }

/* Catalogue typography and coordinates follow the supplied 1920 × 650 print artwork. */
.ym-catalogue-header { position: relative; z-index: 2; }
.ym-catalogue-header .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: transparent;
}
.ym-catalogue-header .nav-quote .button-primary {
    justify-content: center;
    min-height: 44px;
    padding: 8px clamp(12px, 1.1vw, 20px);
    gap: clamp(10px, 1vw, 17px);
    border: 1px solid #82909e;
    border-radius: 4px;
    background: rgb(255 255 255 / 36%);
    color: #172d43;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: var(--weight-bold);
    transition: background-color 160ms ease, border-color 160ms ease;
}
.ym-catalogue-header .nav-quote .button-primary span {
    padding-inline-start: 10px;
    border-inline-start: 1px solid #b0bbc5;
    color: #365b79;
    font-size: 1.1em;
}
.ym-catalogue-header .nav-quote .button-primary:is(:hover, :focus-visible) {
    border-color: #365b79;
    background: #f5f7f9;
}
.ym-catalogue-header .nav-quote .button-primary:focus-visible { outline-offset: 3px; }
.ym-catalogue-header .nav-quote .button-primary:active { background: #e2e9ef; }
@media (min-width: 681px) {
    .ym-catalogue-header .site-header .nav-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        min-height: clamp(60px, 5vw, 96px);
        gap: 0 12px;
        padding-block: 8px;
    }
    .ym-catalogue-header .site-header .nav-links {
        grid-area: 1 / 2;
        order: 0;
        width: auto;
        justify-content: center;
        gap: clamp(16px, 2vw, 40px);
    }
    .ym-catalogue-header .nav-quote {
        grid-area: 1 / 1;
        justify-self: end;
        margin-inline-end: clamp(0px, calc(16vw - 128px), 125px);
    }
}
@media (min-width: 768px) and (max-width: 900px) {
    .ym-catalogue-header .nav-quote .button-primary { padding-inline: 8px; gap: 6px; font-size: 13px; }
    .ym-catalogue-header .nav-quote .button-primary span { border: 0; padding: 0; }
}
@media (min-width: 681px) and (max-width: 767px) {
    /* The narrow hero uses a larger logo. Place the quote beneath it. */
    .ym-catalogue-header .nav-quote {
        position: absolute;
        inset-inline-start: clamp(16px, 4vw, 32px);
        top: 104px;
    }
}
@media (max-width: 680px) {
    .ym-catalogue-header .site-header .nav-shell { justify-content: center; }
    .ym-catalogue-header .nav-link { justify-content: center; }
    .ym-catalogue-header .nav-quote .button-primary { width: fit-content; }
    .ym-catalogue-header .site-header[data-open="true"] { position: relative; background: var(--paper); }
}
.ym-catalogue {
    container-type: inline-size;
    display: flow-root;
    isolation: isolate;
    position: relative;
    aspect-ratio: 1920 / 650;
    background: #fafafa;
}
.ym-catalogue__photo {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
}
.ym-catalogue__copy {
    --u: calc(100cqw / 1920);
    width: calc(868 * var(--u));
    margin-left: calc(72 * var(--u));
    padding-block: calc(33 * var(--u)) calc(14 * var(--u));
    color: #363e49;
    font-family: Arial, Helvetica, sans-serif;
    user-select: text;
}
.ym-catalogue__logo {
    display: block;
    width: calc(143 * var(--u));
    height: auto;
    margin-left: calc(-2 * var(--u));
}
.ym-catalogue .ym-catalogue__copy :is(h1, h2, p) {
    margin: 0;
    letter-spacing: normal;
    text-wrap: wrap;
}
.ym-catalogue .ym-catalogue__copy h1 {
    margin-top: calc(40 * var(--u));
    color: #101f38;
    font-size: calc(54 * var(--u));
    font-weight: 700;
    line-height: calc(64 * var(--u));
}
.ym-catalogue .ym-catalogue__copy .ym-catalogue__experience {
    margin-top: calc(6 * var(--u));
    font-size: calc(29 * var(--u));
    font-weight: 700;
    line-height: calc(36 * var(--u));
}
.ym-catalogue .ym-catalogue__copy .ym-catalogue__intro {
    margin-top: calc(6 * var(--u));
    color: #545c68;
    font-size: calc(24 * var(--u));
    line-height: calc(29 * var(--u));
}
.ym-catalogue__rules {
    display: flex;
    gap: calc(17 * var(--u));
    margin-top: calc(20 * var(--u));
}
.ym-catalogue__rules::before, .ym-catalogue__rules::after {
    content: "";
    width: calc(93 * var(--u));
    height: calc(6 * var(--u));
    border-radius: 100px;
    background: #00529b;
}
.ym-catalogue__rules::after { width: calc(141 * var(--u)); background: #b2bcc8; }
.ym-catalogue .ym-catalogue__copy .ym-catalogue__label {
    display: flex;
    align-items: center;
    gap: calc(16 * var(--u));
    width: calc(769 * var(--u));
    margin-top: calc(47 * var(--u));
    color: #00529b;
    font-size: calc(17 * var(--u));
    font-weight: 700;
    line-height: calc(22 * var(--u));
}
.ym-catalogue__label::after {
    content: "";
    flex: 1;
    height: max(.5px, var(--u));
    background: #acb8c6;
}
.ym-catalogue__processes {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, calc(348 * var(--u)));
    grid-template-rows: repeat(var(--process-rows), auto);
    margin: calc(17 * var(--u)) 0 0;
    padding: 0;
    list-style: none;
    font-size: calc(23 * var(--u));
    line-height: calc(34 * var(--u));
}
.ym-catalogue__processes li { position: relative; padding-left: calc(20 * var(--u)); }
.ym-catalogue__processes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: calc(8 * var(--u));
    height: calc(8 * var(--u));
    border-radius: 50%;
    background: #00529b;
}
.ym-catalogue__processes a {
    display: inline-block;
    color: inherit;
    text-underline-offset: .17em;
    transition: color 140ms ease;
}
.ym-catalogue__processes a:is(:hover, :focus-visible) { color: #00529b; text-decoration: underline; }
.ym-catalogue__processes a:active { color: #00396f; }
.ym-catalogue .ym-catalogue__copy .ym-catalogue__tagline {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(2 * var(--u));
    color: #4c5460;
    font-size: calc(18 * var(--u));
    line-height: calc(23 * var(--u));
}
.ym-catalogue__tagline span + span::before { content: "|"; margin-inline: calc(16 * var(--u)); }
.ym-process-note { display: none; }
.ym-process-note:target {
    display: grid;
    gap: 12px;
    padding: 32px clamp(20px, 3.75vw, 72px);
    background: #f3f5f6;
    scroll-margin-top: 40px;
}
.ym-process-note:target h2 { font-size: 26px; }
.ym-process-note p { max-width: 65ch; }
.ym-process-note a { width: fit-content; text-decoration: underline; color: #00529b; }
@media (prefers-reduced-motion: reduce) {
    .ym-catalogue__processes a { transition: none; }
}
@media (max-width: 767px) {
    .ym-catalogue { display: flex; flex-direction: column; aspect-ratio: auto; background: #fff; }
    .ym-catalogue__photo { position: static; order: 1; z-index: auto; height: auto; aspect-ratio: 1.85; object-fit: cover; }
    .ym-catalogue__copy { --u: 1px; width: auto; margin: 0; padding: 18px clamp(16px, 4vw, 32px); }
    .ym-catalogue__logo { width: 90px; }
    .ym-catalogue .ym-catalogue__copy h1 { margin-top: 18px; font-size: clamp(30px, 5.7vw, 40px); line-height: 1.08; }
    .ym-catalogue .ym-catalogue__copy .ym-catalogue__experience { margin-top: 10px; font-size: 19px; line-height: 1.25; }
    .ym-catalogue .ym-catalogue__copy .ym-catalogue__intro { font-size: 16px; line-height: 1.4; }
    .ym-catalogue__rules { margin-top: 14px; gap: 8px; }
    .ym-catalogue__rules::before { width: 40px; height: 3px; }
    .ym-catalogue__rules::after { width: 60px; height: 3px; }
    .ym-catalogue .ym-catalogue__copy .ym-catalogue__label { width: 100%; margin-top: 22px; font-size: 14px; line-height: 1.3; }
    .ym-catalogue__processes { grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); column-gap: 10px; margin-top: 8px; font-size: 15px; line-height: 1.3; }
    .ym-catalogue__processes li { padding-left: 12px; }
    .ym-catalogue__processes li::before { top: 15px; width: 5px; height: 5px; }
    .ym-catalogue__processes a { padding-block: 7px; }
    .ym-catalogue .ym-catalogue__copy .ym-catalogue__tagline { margin-top: 12px; gap: 4px 12px; font-size: 13px; line-height: 1.45; }
    .ym-catalogue__tagline span + span::before { content: none; }

    /* Put the actual hero photo behind the top navigation on narrow screens too. */
    .ym-catalogue-header + main > .ym-catalogue:first-child {
        --photo-height: clamp(150px, 39vw, 295px);
        padding-top: var(--photo-height);
    }
    .ym-catalogue-header + main > .ym-catalogue:first-child .ym-catalogue__photo {
        position: absolute;
        height: var(--photo-height);
        object-position: center;
        z-index: -1;
    }
    .ym-catalogue-header + main > .ym-catalogue:first-child .ym-catalogue__logo {
        position: absolute;
        top: clamp(18px, 3vw, 24px);
        left: clamp(16px, 4vw, 32px);
        width: clamp(64px, 12vw, 90px);
        margin: 0;
    }
    .ym-catalogue-header + main > .ym-catalogue:first-child h1 { margin-top: 0; }
}
