.b30-service {
    --service-panel: #111113;
    --service-divider: #303035;
}

.b30-service-hero {
    padding: clamp(52px, 7vw, 108px) 0;
    background: radial-gradient(ellipse at 95% 85%, #2e0710 0, transparent 54%), #080809;
}

.b30-service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 5vw, 75px);
    align-items: center;
}

.b30-service .b30-service-lead {
    margin-top: 26px;
    max-width: 33em;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.9;
}

.b30-service-photo {
    position: relative;
    margin: 0;
    border: 1px solid var(--service-divider);
    background: var(--service-panel);
}

.b30-service-photo::after {
    content: "";
    position: absolute;
    inset: auto -1px -1px auto;
    width: 24%;
    height: 3px;
    background: var(--red);
}

.b30-service-photo img,
.b30-service-case-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.b30-service-band {
    padding: clamp(48px, 6vw, 90px) 0;
    border-top: 1px solid var(--service-divider);
    scroll-margin-top: 85px;
}

.b30-service-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 52px;
    align-items: start;
}

.b30-service-section-head > p,
.b30-service-detail p {
    font-size: 17px;
    max-width: 36em;
}

.b30-service-detail p + p {
    margin-top: 1em;
}

.b30-service-explorer {
    display: grid;
    grid-template-columns: minmax(235px, .75fr) minmax(0, 1.65fr);
    gap: 24px;
    margin-top: 34px;
}

.b30-service-explorer:has(.b30-service-tabs[hidden]) {
    grid-template-columns: 1fr;
}

.b30-service-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b30-service .b30-service-tabs button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 14px 18px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    background: #121214;
    border: 1px solid var(--service-divider);
    font-weight: 650;
}

.b30-service .b30-service-tabs button[aria-selected="true"] {
    background: #2a0e16;
    border-color: #a72a42;
    box-shadow: inset 3px 0 var(--red);
}

.b30-service-tabs button span {
    flex: none;
    color: #ff778c;
    font-size: 22px;
}

.b30-service-panel {
    min-width: 0;
    overflow-wrap: anywhere;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid #343036;
    border-radius: 8px;
    background: radial-gradient(ellipse at 100% 0%, #2b121c, transparent 62%), #131316;
}

.b30-service-panel + .b30-service-panel:not([hidden]) {
    margin-top: 15px;
}

.b30-service-tabs:not([hidden]) + .b30-service-panels .b30-service-panel {
    margin-top: 0;
}

.b30-service-query {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    margin-top: 9px;
    border: 1px solid #4d444c;
    border-radius: 22px;
    background: #08080a;
    font-size: 16px;
}

.b30-service-query svg {
    flex: 0 0 20px;
    color: #ff778c;
}

.b30-service-page-example {
    margin: 17px 0;
    padding: 15px 18px;
    border-left: 2px solid #ff536e;
    background: #ffffff08;
}

.b30-service .b30-service-page-example h3 {
    margin: 4px 0;
}

.b30-service-evidence {
    background: #101013;
}

.b30-service-evidence-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: clamp(28px, 6vw, 80px);
    align-items: center;
}

.b30-service-evidence .b30-service-detail h2 {
    margin-bottom: 22px;
}

.b30-service-evidence .b30-service-detail .br-textlink {
    margin-top: 15px;
}

.b30-service-proof {
    width: min(100%, 410px);
    margin: 0 auto;
    padding: clamp(14px, 2vw, 22px);
    background: #1a1a1d;
    border: 1px solid #39393e;
    border-radius: 8px;
}

.b30-service-proof-wide {
    width: 100%;
}

.b30-service-example-note {
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid #3e343a;
    border-radius: 8px;
    background: radial-gradient(ellipse at 100% 0%, #2b121c, transparent 60%), #1a1a1d;
}

.b30-service-example-note dl {
    margin: 16px 0 0;
}

.b30-service-example-note dl > div {
    padding: 13px 0;
    border-top: 1px solid #413942;
}

.b30-service-example-note dl > div:last-child {
    padding-bottom: 0;
}

.b30-service-example-note dt {
    color: #f8f5f7;
    font-weight: 650;
}

.b30-service-example-note dd {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.b30-service .b30-service-proof figcaption {
    margin-bottom: 11px;
    color: #f3eff0;
    font-size: 15px;
    font-style: normal;
    font-weight: 650;
}

.b30-service-proof img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.b30-service-proof .br-textlink {
    margin-top: 4px;
}

.b30-service-case-copy h3 {
    margin-bottom: 11px;
}

.b30-service-results {
    background: var(--service-panel);
}

.b30-service-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 35px;
}

.b30-service-case {
    display: grid;
    align-content: start;
    min-width: 0;
    border: 1px solid var(--service-divider);
    background: #0c0c0e;
}

.b30-service-case:only-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
}

.b30-service-case-photo {
    display: block;
    overflow: hidden;
}

.b30-service-case-photo img {
    transition: transform .25s ease;
}

.b30-service-case:only-child .b30-service-case-photo img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.b30-service-case-photo:hover img {
    transform: scale(1.025);
}

.b30-service-case-copy {
    padding: 25px clamp(20px, 3vw, 36px) 28px;
}

.b30-service-case-copy .br-textlink {
    margin-top: 12px;
}

.b30-service-contact {
    padding: clamp(44px, 5vw, 70px) 0;
    border-top: 1px solid var(--service-divider);
}

.b30-service-contact > .br-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.b30-service-contact .br-actions {
    margin-top: 0;
}

@media (max-width: 760px) {
    .b30-service-explorer,
    .b30-service-evidence-grid,
    .b30-service-hero-grid,
    .b30-service-section-head,
    .b30-service-case-grid,
    .b30-service-case:only-child {
        grid-template-columns: minmax(0, 1fr);
    }

    .b30-service-section-head {
        gap: 16px;
    }

    .b30-service-section-head > p,
    .b30-service-detail p {
        font-size: 16px;
    }
}
