/* Scoped to the authored article; existing navigation/composer/header styles stay in charge. */
/* Story PDF previews and captions form compact, fully clickable cards. */
#swi-guided-response .swl-story-download {
    display: block; width: 100%; max-width: 320px; box-sizing: border-box;
    margin: 32px 0 36px; padding: 0; text-align: left;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-link {
    display: block; width: 100%; color: #222; text-decoration: none; text-align: left;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-thumb {
    display: block; width: 100%; aspect-ratio: 1 / 1;
    padding: 16px; box-sizing: border-box; border: 1px solid #ccc;
    border-radius: 0; background: #fff;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-thumb img {
    display: block; width: 100% !important; max-width: 100% !important;
    height: 100% !important; max-height: 100% !important; margin: 0 !important;
    box-sizing: border-box; border: 0; border-radius: 0;
    aspect-ratio: auto !important; object-fit: contain !important;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-copy {
    display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px;
    padding-top: 14px; font-family: inherit; text-align: left; text-transform: none;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-eyebrow {
    display: none;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-title {
    display: block; grid-column: 1 / -1; font-size: 18px;
    font-weight: 400; line-height: 1.4; text-align: left; text-transform: none;
}
#swi-guided-response .swl-story-download .swl-story-download-project {
    display: inline-block;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-meta,
#swi-guided-response .swl-story-download .swi-scripted-story-download-cta {
    display: block; font-size: 14px; font-weight: 400; line-height: 1.5;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-meta {
    color: #666;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-cta {
    color: #c63f0d; text-decoration: underline; text-underline-offset: 3px;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-cta::after {
    content: " ↗";
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-link:hover .swi-scripted-story-download-title {
    color: #c63f0d;
}
#swi-guided-response .swl-story-download .swi-scripted-story-download-link:focus-visible {
    outline: 2px solid #f15a24; outline-offset: 6px;
}
#swi-guided-response .swi-editorial-answer figure.swl-embody-hero {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 32px); align-items: end;
    width: 100%; max-width: 900px; height: auto; box-sizing: border-box;
    margin: 24px 0 32px; padding: 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; overflow: visible;
}
/* Display the 980 x 1580 window at (329, 250) in each 1638 x 2048 source.
   Only surrounding white space is clipped; both chairs and their shadows fit.
   Identical windows keep the chair heights and floor level aligned. */
#swi-guided-response .swl-embody-hero .swl-embody-view {
    position: relative; min-width: 0; width: 100%;
    aspect-ratio: 980 / 1580; overflow: hidden;
}
#swi-guided-response .swi-editorial-answer .swl-embody-hero img {
    position: absolute; left: -33.5714286%; top: -15.8227848%;
    display: block; width: 167.1428571% !important; max-width: none !important;
    height: auto !important; max-height: none !important; margin: 0 !important;
    aspect-ratio: auto 1638 / 2048 !important; object-fit: contain !important;
    border-radius: 0; transform: none;
}
.swi-guided-response-area .swl-practice-photo {
    width: 100%; max-width: 600px; box-sizing: border-box;
    margin: 28px 0 36px; padding: 0; background: transparent;
}
.swi-guided-response-area .swl-practice-photo img {
    display: block; width: 100%; max-width: 100%; height: auto;
    aspect-ratio: auto 2048 / 1365; object-fit: contain;
}
.swi-guided-response-area .swl-practice-photo figcaption {
    margin: 10px 0 0; padding: 0; color: #666; font-family: inherit;
    font-size: 13px; font-weight: 400; line-height: 1.5;
    text-align: left; text-transform: lowercase;
}
.swi-contact-shell .swl-contact-details {
    display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 36px;
    margin: 0 0 28px; padding: 0; font: inherit; font-size: 14px;
    font-style: normal; font-weight: 400; line-height: 1.65; color: #666;
    text-align: left; text-transform: lowercase;
}
.swi-contact-shell .swl-contact-details a {
    display: block; min-height: 44px; box-sizing: border-box; padding: 4px 0;
    color: inherit; text-decoration: none; overflow-wrap: anywhere;
}
.swi-contact-shell .swl-contact-location span { display: block; }
.swi-contact-shell .swl-contact-details a:hover { color: #c63f0d; text-decoration: underline; text-underline-offset: 3px; }
.swi-contact-shell .swl-contact-details a:focus-visible { outline: 2px solid #f15a24; outline-offset: 4px; border-radius: 2px; }
@media (max-width: 480px) {
    .swi-contact-shell .swl-contact-details { flex-direction: column; gap: 0; margin-bottom: 22px; }
}
a.swi-home-orientation-card[data-swl-page-link] { text-decoration: none; color: inherit; box-sizing: border-box; max-width: 100%; }
[data-swl-services-article] .swi-what-editorial-heading h1 {
    margin: 0 0 12px; color: #f15a24; font-family: inherit;
    font-size: clamp(44px, 4.8vw, 72px); font-weight: 300;
    line-height: 1.06; letter-spacing: -.045em; transform-origin: left center;
}
[data-swl-services-article] .swi-what-editorial-image img {
    display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain;
}
[data-swl-article] .swl-preview-back {
    color: #666; text-decoration: none; font-size: 13px;
}
[data-swl-article] .swl-preview-back:hover { color: #f15a24; }
[data-swl-services-article] details { margin-top: 18px; }
[data-swl-services-article] summary { cursor: pointer; color: #666; font-size: 16px; padding: 12px 0; }
[data-swl-services-article] .swi-services-capability { margin: 26px 0; }
[data-swl-services-article] .swi-services-capability h2 {
    color: #f15a24; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 300;
}
[data-swl-services-article] .swi-services-capability ul { padding-left: 1.2em; font-size: 16px; line-height: 1.6; }
[data-swl-article] a:focus-visible, [data-swl-services-article] summary:focus-visible {
    outline: 2px solid #f15a24; outline-offset: 4px;
}
@media (min-width: 901px) {
    [data-swl-services-article] .swi-what-editorial-image { width: 70%; }
}
@media (max-width: 900px) {
    [data-swl-services-article] .swi-what-editorial-image { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    [data-swl-services-article] .swi-what-editorial-heading h1 {
        animation: swl-preview-heading 720ms cubic-bezier(.22,1,.36,1) both;
    }
}
@keyframes swl-preview-heading {
    from { opacity: 0; transform: scale(.94); }
    to { opacity: 1; transform: scale(1); }
}

/* Same heading treatment as the existing Who and Why editorials, now semantic H1s. */
[data-swl-article="who"] .swi-who-editorial-heading h1,
[data-swl-article="why"] .swi-north-star-heading h1 {
    margin: 0; color: #f15a24 !important; font-family: inherit !important;
    font-size: clamp(36px, 4.1vw, 62px) !important; font-weight: 300 !important;
    line-height: 1.06 !important; letter-spacing: -.045em !important;
    text-transform: lowercase; text-align: left; text-wrap: balance; transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
    [data-swl-article="who"] .swi-who-editorial-heading h1,
    [data-swl-article="why"] .swi-north-star-heading h1 {
        animation: swl-preview-heading 720ms cubic-bezier(.22,1,.36,1) both;
    }
}

/* Violin introduction: original image proportions, no crop or distortion. */
#swi-guided-response .swl-truth-violin { width: 100%; max-width: 760px; margin: 24px 0 36px; }
#swi-guided-response .swl-truth-violin img { display: block; width: 100% !important; height: auto !important; max-width: 100%; aspect-ratio: 960 / 593; object-fit: contain; }
#swi-guided-response [data-swl-violin] .swi-practice-editorial-heading p { max-width: 760px; font-size: clamp(18px, 1.6vw, 23px) !important; line-height: 1.5 !important; letter-spacing: -.015em !important; }

/* Selected Truth + Beauty photographs, shown whole and scaled to the reading column. */
#swi-guided-response .swl-truth-project { margin: 24px 0 40px; max-width: 760px; }
#swi-guided-response .swl-truth-project img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 620px !important; object-fit: contain; }
#swi-guided-response .swl-truth-project figcaption { margin-top: 12px; color: #777; font-size: 14px; line-height: 1.5; }

#swi-guided-response .swl-truth-mobi-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 32%); gap: 24px; align-items: center; max-width: 760px; margin: 28px 0 36px; }
#swi-guided-response .swl-truth-mobi-row .swi-practice-editorial-section { display: block; margin: 0; padding: 0; border: 0; }
#swi-guided-response .swl-truth-mobi-row .swi-practice-editorial-label { display: block; margin-bottom: 12px; }
#swi-guided-response .swl-truth-mobi-row .swi-practice-editorial-section h3 { margin-bottom: 14px; }
#swi-guided-response .swl-truth-mobi-row .swl-truth-project { margin: 0; }
#swi-guided-response .swl-truth-mobi-row img { max-height: 280px !important; }
@media (max-width: 600px) {
    #swi-guided-response .swl-truth-mobi-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    #swi-guided-response .swl-truth-mobi-row .swl-truth-project { max-width: 220px; }
    #swi-guided-response .swl-truth-mobi-row img { max-height: 220px !important; }
}

/* Union: isolated editorial layout, native accessible video controls. */
.swl-union{box-sizing:border-box;width:100%;max-width:920px;margin:0;padding:0 12px 70px 0;white-space:normal;color:#282828;font-family:inherit}
.swl-union-top{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#777;margin-bottom:42px}
.swl-union-top a,.swl-union-video-link{color:#777;text-decoration:none}
.swl-union-heading h1{font-family:inherit;color:#ed4b15;margin:0 0 22px;font-weight:300;font-size:clamp(48px,7vw,86px);line-height:1.05;animation:swl-union-arrive .45s ease-out both}
.swl-union-heading>p{font-size:clamp(24px,3vw,38px);line-height:1.2;font-weight:300;margin:0 0 24px}
.swl-union-intro{max-width:480px;font-size:16px;line-height:1.6;margin-left:32px}
.swl-union-hero{margin:28px 0 44px}.swl-union-hero img{display:block;width:100%;height:auto;max-height:580px;object-fit:contain}
.swl-union blockquote{margin:35px 0 58px 32px;padding:0;border:0;max-width:650px}
.swl-union blockquote p{font-size:clamp(23px,3vw,32px);line-height:1.4;font-weight:300;color:#ed4b15;margin:0 0 15px}.swl-union cite{font-size:12px;color:#777;font-style:normal}
.swl-union-copy,.swl-union-films>header{margin:50px 0 40px 32px;max-width:640px}.swl-union h2{font-size:clamp(25px,3vw,36px);font-weight:300;line-height:1.25;margin:14px 0 20px}.swl-union-copy p,.swl-union-films>header p{font-size:16px;line-height:1.7}
.swl-union-kicker{color:#888;font-size:12px;letter-spacing:.08em}
.swl-union-film{margin:0 0 58px}.swl-union-film figcaption{display:flex;align-items:center;gap:16px;margin-bottom:14px}.swl-union-film figcaption>span{color:#ed4b15;font-size:12px}.swl-union-film h3{font-size:17px;font-weight:400;margin:0}
.swl-union-film video{display:block;width:100%;height:auto;max-height:540px;aspect-ratio:16/9;object-fit:contain;background:#f4f3f1;border:1px solid #e4e2df;border-radius:3px}
.swl-union-video-link{display:inline-block;font-size:12px;margin-top:10px}.swl-union a:hover{text-decoration:underline}.swl-union a:focus-visible{outline:2px solid #ed4b15;outline-offset:4px}
.swl-union-close>p{font-size:14px}.swl-union-close small{display:block;font-size:11px;line-height:1.6;color:#888;max-width:580px}
@keyframes swl-union-arrive{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:600px){.swl-union{padding:20px 8px 45px}.swl-union-top{margin-bottom:28px}.swl-union-intro,.swl-union-copy,.swl-union-films>header,.swl-union blockquote{margin-left:0}.swl-union-film{margin-bottom:35px}}
@media(prefers-reduced-motion:reduce){.swl-union-heading h1{animation:none}}

/* Story grid expands naturally: seven stories occupy four rows. */
.swi-home-story-grid:not(.is-team-mode):not(.is-practice-mode){grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row}
.swi-home-story-grid .swl-union-tile{display:block!important;position:relative;background:#fff!important;border:1px solid #ddd!important;aspect-ratio:1.42 / 1!important;text-decoration:none;overflow:hidden}
.swi-home-story-grid .swl-union-tile>img{display:block;position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;padding:0;margin:0}

/* Match the existing story follow-up treatment; use the core click handler. */
.swl-union .swl-union-suggestions{margin:40px 0 0;padding:24px 0 0;max-width:760px;text-align:left}
.swl-union-suggestions .swi-follow-up-label{color:#888;font-size:12px;font-weight:400;margin:0 0 14px}
.swl-union-suggestions .swi-follow-up-list{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.swl-union-suggestions .swi-follow-up-question{font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;color:#757575;background:none;border:0;border-radius:0;padding:0;text-align:left;cursor:pointer}
.swl-union-suggestions .swi-follow-up-question:hover{color:#ed4b15}
.swl-union-suggestions .swi-follow-up-question:focus-visible{outline:2px solid #ed4b15;outline-offset:4px}


/* What We Do: keep the Library below the existing theme header.
 * The core's legacy desktop margin of -82px was intended to reclaim a
 * title-area gap. This permanent page uses the no-title template.
 * The existing frame script measures this new top and adjusts its height.
 */
@media (min-width: 1001px) {
    .swi-guided-layout.swi-pure-search[data-swl-page="services"] {
        margin-top: 0 !important;
    }
}
