/* Shared layouts for Hich Web service, company and conversion pages. */

.service-document main { overflow: clip; }

.service-hero {
    position: relative;
    min-height: 86svh;
    padding: clamp(8.5rem, 15vh, 11rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    border-bottom: 2px solid var(--line);
}

.service-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
}
.service-hero-grid > * { min-width: 0; }

.breadcrumb {
    display: flex;
    margin: 0 0 clamp(2.5rem, 7vh, 5rem);
    padding: 0;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    color: var(--muted);
    font: 600 0.68rem/1.5 var(--mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; color: var(--line-soft); }
.breadcrumb a:hover { color: var(--accent-strong); }

.service-eyebrow { display: flex; margin-bottom: 1.35rem; align-items: center; gap: 0.75rem; color: var(--accent-strong); }
.service-eyebrow::before { content: ""; width: 2.8rem; height: 2px; background: currentColor; }

.service-display {
    max-width: 59rem;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(4.5rem, 9vw, 9rem);
    font-weight: 700;
    line-height: 0.87;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.service-display span { display: block; color: var(--accent-strong); }
.service-hero-copy { max-width: 44rem; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.35rem); }
.service-hero-actions { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: 1rem; align-items: center; }

.service-visual {
    position: relative;
    min-height: 31rem;
    padding: 1rem;
    overflow: hidden;
    border: 2px solid var(--line);
    background: var(--ink);
    color: var(--bg);
    box-shadow: 0.75rem 0.75rem 0 var(--accent);
}

.visual-topline { display: flex; padding-bottom: 0.9rem; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--bg) 28%, transparent); }
.visual-topline span:last-child { color: var(--accent); }

.solution-map { position: relative; display: grid; min-height: 26rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-content: center; }
.solution-map::before, .solution-map::after { content: ""; position: absolute; background: color-mix(in srgb, var(--bg) 22%, transparent); }
.solution-map::before { top: 50%; right: 12%; left: 12%; height: 1px; }
.solution-map::after { top: 14%; bottom: 14%; left: 50%; width: 1px; }
.map-node {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 7rem;
    padding: 0.9rem;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid color-mix(in srgb, var(--bg) 45%, transparent);
    background: var(--ink);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.map-node strong { font-family: var(--display); font-size: 1.65rem; line-height: 1; text-transform: uppercase; }
.map-node small { color: color-mix(in srgb, var(--bg) 65%, transparent); font: 600 0.6rem/1.4 var(--mono); text-transform: uppercase; }
.map-node.is-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.map-node.is-accent small { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }
@media (hover: hover) { .map-node:hover { z-index: 2; transform: translate(-3px, -3px); background: var(--accent); color: var(--accent-ink); } }

.service-proofline {
    border-bottom: 2px solid var(--line);
    background: var(--surface);
}
.service-proofline-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-cell { min-height: 7.5rem; padding: 1.2rem; border-right: 1px solid var(--line-soft); }
.proof-cell:first-child { border-left: 1px solid var(--line-soft); }
.proof-cell span { display: block; margin-bottom: 0.5rem; color: var(--accent-strong); }
.proof-cell strong { display: block; font-family: var(--display); font-size: 1.65rem; line-height: 1.1; text-transform: uppercase; }

.page-jump {
    position: sticky;
    top: var(--sticky-header-offset, var(--header-height, 5rem));
    z-index: 45;
    overflow-x: auto;
    border-bottom: 2px solid var(--line);
    background: color-mix(in srgb, var(--bg) 93%, transparent);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
    transition: top 280ms ease;
}
.page-jump::-webkit-scrollbar { display: none; }
.page-jump-inner { display: flex; min-width: max-content; align-items: center; }
.page-jump .jump-label { align-self: stretch; display: flex; padding: 0.95rem 1.25rem 0.95rem 0; align-items: center; color: var(--muted); }
.page-jump a { position: relative; display: flex; min-height: 3.5rem; padding: 0.85rem 1.15rem; align-items: center; border-left: 1px solid var(--line-soft); font: 600 0.66rem/1 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.page-jump a:hover, .page-jump a[aria-current="location"] { background: var(--ink); color: var(--bg); }

.seo-answer {
    padding-block: clamp(3rem, 6vw, 5rem);
    border-bottom: 2px solid var(--line);
    background: var(--accent);
    color: var(--accent-ink);
}
.seo-answer > .section-shell { display: grid; grid-template-columns: minmax(9rem, 0.3fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); }
.seo-answer h2 { max-width: 65rem; margin: 0 0 1rem; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1; text-transform: uppercase; }
.seo-answer p { max-width: 60rem; margin: 0; font-size: 1.1rem; }

.service-section { padding-block: var(--section-space); border-bottom: 2px solid var(--line); }
.service-section.alt { background: var(--surface); }
.service-section.dark { background: var(--black); color: var(--white); }
.service-note { max-width: 62rem; margin: 2rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--muted); }
.service-note a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.service-section-heading {
    display: grid;
    grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 7rem);
    margin-bottom: clamp(3rem, 7vw, 6rem);
}
.service-section-heading .mono { padding-top: 0.7rem; color: var(--muted); }
.dark .service-section-heading .mono { color: #aaa9a6; }
.service-section-heading h2 { max-width: 67rem; margin-bottom: 1.2rem; font-family: var(--display); font-size: clamp(3.1rem, 6.3vw, 6.4rem); font-weight: 600; line-height: 0.96; letter-spacing: -0.035em; text-transform: uppercase; }
.service-section-heading > div > p { max-width: 48rem; margin: 0; color: var(--muted); font-size: 1.14rem; }
.dark .service-section-heading > div > p { color: #aaa9a6; }

.outcome-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--line); }
.outcome-card { display: flex; min-height: 22rem; padding: 1.4rem; flex-direction: column; border-right: 2px solid var(--line); }
.outcome-card:last-child { border-right: 0; }
.outcome-card .mono { color: var(--accent-strong); }
.outcome-card h3 { margin: auto 0 0.85rem; font-family: var(--display); font-size: clamp(1.8rem, 2.7vw, 2.8rem); line-height: 1; text-transform: uppercase; }
.outcome-card p { margin: 0; color: var(--muted); }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.capability-card { display: flex; min-height: 21rem; padding: 1.5rem; flex-direction: column; border: 2px solid var(--line); background: var(--bg); transition: transform 180ms ease, box-shadow 180ms ease; }
.capability-card .cap-icon { display: grid; width: 3rem; aspect-ratio: 1; place-items: center; border: 1.5px solid var(--line); font: 700 0.72rem/1 var(--mono); }
.capability-card h3 { margin: auto 0 0.8rem; font-family: var(--display); font-size: 2.3rem; line-height: 1; text-transform: uppercase; }
.capability-card p { color: var(--muted); }
.capability-card ul { margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--line-soft); list-style: none; color: var(--muted); font-size: 0.91rem; }
.capability-card li + li { margin-top: 0.3rem; }
.capability-card li::before { content: "↳ "; color: var(--accent-strong); }
@media (hover: hover) { .capability-card:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--line); } }

.feature-matrix { width: 100%; border-collapse: collapse; border: 2px solid var(--line); }
.feature-matrix th, .feature-matrix td { padding: 1rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.feature-matrix th { background: var(--ink); color: var(--bg); font: 600 0.68rem/1.4 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; }
.feature-matrix th:last-child, .feature-matrix td:last-child { border-right: 0; }
.feature-matrix tr:last-child td { border-bottom: 0; }
.feature-matrix td:first-child { font-weight: 700; }
.feature-matrix td:not(:first-child) { color: var(--muted); }
.outcome-grid + .feature-matrix { margin-top: clamp(2rem, 4vw, 4rem); }
.matrix-check { color: var(--accent-strong); font-weight: 700; }

.workflow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.workflow-card { position: relative; min-height: 18rem; padding: 1.25rem; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; border-right: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.workflow-card:first-child { border-left: 2px solid currentColor; }
.workflow-card:last-child { border-right: 2px solid currentColor; }
.workflow-card .mono { color: var(--accent); }
.workflow-card h3 { margin: 5rem 0 0.75rem; font-family: var(--display); font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.workflow-card p { color: #aaa9a6; font-size: 0.93rem; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--line); }
.industry-card { min-height: 12rem; padding: 1.3rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.industry-card:nth-child(3n + 1) { border-left: 1px solid var(--line-soft); }
.industry-card h3 { margin: 2.2rem 0 0.5rem; font-family: var(--display); font-size: 1.75rem; text-transform: uppercase; }
.industry-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.tech-board { display: grid; grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.tech-board h2 { font-family: var(--display); font-size: clamp(3.2rem, 5.7vw, 6rem); line-height: 0.95; text-transform: uppercase; }
.tech-board > div > p { color: var(--muted); }
.tech-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--line); }
.tech-item { min-height: 8.5rem; padding: 1rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.tech-item:nth-child(2n) { border-right: 0; }
.tech-item:nth-last-child(-n + 2) { border-bottom: 0; }
.tech-item span { color: var(--accent-strong); }
.tech-item strong { display: block; margin-top: 1.7rem; font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; }

.solution-builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr); gap: 1.5rem; align-items: start; }
.builder-form { border-top: 2px solid var(--line); }
.builder-step { padding: 1.5rem 0; border-bottom: 2px solid var(--line); }
.builder-step h3 { margin-bottom: 1rem; font-size: 1.05rem; }
.builder-step h3 .mono { display: inline-block; min-width: 5.5rem; color: var(--accent-strong); }
.builder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
.builder-option { position: relative; }
.builder-option input { position: absolute; opacity: 0; pointer-events: none; }
.builder-option span { display: flex; min-height: 3.4rem; padding: 0.75rem 0.9rem; align-items: center; border: 1.5px solid var(--line); font-weight: 600; }
.builder-option span::before { content: "□"; margin-right: 0.7rem; font-family: var(--mono); }
.builder-option input:checked + span { background: var(--ink); color: var(--bg); }
.builder-option input:checked + span::before { content: "■"; color: var(--accent); }
.builder-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.builder-summary { position: sticky; top: 10rem; padding: 1.4rem; background: var(--ink); color: var(--bg); box-shadow: 0.65rem 0.65rem 0 var(--accent); }
.builder-summary-top { display: flex; padding-bottom: 1rem; justify-content: space-between; gap: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--bg) 28%, transparent); }
.builder-summary-top p { margin: 0; }
.builder-summary-top span { color: var(--accent); }
.builder-summary h3 { margin: 1.5rem 0 0.7rem; font-family: var(--display); font-size: 2.5rem; line-height: 1; text-transform: uppercase; }
.builder-summary > p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.builder-output-list { margin: 1.2rem 0; padding: 1rem 0; border-block: 1px solid color-mix(in srgb, var(--bg) 28%, transparent); list-style: none; }
.builder-output-list li + li { margin-top: 0.4rem; }
.builder-output-list li::before { content: "↳ "; color: var(--accent); }
.builder-summary-actions { display: grid; gap: 0.7rem; }
.builder-summary-actions .button { width: 100%; }
.builder-summary-actions .text-button { justify-self: start; color: var(--bg); }

.faq-detail { border-top: 2px solid var(--line); }
.faq-detail:last-child { border-bottom: 2px solid var(--line); }
.faq-detail summary { display: flex; min-height: 5.5rem; padding: 1.2rem 0; align-items: center; justify-content: space-between; gap: 2rem; cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.45rem, 2.4vw, 2.2rem); text-transform: uppercase; }
.faq-detail summary::-webkit-details-marker { display: none; }
.faq-detail summary::after { content: "+"; font-family: var(--body); font-size: 1.8rem; font-weight: 400; transition: transform 180ms ease; }
.faq-detail[open] summary::after { transform: rotate(45deg); }
.faq-detail > div { max-width: 55rem; padding: 0 3rem 1.5rem 0; color: var(--muted); }
.faq-detail > div p:last-child { margin-bottom: 0; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-card { display: flex; min-height: 17rem; padding: 1.3rem; flex-direction: column; border: 2px solid var(--line); }
.related-card span { color: var(--accent-strong); }
.related-card h3 { margin: auto 0 0.65rem; font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.related-card p { color: var(--muted); }
.related-card b { align-self: flex-end; font-size: 1.5rem; }
.related-card:hover { background: var(--ink); color: var(--bg); }
.related-card:hover p { color: color-mix(in srgb, var(--bg) 68%, transparent); }

.service-cta { border-bottom: 2px solid var(--black); background: var(--accent); color: var(--accent-ink); }
.service-cta-inner { display: grid; min-height: 24rem; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.service-cta h2 { max-width: 60rem; margin: 1rem 0 0; font-family: var(--display); font-size: clamp(3.8rem, 8vw, 8rem); line-height: 0.9; text-transform: uppercase; }
.service-cta .cta-arrow { font-size: clamp(4rem, 9vw, 9rem); transition: transform 180ms ease; }
.service-cta a:hover .cta-arrow, .service-cta-inner:hover .cta-arrow { transform: translate(0.6rem, -0.6rem); }

/* Service directory hub */
.hub-hero .service-display { max-width: 77rem; }
.service-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--line); }
.directory-card { display: grid; min-height: 25rem; padding: 1.5rem; grid-template-rows: auto 1fr auto; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.directory-card:nth-child(2n + 1) { border-left: 2px solid var(--line); }
.directory-card .directory-top { display: flex; justify-content: space-between; gap: 1rem; }
.directory-card .directory-top span:last-child { color: var(--accent-strong); }
.directory-card h2 { align-self: end; margin: 3rem 0 0.8rem; font-family: var(--display); font-size: clamp(2.7rem, 4.5vw, 4.7rem); line-height: 0.95; text-transform: uppercase; }
.directory-card p { max-width: 35rem; color: var(--muted); }
.directory-card .directory-bottom { display: flex; padding-top: 1rem; align-items: end; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-soft); }
.directory-card .directory-bottom span { max-width: 80%; font: 600 0.66rem/1.5 var(--mono); text-transform: uppercase; }
.directory-card b { font-size: 2rem; font-weight: 400; }
.directory-card:hover { background: var(--ink); color: var(--bg); }
.directory-card:hover p, .directory-card:hover .directory-top span:last-child { color: var(--accent); }

.matcher { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr); gap: 1.5rem; }
.matcher-questions { border-top: 2px solid var(--line); }
.matcher-question { padding: 1.4rem 0; border-bottom: 2px solid var(--line); }
.matcher-question h3 { margin-bottom: 0.9rem; }
.matcher-result { position: sticky; top: 10rem; min-height: 22rem; padding: 1.5rem; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--black); box-shadow: 0.7rem 0.7rem 0 var(--black); }
.matcher-result h3 { margin: 2rem 0 0.8rem; font-family: var(--display); font-size: clamp(2.5rem, 4vw, 4.2rem); line-height: 0.95; text-transform: uppercase; }
.matcher-result .button { margin-top: 1.5rem; }

/* About and contact page utilities */
.identity-grid { display: grid; grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr); gap: clamp(3rem, 9vw, 9rem); }
.identity-card { padding: 1.5rem; border: 2px solid var(--line); background: var(--surface); }
.identity-card dl { margin: 0; }
.identity-card dl div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
.identity-card dl div:last-child { border-bottom: 0; }
.identity-card dt { color: var(--muted); font: 600 0.65rem/1.5 var(--mono); text-transform: uppercase; }
.identity-card dd { margin: 0; font-weight: 600; }
.principle-list { border-top: 2px solid var(--line); }
.principle-item { display: grid; grid-template-columns: 3rem 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 2px solid var(--line); }
.principle-item > span { color: var(--accent-strong); }
.principle-item h3 { margin-bottom: 0.5rem; font-family: var(--display); font-size: 2.2rem; text-transform: uppercase; }
.principle-item p { margin: 0; color: var(--muted); }

.standalone-contact { display: grid; grid-template-columns: minmax(18rem, 0.7fr) minmax(25rem, 1.1fr); gap: clamp(3rem, 9vw, 9rem); }
.contact-channel-grid { display: grid; gap: 0.7rem; }
.contact-channel { display: grid; grid-template-columns: 5rem 1fr auto; gap: 1rem; padding: 1rem 0; align-items: center; border-bottom: 1px solid var(--line-soft); }
.contact-channel span { color: var(--muted); }
.contact-channel strong { font-size: 1.05rem; }

@media (max-width: 1100px) {
    .service-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr); gap: 3rem; }
    .outcome-grid { grid-template-columns: repeat(2, 1fr); }
    .outcome-card { border-bottom: 2px solid var(--line); }
    .outcome-card:nth-child(2) { border-right: 0; }
    .outcome-card:nth-child(n + 3) { border-bottom: 0; }
    .capability-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workflow-grid { grid-template-columns: repeat(3, 1fr); }
    .workflow-card:nth-child(3) { border-right: 2px solid currentColor; }
    .workflow-card:nth-child(n + 4) { border-top: 0; }
    .workflow-card:nth-child(4) { border-left: 2px solid currentColor; }
    .workflow-card:last-child { grid-column: span 2; }
}

@media (max-width: 860px) {
    .service-hero { min-height: auto; padding-top: 7.5rem; }
    .service-hero-grid, .seo-answer > .section-shell, .service-section-heading, .tech-board, .solution-builder, .matcher, .identity-grid, .standalone-contact { grid-template-columns: 1fr; }
    .service-display { font-size: clamp(4.2rem, 20vw, 7rem); }
    .service-visual { min-height: 25rem; }
    .service-proofline-inner { grid-template-columns: repeat(2, 1fr); }
    .proof-cell:nth-child(2) { border-right: 0; }
    .proof-cell:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
    .service-section-heading { gap: 1.1rem; }
    .service-section-heading .mono { padding-top: 0; }
    .capability-grid, .related-grid { grid-template-columns: 1fr; }
    .capability-card { min-height: 18rem; }
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-card, .workflow-card:nth-child(3), .workflow-card:nth-child(4), .workflow-card:last-child { grid-column: auto; border: 2px solid currentColor; border-bottom: 0; }
    .workflow-card:last-child { border-bottom: 2px solid currentColor; }
    .workflow-card h3 { margin-top: 2.7rem; }
    .industry-grid { grid-template-columns: 1fr; }
    .industry-card, .industry-card:nth-child(3n + 1) { border-inline: 1px solid var(--line-soft); }
    .tech-list { grid-template-columns: 1fr; }
    .tech-item, .tech-item:nth-child(2n), .tech-item:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .tech-item:last-child { border-bottom: 0; }
    .builder-summary, .matcher-result { position: static; }
    .service-directory { grid-template-columns: 1fr; }
    .directory-card, .directory-card:nth-child(2n + 1) { border-inline: 2px solid var(--line); }
    .service-cta-inner { min-height: 19rem; }
    .service-cta h2 { font-size: clamp(3.4rem, 15vw, 5.5rem); }
}

/* Dense comparison tables become labelled cards on narrow screens. The
   original table, headings and caption stay in the accessibility tree. */
@media (max-width: 800px) {
    .matrix-wrap.stacked-table-wrap,
    .guide-table-wrap.stacked-table-wrap {
        max-width: 100%;
        margin-inline: 0;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .feature-matrix.is-stacked-table,
    .guide-table.is-stacked-table {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: visible;
        border: 0;
        background: transparent;
        white-space: normal;
    }

    .is-stacked-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .is-stacked-table tbody {
        display: grid;
        gap: 1rem;
    }

    .is-stacked-table tbody tr {
        display: grid;
        min-width: 0;
        overflow: hidden;
        border: 2px solid var(--line);
        background: var(--bg);
        box-shadow: 0.35rem 0.35rem 0 var(--accent);
    }

    .feature-matrix.is-stacked-table tbody th,
    .feature-matrix.is-stacked-table tbody td,
    .guide-table.is-stacked-table tbody th,
    .guide-table.is-stacked-table tbody td {
        display: grid;
        min-width: 0;
        padding: 0.85rem;
        grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 1fr);
        gap: 0.8rem;
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
        background: transparent;
        color: var(--ink);
        font-weight: 400;
        overflow-wrap: anywhere;
    }

    .feature-matrix.is-stacked-table tbody tr > :last-child,
    .guide-table.is-stacked-table tbody tr > :last-child { border-bottom: 0; }

    .is-stacked-table tbody th::before,
    .is-stacked-table tbody td::before {
        content: attr(data-label);
        color: var(--accent-strong);
        font: 700 0.61rem/1.4 var(--mono);
        letter-spacing: 0.035em;
        text-transform: uppercase;
    }

    .feature-matrix.is-stacked-table tbody tr > :first-child,
    .guide-table.is-stacked-table tbody tr > :first-child {
        background: var(--ink);
        color: var(--bg);
        font-weight: 700;
    }

    .feature-matrix.is-stacked-table tbody tr > :first-child::before,
    .guide-table.is-stacked-table tbody tr > :first-child::before { color: var(--accent); }

    .feature-matrix.is-stacked-table td:not(:first-child) { color: var(--muted); }
}

@media (max-width: 560px) {
    .breadcrumb { margin-bottom: 2rem; }
    .service-display { font-size: clamp(3rem, 15vw, 5rem); }
    .service-hero-actions { align-items: stretch; flex-direction: column; }
    .service-hero-actions .button { width: 100%; }
    .service-visual { min-height: 22rem; }
    .solution-map { min-height: 19rem; }
    .map-node { min-height: 5.5rem; }
    .map-node strong { font-size: 1.25rem; }
    .service-proofline-inner { grid-template-columns: 1fr; }
    .proof-cell, .proof-cell:first-child { min-height: 5.5rem; border-inline: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
    .proof-cell:last-child { border-bottom: 0; }
    .proof-cell:nth-child(n + 3) { border-top: 0; }
    .page-jump .jump-label { display: none; }
    .seo-answer { padding-inline: 0; }
    .outcome-grid { grid-template-columns: 1fr; }
    .outcome-card, .outcome-card:nth-child(2), .outcome-card:nth-child(n + 3) { min-height: 16rem; border-right: 0; border-bottom: 2px solid var(--line); }
    .outcome-card:last-child { border-bottom: 0; }
    .builder-options { grid-template-columns: 1fr; }
    .feature-matrix { display: block; overflow-x: auto; white-space: normal; }
    .feature-matrix th, .feature-matrix td { min-width: 10rem; }
    .service-cta-inner { grid-template-columns: 1fr auto; gap: 1rem; }
    .service-cta .cta-arrow { font-size: 3rem; }
    .identity-card dl div { grid-template-columns: 1fr; gap: 0.2rem; }
    .contact-channel { grid-template-columns: 4rem 1fr auto; }
}

@media (max-width: 480px) {
    .feature-matrix.is-stacked-table tbody th,
    .feature-matrix.is-stacked-table tbody td,
    .guide-table.is-stacked-table tbody th,
    .guide-table.is-stacked-table tbody td {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}
