.site-header { position: sticky; z-index: 5; top: 0; background: #000b; backdrop-filter: blur(16px); }
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 32px; font-family: var(--font-display); }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font: 750 1.3125rem/1.2 var(--font-display);
    letter-spacing: -.04em;
    white-space: nowrap;
}
.brand img { display: block; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .875rem; font-weight: 650; letter-spacing: -.015em; }
.nav-links a:hover, .nav-links summary:hover, .site-footer a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--text); }
.solutions-menu { position: relative; }
summary { cursor: pointer; }
.solutions-menu summary { display: flex; align-items: center; gap: 7px; list-style: none; }
.solutions-menu summary::-webkit-details-marker { display: none; }
.nav-chevron { display: grid; flex: 0 0 14px; place-items: center; height: 14px; }
.nav-chevron::before {
    content: "";
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
}
.solutions-menu[open] .nav-chevron::before { transform: translateY(2px) rotate(225deg); }
.nav-dropdown { position: absolute; z-index: 2; top: calc(100% + 14px); min-width: 240px; background: var(--panel); border: 1px solid var(--line); padding: 8px; }
@media (min-width: 871px) {
    /* Keep the dropdown reachable across the gap below its trigger. */
    .nav-dropdown::before { content: ""; position: absolute; inset: -15px 0 auto; height: 15px; }
}
.nav-dropdown a { display: block; padding: 10px; color: var(--text); }
.nav-dropdown small { display: block; margin-top: 4px; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 13px 24px; background: var(--brand-red); color: #fff; font-family: var(--font-display); font-size: .9rem; font-weight: 700; }
.button:hover { background: #af2517; }
.header-cta { margin-left: auto; padding-block: 9px; }
.menu-toggle { background: var(--panel); color: var(--text); border: 1px solid var(--line); padding: 9px 14px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 10; transform: translateY(-160%); padding: 10px; background: #fff; color: #000; }
.skip-link:focus { transform: none; }
.text-link { display: inline-block; color: var(--accent); font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.principles { background: #f7f7f7; }
.principles article { padding: clamp(25px, 3.125vw, 40px); }
.principles article + article { border-top: 1px dashed #deb5af; }
.principle-mark { display: block; color: var(--accent); margin-bottom: 12px; font-size: 1.65rem; line-height: 1; }
.principles h3, .insight-body h3 { font-size: 1.1875rem; letter-spacing: -.02em; }
.principles p { margin-top: 10px; }
.solution-card { padding: clamp(24px, 3.75vw, 48px); background: var(--panel); }
.solution-card:hover, .solution-card:target, .solution-card.is-open { background: #251b19; }
.solution-heading { display: flex; align-items: start; gap: 16px; margin-bottom: 18px; }
.card-index { color: var(--accent); font-size: 2rem; line-height: 1; font-weight: 700; letter-spacing: -.055em; }
.solution-card h3 { margin-bottom: 4px; font-size: 1.25rem; letter-spacing: -.02em; }
.solution-card > p { color: #dedede; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0; }
.tags li { padding: 5px 10px; background: #292929; font-size: .78rem; color: #d6cdca; }
.card-details { padding-top: 16px; border-top: 1px solid var(--line); }
.card-details summary, .card-details a { color: var(--accent); font-weight: 700; }
.card-details p { margin: 12px 0; }
.scenario-card { display: flex; flex-direction: column; align-items: start; padding: clamp(28px, 3.75vw, 48px); background: #fafafa; }
.scenario-card .eyebrow { margin-bottom: 16px; }
.scenario-card h3 { margin-bottom: 8px; font-size: 1.75rem; font-weight: 750; letter-spacing: -.02em; }
.scenario-subtitle { margin-bottom: 24px; font-size: .875rem; }
.scenario-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--muted); line-height: 1.55; }
.scenario-card .text-link { margin-top: auto; padding-top: 24px; }
.scenario-featured { color: #fff; background: var(--brand-red); --accent: #fff; --muted: #fff; }
.scenario-featured :focus-visible { outline-color: #fff; }
.insight-card { background: var(--panel); border: 1px solid var(--line); }
.insight-art { aspect-ratio: 2.3; background-color: #21110f; }
.art-access {
    background-image: radial-gradient(circle at 68% 65%, #d03922, transparent 2.5%, #8b2c1e 3%, transparent 4%), repeating-radial-gradient(circle at 68% 65%, #0000 0 15px, #f554363d 16px 17px, #0000 18px 28px), linear-gradient(120deg, #0d0d0d, #461e16);
}
.art-controls {
    background-image: repeating-linear-gradient(0deg, #ffffff16 0 1px, transparent 1px 18px), repeating-linear-gradient(90deg, #ffffff16 0 1px, transparent 1px 18px), radial-gradient(ellipse at 25% 75%, #833323, #1b1110 68%);
}
.art-response {
    background-image: repeating-linear-gradient(125deg, #ff553b00 0 19px, #ff553b38 20px 21px, #ff553b00 22px 29px), linear-gradient(125deg, #121212 15%, #4d2018 52%, #121212);
}
.insight-body { padding: 24px; }
.insight-body .eyebrow { margin-bottom: 7px; font-size: .72rem; }
.insight-body .text-link { margin-top: 18px; font-size: .9rem; }
.insights-hero {
    padding-block: clamp(80px, 10.75vw, 144px) var(--section-space);
    background: radial-gradient(ellipse 36% 76% at 50% 47%, #210d08, transparent 82%), #000;
}
.insights-hero .eyebrow { margin-bottom: 16px; }
.insights-hero h1 { max-width: 740px; font-size: clamp(40px, 6.1vw, 80px); line-height: .98; }
.insights-lead { max-width: 680px; margin-top: 28px; font-size: clamp(1rem, 1.45vw, 1.1875rem); line-height: 1.6; }
.insights-library { background: var(--surface); }
.insights-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.insights-filters a {
    padding: 10px 16px;
    background: var(--panel);
    color: var(--muted);
    font-size: .875rem;
    font-weight: 650;
}
.insights-filters a:hover { color: var(--text); }
.insights-filters a[aria-current="true"] { background: var(--brand-red); color: #fff; }
.insights-filter-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.insights-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insights-entry {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 242px;
    gap: 12px;
    padding: clamp(24px, 2.5vw, 32px);
    transition: background-color .2s ease;
}
.insights-entry:where(:nth-child(odd of :not([hidden]))) { background: var(--panel); }
.insights-entry:hover, .insights-entry:focus-visible { background: #242424; }
.insights-entry:focus-visible { outline-offset: -3px; }
.insights-entry .eyebrow { font-size: .75rem; }
.insights-entry h2 { font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.015em; }
.insights-entry:hover h2, .insights-entry:focus-visible h2 { color: var(--accent); }
.insights-entry-summary { font-size: 1rem; line-height: 1.6; }
.insights-meta { margin-top: auto; font-size: .8125rem; color: var(--muted); }
.insights-more { margin-top: 48px; text-align: center; }
.insights-more .button { background: #242424; }
.insights-more .button:hover { background: #333; }
.insights-home-link { margin-top: 24px; }
.insights-feature { padding-block: clamp(56px, 6.25vw, 80px); }
.insights-feature h2 { max-width: 430px; }
.insights-feature-card { padding: clamp(24px, 4vw, 48px); background: #f7f7f7; }
.insights-feature-card h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.insights-feature-card .button { margin-top: 24px; }
.insights-contact { padding-block: clamp(56px, 6.25vw, 80px); text-align: center; }
.insights-contact h2 { margin-bottom: 24px; font-size: clamp(1.25rem, 2.3vw, 1.75rem); }
.insights-article-hero { padding-block: clamp(64px, 9vw, 112px); }
.insights-article-hero h1 { font-size: clamp(36px, 5vw, 64px); }
.insights-back { margin-bottom: 28px; }
.insights-article-copy { max-width: 720px; margin-inline: auto; }
.insights-article-copy h2 { margin-bottom: 12px; font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
.insights-article-copy p { margin-bottom: 32px; font-size: 1.0625rem; }
@media (max-width: 1023px) {
    .insights-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .insights-entry:where(:nth-child(4n + 3 of :not([hidden]))) { background: transparent; }
    .insights-entry:where(:nth-child(4n of :not([hidden]))) { background: var(--panel); }
}
@media (max-width: 639px) {
    .insights-articles { grid-template-columns: 1fr; }
    .insights-entry { min-height: 0; }
}
.faq-list { border-top: 1px solid #454545; }
.faq-list details { border-bottom: 1px solid #454545; padding: 20px 0; }
.faq-list summary { font-size: 1.06rem; font-weight: 650; }
.faq-list summary:hover { color: var(--accent); }
.faq-list p { margin-top: 12px; }
.policy-page { padding-block: clamp(48px, 5vw, 64px) clamp(64px, 7vw, 96px); }
.policy-copy { max-width: 48rem; font-size: 1rem; line-height: 1.65; }
.policy-copy h1 { margin: 16px 0 clamp(28px, 3vw, 40px); font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
.policy-copy section { margin-top: 28px; }
.policy-copy h2 { margin-bottom: 20px; font-size: 1.25rem; line-height: 1.3; }
.policy-copy h3 { margin-top: 20px; font-size: 1rem; }
.policy-copy h3 + p { margin-top: 8px; }
.policy-copy p + p { margin-top: 22px; }
.policy-copy ul { margin: 12px 0 0; padding-inline-start: 24px; }
.policy-copy li + li { margin-top: 6px; }
.policy-copy li, .policy-copy address { color: var(--muted); }
.policy-copy .terms-list-note { margin-top: 16px; }
.policy-copy address { margin-top: 12px; font-style: normal; }
.policy-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: .16em; }
.cookie-preference-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cookie-preference-actions .button { border: 1px solid transparent; cursor: pointer; }
.cookie-preference-actions .cookie-reject { border-color: var(--line); background: #fff; color: var(--text); }
.cookie-preference-actions .cookie-reject:hover { background: #f4f4f4; }
.cookie-preference-trigger {
    margin-top: 16px;
    border: 0;
    cursor: pointer;
}
.cookie-preference-dialog {
    position: fixed;
    inset: auto 0 max(16px, env(safe-area-inset-bottom));
    width: min(42rem, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    box-shadow: 0 12px 40px #0003;
    overflow: auto;
}
.cookie-preference-dialog::backdrop { background: #0005; }
.cookie-preference-dialog h2 { margin-bottom: 8px; padding-inline-end: 44px; font-size: 1.5rem; }
.cookie-preference-dialog p + p { margin-top: 8px; }
.cookie-dialog-close {
    position: absolute;
    inset: 12px 12px auto auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
}
.cookie-dialog-close:hover { background: #f4f4f4; }
.consent-banner {
    position: fixed;
    inset: auto 20px max(20px, env(safe-area-inset-bottom));
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1232px;
    max-height: calc(100dvh - 40px);
    margin-inline: auto;
    padding: 24px 28px;
    border: 1px solid #dedede;
    border-radius: 10px;
    box-shadow: 0 8px 40px #0004;
    overflow-y: auto;
}
.consent-banner h2 { margin-bottom: 8px; font-size: 1.125rem; }
.consent-banner p { font-size: .875rem; line-height: 1.6; }
.consent-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent-banner .cookie-preference-actions { flex: 0 0 auto; margin: 0; }
.consent-banner .button { font-size: .8125rem; }
.cookie-save-error { flex-basis: 100%; color: #a02719; }
.cookie-choice-form button:disabled { cursor: wait; opacity: .65; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.not-found { min-height: 55vh; display: grid; align-items: center; }
.not-found h1 { max-width: 850px; }
.not-found p:not(.eyebrow) { max-width: 540px; margin-top: 24px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
@media (max-width: 1023px) {
    .consent-banner { align-items: start; flex-direction: column; gap: 16px; }
}
@media (max-width: 539px) {
    .consent-banner { inset-inline: 12px; padding: 20px; }
    .consent-banner .cookie-preference-actions { width: 100%; }
    .consent-banner .button { width: 100%; justify-content: center; }
}

.site-footer { border-top: 1px solid var(--line); background: #090909; padding-top: 64px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 1.3fr; gap: 26px; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; color: var(--text); }
.site-footer a { color: #787878; }
.site-footer .brand { color: var(--text); margin-bottom: 12px; }
.site-footer a:not(.brand) { display: block; line-height: 1.8; }
address { font-style: normal; line-height: 1.65; }
.site-footer .footer-locations-link { margin-top: 12px; }
.site-footer a[href^="tel:"] { margin-top: 16px; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--line); font-size: .83rem; }
@media (max-width: 870px) {
    .site-header { position: relative; }
    .header-inner { justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
    .header-cta { display: none; }
    .nav-links { flex-wrap: wrap; gap: 12px 22px; }
    .navigation.is-enhanced .nav-links { display: none; }
    .navigation.is-enhanced .nav-links.is-open {
        display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; inset-inline: 0;
        background: var(--panel); padding: 20px var(--gutter); border-bottom: 1px solid var(--line);
    }
    .nav-dropdown { position: static; margin-top: 10px; min-width: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-hero {
    padding-block: clamp(72px, 10vw, 128px);
    background: radial-gradient(ellipse 40% 95% at 50% 48%, #29100a, transparent 75%), #000;
}
.contact-hero h1 { margin-block: 16px 24px; }
.contact-hero p:not(.eyebrow) { max-width: 630px; font-size: 1.125rem; }
.contact-form-panel { width: min(100%, 672px); margin-inline: auto; }
.contact-form-panel > p { margin-top: 12px; }
.message-form { display: grid; gap: 20px; margin-top: 32px; }
.message-name { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.message-form label { display: block; font-weight: 600; }
.optional-field { color: var(--muted); font-weight: 400; }
.message-form input, .message-form textarea {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #f7f7f7;
    color: var(--text);
    font: inherit;
    font-weight: 400;
}
.message-form textarea { resize: vertical; }
.message-form .button { justify-content: center; border: 0; }
.client-support { padding-block: clamp(32px, 4vw, 56px); background: var(--panel); }
.client-support-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.client-support h2 { margin: 8px 0; font-size: clamp(24px, 2.5vw, 34px); }
.client-support p:not(.eyebrow) { max-width: 580px; }
.client-support .button { flex-shrink: 0; }
.contact-info { background: var(--surface); border-top: 1px solid var(--line); }
.contact-details { margin: 24px 0 0; }
.contact-details dt { color: var(--muted); font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details dd { margin: 6px 0 20px; line-height: 1.65; }
.contact-office { margin-top: 24px; padding: 24px; background: var(--panel); }
.contact-office address { margin-top: 8px; color: var(--muted); }
@media (max-width: 600px) {
    .message-name { grid-template-columns: 1fr; gap: 20px; }
    .client-support-inner { flex-direction: column; align-items: flex-start; }
}

.managed-challenges { padding: clamp(24px, 4vw, 48px); background: #f7f7f7; }
.managed-list { display: grid; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; color: var(--muted); line-height: 1.6; }
.managed-list li { display: flex; gap: 10px; }
.managed-list li::before { content: "›" / ""; color: var(--accent); font-weight: 700; }
.managed-service-grid, .managed-resource-grid {
    display: grid;
    border: 1px dashed #79423a;
    gap: 1px;
    background: #79423a;
}
.managed-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.managed-resource-grid, .managed-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.managed-service, .managed-resource-grid a { padding: clamp(24px, 4vw, 48px); background: var(--surface); }
.managed-service:nth-child(2), .managed-service:nth-child(3) { background: var(--panel); }
.managed-service h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.managed-resource-grid a:hover { background: #251b19; }
.managed-resource-grid a:focus-visible { outline-offset: -4px; }
.managed-resource-grid h3 { margin-bottom: 10px; }
.managed-tiles { display: grid; list-style: none; padding: 0; margin: 0; counter-reset: tile; }
.managed-tiles li { padding: clamp(24px, 3vw, 40px); counter-increment: tile; line-height: 1.5; font-weight: 600; }
.managed-tiles li:nth-child(odd) { background: #fafafa; }
.managed-tiles li::before {
    content: counter(tile, decimal-leading-zero) / "";
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font: 750 1.75rem var(--font-display);
}
.managed-fit .managed-list { margin-top: 0; }
.managed-fit .button { margin-top: 28px; }
@media (max-width: 760px) {
    .managed-service-grid, .managed-resource-grid { grid-template-columns: 1fr; }
    .managed-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .managed-tiles { grid-template-columns: 1fr; }
}

.partner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.partner-secondary { border: 1px solid #666; background: transparent; }
.partner-secondary:hover { background: var(--panel); }
.partner-technology { padding: clamp(24px, 4vw, 48px); background: var(--panel); }
.partner-technology-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    color: var(--accent);
}
.partner-technology h3, .partner-principles h3 { margin-bottom: 8px; }
.partner-principles p { font-weight: 400; }
.partner-deployment .steps {
    margin-bottom: 0;
    outline: 1px solid var(--line);
}
.partner-deployment .steps li { background: var(--surface); }
.partner-deployment .steps li:nth-child(odd) { background: var(--panel); }

.lab-page .managed-hero .managed-intro { margin-bottom: 0; }
.lab-page .eyebrow + h2 { margin-top: 16px; }
.lab-solution-link { margin-top: 20px; }
.lab-metrics { background: var(--panel); }
.lab-metrics dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 0; }
.lab-metrics dl > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: clamp(24px, 5vw, 56px) 12px; text-align: center; }
.lab-metrics dl > div + div { border-inline-start: 1px solid var(--line); }
.lab-metrics dt { color: var(--muted); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.lab-metrics dd { margin: 0; font: 750 clamp(32px, 5vw, 64px)/1 var(--font-display); letter-spacing: -.04em; }
.lab-metric-value { display: inline-flex; align-items: flex-start; gap: .12em; }
.lab-metric-icon { flex: none; width: clamp(12px, .32em, 20px); height: auto; color: var(--accent); }
.lab-values-section .section-intro { margin-bottom: 48px; }
.lab-values { display: grid; grid-template-columns: minmax(0, 1fr); }
.lab-values article { padding: 40px; }
.lab-values article:nth-child(odd) { background: #fafafa; }
.lab-value-icon { display: block; width: 32px; height: 32px; margin-bottom: 20px; color: var(--accent); }
.lab-values h3 { margin-bottom: 12px; font-size: 1.125rem; }
.lab-values p { font-size: 1rem; }
.lab-addresses { display: grid; gap: 12px; }
.lab-address { padding: clamp(24px, 3.125vw, 40px); background: #f7f7f7; }
.lab-address h4 { margin: 0 0 8px; font-size: 1rem; }
.lab-account-underline {
    position: relative;
    display: inline-block;
    color: var(--text);
}
.lab-account-underline svg {
    position: absolute;
    inset: auto 0 -.23em;
    width: 100%;
    height: .6em;
    fill: none;
    stroke: var(--accent);
    stroke-width: 2px;
    stroke-linecap: round;
    pointer-events: none;
}
.lab-team-grid { display: grid; max-width: 1080px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lab-profile { min-width: 0; padding: clamp(16px, 2vw, 24px); background: var(--panel); border: 1px solid var(--line); }
.lab-profile-portrait {
    display: block;
    width: clamp(112px, 12vw, 144px);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
}
.lab-profile-copy h3 { margin: 0 0 12px; font: 700 1.125rem/1.2 var(--font-display); overflow-wrap: anywhere; }
@media (max-width: 800px) {
    .lab-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .lab-team-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
    .lab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
