/* Roselle block pages: layout and effects for sections built with Kadence and core blocks.
   Each effect is switched on by a CSS class on the block (Advanced → Additional CSS class). */

/* ---------- Base inside Roselle sections ---------- */
.rs-s :is(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, table, .wp-block-buttons, .wp-block-image, .wp-block-details) { margin: 0; }
.rs-s :where(h1, h2) { text-wrap: balance; }
.rs-s .wp-block-kadence-column > .kt-inside-inner-col { display: flex; flex-direction: column; gap: 18px; }
.rs-s .wp-block-group { margin: 0; }
/* Groups in this theme wrap their content in an extra box; let the group's own layout reach the blocks inside */
.rs-s .wp-block-group__inner-container { display: contents; } /* until the server-side unwrap runs */
:where(.rs-s) p { color: var(--body); }
.rs-s ul.wp-block-list { padding-left: 0; padding-right: 0; list-style: none; }
.rs-s .wp-block-image { margin: 0 !important; }
/* Full-width covers fill the page without the extra scrollbar width */
.entry-content > .wp-block-cover.rs-s.alignfull { width: auto; max-width: none; margin-left: 0; margin-right: 0; }
.rs-s p a:not(.wp-element-button) { color: var(--acc-text); }
.rs-s .wp-block-button__link { padding: 16px 26px; border-radius: 2px; font-weight: 600; font-size: 17px; line-height: 1.2; transition: background .25s, transform .25s var(--ease); }
.rs-s .wp-block-button__link:hover { transform: translateY(-1px); }
.rs-s .wp-block-buttons { margin: 0; }
:where(a, button, summary, input, textarea, select):focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.rs-s .rs-eyebrow { font-size: 15px; font-weight: 600; color: var(--body); }
.rs-rule::before { content: ""; display: block; width: 32px; height: 3px; background: var(--acc); margin-bottom: 18px; }
.rs-s h2.rs-sh, .rs-s .rs-sh { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.04; }
.rs-s h3 { font-family: var(--sans); font-weight: 700; color: var(--ink); }
.rs-more { font-size: 15px; font-weight: 600; }
.rs-more a { color: var(--acc-text); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.rs-s .ar { display: inline-block; transition: transform .3s var(--ease); }
.rs-s a:hover .ar, .rs-card:hover .ar, .rs-add:hover .ar { transform: translateX(4px); }

/* Sticky side column on two-column sections */
@media (min-width: 901px) { .rs-sticky > .kt-inside-inner-col { position: sticky; top: 120px; } }
.rs-s .kt-row-column-wrap { column-gap: 56px; }
@media (max-width: 900px) { .rs-s .kt-row-column-wrap { row-gap: 32px; } }

/* Rise in on scroll (added by the script, so content stays visible without it) */
.js .rs-r { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rs-r.in { opacity: 1; transform: none; }
.js .rs-load { opacity: 0; transform: translateY(22px); }
.loaded .rs-load { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rs-s img.rs-fi { opacity: 0; transition: opacity .8s ease; }
.js .rs-s img.rs-fi.ok { opacity: 1; }

/* ---------- Hero (Cover block) ---------- */
.rs-hero.wp-block-cover { min-height: calc(100svh - var(--rs-hdr, 84px)) !important; padding: 72px 0; overflow: hidden; margin: 0; }
.rs-hero img.wp-block-cover__image-background { top: -20%; height: 135%; object-position: 50% 40%; will-change: transform; }
.rs-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(var(--ink-rgb), .84) 0%, rgba(var(--ink-rgb), .58) 46%, rgba(var(--ink-rgb), .14) 88%) !important; }
.rs-hero .wp-block-cover__background::after { content: ""; position: absolute; inset: 0; background: rgb(var(--ink-rgb)); opacity: calc(var(--hd, 0) * .4); }
.rs-hero .wp-block-cover__inner-container { width: 100% !important; max-width: var(--global-content-width, 1248px); margin-inline: auto !important; padding-inline: var(--global-content-edge-padding, 1.5rem); display: flex; flex-direction: column; gap: 22px; color: var(--white); }
.rs-hero .wp-block-cover__inner-container > * { max-width: 760px; margin: 0 !important; }
.rs-hero h1 { color: var(--white); font-size: clamp(40px, 4.8vw, 72px); line-height: 1.02; letter-spacing: -.025em; }
.rs-hero h1.rs-rule::before { background: var(--rose); }
.rs-hero .rs-lede { color: var(--on-ink); font-size: clamp(17px, 1.45vw, 21px); max-width: 520px; }
.rs-hero .wp-block-buttons { margin-top: 6px !important; }
.rs-hero .rs-load:nth-child(1) { --d: .15s; } .rs-hero .rs-load:nth-child(2) { --d: .3s; } .rs-hero .rs-load:nth-child(3) { --d: .4s; }
@media (max-width: 1100px) { .rs-hero.wp-block-cover { min-height: 0 !important; padding: 64px 0 48px; } }
@media (max-width: 900px) {
	.rs-hero.wp-block-cover { padding: 48px 0 36px; }
	.rs-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(var(--ink-rgb), .8) 0%, rgba(var(--ink-rgb), .62) 55%, rgba(var(--ink-rgb), .22) 100%) !important; }
	.rs-hero img.wp-block-cover__image-background { top: -10%; height: 125%; }
}
@media (max-width: 600px) { .rs-hero img.wp-block-cover__image-background { top: -12%; height: 112%; object-position: 50% 85%; } }

/* ---------- Tools strip ---------- */
.rs-tools { border-bottom: 1px solid var(--rule); }
.rs-s.rs-tools .wp-block-kadence-column > .kt-inside-inner-col { flex-direction: row; align-items: center; gap: 28px; height: 76px; }
.rs-tools-label { font-size: 13px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.rs-marquee { overflow: hidden; flex: 1; min-width: 0; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rs-marquee .rs-track { display: flex; gap: 56px; width: max-content; animation: rsMarq 40s linear infinite; padding: 0; margin: 0; list-style: none; }
.rs-marquee:hover .rs-track { animation-play-state: paused; }
.rs-marquee li { font-size: 18px; font-weight: 600; color: var(--body); white-space: nowrap; margin: 0; }
@keyframes rsMarq { to { transform: translateX(calc(-50% - 28px)); } }
@media (max-width: 600px) { .rs-tools-label { display: none; } }

/* ---------- Service cards ---------- */
.rs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.rs-card { position: relative; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--rule); padding-top: 28px; color: var(--ink); }
.rs-card::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--acc); transition: width .55s var(--ease); }
.rs-card:hover::before { width: 100%; }
@media (min-width: 701px) { .rs-card:nth-child(-n+2) { border-top: 0; padding-top: 0; } .rs-card:nth-child(-n+2)::before { top: -14px; } }
.rs-card h3 { font-size: 22px; letter-spacing: -.015em; }
.rs-card p { font-size: 16px; color: var(--body); }
.rs-card .rs-more { margin-top: auto; padding-top: 6px; }
.rs-card .rs-more a::after, .rs-add .rs-add-nm a::after { content: ""; position: absolute; inset: 0; }
.rs-s .rs-ic { margin-bottom: 6px; justify-content: flex-start; text-align: left; }
.rs-ic .kt-svg-icon-wrap { display: flex; }
.rs-ic svg { width: 34px; height: 34px; overflow: visible; transition: color .35s, stroke .35s; }
.rs-card:hover .rs-ic svg { color: var(--acc); stroke: var(--acc); animation: rsHop .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rsHop { 0% { transform: none; } 35% { transform: translateY(-7px); } 62% { transform: translateY(1.5px); } 80% { transform: translateY(-1.5px); } 100% { transform: none; } }
@media (max-width: 700px) { .rs-cards { grid-template-columns: 1fr; } }

/* Add-ons */
.rs-addpanel { background: var(--card); border: 1px solid var(--rule); padding: 48px 56px 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
.rs-addpanel .rs-adds { display: contents; }
.rs-s .rs-addh { margin: 0; padding-top: 20px; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; }
.rs-add { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 0 22px; border-top: 1px solid var(--rule); color: var(--ink); }
.rs-add::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--acc); transition: width .5s var(--ease); }
.rs-add:hover::before { width: 100%; }
.rs-add-nm { font-weight: 600; font-size: 17px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: center; }
.rs-s .rs-add-nm a { color: var(--ink); text-decoration: none; }
.rs-add-nm a .ar { opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); color: var(--acc-text); margin-left: 6px; }
.rs-add:hover .rs-add-nm a .ar { opacity: 1; transform: none; }
.rs-add-ds { color: var(--body); font-size: 15px; }
mark.rs-tag { background: var(--acc); color: #fff; padding: 3px 8px; font-size: 12px; font-weight: 600; margin-left: auto; }
@media (max-width: 900px) { .rs-addpanel { grid-template-columns: 1fr; gap: 0; padding: 32px 20px 24px; } .rs-s .rs-addh { padding: 0 0 20px; } }

/* ---------- Operate / Grow stacked cards ---------- */
.rs-head, .rs-ihead { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.rs-head > p { max-width: 420px; color: var(--body); }
.rs-stack { display: flex; flex-direction: column; gap: 32px; }
.rs-pc { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 56px; align-items: start; }
.rs-pc.rs-op { background: var(--card); border: 1px solid var(--rule); }
.rs-pc.rs-gr { background: var(--ink); color: var(--white); }
.rs-pc-l { display: flex; flex-direction: column; gap: 20px; }
.rs-s .rs-pc h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.rs-pc.rs-gr h3 { color: var(--white); }
.rs-k { font-size: 15px; font-weight: 600; color: var(--acc-text); }
.rs-gr .rs-k { color: var(--acc-soft); }
.rs-pbar-text { display: none; }
.rs-pc-list { border-bottom: 1px solid var(--rule); }
.rs-gr .rs-pc-list { border-color: var(--ink-rule); }
.rs-pc-list li { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 18px; display: flex; gap: 14px; align-items: baseline; margin: 0; }
.rs-gr .rs-pc-list li { border-color: var(--ink-rule); }
.rs-pc-list li::before { content: ""; width: 7px; height: 7px; background: var(--acc); flex-shrink: 0; transform: translateY(-2px); }
.rs-gr .rs-pc-list li::before { background: var(--rose); }
.js .rs-pc-list li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--n, 0) * 80ms); }
.js .rs-pc-list.in li { opacity: 1; transform: none; }
.rs-pbar { display: none; }
@media (min-width: 901px) {
	.rs-pc { position: sticky; }
	.rs-pc.rs-gr { margin-top: 24vh; }
	.rs-stack { padding-bottom: 14vh; }
	.rs-pc.rs-op > .rs-pc-l, .rs-pc.rs-op > .rs-pc-list { opacity: calc(1 - var(--p, 0) * 1.7); transition: none; }
	.rs-pbar { display: flex; position: absolute; left: 0; right: 0; top: 0; height: 76px; align-items: center; gap: 18px; padding: 0 56px; border: 0; border-bottom: 1px solid var(--rule); background: var(--card); font: inherit; color: var(--ink); cursor: pointer; text-align: left; opacity: calc((var(--p, 0) - .5) * 3); pointer-events: none; z-index: 2; }
	.rs-op.tabbed .rs-pbar { pointer-events: auto; }
	.rs-pbar .k { font-size: 15px; font-weight: 600; color: var(--acc-text); }
	.rs-pbar .pt { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
	.rs-pbar .ps { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--acc-text); }
}
@media (max-width: 900px) {
	.rs-pc { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
	.js .rs-pc.rs-r { transform: translateY(40px) scale(.97); }
	.js .rs-pc.rs-r.in { transform: none; }
}

/* ---------- Photo with the monthly report card ---------- */
.rs-work .kt-row-column-wrap { column-gap: 72px; align-items: center; }
.rs-phw { position: relative; }
.rs-ph { aspect-ratio: 9 / 8; overflow: hidden; background: var(--surface); margin: 0; }
.rs-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rs-ph:hover img { transform: scale(1.04); }
.rs-report { position: absolute; left: -40px; bottom: -64px; width: min(320px, 72%); background: var(--white); padding: 22px 24px 20px; box-shadow: 0 22px 50px rgba(20, 24, 30, .16); display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.rs-rpt-cap { font-size: 15px; color: var(--ink); }
.rs-rpt-ex { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); padding: 2px 7px; }
.rs-rtabs { grid-column: 1 / -1; position: relative; display: flex; gap: 4px; margin-top: 6px; border-bottom: 1px solid var(--rule); }
.rs-rind { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--acc); transition: transform .35s var(--ease), width .35s var(--ease); }
.rs-rtabs button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 6px 2px 8px; margin-right: 16px; cursor: pointer; transition: color .3s; }
.rs-rtabs [aria-selected="true"] { color: var(--ink); }
.rs-rpanes { grid-column: 1 / -1; display: grid; }
.rs-rpane { grid-area: 1 / 1; display: flex; flex-direction: column; }
.js .rs-rpane { visibility: hidden; transition: visibility 0s .2s; }
.js .rs-rpane.on { visibility: visible; transition: none; }
.js .rs-rpane-label { display: none; }
.rs-rpane-label { font-size: 13.5px; margin-top: 10px !important; }
.rs-rpt-table { margin: 2px 0 4px; }
.rs-rpt-table table { border-collapse: collapse; width: 100%; }
.rs-rpt-table td { border: 0; border-top: 1px solid var(--rule); padding: 9px 0; vertical-align: baseline; }
.rs-rpt-table tr:first-child td { border-top: 0; }
.rs-rpt-table td:first-child { font-size: 14px; color: var(--body); white-space: nowrap; }
.rs-rpt-table td:nth-child(2) { font-weight: 600; font-size: 17px; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; padding-left: 12px; }
.rs-rpt-table td:nth-child(3) { white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--muted); padding-left: 8px; width: 1%; }
.rs-rpt-table td.pos { color: #26794B; }
.rs-rpt-note { font-size: 13.5px; color: var(--body); line-height: 1.45; border-top: 1px solid var(--rule); padding-top: 10px; }
.js .rs-rpane :is(tr, .rs-rpt-note) { opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; }
.js .rs-rpane.on :is(tr, .rs-rpt-note) { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rs-rpane.on tr:nth-child(1) { transition-delay: .14s !important; } .rs-rpane.on tr:nth-child(2) { transition-delay: .2s !important; } .rs-rpane.on tr:nth-child(3) { transition-delay: .26s !important; } .rs-rpane.on .rs-rpt-note { transition-delay: .33s !important; }
.rs-why4 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 18px; }
.rs-why { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--rule); padding-top: 18px; }
.rs-why-t { font-size: 18px; font-weight: 700; color: var(--ink); }
.rs-why-d { color: var(--body); font-size: 16px; }
@media (max-width: 900px) {
	.rs-report { position: relative; left: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
	.rs-why4 { grid-template-columns: 1fr; }
}

/* ---------- Industry panels ----------
   Copied line for line from the live theme (home.css) so the look, hover and motion match exactly.
   The script gives the blocks the live class names: .ipanels, .ip, .bg, .tab/.vt, .txt. */
.ipanels{display:flex;gap:10px;height:560px}
.ip{position:relative;flex:0 0 88px;overflow:hidden;background:var(--ink);transition:flex-grow .75s var(--ease),flex-basis .75s var(--ease)}
.ip.on{flex:1 1 0}
.ip .bg{position:absolute;top:0;bottom:0;left:0;width:100%;transition:width .75s var(--ease)}
.ip .bg img{width:100%;height:100%;object-fit:cover}
.ip .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--ink-rgb),.55),rgba(var(--ink-rgb),.88));transition:opacity .6s}
.ip.on .bg{width:44%}
.ip.on .bg::after{opacity:0}
.ip .tab{position:absolute;inset:0;border:0;background:transparent;color:var(--white);cursor:pointer;font:inherit;display:flex;flex-direction:column;align-items:center;padding:28px 0;transition:opacity .3s}
.ip .tab .vt{writing-mode:vertical-rl;transform:rotate(180deg);font-size:17px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.ip .tab:hover .vt, .ip .tab:focus-visible .vt{color:var(--acc-soft)}
.ip.on .tab{opacity:0;pointer-events:none}
.ip .txt{position:absolute;top:0;bottom:0;left:44%;right:0;background:var(--card);padding:48px 52px;display:flex;flex-direction:column;gap:16px;justify-content:center;opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility 0s .45s;min-width:420px}
.ip.on .txt{opacity:1;visibility:visible;transition:opacity .6s var(--ease) .4s,visibility 0s}
.ip .txt .no{font-family:var(--serif);font-size:18px;font-weight:600;color:var(--acc-text)}
.ip h3{font-size:30px;font-family:var(--serif);font-weight:600;letter-spacing:-0.02em;line-height:1.1}
.ip .txt p{color:var(--body)}
@media (max-width:1100px){.ipanels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;height:auto}
.ip{flex:none;background:var(--card);border:1px solid var(--rule)}
.ip .bg{position:relative;width:100%!important;aspect-ratio:16/10}
.ip .bg::after{display:none}
.ip .tab{display:none}
.ip .txt{position:static;opacity:1;visibility:visible;min-width:0;padding:26px 24px 28px;justify-content:flex-start}}
@media (max-width:700px){.ipanels{grid-template-columns:1fr}}
#ipanels .ip[data-r]{opacity:0;transform:none}
#ipanels .ip[data-r].in{animation:ipIn 1.1s cubic-bezier(.16,1,.3,1) var(--d,0s) both}
@keyframes ipIn{0%{opacity:0;transform:translateY(40px) scale(.985)}35%{opacity:1}100%{opacity:1;transform:none}}
@media (min-width:1101px){.ip{transition:flex-grow .7s cubic-bezier(.65,0,.35,1) .1s,flex-basis .7s cubic-bezier(.65,0,.35,1) .1s,background-color .25s ease .6s}
.ip.on{background-color:var(--card);transition:flex-grow .7s cubic-bezier(.65,0,.35,1) .1s,flex-basis .7s cubic-bezier(.65,0,.35,1) .1s,background-color .2s ease}
.ip .bg{transition:width .7s cubic-bezier(.65,0,.35,1) .1s;overflow:hidden}
.ip .bg img{position:absolute;top:0;left:50%;height:100%;width:max(100%,400px);transform:translateX(-50%)}
.ip .bg::after{transition:opacity .3s ease}
.ip.on .bg::after{transition:opacity .4s ease .35s}
.ip .txt{transform:translateX(14px);transition:opacity .15s ease,transform .15s ease,visibility 0s .15s}
.ip.on .txt{transform:none;transition:opacity .4s ease .7s,transform .5s var(--ease) .7s,visibility 0s}
.ip .tab{transition:opacity .3s ease .55s}
.ip.on .tab{transition:opacity .12s ease}}
@media (min-width:1101px){.ip{flex-basis:100px}
.ip .tab .vt{font-size:22px;letter-spacing:0}
.ip .tab .no{font-size:24px}}
@media (prefers-reduced-motion:reduce){.ip, .ip .bg, .ip .txt{transition:none!important}}
@media (min-width:1101px){.ip .txt{left:auto;width:max(56%,460px);min-width:0}.ip.on .bg{width:calc(100% - max(56%,460px))}}
@media (min-width:1101px){#ipanels .ip[data-r]{transition:flex-grow .7s cubic-bezier(.65,0,.35,1) .1s,flex-basis .7s cubic-bezier(.65,0,.35,1) .1s,background-color .25s ease .6s}
#ipanels .ip.on[data-r]{transition:flex-grow .7s cubic-bezier(.65,0,.35,1) .1s,flex-basis .7s cubic-bezier(.65,0,.35,1) .1s,background-color .2s ease}}
/* Block-editor wrappers: the photo block is the .bg box, and Kadence's own button colors stay off the tabs */
.ip > figure.bg { margin: 0 !important; }
.ip .tab, .ip .tab:hover, .ip .tab:focus, .ip .tab:active { background: transparent; box-shadow: none; border-radius: 0; color: var(--white); }
.ip .tab .vt { color: inherit; }
.ip .tab:hover .vt, .ip .tab:focus-visible .vt { color: var(--acc-soft); }
.rs-ihead > p { max-width: 440px; color: var(--body); }
.rs-check { margin: 4px 0 6px !important; display: flex; flex-direction: column; gap: 12px; }
.rs-check li { position: relative; padding-left: 34px; font-size: 16px; margin: 0; }
.rs-check li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 14px; height: 8px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }

/* ---------- Timeline ---------- */
.rs-timeline { position: relative; padding-left: 72px; display: flex; flex-direction: column; gap: 56px; }
.rs-rail, .rs-fill { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; }
.rs-rail { background: var(--rule); }
.rs-fill { background: var(--acc); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px 1px rgba(var(--acc-rgb), .5); }
.rs-step { position: relative; display: flex; flex-direction: column; gap: 8px; }
.rs-dot { position: absolute; left: -72px; top: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--ground); border: 2px solid var(--rule); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--muted); transition: all .45s var(--ease); }
.rs-s .rs-step h3 { font-size: 24px; letter-spacing: -.015em; color: var(--muted); transition: color .45s; }
.rs-step p { color: var(--muted); max-width: 520px; transition: color .45s; }
.rs-step .rs-when { font-size: 13px; font-weight: 600; }
.rs-step.lit .rs-dot { background: var(--acc); border-color: var(--acc); color: #fff; box-shadow: 0 0 0 8px rgba(var(--acc-rgb), .16), 0 0 24px rgba(var(--acc-rgb), .4); }
.rs-s .rs-step.lit h3 { color: var(--ink); }
.rs-step.lit p { color: var(--body); }
.rs-step.lit .rs-when { color: var(--acc-text); }
.rs-start .wp-block-buttons { margin-top: 8px; }

/* ---------- FAQ (Details blocks) ---------- */
.rs-faq-item { border-top: 1px solid var(--rule); margin: 0 !important; }
.rs-faq-item:last-child { border-bottom: 1px solid var(--rule); }
.rs-faq-item summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 20px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 24px; }
.rs-faq-item summary::-webkit-details-marker { display: none; }
.rs-faq-item summary::after { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: background-size .3s var(--ease); }
.rs-faq-item[open] summary::after { background-size: 100% 2px, 2px 0; }
.rs-faq-item > p { color: var(--body); padding: 0 0 24px; max-width: 680px; }
.rs-faq .kt-row-column-wrap > :last-child .kt-inside-inner-col { gap: 0; }

/* ---------- Latest insights (Query Loop) ---------- */
.rs-insights .rs-ihead { margin-bottom: 0; }
.rs-insights .rs-ihead > p { flex: 1; max-width: none; text-align: right; }
.rs-arts .wp-block-post-template { gap: 40px; margin-top: 22px; }
.rs-arts .wp-block-post { display: flex; flex-direction: column; gap: 12px; }
.rs-art-im { overflow: hidden; background: var(--surface); margin: 0; }
.rs-art-im img { transition: transform .9s var(--ease); }
.rs-arts .wp-block-post:hover .rs-art-im img { transform: scale(1.04); }
.rs-art-meta { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.rs-art-meta a { color: var(--acc-text); text-decoration: none; pointer-events: none; }
.rs-arts .wp-block-post-title { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.18; letter-spacing: -.015em; }
.rs-arts .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.rs-arts .wp-block-post-excerpt { color: var(--body); font-size: 16px; margin: 0; }
.rs-arts .wp-block-post-excerpt__more-text { display: none; }
.rs-arts .wp-block-read-more { color: var(--acc-text); font-weight: 600; font-size: 15px; text-decoration: none; margin-top: auto; }
.rs-allart { text-align: center; margin-top: 48px !important; }
@media (max-width: 900px) {
	.rs-insights .rs-ihead > p { text-align: left; flex-basis: 100%; }
	.rs-arts .wp-block-post-template { grid-template-columns: 1fr !important; }
	.rs-arts .wp-block-post:nth-child(n+3) { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.rs-load, .rs-r, .rs-pc-list li, .rs-ic svg * { opacity: 1 !important; transform: none !important; transition: none !important; stroke-dashoffset: 0 !important; }
	.rs-marquee .rs-track { animation-duration: 80s; }
	.rs-ic svg { animation: none !important; }
	.rs-hero img.wp-block-cover__image-background { transform: none !important; }
}

/* ---------- Closing band (synced pattern "Closing band", Cover block) ---------- */
.rs-close.wp-block-cover { margin: 0; padding: 112px 0; min-height: 0; overflow: hidden; }
.rs-close img.wp-block-cover__image-background { top: -30%; height: 160%; will-change: transform; }
.rs-close .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(90deg, rgba(var(--ink-rgb), .92) 0%, rgba(var(--ink-rgb), .66) 55%, rgba(var(--ink-rgb), .3) 100%) !important; }
.rs-close .wp-block-cover__inner-container { width: 100% !important; max-width: var(--global-content-width, 1248px); margin-inline: auto !important; padding-inline: var(--global-content-edge-padding, 1.5rem); display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.rs-close .wp-block-cover__inner-container > * { margin: 0 !important; }
.rs-close h2 { color: var(--white); font-size: clamp(40px, 4.8vw, 64px); line-height: 1.04; max-width: 640px; }
.rs-close p { color: var(--on-ink); margin-top: 14px !important; }
.rs-close .wp-block-buttons .rs-r, .rs-close > .wp-block-cover__inner-container > .wp-block-buttons { --d: .15s; }
@media (max-width: 900px) {
	.rs-close.wp-block-cover { padding: 88px 0; }
	.rs-close .wp-block-cover__background { background: linear-gradient(180deg, rgba(var(--ink-rgb), .84) 0%, rgba(var(--ink-rgb), .62) 70%, rgba(var(--ink-rgb), .4) 100%) !important; }
}

/* ---------- Header (Kadence) ---------- */
/* The Roselle logo in place of the site name. The name stays in the page for screen readers. */
.site-branding a.brand { display: block; width: 188px; aspect-ratio: 628 / 204; background: url("../img/logo-ink.svg?v=3") no-repeat left center / contain; transition: width .3s var(--ease); }
.site-branding a.brand .site-title-wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#masthead .site-main-header-wrap { border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
#masthead .item-is-stuck .site-main-header-wrap, #masthead .item-is-stuck { border-color: var(--rule); box-shadow: 0 6px 24px rgba(var(--ink-rgb), .06); }
.item-is-stuck .site-branding a.brand { width: 160px; }
#masthead .header-button { padding: 12px 18px; font-size: 15px; font-weight: 600; border-radius: 2px; white-space: nowrap; }
@media (max-width: 900px) { .site-branding a.brand, .item-is-stuck .site-branding a.brand { width: 150px; } }


/* ---------- Header menus ----------
   Copied from the live theme (site.css). The plugin draws the menu with the same markup (see inc/nav.php). */
.nav { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav > a, .ddb { font: 500 16px/1.2 var(--sans); color: var(--body); text-decoration: none; }
.nav > a:hover { color: var(--ink); }
/* Dropdowns */
.dd { position: relative; }
.ddb { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.ddb:hover, .dd.open .ddb { color: var(--ink); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.dd.open .chev, .mdd[open] .chev { transform: rotate(180deg); }
.ddp {
	position: absolute; top: calc(100% + 18px); left: -24px; z-index: 60;
	display: flex; gap: 40px; padding: 22px 24px;
	background: var(--card); border: 1px solid var(--rule); border-radius: 2px;
	box-shadow: 0 18px 40px rgba(var(--ink-rgb), .10);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.ddp::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px; }
.dd.open .ddp { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
.ddc { display: flex; flex-direction: column; gap: 2px; min-width: 200px; }
.ddh { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.ddp a { display: block; padding: 7px 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.ddp a:hover { color: var(--acc-text); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--rule); background: transparent; border-radius: 2px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span:first-child { position: relative; display: block; width: 18px; height: 2px; background: var(--ink); transition: background .2s; }
.menu-btn span:first-child::before, .menu-btn span:first-child::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-btn span:first-child::before { transform: translateY(-6px); }
.menu-btn span:first-child::after { transform: translateY(6px); }
/* Open: the three lines become an X */
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-btn span:first-child::before, .menu-btn span:first-child::after { transition: none; } }
.mnav { display: none; border-top: 1px solid var(--rule); background: var(--ground); max-height: calc(100svh - var(--hdr)); overflow-y: auto; }
.mnav.open { display: block; }
.mnav > a, .mdd a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.mdd { border-bottom: 1px solid var(--rule); }
.mdd summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.mdd summary::-webkit-details-marker { display: none; }
.mdd .ddh { padding: 6px 16px 0; margin: 0; }
.mdd a { border-bottom: 0; padding: 9px 16px 9px 28px; font-weight: 500; }
.mdd[open] { padding-bottom: 8px; }
.mnav .mcta { color: var(--acc-text); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Inside Kadence's header: no Kadence button colors on the menu buttons, the panel under the phone header */
.ddb, .ddb:hover, .ddb:focus, .menu-btn, .menu-btn:hover, .menu-btn:focus { background: transparent; box-shadow: none; color: var(--body); }
.ddb:hover, .dd.open .ddb { color: var(--ink); }
.menu-btn, .menu-btn:hover { border: 1px solid var(--rule); border-radius: 2px; padding: 0; }
#site-navigation .nav a { text-decoration: none; }
.mnav a, .mnav summary { color: var(--ink); text-decoration: none; }
.mnav .mcta { color: var(--acc-text); }
@media (min-width: 901px) { .mnav, .mnav.open { display: none; } }
@media (max-width: 900px) { .menu-btn { display: inline-flex; } }

/* ---------- Footer (Kadence) ---------- */
#colophon { color: var(--on-ink); font-size: 15px; }
#colophon a { color: inherit; text-decoration: none; }
#colophon a:hover { color: var(--white); }
@media (min-width: 1025px) { #colophon .site-middle-footer-inner-wrap { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); column-gap: 40px; } }
#colophon .widget { margin: 0; }
#colophon .widget-title { color: var(--white); font: 700 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; margin: 0 0 14px; }
#colophon .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
#colophon .widget_nav_menu li { padding: 0; border: 0; }
#colophon .widget_nav_menu a { padding: 0; }
#colophon .footer-widget1 .widget { display: flex; flex-direction: column; gap: 18px; max-width: 340px; }
#colophon .footer-widget1 p { margin: 0; }
.rs-flogo { display: block; width: 190px; aspect-ratio: 628 / 204; background: url("../img/logo-white.svg?v=3") no-repeat left center / contain; }
#colophon .rs-fmail a { color: var(--white); font-weight: 600; display: inline-block; padding: 4px 0; }
.rs-fsoc { align-self: flex-start; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-rule); display: inline-flex; align-items: center; justify-content: center; color: var(--white); transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.rs-fsoc svg { width: 16px; height: 16px; fill: currentColor; }
#colophon .rs-fsoc:hover, #colophon .rs-fsoc:focus-visible { background: var(--rose); border-color: var(--rose); color: var(--ink); transform: translateY(-2px); }
#colophon .site-bottom-footer-wrap { font-size: 14px; }
#colophon .site-bottom-footer-inner-wrap { border-top: 1px solid var(--ink-rule); padding: 22px 0 30px; }
#colophon .footer-html p { margin: 0; }

/* Links in running text and small fixes for blocks inside Roselle sections */
.rs-s p.rs-add-nm a { color: var(--ink); text-decoration: none; }
.rs-ihead p a, .rs-head p a { font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) { .rs-s .rs-report { margin: -48px 16px 0; } }

/* ---------- Measured against the live site ---------- */
.rs-card p.rs-more { font-size: 15px; }
.rs-panel p.rs-more { font-size: 17px; }
.rs-s p.rs-add-nm { color: var(--ink); }
.rs-s .rs-head { margin-bottom: 30px; }
.rs-s .rs-ihead { margin-bottom: 22px; }
.rs-s.rs-insights .rs-ihead { margin-bottom: 0; }
@media (min-width: 901px) { .rs-s.rs-work .kt-row-column-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; column-gap: 72px; } }
#colophon .widget-title, #colophon .widget_nav_menu a { line-height: 1.55; }
#colophon .site-bottom-footer-wrap { margin-top: 56px; }
@media (min-width: 901px) { .rs-s .rs-addpanel { row-gap: 56px; } }
.rs-s .rs-why4 { margin-top: 18px; }
.rs-s .rs-rpt-note { background: var(--card); border: 1px solid var(--rule); padding: 10px 28px 28px; }
#colophon .footer-html { margin: 0; }
.rs-check li::before { left: 0; top: 1px; width: 22px; height: 22px; border: 0; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E2238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.6L16 9.5'/%3E%3C/svg%3E") no-repeat center / contain; }


/* Footer on tablets and phones: the about block across the top, link lists in two columns */
@media (max-width: 1000px) {
	#colophon .site-middle-footer-inner-wrap { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 40px !important; }
	#colophon .site-footer-middle-section-1 { grid-column: 1 / -1; }
	#colophon .site-middle-footer-inner-wrap > .site-footer-section { margin: 0 !important; }
}

/* =====================================================================
   Inner pages: services, industries and locations
   ===================================================================== */

/* Section rhythm: like the live site, sections space from the top; bands carry their own padding */
.rs-s:not(.rs-band):not(.rs-hero):not(.rs-phero):not(.rs-close) + .rs-close { margin-top: 128px; }
@media (max-width: 900px) { .rs-s:not(.rs-band):not(.rs-hero):not(.rs-phero):not(.rs-close) + .rs-close { margin-top: 88px; } }
.rs-band.rs-surface { background: var(--surface); }
.rs-band.rs-dark { background: var(--ink); color: var(--white); }
.rs-band.rs-dark h2, .rs-band.rs-dark h3 { color: var(--white); }
.rs-band.rs-dark .rs-rule::before { background: var(--rose); }
.rs-band.rs-dark .rs-plead { color: var(--on-ink); }

/* Page hero, dark with the mountain photo (Cover block) */
.rs-phero.wp-block-cover { margin: 0; min-height: 0; padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px); overflow: hidden; align-items: center; }
.rs-phero img.wp-block-cover__image-background { top: -12%; height: 124%; object-position: 50% 60%; will-change: transform; }
.rs-phero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(100deg, rgba(var(--ink-rgb), .95) 0%, rgba(var(--ink-rgb), .86) 50%, rgba(var(--ink-rgb), .6) 100%) !important; }
.rs-phero .wp-block-cover__inner-container { width: 100% !important; max-width: var(--global-content-width, 1248px); margin-inline: auto !important; padding-inline: var(--global-content-edge-padding, 1.5rem); }
.rs-phero .wp-block-cover__inner-container > * { margin: 0 !important; max-width: none !important; }
.rs-pgrid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.rs-pcopy { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.rs-s .rs-pcopy h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.025em; }
.rs-phero h1 { color: var(--white); }
.rs-s.rs-phero .rs-eyebrow { color: var(--acc-soft); }
.rs-phero .rs-rule::before { background: var(--rose); }
.rs-s .rs-pcopy .rs-lede { font-size: clamp(17px, 1.45vw, 21px); max-width: 620px; color: var(--body); }
.rs-s.rs-phero .rs-pcopy .rs-lede { color: var(--on-ink); }
.rs-pcopy .wp-block-buttons { margin-top: 6px !important; }
.rs-pcopy .rs-load:nth-child(1) { --d: .1s; } .rs-pcopy .rs-load:nth-child(2) { --d: .2s; } .rs-pcopy .rs-load:nth-child(3) { --d: .3s; } .rs-pcopy .rs-load:nth-child(4) { --d: .4s; }
.rs-pcard { background: rgba(250, 249, 244, .97); color: var(--ink); padding: 28px 28px 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .22); border-top: 3px solid var(--rose); justify-self: end; width: 100%; max-width: 420px; --d: .35s; }
.rs-s .rs-pcard-h { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -.015em; color: var(--ink); margin-bottom: 14px; }
.rs-pcard-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.rs-s .rs-pcard-item p { font-weight: 600; font-size: 16px; color: var(--ink); }
.rs-pcard-item .rs-pi, .rs-hh .rs-pi { margin: 0; flex-shrink: 0; line-height: 0; }
.rs-pcard-item .rs-pi svg { width: 24px; height: 24px; color: var(--acc); stroke: var(--acc); }
@media (max-width: 900px) { .rs-pgrid { grid-template-columns: 1fr; } .rs-pcard { justify-self: stretch; max-width: none; } }

/* Page hero with a framed photo (Kadence row) */
.rs-s.rs-photo .kt-row-column-wrap { column-gap: clamp(40px, 5vw, 80px); align-items: center; }
.rs-s.rs-photo .rs-pcopy h1 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.06; }
.rs-pphoto { position: relative; aspect-ratio: 4 / 3; overflow: visible; background: var(--surface); }
.rs-s .rs-pphoto img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 30px 60px rgba(var(--ink-rgb), .18); }
.rs-pphoto::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 72%; height: 72%; border: 2px solid var(--on-ink-muted); z-index: 0; }
@media (max-width: 900px) {
	.rs-s.rs-photo .kt-row-column-wrap > .wp-block-kadence-column:last-child { order: -1; }
	.rs-pphoto { aspect-ratio: 16 / 10; }
	.rs-pphoto::after { display: none; }
}

/* Section heads, lead text and the body column of split sections */
.rs-s .rs-whead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 26px; }
.rs-whead .rs-plead { max-width: 520px; }
.rs-s .rs-plead { color: var(--body); font-size: clamp(17px, 1.3vw, 19px); max-width: 680px; }
.rs-s .rs-plead a, .rs-s .rs-near a { color: var(--acc-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rs-s .rs-pbody > .kt-inside-inner-col { gap: 24px; }

/* Cards: numbered, plain and linked */
.rs-cardgrid { display: grid; gap: 20px; }
.rs-cardgrid.rs-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rs-cardgrid.rs-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rs-card2 { position: relative; background: var(--card); border: 1px solid var(--rule); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.rs-card2::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.rs-card2:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(var(--ink-rgb), .09); }
.rs-card2:hover::before { transform: scaleX(1); }
.js .rs-card2.rs-r.in:hover { transform: translateY(-3px); }
.rs-s .rs-card-t { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.rs-s .rs-card-t a { color: var(--ink); text-decoration: none; }
.rs-s .rs-card-t a::after { content: ""; position: absolute; inset: 0; }
.rs-s .rs-card-t a .ar { color: var(--acc-text); }
.rs-s .rs-card-d { color: var(--body); font-size: 16px; }
.rs-s .rs-num { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.rs-surface .rs-card2, .rs-surface .rs-scard, .rs-surface .rs-taxnote { background: var(--white); }
@media (max-width: 900px) { .rs-cardgrid.rs-c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rs-cardgrid.rs-c2, .rs-cardgrid.rs-c3 { grid-template-columns: 1fr; } }

/* How a month works: steps across a dark band, numbered automatically */
.rs-hsteps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; position: relative; counter-reset: rshs; }
.rs-hsteps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 1px; background: var(--ink-rule); }
.rs-hstep { position: relative; display: flex; flex-direction: column; gap: 10px; counter-increment: rshs; }
.rs-hstep::before { content: counter(rshs); width: 38px; height: 38px; border-radius: 50%; background: var(--ink); border: 1px solid var(--rose); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.rs-s .rs-hstep-t { font-size: 19px; font-weight: 700; color: var(--white); margin-top: 8px; }
.rs-s .rs-hstep p:not(.rs-hstep-t) { color: var(--on-ink); font-size: 16px; }
@media (max-width: 900px) {
	.rs-hsteps { grid-auto-flow: row; grid-auto-columns: auto; gap: 28px; }
	.rs-hsteps::before { left: 18px; right: auto; top: 18px; bottom: 18px; width: 1px; height: auto; }
	.rs-hstep { padding-left: 58px; }
	.rs-hstep::before { position: absolute; left: 0; top: 0; }
	.rs-s .rs-hstep-t { margin-top: 6px; }
}

/* Callout box */
.rs-callout { position: relative; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--acc); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 56px; align-items: start; box-shadow: 0 24px 48px rgba(var(--ink-rgb), .06); }
.rs-s .rs-callout h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.04; }
.rs-s .rs-callout p { color: var(--body); font-size: clamp(17px, 1.3vw, 19px); }
.rs-callout > :nth-child(n+3) { grid-column: 2; }
.rs-callout .wp-block-buttons { grid-column: 2; }
@media (max-width: 900px) { .rs-callout { grid-template-columns: 1fr; } .rs-callout > :nth-child(n+3), .rs-callout .wp-block-buttons { grid-column: auto; } }

/* Service cards on inner pages */
.rs-scards { display: grid; gap: 20px; }
.rs-scards.rs-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rs-scards.rs-c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rs-scards.rs-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rs-scards.rs-c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rs-scard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border: 1px solid var(--rule); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.rs-scard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(var(--ink-rgb), .09); border-color: var(--ink); }
.js .rs-scard.rs-r.in:hover { transform: translateY(-3px); }
.rs-scard .rs-pi { margin: 0 0 6px; line-height: 0; }
.rs-scard .rs-pi svg { width: 30px; height: 30px; color: var(--ink); stroke: var(--ink); transition: color .3s, stroke .3s; }
.rs-scard:hover .rs-pi svg { color: var(--acc); stroke: var(--acc); }
.rs-s .rs-scard-t { font-size: 18px; font-weight: 700; color: var(--ink); }
.rs-s .rs-scard-d { color: var(--body); font-size: 15.5px; }
.rs-scard .rs-more { margin-top: auto; padding-top: 6px; }
.rs-scard .rs-more a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1000px) { .rs-scards.rs-c3, .rs-scards.rs-c4, .rs-scards.rs-c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rs-scards.rs-c5 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .rs-scards.rs-c2, .rs-scards.rs-c3, .rs-scards.rs-c4, .rs-scards.rs-c5 { grid-template-columns: 1fr; } }

/* "Sound familiar?" quotes */
.rs-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rs-quote { background: var(--white); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 0 var(--rule); }
.rs-quote::before { content: "\201C"; display: block; font-family: var(--serif); font-weight: 600; font-size: 64px; line-height: .6; height: 30px; color: var(--rose); margin-bottom: 4px; }
.rs-s .rs-quote p { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
@media (max-width: 700px) { .rs-quotes { grid-template-columns: 1fr; } }

/* "What we handle": two columns, the second dark */
.rs-handle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rs-hcol { background: var(--card); border: 1px solid var(--rule); padding: 30px; }
.rs-hh { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.rs-hh .rs-pi svg { width: 30px; height: 30px; color: var(--acc); stroke: var(--acc); }
.rs-s .rs-hh h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -.015em; line-height: 1.2; }
.rs-hcol:nth-child(2) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rs-s .rs-hcol:nth-child(2) h3 { color: var(--white); }
.rs-hcol:nth-child(2) .rs-hh { border-color: var(--ink-rule); }
.rs-hcol:nth-child(2) .rs-hh .rs-pi svg { color: var(--rose); stroke: var(--rose); }
@media (max-width: 700px) { .rs-handle { grid-template-columns: 1fr; } }
.rs-s ul.rs-ticks { display: flex; flex-direction: column; gap: 14px; }
.rs-ticks li { position: relative; padding-left: 32px; font-size: 17px; color: var(--ink); margin: 0; }
.rs-ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E2238' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.6L16 9.5'/%3E%3C/svg%3E") no-repeat center / contain; }
.rs-hcol:nth-child(2) .rs-ticks li { color: var(--white); }
.rs-hcol:nth-child(2) .rs-ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8A3AE' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.6 2.6L16 9.5'/%3E%3C/svg%3E"); }

/* Location pages: local notes */
.rs-s .rs-subh { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.015em; line-height: 1.2; margin-top: 16px; }
.rs-taxnote { background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--rose); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.rs-s .rs-taxnote h3 { font-size: 17px; }
.rs-s .rs-taxnote p { color: var(--body); font-size: 16px; }
.rs-s .rs-seeyours { color: var(--body); font-size: 16px; }
.rs-s .rs-near { color: var(--body); font-size: 16px; border-top: 1px solid var(--rule); padding-top: 18px; }
.rs-s .rs-near strong { color: var(--ink); }
.rs-pbody .rs-faq-item summary { font-size: 18px; padding: 20px 0; }
.rs-qlist { display: flex; flex-direction: column; }

/* Shared sections reused on location pages (saved patterns) take the live location-page look there */
body:has(.rs-local) .rs-industries { background: none !important; margin-top: 0 !important; }
body:has(.rs-local) .rs-industries > .kt-row-column-wrap { padding-bottom: 0 !important; }
body:has(.rs-local) .rs-start { background: var(--surface) !important; margin-top: 128px !important; }
body:has(.rs-local) .rs-start > .kt-row-column-wrap { padding-bottom: 120px !important; }
body:has(.rs-local) .rs-start + .rs-close { margin-top: 0; }
@media (max-width: 900px) {
	body:has(.rs-local) .rs-start { margin-top: 88px !important; }
	body:has(.rs-local) .rs-start > .kt-row-column-wrap { padding-bottom: 88px !important; }
}

/* ---------- Keep Kadence's own element styles off Roselle parts (measured against the live site) ---------- */
.rs-s .wp-block-button__link { transition: background .25s, transform .25s var(--ease); }
.rs-s .wp-block-button__link:hover, .rs-s .wp-block-button__link:focus { box-shadow: none; background: #86192D; color: var(--white); }
#masthead .header-button { transition: background .25s, transform .25s var(--ease); box-shadow: none; }
#masthead .header-button:hover { box-shadow: none; background: #86192D; color: var(--white); transform: translateY(-1px); }
.rs-s button, .rs-s button:hover, .rs-s button:focus { box-shadow: none; border-radius: 0; }
.rs-rtabs button, .rs-rtabs button:hover, .rs-rtabs button:focus { background: transparent; color: var(--muted); }
.rs-rtabs button[aria-selected="true"], .rs-rtabs button[aria-selected="true"]:hover { color: var(--ink); }
.rs-pbar, .rs-pbar:hover, .rs-pbar:focus { background: var(--card); color: var(--ink); }
.rs-s a:not(.wp-block-button__link), #colophon a, .nav a, .mnav a { transition: none; }
.rs-s.rs-tools { border-bottom: 1px solid var(--rule) !important; }
.rs-card, .rs-add { cursor: pointer; }
.rs-s mark.rs-tag { letter-spacing: normal; }
#colophon .rs-fsoc { color: var(--white); }
#colophon a:hover, #colophon a:focus { text-decoration: none; }
:root { --hdr: 85px; }
@media (max-width: 900px) { :root { --hdr: 73px; } }
