/* Content compositions adapted from the supplied Merge, AVA and S2K references. */
.service-editorial{--editorial-line:color-mix(in srgb,currentColor 20%,transparent)}
.service-editorial-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(32px,6vw,100px);align-items:start}
.service-editorial-aside{min-width:0}
.service-editorial-aside .sl-section-heading{margin:0 0 32px}
body.wp-theme-pro-agency .service-editorial h2{max-width:23ch;font-size:clamp(30px,3.4vw,60px)!important;line-height:1.08!important;letter-spacing:-.045em;text-wrap:balance}
.service-editorial-aside .sl-prose{max-width:50ch}
.service-editorial-list{min-width:0}
.service-editorial-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:16px;padding:25px 0;border-top:1px solid var(--editorial-line)}
.service-editorial-index{font-size:11px;font-variant-numeric:tabular-nums;opacity:.6;line-height:2}
body.wp-theme-pro-agency .service-editorial-row h3{margin:0;font-size:clamp(21px,1.8vw,30px)!important;line-height:1.15!important;font-weight:500!important;letter-spacing:-.035em}
body.wp-theme-pro-agency .service-editorial-row p{margin:12px 0 0;max-width:48ch;font-size:16px;line-height:1.5;color:inherit;opacity:.7}
.service-editorial-row p:empty{display:none}
.service-editorial-tables{margin-top:36px}
/* Merge: broad statement above a compact, borderless service directory. */
.service-layout-directory .service-editorial-grid{grid-template-columns:1fr;gap:30px}
.service-layout-directory .service-editorial-aside{padding-left:16.666%}
body.wp-theme-pro-agency .service-layout-directory h2{max-width:28ch;font-size:clamp(32px,4.3vw,76px)!important}
.service-layout-directory .service-editorial-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 44px;padding-left:16.666%}
.service-layout-directory .service-editorial-row{display:block;border:0;padding:0}
.service-layout-directory .service-editorial-index{display:none}
body.wp-theme-pro-agency .service-layout-directory .service-editorial-row h3{font-size:clamp(20px,1.6vw,27px)!important}
/* AVA: dark asymmetric section, large continuous ruled rows. */
.service-layout-scope{background:#111;color:#f5f5f1;--muted:#b8b8b4;--sl-line:#41413f;padding:32px;border-radius:24px}
.service-layout-scope .service-editorial-grid{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
body.wp-theme-pro-agency .service-layout-scope .service-editorial-row h3{font-size:clamp(26px,2.5vw,44px)!important}
.service-layout-scope .service-editorial-row{padding:26px 0;grid-template-columns:32px minmax(0,1fr)}
.service-layout-scope .service-editorial-row:last-child{border-bottom:1px solid var(--editorial-line)}
/* S2K: chapter marks and a precise grid of specifications. */
.service-layout-specs .service-editorial-grid{grid-template-columns:1fr;gap:24px}
.service-layout-specs .service-editorial-aside{display:grid;grid-template-columns:1.2fr 1fr;gap:50px}
.service-layout-specs .service-editorial-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-left:1px solid var(--editorial-line);border-bottom:1px solid var(--editorial-line)}
.service-layout-specs .service-editorial-row{padding:28px;grid-template-columns:60px minmax(0,1fr);border-right:1px solid var(--editorial-line);position:relative}
.service-layout-specs .service-editorial-row::before{content:'+';position:absolute;top:-10px;left:-5px;font-size:15px}
.service-layout-specs .service-editorial-index{font-size:38px;line-height:1;letter-spacing:-.07em;opacity:.35}
.service-layout-specs .service-editorial-tables{margin-top:24px}
/* Numbered chapters replace repeated gradient-image slides and scroll runway. */
.service-chapters-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;margin-bottom:40px}
.service-chapters-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:1px solid var(--line,#ccc);border-bottom:1px solid var(--line,#ccc)}
.service-chapter{border-top:1px solid var(--line,#ccc);border-right:1px solid var(--line,#ccc);padding:28px;display:flex;flex-direction:column;gap:48px}
.service-chapter-number{font-size:clamp(64px,7vw,120px);font-weight:400;letter-spacing:-.08em;line-height:1;opacity:.3}
body.wp-theme-pro-agency .service-chapter h3{font-size:clamp(23px,2vw,34px)!important;line-height:1.12!important;font-weight:500;letter-spacing:-.035em;margin:0}
.service-chapter p{font-size:16px;line-height:1.5;margin:14px 0 0;color:var(--muted)}
.service-chapters{margin-bottom:64px}
.service-chapters+.service-pricing{margin-top:64px}
@media(max-width:900px){.service-layout-directory .service-editorial-aside,.service-layout-directory .service-editorial-list{padding-left:0}.service-layout-directory .service-editorial-list{gap:30px}.service-chapter{padding:22px}.service-layout-specs .service-editorial-row{grid-template-columns:36px 1fr;padding:24px}.service-layout-specs .service-editorial-index{font-size:28px}}
@media(max-width:700px){.service-editorial-grid,.service-layout-scope .service-editorial-grid,.service-layout-specs .service-editorial-aside,.service-chapters-heading{grid-template-columns:1fr;gap:24px}.service-layout-directory .service-editorial-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.service-layout-specs .service-editorial-list{grid-template-columns:1fr}.service-layout-scope{padding:24px;border-radius:18px}.service-chapters-grid{grid-template-columns:1fr}.service-chapter{flex-direction:row;gap:24px;padding:24px 18px}.service-chapter-number{font-size:52px;min-width:60px}.service-chapters-heading .sl-section-heading{margin-bottom:0}.service-chapters{margin-bottom:40px}.service-chapters+.service-pricing{margin-top:40px}}
.service-adapted .sl-table-wrap{border:1px solid var(--sl-line,var(--line,#d7dad5));border-radius:14px;overflow:auto;background:var(--surface,#f3f4f1)}
.service-adapted .sl-table-wrap table{width:100%;border-collapse:collapse;min-width:540px;table-layout:auto}
.service-adapted .sl-table-wrap :is(th,td){padding:20px 24px;border-bottom:1px solid var(--sl-line,var(--line,#d7dad5));vertical-align:top;text-align:left}
body.wp-theme-pro-agency .service-adapted .sl-table-wrap td{font-size:16px!important;line-height:1.5!important}
body.wp-theme-pro-agency .service-adapted .sl-table-wrap td:first-child{font-size:20px!important;line-height:1.3!important;font-weight:500}
.service-adapted .sl-table-wrap th{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.service-adapted .sl-table-wrap tr:last-child td{border-bottom:0}
body.wp-theme-pro-agency .pricing .price-card{display:flex;align-items:stretch;justify-content:stretch;padding:28px!important}
body.wp-theme-pro-agency .pricing .price-card-content{display:flex;flex-direction:column;flex:1;width:100%;max-width:none;height:auto!important;gap:0}
body.wp-theme-pro-agency .pricing .price-card-content>small{flex:none;align-self:flex-start}
body.wp-theme-pro-agency .pricing .price-card-content>h3{margin:34px 0 16px}
body.wp-theme-pro-agency .pricing .price-card-content>p{min-height:0;max-width:40ch;line-height:1.5}
body.wp-theme-pro-agency .pricing .price-card-content>.price-copy-empty{display:none}
body.wp-theme-pro-agency .pricing .price-value{margin:28px 0 0}
body.wp-theme-pro-agency .pricing .price-cta{flex:none;width:100%;max-width:none;margin: auto 0 0!important;min-height:94px;padding:18px 20px;align-self:stretch;transform:none}
body.wp-theme-pro-agency .pricing .price-cta strong{font-size:clamp(18px,1.4vw,23px);line-height:1.25;padding-right:22px}
body.wp-theme-pro-agency .pricing .price-scope{margin:28px 0 32px;min-width:0}
.price-scope-label{display:block;margin-bottom:12px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;opacity:.65}
body.wp-theme-pro-agency .pricing .price-scope p{margin:0;max-width:42ch;font-size:16px;line-height:1.65;color:inherit}
body.wp-theme-pro-agency .pricing .price-scope ul{margin:16px 0 0}
body.wp-theme-pro-agency .pricing .price-scope li{font-size:15px;line-height:1.55;padding:10px 0}

@media(max-width:700px){
 .service-adapted .sl-table-wrap table{display:table}
 .service-adapted .sl-table-wrap thead{display:table-header-group}
 .service-adapted .sl-table-wrap tbody{display:table-row-group}
 .service-adapted .sl-table-wrap tr{display:table-row}
 .service-adapted .sl-table-wrap :is(th,td){display:table-cell;padding:16px;min-width:140px}
 .service-adapted .sl-table-wrap td::before{display:none}
 body.wp-theme-pro-agency .pricing .price-card{min-height:0;padding:24px!important}
 body.wp-theme-pro-agency .pricing .price-card-content>h3{margin-top:28px}
 body.wp-theme-pro-agency .pricing .price-cta{min-height:88px}
}

/* Service steps end with their content, without an empty viewport below. */
.service-adapted .agency-gallery.is-pinned{height:auto;padding-bottom:24px}
.service-adapted .brand-process{margin-bottom:64px}
.service-adapted .brand-process+.service-pricing{margin-top:64px}
@media(max-width:700px){.service-adapted .brand-process{margin-bottom:40px}.service-adapted .brand-process+.service-pricing{margin-top:40px}}
/* Insets keep dark content away from the panel edge at every width. */
.service-layout-scope{box-sizing:border-box}
.service-layout-directory .service-editorial-list:has(>.service-editorial-row:only-child){grid-template-columns:1fr}
.service-layout-directory .service-editorial-row:only-child{max-width:65ch}
@media(max-width:420px){.service-layout-directory .service-editorial-list{grid-template-columns:1fr}.service-layout-scope{padding-inline:24px}}
/* Keep the left introduction alongside long lists, within its own section. */
@media(min-width:701px){
 .service-layout-index .service-editorial-aside,
 .service-layout-scope .service-editorial-aside{position:sticky;top:100px;align-self:start}
}
/* Service cards: title above, price and scope grouped near the bottom CTA. */
body.wp-theme-pro-agency .service-pricing .price-card-content>.price-value{margin-top:auto;padding-top:40px}
body.wp-theme-pro-agency .service-pricing .price-scope{margin:28px 0 80px}
body.wp-theme-pro-agency .service-pricing .price-cta{margin-top:0!important}
@media(max-width:700px){body.wp-theme-pro-agency .service-pricing .price-scope{margin-bottom:40px}}
/* Comparison tables: clear column hierarchy and restrained row contrast. */
.service-adapted .sl-table-wrap{border-radius:20px;background:var(--bg,#fff);border-color:var(--editorial-line,var(--sl-line));isolation:isolate}
.service-adapted .sl-table-wrap table{table-layout:fixed;min-width:680px}
.service-adapted :is(th,td){padding:24px;border-color:var(--editorial-line,var(--sl-line));overflow-wrap:break-word}
.service-adapted :is(th,td)+:is(th,td){border-left:1px solid color-mix(in srgb,currentColor 8%,transparent)}
body.wp-theme-pro-agency .service-adapted th{font-size:16px;line-height:1.35;font-weight:500;text-transform:none;letter-spacing:-.02em;color:inherit;background:color-mix(in srgb,currentColor 6%,transparent)}
body.wp-theme-pro-agency .service-adapted td:first-child{font-size:17px!important;font-weight:500;width:24%}
.service-adapted th:first-child{width:24%}
.service-adapted tbody tr:nth-child(even){background:color-mix(in srgb,currentColor 2.5%,transparent)}
.service-adapted tbody tr{transition:background-color .18s ease}
@media(hover:hover){.service-adapted tbody tr:hover{background:color-mix(in srgb,currentColor 6%,transparent)}}
@media(max-width:700px){.service-adapted .sl-table-wrap{border-radius:16px}.service-adapted :is(th,td){padding:18px}.service-adapted table{min-width:680px}}
body.wp-theme-pro-agency .service-adapted .sl-table-wrap :is(th,td){white-space:normal;overflow-wrap:break-word}

/* Team: one dark panel, with visible roles instead of a loose row of names. */
.service-team{--ink:#f5f5f1;--muted:#b8b8b4;--sl-line:#ffffff30;background:#111;color:var(--ink);padding:clamp(24px,3.3vw,56px);border-radius:24px;min-width:0}
.service-team-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:32px 56px;margin-bottom:40px}
.service-team-title{min-width:0}
.service-team-title>.sl-label{display:flex;align-items:center;gap:10px;color:var(--muted);margin-bottom:24px;letter-spacing:.06em}
.service-team-title>.sl-label::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
.service-team .sl-section-heading{margin:0}
.service-team-intro{border-left:1px solid var(--sl-line);padding-left:28px;max-width:52ch;color:var(--muted)}
.service-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.service-team-grid:has(>.service-team-role:only-child){grid-template-columns:1fr}
.service-team-grid:has(>.service-team-role:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.service-team-role{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:24px;min-width:0;background:#202020;border-radius:16px}
.service-team-index{font-size:var(--pro-label);font-variant-numeric:tabular-nums;line-height:1;letter-spacing:.04em;color:var(--muted)}
.service-team-role-copy{min-width:0;max-width:65ch}
.service-team-role h3{margin:0;overflow-wrap:anywhere}
.service-team-role p{margin-top:12px;color:var(--muted);overflow-wrap:anywhere}
.service-team-role p:empty{display:none}
.service-team-tables{margin-top:32px}
@media(max-width:1000px){.service-team-heading{gap:28px}.service-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-team-intro{padding-left:24px}}
@media(max-width:700px){
 .service-team{padding:24px 20px;border-radius:20px}
 .service-team-heading{grid-template-columns:1fr;gap:24px;margin-bottom:28px}
 .service-team-title>.sl-label{margin-bottom:20px}
 .service-team-intro{border-left:0;padding-left:0;max-width:none}
 .service-team-grid,.service-team-grid:has(>.service-team-role:nth-child(2):last-child){grid-template-columns:1fr;gap:8px}
 .service-team-role{flex-direction:row;gap:16px;padding:20px 16px;border-radius:12px}
 .service-team-index{flex:0 0 20px;padding-top:7px}
 .service-team-role p{margin-top:8px}
}
