/* SAMCO shared design system.
   Used unchanged by all three sites. Each site stylesheet (samco.css, painting.css, builders.css)
   sets the color tokens below and styles its own hero and signature sections.
   Radius rule: interactive controls are pills, cards and media are --r, inputs are --r-sm. */

@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --font-head: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
    --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
    --head-weight: 800;

    --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
    --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    --step-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
    --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
    --step-3: clamp(1.9rem, 1.5rem + 1.7vw, 2.9rem);
    --step-4: clamp(2.4rem, 1.75rem + 2.9vw, 4.1rem);
    --step-5: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem);

    --wrap: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --sec-y: clamp(72px, 8.5vw, 128px);
    --hdr-h: 72px;

    --r-sm: 10px;
    --r: 18px;
    --r-lg: 28px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

    --z-header: 50;
    --z-menu: 55;
    --z-mnav: 45;
    --z-dialog: 90;

    /* Corporate navy and gold, shared by every footer */
    --navy-950: #070e19;
    --navy-900: #0a1424;
    --navy-800: #0f1c31;
    --navy-700: #16263f;
    --gold: #c9a96a;
    --gold-soft: #e3cf9f;

    /* Theme tokens (overridden per site) */
    --bg: #ffffff;
    --bg-alt: #f3f5f8;
    --surface: #ffffff;
    --surface-2: #f6f7f9;
    --ink: #0f1726;
    --ink-2: #4b5567;
    --line: rgba(15, 23, 38, 0.1);
    --line-2: rgba(15, 23, 38, 0.22);
    --accent: #0f1726;
    --accent-hover: #26324a;
    --on-accent: #ffffff;
    --accent-ink: #0f1726;
    --focus: #2563eb;
    --hdr-bg: rgba(255, 255, 255, 0.86);
    --shadow: 15 23 38;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--ink);
    font: 400 var(--step-0)/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); position: relative; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 18px; }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); line-height: 1.15; }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; line-height: 1.6; }
.eyebrow { font: 600 var(--step--1)/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.muted { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
    --mx: 50%; --my: 50%;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 0.95rem/1 var(--font-body);
    letter-spacing: 0.005em;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.3s var(--ease);
}
.btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: var(--mx);
    top: var(--my);
    width: 260%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--btn-fill, rgba(255, 255, 255, 0.16));
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn .ph { font-size: 1.05em; transition: transform 0.35s var(--ease); }
.btn:hover .ph-arrow-up-right { transform: translate(2px, -2px); }
.btn:hover .ph-arrow-right, .btn:hover .ph-arrow-down { transform: translateX(3px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); --btn-fill: color-mix(in srgb, var(--ink) 8%, transparent); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.34); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size 0.45s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .ph { transition: transform 0.35s var(--ease); }
.link-arrow:hover .ph { transform: translateX(4px); }

.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.round-btn:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.round-btn:active { transform: scale(0.94); }

/* ---------- Brand ---------- */
.wordmark { font: 800 1.55rem/1 "Cabinet Grotesk", "Satoshi", system-ui, sans-serif; letter-spacing: 0.16em; padding-left: 0.16em; display: inline-block; position: relative; }
.wordmark::after { content: ""; display: block; height: 2px; margin-top: 6px; background: linear-gradient(90deg, var(--gold), transparent); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand .logo { height: 46px; width: auto; }

/* ---------- Header ---------- */
.hdr {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    height: var(--hdr-h);
    background: var(--hdr-bg);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hdr.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgb(var(--shadow) / 0.35); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent;
    font: 500 0.95rem/1 var(--font-body); color: var(--ink); text-decoration: none; white-space: nowrap;
    transition: background-color 0.25s, color 0.25s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav-link.is-active { color: var(--accent-ink); }
.nav-link .caret { font-size: 0.8em; transition: transform 0.3s var(--ease); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.hdr-cta { flex: none; }

.menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: var(--z-menu);
    width: max-content;
    min-width: 260px;
    padding: 10px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -24px rgb(var(--shadow) / 0.45), 0 2px 6px rgb(var(--shadow) / 0.06);
    transform-origin: top right;
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), display 0.35s allow-discrete, overlay 0.35s allow-discrete;
}
.menu[hidden] { display: none; opacity: 0; transform: translateY(-6px) scale(0.98); }
@starting-style { .menu:not([hidden]) { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.menu-services { left: -8px; right: auto; transform-origin: top left; }
.menu-title { padding: 8px 12px 10px; font-size: var(--step--1); color: var(--ink-2); }
.co-list { display: grid; gap: 4px; width: 400px; }
.co-item { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background-color 0.2s; }
.co-item:hover { background: var(--surface-2); }
.co-item.is-here { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.co-mark { display: grid; place-items: center; height: 52px; border-radius: 10px; background: var(--surface-2); padding: 6px 8px; overflow: hidden; }
.co-mark img { max-height: 40px; width: auto; }
.co-mark-samco { background: var(--navy-900); color: #fff; }
.co-mark-samco .wordmark { font-size: 0.95rem; }
.co-mark-samco .wordmark::after { margin-top: 4px; }
.co-mark-builders { background: #fff; }
.co-mark-painting { background: #fff; }
.co-text strong { display: block; font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.co-text small { display: block; color: var(--ink-2); font-size: 0.82rem; line-height: 1.4; }
.co-go, .co-here { color: var(--ink-2); }
.co-here { color: var(--accent-ink); }
.svc-menu { display: grid; gap: 2px; min-width: 300px; }
.svc-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; transition: background-color 0.2s; }
.svc-menu a:hover, .svc-menu a[aria-current] { background: var(--surface-2); }
.svc-menu .ph { font-size: 1.2rem; color: var(--accent-ink); }
.dot-swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); flex: none; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); text-decoration: none; }

.menu-toggle { display: none; align-items: center; gap: 10px; margin-left: auto; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: 0.9rem; }
.burger { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); }
.burger i { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: var(--bg); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger i:first-child { top: 12px; }
.burger i:last-child { top: 18px; }
.menu-toggle[aria-expanded="true"] .burger i:first-child { top: 15px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { top: 15px; transform: rotate(-45deg); }

.mnav {
    position: fixed;
    inset: var(--hdr-h) 0 0;
    z-index: var(--z-mnav);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), display 0.45s allow-discrete;
}
.mnav[hidden] { display: none; opacity: 0; transform: translateY(-12px); }
@starting-style { .mnav:not([hidden]) { opacity: 0; transform: translateY(-12px); } }
.mnav-in { width: min(100% - 2 * var(--gutter), 640px); margin: 0 auto; padding: 24px 0 48px; display: grid; gap: 14px; }
.mnav-links a { display: block; padding: 10px 0; font: 700 var(--step-3)/1.1 var(--font-head); text-decoration: none; letter-spacing: -0.02em; }
.mnav-title { margin-top: 18px; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.mnav-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.mnav-svc a { display: block; padding: 8px 0; text-decoration: none; font-weight: 500; }
.mnav-co { display: grid; gap: 8px; }
.mnav-co a { display: block; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; }
.mnav-co a.is-here { border-color: var(--accent); }
.mnav-co strong { display: block; }
.mnav-co small { color: var(--ink-2); }
.mnav-contact { display: grid; gap: 4px; margin-top: 8px; }
.mnav-contact a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; font-weight: 600; }
.mnav-contact small { color: var(--ink-2); font-weight: 400; }
body.mnav-open { overflow: hidden; }

@media (max-width: 1099px) {
    .nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .hdr-cta { margin-left: auto; }
    .hdr-cta + .menu-toggle { margin-left: 0; }
}
@media (max-width: 639px) {
    :root { --hdr-h: 64px; }
    .hdr-cta { display: none; }
    .hdr-cta + .menu-toggle { margin-left: auto; }
    .menu-toggle-label { display: none; }
    .menu-toggle { padding: 0 5px; border: 0; }
    .brand .logo { height: 38px; }
}

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.chip-painting::before { background: conic-gradient(#e23b2e 0 20%, #f39224 0 40%, #f5c01e 0 60%, #16a05a 0 80%, #1f6fd6 0); }
.chip-builders::before { background: var(--navy-700); box-shadow: inset 0 0 0 2px var(--gold); }

/* ---------- Project cards ---------- */
.pcard { display: block; color: inherit; text-decoration: none; }
.pcard-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.pcard-img { display: block; position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: var(--ar, 4 / 3); background: var(--surface-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s var(--ease), filter 0.6s var(--ease); }
.pcard:hover .pcard-img img, .pcard-btn:focus-visible .pcard-img img { transform: scale(1.05); }
.pcard-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 14px 2px 0; }
.pcard-title { font-weight: 600; font-size: 1rem; }
.pcard-cat { font-size: 0.85rem; color: var(--ink-2); }

/* ---------- Testimonials ---------- */
.qcard { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.qcard-mark { font-size: 2rem; color: var(--accent-ink); }
.qcard blockquote p { font-size: var(--step-1); line-height: 1.55; }
.qcard figcaption { margin-top: auto; display: grid; gap: 2px; }
.qcard figcaption span, .quote figcaption span { color: var(--ink-2); font-size: 0.9rem; }

.quotes { display: grid; gap: 36px; }
.quotes-stage { display: grid; }
.quote { grid-area: 1 / 1; }
.quote[hidden] { display: block; visibility: hidden; opacity: 0; }
.quote blockquote p { font: 500 var(--step-3)/1.22 var(--font-head); letter-spacing: -0.015em; max-width: 30ch; text-wrap: balance; }
.quote figcaption { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.quote figcaption strong { font-size: 1.05rem; }
@media (prefers-reduced-motion: no-preference) {
    .quote { transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0.6s; }
    .quote[hidden] { transform: translateY(14px); }
}
.quotes-nav { display: flex; align-items: center; gap: 16px; }
.quotes-dots { display: flex; gap: 8px; }
.quotes-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.quotes-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width 0.4s var(--ease), background-color 0.3s; }
.quotes-dots button[aria-selected="true"]::before { width: 24px; background: var(--accent-ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--step-1); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-icon { border-color: var(--ink); }
.faq-a { padding: 0 60px 24px 0; color: var(--ink-2); max-width: 70ch; }
@supports (interpolate-size: allow-keywords) {
    .faq-item { interpolate-size: allow-keywords; }
    .faq-item::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
    .faq-item[open]::details-content { height: auto; }
}

/* ---------- Forms ---------- */
.qform { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2);
    background: var(--surface);
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error, #c4321f); }
.field-err { min-height: 0; font-size: 0.85rem; color: var(--error, #c4321f); }
.field-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.qform-note { font-size: 0.88rem; color: var(--ink-2); }
.qform-status:empty { display: none; }
.qform-status { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); font-weight: 500; }
.qform-status .ph { font-size: 1.4rem; flex: none; }
.qform-status.is-ok { background: color-mix(in srgb, #16a05a 12%, var(--surface)); color: var(--ink); }
.qform-status.is-ok .ph { color: #16a05a; }
.qform-status.is-err { background: color-mix(in srgb, #c4321f 10%, var(--surface)); }
.qform-status.is-err .ph { color: #c4321f; }
.qform.is-sending button[type="submit"] { pointer-events: none; opacity: 0.7; }
.qform.is-sending button[type="submit"] .ph { animation: spin 0.9s linear infinite; }
.qform.is-sent .field, .qform.is-sent .field-row, .qform.is-sent .qform-foot { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 639px) { .field-row { grid-template-columns: 1fr; } }

/* Contact list */
.clist { display: grid; gap: 18px; }
.clist li { display: flex; gap: 14px; align-items: flex-start; }
.clist-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); color: var(--accent-ink); font-size: 1.15rem; }
.clist small { display: block; color: var(--ink-2); font-size: 0.85rem; }
.clist a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.clist a:hover { text-decoration: underline; }

/* ---------- Contact / quote section (subsidiary sites) ---------- */
.quote-sec .quote-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote-panel { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgb(var(--shadow) / 0.45); }
.quote-aside .h2 { margin-bottom: 18px; }
.quote-aside .lead { margin-bottom: 32px; }
@media (max-width: 899px) { .quote-sec .quote-grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.88rem; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs .ph { font-size: 0.75rem; opacity: 0.6; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 0 var(--sec-y); }
.cta-in { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); border-radius: var(--r-lg); background: var(--accent); color: var(--on-accent); }
.cta-title { font-size: var(--step-4); max-width: 16ch; }
.cta-in p { margin-top: 18px; max-width: 52ch; font-size: var(--step-1); opacity: 0.86; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }

/* ---------- Sister-company band ---------- */
.sister { padding-block: 0 var(--sec-y); }
.sister-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px; padding: 28px clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: var(--navy-900); color: #e9edf3; }
.sister-in .link-arrow { color: var(--gold-soft); }
.sister-logo img { height: 56px; width: auto; }
.sister-painting .sister-in { background: #17191f; }
@media (max-width: 767px) { .sister-in { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-950); color: #b8c2d1; padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 0.95rem; }
.ftr a { color: #e9edf3; text-decoration: none; }
.ftr a:hover { color: var(--gold-soft); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 0.8fr 1.1fr; gap: 40px; }
.ftr-mark { display: inline-block; color: #fff; }
.ftr-mark .wordmark { font-size: 1.9rem; }
.ftr-brand p { margin-top: 20px; max-width: 40ch; line-height: 1.65; }
.ftr-badges { display: flex; gap: 14px; margin-top: 24px; align-items: center; }
.ftr-badges img { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 6px; }
.ftr-h { font: 600 0.78rem/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ftr-list { display: grid; gap: 12px; }
.ftr-co li, .ftr-contact li { display: grid; gap: 2px; }
.ftr-co small, .ftr-contact small { color: #8692a5; font-size: 0.8rem; }
.ftr-contact a, .ftr-contact span { display: inline-flex; align-items: center; gap: 8px; }
.ftr-social { margin-top: 22px; }
.ftr-social-label { display: block; font-size: 0.8rem; color: #8692a5; margin-bottom: 8px; }
.ftr-social ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ftr-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 1.1rem; transition: border-color 0.25s, background-color 0.25s, color 0.25s; }
.ftr-social a:hover { border-color: var(--gold); background: rgba(201, 169, 106, 0.1); }
.i-yelp { width: 1.05rem; height: 1.05rem; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.84rem; color: #8692a5; }
@media (max-width: 999px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .ftr-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Lightbox ---------- */
.lightbox { width: min(96vw, 1400px); max-height: 94dvh; padding: 0; border: 0; border-radius: var(--r); background: #0a0d12; color: #fff; overflow: hidden; }
/* Standalone company footer logo (a company outside the SAMCO family) */
.ftr-mark-co img { display: block; height: 64px; width: auto; max-width: 100%; }
/* Long-form text pages (privacy policy) */
.legal { max-width: 72ch; padding-bottom: clamp(48px, 7vw, 96px); }
.legal h2 { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); margin: 2em 0 0.6em; }
.legal p { color: var(--ink-2); line-height: 1.7; margin: 0 0 1em; }
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ftr-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; }
.lightbox::backdrop { background: rgb(5 8 14 / 0.92); }
.lightbox-cap { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 0.95rem; }
.lightbox-count { color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Photo track: one photo per screen, scroll-snapped so trackpads, swipes and the wheel move through it */
.lightbox-stage { position: relative; }
.lb-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; will-change: scroll-position; scrollbar-width: none; height: calc(94dvh - 64px); outline: none; }
.lightbox.is-album .lb-track { height: calc(94dvh - 172px); }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; contain: paint; }
/* the whole photo always fits the frame (never cropped), whatever its shape */
.lb-slide img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
/* Timeline: every photo in order, joined by a line; the current step is highlighted */
.lb-timeline { display: flex; gap: 14px; margin: 0; padding: 4px 20px 18px; list-style: none; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.25) transparent; }
.lb-timeline li { position: relative; flex: none; }
.lb-timeline li + li::before { content: ""; position: absolute; top: 31px; right: 100%; width: 14px; height: 2px; background: rgb(255 255 255 / 0.22); }
.lb-step { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: rgb(255 255 255 / 0.7); cursor: pointer; }
.lb-step img { width: 84px; height: 62px; object-fit: cover; border-radius: 10px; opacity: 0.5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.25s, outline-color 0.25s; }
.lb-step:hover img { opacity: 0.85; }
.lb-step.is-past img { opacity: 0.75; }
.lb-step.is-on img { opacity: 1; outline-color: #c9a96a; }
.lb-num { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgb(255 255 255 / 0.12); font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-step.is-past .lb-num { background: rgb(201 169 106 / 0.35); color: #fff; }
.lb-step.is-on .lb-num { background: #c9a96a; color: #0a0d12; }
.lb-tag { position: absolute; top: 4px; left: 4px; padding: 2px 7px; border-radius: 999px; background: rgb(10 13 18 / 0.8); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.lightbox-nav:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 640px) {
    .lightbox.is-album .lb-track { height: calc(94dvh - 150px); }
    .lb-step img { width: 64px; height: 48px; }
    .lb-timeline { gap: 10px; padding: 2px 14px 14px; }
    .lb-timeline li + li::before { top: 24px; width: 10px; }
    .lightbox-nav { width: 40px; height: 40px; }
}
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 1.3rem; display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s; }
.lightbox-nav:hover { background: rgb(0 0 0 / 0.8); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.pcard-count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgb(10 13 18 / 0.72); color: #fff; font-size: 0.78rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard-count .ph { font-size: 0.95rem; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(0 0 0 / 0.55); color: #fff; font-size: 1.2rem; display: grid; place-items: center; }
.lightbox[open] { animation: lb-in 0.4s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }

/* ---------- Filters (portfolio pages) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 500; font-size: 0.92rem; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery { columns: 3 300px; column-gap: 24px; }
.gallery > * { break-inside: avoid; margin-bottom: 28px; }
.gallery .pcard-img { aspect-ratio: auto; }
.gallery [hidden] { display: none; }
.empty-note { padding: 40px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px); }
.phero .h1 { max-width: 18ch; }
.phero .lead { margin-top: 22px; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Service pages ---------- */
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc-collage { position: relative; aspect-ratio: 5 / 5.2; }
.svc-collage .c1, .svc-collage .c2 { position: absolute; overflow: hidden; border-radius: var(--r); box-shadow: 0 40px 80px -40px rgb(var(--shadow) / 0.55); }
.svc-collage .c1 { inset: 0 18% 22% 0; }
.svc-collage .c2 { inset: 46% 0 0 34%; border: 6px solid var(--bg); }
.svc-collage img { width: 100%; height: 100%; object-fit: cover; }
.incl { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.incl .ph { color: var(--accent-ink); font-size: 1.25rem; flex: none; margin-top: 1px; }
.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: ap; }
.approach li { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.approach li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent-ink); transition: width 1s var(--ease); }
.approach li.is-in::before { width: 100%; }
.approach h3 { font-size: var(--step-1); line-height: 1.25; margin-bottom: 10px; }
.approach p { color: var(--ink-2); }
.svc-gallery { display: grid; gap: 20px; }
.svc-gallery .pcard:first-child { grid-row: span 2; }
.svc-gallery .pcard:first-child .pcard-img { aspect-ratio: auto; height: calc(100% - 44px); }
.svc-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-split .sec-head { position: sticky; top: calc(var(--hdr-h) + 32px); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; transition: border-color 0.25s, transform 0.35s var(--ease); }
.related a:hover { border-color: var(--accent-ink); transform: translateY(-2px); }
@media (max-width: 899px) {
    .svc-hero-grid, .svc-split { grid-template-columns: 1fr; }
    .svc-split .sec-head { position: static; }
    .svc-gallery { grid-template-columns: 1fr 1fr !important; }
    .svc-gallery .pcard:first-child { grid-column: span 2; grid-row: auto; }
    .svc-gallery .pcard:first-child .pcard-img { aspect-ratio: 16 / 10; height: auto; }
}
@media (max-width: 559px) { .svc-gallery { grid-template-columns: 1fr; } .svc-gallery .pcard:first-child { grid-column: auto; } }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); gap: 28px; }
.person-photo { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; background: var(--surface-2); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person h3 { margin-top: 16px; font-size: var(--step-1); }
.person p { color: var(--ink-2); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
    .js [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
    .js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms + 120ms); }
    .js [data-split].is-in .w > span { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Process track (specialist sites) ---------- */
.proc-track { --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.proc-track::before, .proc-track::after { content: ""; position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--line-2); }
.proc-track::after { background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io) 0.2s; }
.proc-track.is-in::after { transform: scaleX(1); }
.proc-step { position: relative; z-index: 1; }
.proc-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sw, var(--accent-ink)); color: var(--sw, var(--accent-ink)); font-size: 1.6rem; margin-bottom: 22px; transform: scale(0.6); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s; transition-delay: calc(var(--i) * 0.28s + 0.2s); }
.proc-track.is-in .proc-ic, html:not(.js) .proc-ic { transform: none; opacity: 1; }
.proc-step h3 { font-size: var(--step-1); line-height: 1.25; margin-bottom: 8px; }
.proc-step p { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .proc-ic { transform: none; opacity: 1; } }
@media (max-width: 899px) {
    .proc-track { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
    .proc-track::before, .proc-track::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; transform-origin: top; }
    .proc-track::after { transform: scaleY(0); }
    .proc-track.is-in::after { transform: scaleY(1); }
    .proc-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
    .proc-ic { grid-row: span 2; margin: 0; }
}

/* ---------- Project rail ---------- */
.rail-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.rail-head .sec-head { margin-bottom: 0; }
.rail-ctrl { display: flex; gap: 10px; margin-bottom: 6px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 400px); gap: 22px; margin-top: clamp(32px, 4vw, 48px); padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { scroll-snap-align: start; }
.rail-card .pcard-img { --ar: 4 / 5; }
@media (max-width: 639px) { .rail-ctrl .round-btn { display: none; } }

/* ---------- Small shared utilities ---------- */
.sec-tight { padding-block: clamp(40px, 5vw, 72px); }
.sec-flush { padding-top: 0; }
.crumbs-wrap { padding-top: clamp(28px, 4vw, 48px); }
.crumbs-wrap + .quote-sec { padding-top: clamp(16px, 2vw, 24px); }
.rel-title { margin-bottom: 20px; }
.quote-lic { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--ink-2); font-size: 0.9rem; }
.svc-gal-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.svc-gal-head .sec-head { margin-bottom: 0; }
.svc-quote blockquote p { font-size: var(--step-0); }
.svc-gallery { grid-template-columns: 1.35fr 1fr; }
.svc-gallery .pcard:first-child .pcard-img { height: calc(100% - 46px); }
@media (max-width: 899px) { .svc-gal-head { grid-template-columns: 1fr; } }
.mnav-open .hdr, .mnav-open.hdr-overlay .hdr:not(.is-stuck) { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Ecosystem signatures: scroll progress and the footer wordmark ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: calc(var(--z-header) + 1); height: 2px; background: var(--progress, var(--accent)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) { .progress { animation: progress-grow linear both; animation-timeline: scroll(root); } }
}
@supports not (animation-timeline: scroll()) { .progress { display: none; } }
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }
@keyframes progress-grow { to { transform: scaleX(1); } }
.ftr-giant { margin: clamp(32px, 5vw, 56px) 0 -0.06em; padding-left: 0.08em; font: 800 clamp(4.5rem, 21vw, 19rem)/0.78 "Cabinet Grotesk", "Satoshi", sans-serif; letter-spacing: 0.08em; text-align: center; white-space: nowrap; overflow: hidden; user-select: none; background: linear-gradient(180deg, rgb(201 169 106 / 0.55), rgb(201 169 106 / 0.04) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Process track: motion layer (same as the corporate homepage process) ----------
   Each site sets --track (line color) and per-step --sw / --act-bg / --act-fg. */
.proc-track::after { background: var(--track, var(--accent-ink)); }
.proc-ic { position: relative; }
.proc-ic::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--act-bg, var(--sw, var(--accent-ink))); opacity: 0; pointer-events: none; }
.proc-step h3 { background: linear-gradient(var(--act-bg, var(--sw, var(--accent-ink))), var(--act-bg, var(--sw, var(--accent-ink)))) 0 100% / 0 3px no-repeat; padding-bottom: 6px; justify-self: start; width: fit-content; transition: background-size 0.7s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
    /* Titles and text follow their icon in */
    .js .proc-step h3, .js .proc-step p { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), background-size 0.7s var(--ease); transition-delay: calc(var(--i) * 0.28s + 0.45s); }
    .js .proc-track.is-in .proc-step h3, .js .proc-track.is-in .proc-step p { opacity: 1; transform: none; }
    .js .proc-track.is-live .proc-step h3, .js .proc-track.is-live .proc-step p { transition-delay: 0s; }

    /* A highlight travels along the line */
    .proc-track::after { background-image: linear-gradient(90deg, transparent 44%, rgb(255 255 255 / 0.85) 50%, transparent 56%), var(--track, linear-gradient(var(--accent-ink), var(--accent-ink))); background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; background-position: 100% 0, 0 0; }
    .proc-track.is-live::after { animation: proc-shimmer 3.6s linear infinite; }

    /* The active step lifts, fills with its color, and pulses */
    .proc-track.is-live .proc-ic { transition: transform 0.7s var(--ease), background-color 0.6s, color 0.6s, box-shadow 0.6s; transition-delay: 0s; }
    .proc-step.is-active .proc-ic { transform: translateY(-6px) scale(1.06); background: var(--act-bg, var(--sw, var(--accent-ink))); color: var(--act-fg, #fff); box-shadow: 0 22px 40px -14px color-mix(in srgb, var(--act-bg, var(--sw, var(--accent-ink))) 75%, transparent); }
    .proc-step.is-active .proc-ic::after { animation: proc-ring 1.8s var(--ease) infinite; }
    .proc-step.is-active .proc-ic .ph { animation: proc-bob 0.9s var(--ease); }
    .proc-step.is-active h3 { background-size: 100% 3px; }
    .proc-step.is-active p { color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) { .proc-track.is-live::after { animation: none; } }
@keyframes proc-shimmer { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
@keyframes proc-ring { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes proc-bob { 0% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-3px) rotate(-8deg); } 100% { transform: translateY(0) rotate(0); } }
.svc-collage.is-single .c1 { inset: 0; }
