:root {
    --thinking-hp2-ink: #f5f3ed;
    --thinking-hp2-muted: #aaa9a4;
    --thinking-hp2-bg: #090a0c;
    --thinking-hp2-panel: #121418;
    --thinking-hp2-line: rgba(255, 255, 255, 0.16);
    --thinking-hp2-accent: #d8ff3e;
    --thinking-hp2-accent-orange-red: #ff7548;
    --thinking-hp2-shell: 1180px;
}

/* Native hash/history restoration needs an immediate document scroll. */
html:has(body.thinking-local-homepage-d1) {
    scroll-behavior: auto;
}

.thinking-hp2-preview-page {
    margin: 0;
    background: var(--thinking-hp2-bg);
}

.thinking-hp2-preview-page .thinking-site-header__brand {
    opacity: 1;
}

.thinking-hp2-preview-page .thinking-site-header__company-name {
    font-size: clamp(1.06rem, 1.28vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.thinking-hp2-preview-page #main-container,
.thinking-hp2-preview-page .site-main {
    margin: 0;
}

.thinking-homepage-revenue,
.thinking-homepage-revenue * {
    box-sizing: border-box;
}

.thinking-homepage-revenue {
    --thinking-hp2-heading: var(--thinking-hp2-ink);

    min-height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    background: var(--thinking-hp2-bg);
    color: var(--thinking-hp2-ink);
    font-family: inherit;
}

.thinking-homepage-revenue--context-production {
    position: relative;
    z-index: 15;
    background: var(--thinking-hp2-bg);
}

.thinking-homepage-revenue :is(h1, h2, h3, h4, h5, h6) {
    color: var(--thinking-hp2-heading);
}

.thinking-homepage-revenue a {
    color: inherit;
}

.thinking-hp2-shell {
    width: min(calc(100% - 48px), var(--thinking-hp2-shell));
    margin-inline: auto;
}

.thinking-homepage-revenue section {
    position: relative;
    scroll-margin-top: 92px;
}

.thinking-homepage-revenue #home-services {
    scroll-margin-top: 92px;
}

.thinking-hp2-hero,
.thinking-hp2-proof,
.thinking-hp2-pain,
.thinking-hp2-package,
.thinking-hp2-work,
.thinking-hp2-free-listing,
.thinking-hp2-process,
.thinking-hp2-faq,
.thinking-hp2-contact {
    padding-block: clamp(72px, 9vw, 144px);
}

.thinking-hp2-section-heading {
    display: grid;
    gap: 18px;
    max-width: 790px;
    margin-bottom: clamp(36px, 6vw, 72px);
}

.thinking-hp2-section-heading > * {
    margin: 0;
}

.thinking-hp2-section-heading .thinking-type-eyebrow,
.thinking-hp2-hero .thinking-type-eyebrow,
.thinking-hp2-package .thinking-type-eyebrow,
.thinking-hp2-contact .thinking-type-eyebrow {
    color: var(--thinking-hp2-accent);
}

.thinking-hp2-section-heading .thinking-type-body-large {
    max-width: 640px;
    color: var(--thinking-hp2-muted);
}

.thinking-hp2-hero {
    min-height: calc(100svh - 80px);
    display: grid;
    align-items: center;
    padding-block: clamp(40px, 6vw, 88px);
}

.thinking-hp2-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
}

.thinking-hp2-hero__content {
    display: grid;
    gap: 24px;
}

.thinking-hp2-hero__content > * {
    margin: 0;
}

.thinking-hp2-hero__content h1 {
    max-width: 760px;
}

.thinking-hp2-hero__proposition {
    color: #fff;
    font-weight: 650;
}

.thinking-hp2-hero__support {
    max-width: 620px;
    color: var(--thinking-hp2-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.thinking-hp2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.thinking-hp2-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 0 24px;
    font-size: 0.95rem;
    font-weight: 740;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.thinking-hp2-button--primary {
    border-color: var(--thinking-hp2-accent);
    background: var(--thinking-hp2-accent);
    color: #080908 !important;
}

.thinking-hp2-button--secondary {
    background: transparent;
    color: var(--thinking-hp2-ink);
}

.thinking-hp2-button__line-icon {
    display: block;
    width: 20px;
    height: 23px;
    flex: none;
}

.thinking-hp2-actions--d1-hero .thinking-hp2-button--primary {
    padding-inline: 28px;
}

@media (max-width: 689.98px) {
    .thinking-hp2-actions--d1-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thinking-hp2-actions--d1-hero .thinking-hp2-button--primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 359.98px) {
    .thinking-hp2-actions--d1-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.thinking-hp2-button:hover {
    transform: translateY(-2px);
}

.thinking-hp2-button:focus-visible,
.thinking-hp2-text-link:focus-visible,
.thinking-hp2-work__controls button:focus-visible,
.thinking-hp2-work__track:focus-visible,
.thinking-hp2-faq summary:focus-visible,
.thinking-hp2-footer a:focus-visible,
.thinking-hp2-back-to-top:focus-visible {
    outline: 3px solid var(--thinking-hp2-accent);
    outline-offset: 4px;
}

.thinking-hp2-collaborators {
    padding-block: 28px;
    border-block: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-collaborators .thinking-hp2-shell {
    display: grid;
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
    gap: 32px;
    align-items: center;
}

.thinking-hp2-collaborators h2 {
    margin: 0;
    color: var(--thinking-hp2-muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.thinking-hp2-collaborators ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.thinking-hp2-collaborators li {
    min-height: 48px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    font-weight: 760;
    letter-spacing: 0.02em;
    text-align: center;
}

.thinking-hp2-collaborators img {
    display: block;
    height: auto;
    width: auto;
    max-width: min(100%, 168px);
    max-height: 44px;
    object-fit: contain;
}

.thinking-hp2-button--disabled {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.52);
    cursor: not-allowed;
}

.thinking-hp2-hero__media {
    position: relative;
}

.thinking-hp2-media {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(135deg, rgba(216, 255, 62, 0.13), transparent 45%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 16px),
        #17191d;
    color: var(--thinking-hp2-ink);
    isolation: isolate;
}

.thinking-hp2-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.13), transparent 30%);
}

.thinking-hp2-media__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thinking-hp2-media__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    opacity: 0.58;
    text-transform: uppercase;
}

.thinking-hp2-media strong {
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.thinking-hp2-media small {
    color: var(--thinking-hp2-muted);
}

.thinking-hp2-hero__media > .thinking-hp2-media {
    min-height: min(66vh, 680px);
    border-radius: 2px;
}

.thinking-hp2-candidate-stamp {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    justify-items: end;
    gap: 4px;
    margin: 0;
    padding: 12px 14px;
    background: rgba(8, 9, 11, 0.78);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thinking-hp2-candidate-stamp span {
    color: var(--thinking-hp2-accent);
    font-size: 1rem;
    font-weight: 800;
}

.thinking-hp2-proof {
    background: #111318;
}

.thinking-hp2-proof__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.thinking-hp2-proof__item {
    grid-column: span 4;
    margin: 0;
}

.thinking-hp2-proof__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #202328;
}

.thinking-hp2-proof__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.thinking-hp2-proof__item figcaption {
    display: grid;
    gap: 6px;
    padding-top: 16px;
}

.thinking-hp2-proof__item figcaption span {
    color: var(--thinking-hp2-muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thinking-hp2-pain__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-pain__item {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 340px;
    padding: 32px 30px 36px 0;
    border-right: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-pain__item + .thinking-hp2-pain__item {
    padding-left: 30px;
}

.thinking-hp2-pain__item:last-child {
    border-right: 0;
}

.thinking-hp2-pain__item > span {
    color: var(--thinking-hp2-accent);
    font-size: 0.75rem;
    font-weight: 800;
}

.thinking-hp2-pain__item h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.3;
}

.thinking-hp2-pain__item p {
    margin: 0;
    color: var(--thinking-hp2-muted);
    line-height: 1.78;
}

.thinking-hp2-services .home-service-cards--hp2 {
    --thinking-service-bg: #0e1013;
    --thinking-service-panel: #15171b;
    margin: 0;
    max-width: none;
    padding-block: clamp(72px, 9vw, 132px);
    width: 100%;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-cards__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-cards__header {
    grid-column: 1 / -1;
    margin-bottom: 24px;
    text-align: left;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-card {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid var(--thinking-hp2-line);
    border-radius: 0;
    box-shadow: none;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-card__media {
    order: 1;
    min-height: 190px;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-card__image {
    min-height: 190px;
    aspect-ratio: 16 / 10;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-card__content {
    order: 2;
    flex: 1;
    align-content: start;
    padding: 28px;
    background: #121418;
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-card__title {
    font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}

.thinking-hp2-services .home-service-cards--hp2 .home-service-card__subsections {
    gap: 12px;
}

.thinking-hp2-package {
    background: #0e1013;
    padding-top: 0;
}

.thinking-hp2-package__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(40px, 7vw, 96px);
    padding: clamp(44px, 7vw, 88px);
    border: 1px solid rgba(216, 255, 62, 0.5);
    background:
        linear-gradient(135deg, rgba(216, 255, 62, 0.09), transparent 55%),
        #17191d;
}

.thinking-hp2-package__panel h2 {
    max-width: 780px;
    margin: 18px 0 0;
}

.thinking-hp2-package__body {
    display: grid;
    align-content: end;
    gap: 24px;
}

.thinking-hp2-package__body p {
    margin: 0;
    color: var(--thinking-hp2-muted);
    line-height: 1.8;
}

.thinking-hp2-package__body strong {
    color: var(--thinking-hp2-accent);
    line-height: 1.5;
}

.thinking-hp2-text-link {
    width: fit-content;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    font-weight: 740;
    text-decoration: none;
}

.thinking-hp2-flagship {
    --thinking-hp2-heading: #101114;

    padding-block: clamp(84px, 11vw, 168px);
    background: #fff;
    color: #101114;
}

.thinking-hp2-flagship .thinking-type-eyebrow {
    color: #5d6253;
}

.thinking-hp2-flagship__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 9vw, 120px);
    align-items: end;
}

.thinking-hp2-flagship__intro h2,
.thinking-hp2-flagship__intro h3,
.thinking-hp2-flagship__intro p {
    margin: 0;
}

.thinking-hp2-flagship__intro h2 {
    margin-top: 14px;
}

.thinking-hp2-flagship__intro h3 {
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
    line-height: 1.3;
}

.thinking-hp2-flagship__intro p {
    color: #4d5056;
    line-height: 1.8;
}

.thinking-hp2-flagship__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-block: 48px 28px;
}

.thinking-hp2-flagship__tags span {
    padding: 8px 12px;
    border: 1px solid #c9cbd0;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.thinking-hp2-flagship__media {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 0.9fr;
    gap: 16px;
    align-items: end;
}

.thinking-hp2-flagship__media .thinking-hp2-media {
    min-height: 340px;
    border-color: #d8d9dc;
    background: linear-gradient(145deg, #e9eadf, #cfd2c5);
    color: #1a1c1f;
}

.thinking-hp2-flagship__media .thinking-hp2-media:nth-child(2) {
    min-height: 470px;
    background: linear-gradient(160deg, #1c2024, #444a50);
    color: #fff;
}

.thinking-hp2-flagship__media .thinking-hp2-media:nth-child(3) {
    min-height: 390px;
}

.thinking-hp2-flagship__media .thinking-hp2-media small {
    color: currentColor;
    opacity: 0.65;
}

.thinking-hp2-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 24px;
    align-items: end;
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid #cacdd0;
}

.thinking-hp2-metrics div {
    display: grid;
    gap: 8px;
}

.thinking-hp2-metrics strong {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.thinking-hp2-metrics span,
.thinking-hp2-metrics p {
    color: #55595e;
    font-size: 0.82rem;
    line-height: 1.6;
}

.thinking-hp2-metrics p {
    margin: 0;
}

.thinking-hp2-work {
    background: #090a0c;
}

.thinking-hp2-work__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.thinking-hp2-work__controls {
    display: flex;
    gap: 8px;
    margin-bottom: clamp(36px, 6vw, 72px);
}

.thinking-hp2-work__controls button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--thinking-hp2-line);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
}

.thinking-hp2-work__controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.thinking-hp2-work__mobile-controls {
    display: none;
}

.thinking-hp2-work__carousel {
    position: relative;
}

.thinking-hp2-work__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 4px max(0px, calc((100vw - var(--thinking-hp2-shell)) / 2)) 32px 0;
    scroll-padding-left: 1px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--thinking-hp2-accent) rgba(255, 255, 255, 0.1);
}

.thinking-hp2-case-poster {
    flex: 0 0 min(82vw, 960px);
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.65fr);
    min-height: 590px;
    border: 1px solid var(--thinking-hp2-line);
    background: #121418;
    scroll-snap-align: start;
}

.thinking-hp2-case-poster__media {
    position: relative;
    min-width: 0;
}

.thinking-hp2-case-poster__media .thinking-hp2-media {
    height: 100%;
    min-height: 100%;
    border: 0;
}

.thinking-hp2-case-poster__index {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.thinking-hp2-case-poster__text {
    display: grid;
    align-content: end;
    gap: 18px;
    padding: clamp(28px, 4vw, 52px);
}

.thinking-hp2-case-poster__text h3,
.thinking-hp2-case-poster__text p {
    margin: 0;
}

.thinking-hp2-case-poster__text h3 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.08;
}

.thinking-hp2-case-poster__text p,
.thinking-hp2-case-poster__status {
    color: var(--thinking-hp2-muted);
    line-height: 1.7;
}

.thinking-hp2-case-poster__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.thinking-hp2-case-poster__tags span,
.thinking-hp2-case-poster__status {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.thinking-hp2-case-poster__tags span {
    padding: 6px 9px;
    border: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-free-listing {
    background: #111318;
}

.thinking-hp2-free-listing__panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 84px);
    align-items: center;
    padding: clamp(24px, 4vw, 56px);
    border: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-free-listing__panel h2 {
    margin: 14px 0 18px;
}

.thinking-hp2-free-listing__panel p:not(.thinking-type-eyebrow) {
    max-width: 620px;
    margin: 0 0 26px;
    color: var(--thinking-hp2-muted);
    line-height: 1.75;
}

.thinking-hp2-free-listing__media .thinking-hp2-media {
    min-height: 280px;
}

.thinking-hp2-process__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--thinking-hp2-line);
    list-style: none;
}

.thinking-hp2-process__list li {
    display: grid;
    gap: 48px;
    min-height: 190px;
    padding: 24px;
    border-right: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-process__list li:last-child {
    border-right: 0;
}

.thinking-hp2-process__list span {
    color: var(--thinking-hp2-accent);
    font-size: 0.74rem;
}

.thinking-hp2-process__list strong {
    align-self: end;
    font-size: 1.2rem;
}

.thinking-hp2-faq {
    background: #111318;
}

.thinking-hp2-faq__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 8vw, 120px);
}

.thinking-hp2-faq__items {
    border-top: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-faq details {
    border-bottom: 1px solid var(--thinking-hp2-line);
}

.thinking-hp2-faq summary {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.thinking-hp2-faq summary::-webkit-details-marker {
    display: none;
}

.thinking-hp2-faq details[open] summary span {
    transform: rotate(45deg);
}

.thinking-hp2-faq details p {
    max-width: 650px;
    margin: -4px 0 28px;
    color: var(--thinking-hp2-muted);
    line-height: 1.75;
}

.thinking-hp2-contact {
    padding-block: clamp(100px, 14vw, 220px);
    background: #090a0c;
}

.thinking-hp2-contact__panel {
    display: grid;
    justify-items: center;
    text-align: center;
}

.thinking-hp2-contact__panel h2 {
    max-width: 960px;
    margin: 24px auto;
}

.thinking-hp2-contact__panel > p:not(.thinking-type-eyebrow) {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--thinking-hp2-muted);
}

.thinking-hp2-footer {
    padding-block: 38px;
    border-top: 1px solid var(--thinking-hp2-line);
    background: #090a0c;
}

.thinking-hp2-footer .thinking-hp2-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.thinking-hp2-footer p {
    margin: 0;
    color: var(--thinking-hp2-muted);
}

.thinking-hp2-footer a {
    text-decoration: none;
}

.thinking-hp2-back-to-top {
    display: flex;
    justify-content: center;
    padding: 20px 24px;
    border-top: 1px solid var(--thinking-hp2-line);
    background: #090a0c;
    color: var(--thinking-hp2-muted) !important;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.thinking-hp2-footer--compact .thinking-hp2-shell {
    grid-template-columns: auto 1fr;
}

/* A family: cinematic, media-led and clean. */
.thinking-homepage-revenue--family-cinematic .thinking-hp2-hero__media > .thinking-hp2-media {
    background:
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.76)),
        radial-gradient(circle at 68% 22%, rgba(216, 255, 62, 0.22), transparent 28%),
        #20242a;
}

.thinking-homepage-revenue--a2 .thinking-hp2-media--motion::before {
    content: "MOTION READY";
    position: absolute;
    top: 22px;
    left: 22px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

/* B family: editorial type, stricter grids and controlled offsets. */
.thinking-homepage-revenue--family-editorial {
    --thinking-hp2-accent: var(--thinking-hp2-accent-orange-red);
}

/* D1: A1 composition refined with B1's approved accent and quieter content density. */
.thinking-homepage-revenue--d1 {
    --thinking-hp2-accent: var(--thinking-hp2-accent-orange-red);
}

.thinking-homepage-revenue--context-production .thinking-hp2-collaborators ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thinking-homepage-revenue--context-production .thinking-hp2-collaborators li {
    min-height: 72px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thinking-homepage-revenue--d1 .thinking-hp2-work {
    padding-top: clamp(64px, 8vw, 112px);
}

.thinking-homepage-revenue--d1 .thinking-hp2-work__track {
    --thinking-hp2-work-card-width: min(82vw, 960px);

    padding-right: max(0px, calc(100% - var(--thinking-hp2-work-card-width)));
    scroll-padding-left: 0;
    overscroll-behavior-inline: contain;
}

.thinking-homepage-revenue--d1 .thinking-hp2-case-poster {
    flex-basis: var(--thinking-hp2-work-card-width);
    scroll-snap-stop: always;
}

.thinking-homepage-revenue--d1 .home-service-cards--hp2-d1 .home-service-card__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.thinking-homepage-revenue--d1 .home-service-cards--hp2-d1 .home-service-card__subsections {
    gap: 14px;
}

.thinking-homepage-revenue--d1 .home-service-cards--hp2-d1 .home-service-card__actions {
    margin-top: auto;
    padding-top: 8px;
}

.thinking-homepage-revenue--d1 .thinking-hp2-services .home-service-cards--hp2 {
    padding-bottom: 18px;
}

.thinking-homepage-revenue--d1 .thinking-hp2-package {
    padding-top: 0;
}

.thinking-homepage-revenue--d1 .home-service-card__button,
.thinking-homepage-revenue--d1 .home-service-card__button--disabled,
.thinking-homepage-revenue--d1 .home-service-card__button--disabled:hover {
    color: #111;
}

.thinking-homepage-revenue--d1 .home-service-card__button--secondary,
.thinking-homepage-revenue--d1 .home-service-card__button--secondary:hover,
.thinking-homepage-revenue--d1 .home-service-card__button--disabled-secondary,
.thinking-homepage-revenue--d1 .home-service-card__button--disabled-secondary:hover {
    color: var(--thinking-service-text);
}

.thinking-homepage-revenue--d1 .thinking-hp2-package__panel {
    border-color: rgba(255, 117, 72, 0.5);
}

.thinking-homepage-revenue--d1 .thinking-hp2-package__panel h2 {
    margin: 0;
    color: var(--thinking-hp2-accent);
    font-size: clamp(2.6rem, 5.3vw, 5rem);
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.thinking-homepage-revenue--d1 .thinking-hp2-package__support {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--thinking-hp2-heading);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.35;
}

.thinking-homepage-revenue--d1 .thinking-hp2-free-listing__panel h2 {
    margin-top: 0;
}

.thinking-homepage-revenue--d1 .thinking-hp2-contact__title-line {
    display: block;
}

.thinking-homepage-revenue--d1 .thinking-hp2-flagship__intro {
    margin-bottom: 40px;
}

.thinking-homepage-revenue--d1 [data-hp2-countup-value] {
    color: inherit;
    font: inherit;
}

.thinking-homepage-revenue--family-editorial .thinking-hp2-hero__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
}

.thinking-homepage-revenue--family-editorial .thinking-hp2-hero__content {
    grid-column: 1 / 10;
    z-index: 2;
}

.thinking-homepage-revenue--family-editorial .thinking-hp2-hero__content h1 {
    max-width: 1050px;
    font-size: clamp(4rem, 9.4vw, 8rem);
}

.thinking-homepage-revenue--family-editorial .thinking-hp2-hero__media {
    grid-column: 7 / 13;
    grid-row: 1;
    align-self: stretch;
    opacity: 0.66;
}

.thinking-homepage-revenue--family-editorial .thinking-hp2-pain__grid {
    grid-template-columns: minmax(300px, 1.2fr) repeat(2, 1fr);
}

.thinking-homepage-revenue--b2 .thinking-hp2-hero__content {
    grid-column: 2 / 11;
    transform: translateY(5vh);
}

.thinking-homepage-revenue--b2 .thinking-hp2-hero__media {
    grid-column: 8 / 13;
    transform: translateY(-4vh);
}

.thinking-homepage-revenue--b2 .thinking-hp2-proof__item:nth-child(1) {
    grid-column: 1 / span 6;
}

.thinking-homepage-revenue--b2 .thinking-hp2-proof__item:nth-child(2) {
    grid-column: 7 / span 3;
    margin-top: 90px;
}

.thinking-homepage-revenue--b2 .thinking-hp2-proof__item:nth-child(3) {
    grid-column: 10 / span 3;
    margin-top: 30px;
}

.thinking-homepage-revenue--b2 .thinking-hp2-case-poster:nth-child(even) {
    transform: translateY(36px);
}

/* C family: direct commercial hierarchy, with C2 reducing visible boxes. */
.thinking-homepage-revenue--family-conversion {
    --thinking-hp2-accent: #85f7d0;
}

.thinking-homepage-revenue--c1 .thinking-hp2-hero__content,
.thinking-homepage-revenue--c1 .thinking-hp2-hero__media {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--thinking-hp2-line);
    background: #111318;
}

.thinking-homepage-revenue--c1 .thinking-hp2-hero__media > .thinking-hp2-media {
    min-height: 52vh;
}

.thinking-homepage-revenue--c1 .thinking-hp2-pain__item {
    margin-right: 12px;
    padding: 28px;
    border: 1px solid var(--thinking-hp2-line);
    background: #111318;
}

.thinking-homepage-revenue--c2 .thinking-hp2-hero__grid {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.thinking-homepage-revenue--c2 .thinking-hp2-hero__media > .thinking-hp2-media {
    min-height: 72vh;
}

.thinking-homepage-revenue--c2 .thinking-hp2-pain__grid {
    grid-template-columns: 1.35fr 1fr 1fr;
}

.thinking-homepage-revenue--c2 .thinking-hp2-package__panel,
.thinking-homepage-revenue--c2 .thinking-hp2-free-listing__panel {
    border-left: 0;
    border-right: 0;
}

@media (max-width: 960px) {
    .thinking-hp2-hero__grid,
    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__grid,
    .thinking-hp2-package__panel,
    .thinking-hp2-flagship__intro,
    .thinking-hp2-free-listing__panel,
    .thinking-hp2-faq__grid,
    .thinking-homepage-revenue--c2 .thinking-hp2-hero__grid {
        grid-template-columns: 1fr;
    }

    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__content,
    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__media {
        grid-column: 1 / -1;
    }

    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__content,
    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__media,
    .thinking-homepage-revenue--b2 .thinking-hp2-hero__content,
    .thinking-homepage-revenue--b2 .thinking-hp2-hero__media {
        transform: none;
    }

    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__media {
        grid-row: auto;
        min-height: 420px;
    }

    .thinking-hp2-services .home-service-cards--hp2 .home-service-cards__inner {
        grid-template-columns: 1fr;
    }

    .thinking-hp2-services .home-service-cards--hp2 .home-service-card {
        min-height: 0;
    }

    .thinking-hp2-services .home-service-cards--hp2 .home-service-card__content {
        align-content: start;
    }

    .thinking-hp2-flagship__media {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .thinking-hp2-flagship__media .thinking-hp2-media {
        scroll-snap-align: start;
    }

    .thinking-hp2-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .thinking-hp2-metrics p {
        grid-column: 1 / -1;
    }

    .thinking-hp2-case-poster {
        grid-template-columns: 1fr;
    }

    .thinking-hp2-case-poster__media {
        min-height: 420px;
    }
}

@media (max-width: 689.98px) {
    .thinking-hp2-preview-page .thinking-site-header__company-name {
        font-size: 0.94rem;
    }

    .thinking-homepage-revenue {
        padding-top: 80px;
    }

    .thinking-hp2-shell {
        width: min(calc(100% - 32px), var(--thinking-hp2-shell));
    }

    .thinking-hp2-collaborators .thinking-hp2-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .thinking-hp2-collaborators ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .thinking-hp2-collaborators li {
        justify-content: flex-start;
        text-align: left;
    }

    .thinking-homepage-revenue--context-production .thinking-hp2-collaborators li {
        justify-content: center;
        text-align: center;
    }

    .thinking-hp2-hero,
    .thinking-hp2-proof,
    .thinking-hp2-pain,
    .thinking-hp2-package,
    .thinking-hp2-work,
    .thinking-hp2-free-listing,
    .thinking-hp2-process,
    .thinking-hp2-faq,
    .thinking-hp2-contact {
        padding-block: 64px;
    }

    .thinking-hp2-hero {
        min-height: auto;
        padding-top: 42px;
    }

    .thinking-hp2-hero__grid {
        gap: 34px;
    }

    .thinking-hp2-hero__content {
        gap: 18px;
    }

    .thinking-hp2-hero__content h1,
    .thinking-homepage-revenue--family-editorial .thinking-hp2-hero__content h1 {
        font-size: clamp(3.2rem, 15vw, 4.6rem);
        line-height: 0.98;
    }

    .thinking-hp2-actions {
        display: grid;
    }

    .thinking-hp2-button {
        width: 100%;
        min-height: 52px;
    }

    .thinking-hp2-hero__media > .thinking-hp2-media,
    .thinking-homepage-revenue--c1 .thinking-hp2-hero__media > .thinking-hp2-media,
    .thinking-homepage-revenue--c2 .thinking-hp2-hero__media > .thinking-hp2-media {
        min-height: 54vh;
    }

    .thinking-homepage-revenue--c1 .thinking-hp2-hero__content,
    .thinking-homepage-revenue--c1 .thinking-hp2-hero__media {
        padding: 22px;
    }

    .thinking-hp2-proof__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .thinking-hp2-proof__item,
    .thinking-homepage-revenue--b2 .thinking-hp2-proof__item:nth-child(n) {
        flex: 0 0 84%;
        margin-top: 0;
        scroll-snap-align: start;
    }

    .thinking-hp2-pain__grid,
    .thinking-homepage-revenue--family-editorial .thinking-hp2-pain__grid,
    .thinking-homepage-revenue--c2 .thinking-hp2-pain__grid {
        grid-template-columns: 1fr;
    }

    .thinking-hp2-pain__item,
    .thinking-hp2-pain__item + .thinking-hp2-pain__item,
    .thinking-homepage-revenue--c1 .thinking-hp2-pain__item {
        min-height: 0;
        margin: 0;
        padding: 26px 0 34px;
        border: 0;
        border-bottom: 1px solid var(--thinking-hp2-line);
        background: transparent;
    }

    .thinking-hp2-services .home-service-cards--hp2 {
        padding-block: 64px;
    }

    .thinking-hp2-services .home-service-cards--hp2 .home-service-card__content {
        padding: 24px;
    }

    .thinking-hp2-services .home-service-cards--hp2 .home-service-card__subsection:nth-child(n+3) {
        display: none;
    }

    .thinking-hp2-package__panel {
        gap: 34px;
        padding: 34px 24px;
    }

    .thinking-hp2-flagship {
        padding-block: 76px;
    }

    .thinking-hp2-flagship__media {
        margin-right: -16px;
    }

    .thinking-hp2-flagship__media .thinking-hp2-media,
    .thinking-hp2-flagship__media .thinking-hp2-media:nth-child(2),
    .thinking-hp2-flagship__media .thinking-hp2-media:nth-child(3) {
        min-height: 380px;
    }

    .thinking-hp2-metrics {
        gap: 32px 16px;
    }

    .thinking-hp2-metrics strong {
        font-size: clamp(3.1rem, 15vw, 4.2rem);
    }

    .thinking-hp2-work__header {
        display: block;
    }

    .thinking-hp2-work__controls {
        display: none;
    }

    .thinking-hp2-work__track {
        margin-right: -16px;
        padding-right: 16px;
    }

    .thinking-homepage-revenue--d1 .thinking-hp2-work__track {
        --thinking-hp2-work-card-width: calc(100vw - 48px);

        margin-inline: -16px;
        padding: 4px 24px 32px;
        scroll-padding-left: 24px;
    }

    .thinking-homepage-revenue--d1 .thinking-hp2-work__carousel {
        --thinking-hp2-work-card-width: calc(100vw - 48px);
        --thinking-hp2-work-media-inline: 14px;
        --thinking-hp2-work-card-border: 1px;
        --thinking-hp2-work-track-gutter: 24px;
    }

    .thinking-hp2-case-poster,
    .thinking-homepage-revenue--b2 .thinking-hp2-case-poster:nth-child(even) {
        flex-basis: calc(100vw - 48px);
        min-height: 0;
        transform: none;
    }

    .thinking-hp2-case-poster__media {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .thinking-homepage-revenue--d1 .thinking-hp2-case-poster__media {
        margin-inline: 14px;
    }

    .thinking-homepage-revenue--d1 .thinking-hp2-work__mobile-controls:not([hidden]) {
        position: absolute;
        top: calc(4px + var(--thinking-hp2-work-card-border));
        left: calc(-16px + var(--thinking-hp2-work-track-gutter) + var(--thinking-hp2-work-card-border) + var(--thinking-hp2-work-media-inline));
        z-index: 3;
        display: block;
        width: calc(var(--thinking-hp2-work-card-width) - var(--thinking-hp2-work-card-border) - var(--thinking-hp2-work-card-border) - var(--thinking-hp2-work-media-inline) - var(--thinking-hp2-work-media-inline));
        aspect-ratio: 4 / 5;
        pointer-events: none;
    }

    .thinking-hp2-work__mobile-controls button {
        position: absolute;
        top: 50%;
        display: grid;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid rgba(9, 10, 12, 0.32);
        border-radius: 50%;
        background: var(--thinking-hp2-accent);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
        color: #090a0c;
        cursor: pointer;
        pointer-events: auto;
        place-items: center;
        transform: translateY(-50%);
    }

    .thinking-hp2-work__mobile-controls button[hidden] {
        display: none;
    }

    .thinking-hp2-work__mobile-controls button:first-child {
        left: 0;
        transform: translate(-50%, -50%);
    }

    .thinking-hp2-work__mobile-controls button:last-child {
        right: 0;
        transform: translate(50%, -50%);
    }

    .thinking-hp2-work__mobile-controls button:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
    }

    .thinking-hp2-work__mobile-controls svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .thinking-hp2-case-poster__text {
        min-height: 290px;
    }

    .thinking-hp2-free-listing__panel {
        padding: 22px;
    }

    .thinking-hp2-process__list {
        grid-template-columns: 1fr 1fr;
    }

    .thinking-hp2-process__list li {
        min-height: 150px;
        border-bottom: 1px solid var(--thinking-hp2-line);
    }

    .thinking-hp2-process__list li:nth-child(2n) {
        border-right: 0;
    }

    .thinking-hp2-faq__grid {
        gap: 12px;
    }

    .thinking-hp2-contact {
        padding-block: 96px;
    }

    .thinking-hp2-footer .thinking-hp2-shell {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .thinking-hp2-footer--compact .thinking-hp2-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .thinking-hp2-process__list {
        grid-template-columns: 1fr;
    }

    .thinking-hp2-process__list li {
        border-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thinking-homepage-revenue *,
    .thinking-homepage-revenue *::before,
    .thinking-homepage-revenue *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .thinking-hp2-media__video {
        display: none;
    }

    .thinking-hp2-button:hover {
        transform: none;
    }
}
