/* Home hero, client logos and four home sections. */

@font-face {
    font-family: "MP Geist";
    src: url("assets/geist.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "MP Calligraphy";
    src: url("assets/calligraphy.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.signal-home {
    --paper: #f3f2ee;
    --ink: #151619;
    --muted: #707077;

    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
}

/* Hero */

.signal-home .opening {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(450px, 1fr) auto;
    align-items: stretch;
    gap: 0;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: 0;
    text-align: center;
    isolation: isolate;
}

.signal-home .opening-copy {
    position: relative;
    top: 25%;
    z-index: 2;
    grid-area: 1 / 1;
    align-self: start;
    justify-self: center;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.signal-home .opening h1 {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(32px, 4.3vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 2px 28px #08090b80;
}

.signal-home .hero-actions {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 20px auto 0;
    pointer-events: auto;
}

.signal-home .hero-actions .cta {
    gap: 10px;
    width: auto;
    min-height: 38px;
    padding: 8px 12px;
    border-color: #f4f4f5;
    border-radius: 5px;
    background: #f4f4f5;
    color: #101114;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.signal-home .hero-actions .secondary {
    border-color: #34353d;
    background: #111216;
    color: #e0e0e7;
}

.signal-home .hero-actions .cta:hover {
    border-color: #dcdce8;
    background: #dcdce8;
    color: #101114;
}

.signal-home .opening-art {
    position: relative;
    z-index: 0;
    grid-area: 1 / 1;
    align-self: stretch;
    min-width: 0;
    width: 100%;
    height: 100%;
    min-height: 450px;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}

.signal-home .opening-art img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}

/* Interactive hero replaces only the opening artwork, not the copy/CTAs. */
.signal-home .opening-art.mp-hero { pointer-events: auto; }
.signal-home .opening-art.mp-hero .mp-hero__poster {
    object-fit: contain;
    object-position: center;
}
.signal-home .hero-camera-controls,
.signal-home .hero-enable {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 12px;
}
.signal-home .hero-camera-controls {
    display: flex;
    gap: 5px;
}
.signal-home .hero-camera-controls button,
.signal-home .hero-enable {
    padding: 7px 10px;
    border: 1px solid #34353d;
    border-radius: 4px;
    background: #08090bcc;
    color: #b3b0bc;
    font: 12px/1.4 Arial, sans-serif;
    cursor: pointer;
}
.signal-home .hero-camera-controls button { min-height: 34px; min-width: 34px; }
.signal-home .hero-camera-controls[hidden],
.signal-home .hero-enable[hidden] { display: none; }
.signal-home .hero-camera-controls button:focus-visible,
.signal-home .hero-enable:focus-visible { outline: 2px solid #b1a8be; outline-offset: 3px; }
.signal-home .hero-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.signal-home .market-caption {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    align-self: end;
    justify-self: end;
    margin: 0 0 20px;
    padding: 6px 10px;
    background: #08090bba;
    color: #a6a6b0;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
}

/* Client logos */

.signal-home .client-strip {
    position: relative;
    z-index: 1;
    grid-area: 2 / 1;
    width: 100%;
    padding: 16px 0 22px;
    border-top: 1px solid #23242a;
    text-align: center;
}

.signal-home .client-strip p {
    margin: 0;
    color: #95959f;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.035em;
}

.signal-home .client-marks {
    display: grid;
    grid-template-columns: repeat(var(--client-logo-columns, 5), minmax(0, 1fr));
    align-items: center;
    gap: 24px;
    max-width: 1010px;
    margin: 10px auto 0;
    padding: 0;
    list-style: none;
}

.signal-home .client-marks li {
    display: flex;
    justify-content: center;
}

.signal-home .client-marks img {
    display: block;
    width: 136px;
    max-width: 100%;
    height: 46px;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.66;
}

.signal-home .client-marks img[src$="/msc-logo.svg"] {
    width: 78px;
    height: 54px;
}

.signal-home .client-marks img[src$="/ioc-logo.svg"] {
    width: 150px;
    height: 50px;
}

.signal-home .client-marks img[src$="/dow-logo.svg"] {
    width: 102px;
    height: 48px;
    filter: grayscale(1) invert(1) brightness(1.35);
}

/* Home sections */

.signal-home .v2-main {
    background: var(--paper);
}

.signal-home .v2-section {
    padding: 112px 0;
    border-top: 1px solid #e3e2df;
    overflow: clip;
    font-family: "MP Geist", Arial, sans-serif;
}

.signal-home .v2-section .wrap {
    max-width: 1440px;
    padding-inline: 64px;
}

.signal-home .architect-section,
.signal-home .ratio-section {
    background: #fcfbf8;
}

.signal-home .explore-section {
    background: #f7fafb;
}

.signal-home .shape-section {
    background: #faf8f4;
}

.signal-home .story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 55px;
}

.signal-home .story-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.signal-home .v2-title {
    max-width: 540px;
    font-family: "MP Geist", Arial, sans-serif;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.signal-home .story-art {
    position: relative;
    min-width: 0;
    margin: 0;
}

.signal-home .story-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

/* Explore reverses the desktop composition. */

.signal-home .explore-section .story-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.88fr);
}

.signal-home .explore-section .story-copy {
    grid-column: 2;
    grid-row: 1;
}

.signal-home .explore-section .story-art {
    grid-column: 1;
    grid-row: 1;
}

/* Statements */

.signal-home .statement-panel {
    max-width: 450px;
    margin-top: 30px;
}

.signal-home .statement-stack {
    border-top: 1px solid #b8b6b1;
}

.signal-home .statement {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 0;
    border-bottom: 1px solid #dedcd7;
    color: #62646a;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: -0.012em;
}

.signal-home .statement a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    color: #625578;
    font: inherit;
    text-decoration: none;
}

.signal-home .statement a:hover,
.signal-home .statement a:focus-visible {
    color: #443751;
    text-decoration: none;
}

.signal-home .statement-link-arrow {
    flex-shrink: 0;
}

/* Eighty Twenty */

.signal-home .ratio-title {
    padding: 8px 0 20px;
    line-height: 0.68;
}

.signal-home .eighty {
    display: block;
    font-family: "MP Geist", Arial, sans-serif;
    font-size: clamp(75px, 8vw, 116px);
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -0.07em;
}

.signal-home .twenty {
    position: relative;
    display: block;
    width: max-content;
    margin: 0.08em 0 0 0.27em;
    color: #817598;
    font-family: "MP Calligraphy", Georgia, serif;
    font-size: clamp(100px, 11vw, 157px);
    font-weight: 400;
    line-height: 0.65;
    letter-spacing: -0.025em;
    transform: rotate(-4deg);
}

.signal-home .ratio-section .statement-panel {
    margin-top: 48px;
}

.signal-home .principle-note {
    max-width: 340px;
    margin: 25px 0 0;
    color: #797089;
    font: 16px/1.6 "MP Geist", Arial, sans-serif;
    letter-spacing: 0;
}

/* Closing invitation */

.signal-home .shape-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-top: 34px;
}

.signal-home .maturity-note {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #5f6065;
    font: 13px/1.7 Arial, sans-serif;
}

.signal-home .shape-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.signal-home .shape-actions .cta {
    min-height: 46px;
    padding: 13px 20px;
    border-color: #18191c;
    border-radius: 5px;
    background: #18191c;
    color: #fff;
    font-family: "MP Geist", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive home layout */

@media (min-width: 1600px) {
    .signal-home .story-art {
        margin-inline: -20px;
    }
}

@media (max-width: 1000px) {
    .signal-home .v2-section {
        padding: 88px 0;
    }

    .signal-home .v2-section .wrap {
        padding-inline: 36px;
    }

    .signal-home .story-grid,
    .signal-home .explore-section .story-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px;
    }

    .signal-home .v2-title {
        font-size: 42px;
    }

    .signal-home .eighty {
        font-size: 76px;
    }

    .signal-home .twenty {
        font-size: 105px;
    }
}

@media (max-width: 850px) {
    .signal-home .client-marks {
        gap: 12px;
    }
}

@media (max-width: 700px) {
    .signal-home .v2-section {
        padding: 68px 0;
    }

    .signal-home .v2-section .wrap {
        padding-inline: 24px;
    }

    .signal-home .story-grid,
    .signal-home .explore-section .story-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .signal-home .story-copy {
        display: contents;
    }

    .signal-home .v2-title,
    .signal-home .ratio-title {
        order: 0;
    }

    .signal-home .v2-title {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.12;
        letter-spacing: -0.035em;
    }

    .signal-home .story-art {
        order: 1;
        width: calc(100% + 16px);
        margin-inline: -8px;
    }

    .signal-home .statement-panel,
    .signal-home .ratio-section .statement-panel {
        order: 2;
        max-width: none;
        margin-top: 0;
    }

    .signal-home .statement {
        font-size: 16px;
    }

    .signal-home .ratio-title {
        padding-bottom: 30px;
    }

    .signal-home .eighty {
        font-size: clamp(70px, 22vw, 108px);
    }

    .signal-home .twenty {
        margin-left: 0.2em;
        font-size: clamp(84px, 27vw, 136px);
    }

    .signal-home .shape-footer {
        margin-top: 30px;
    }

    .signal-home .shape-actions .cta {
        flex: none;
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .signal-home .opening {
        grid-template-rows: minmax(440px, 1fr) auto;
    }

    .signal-home .opening h1 {
        font-size: clamp(25px, 6.6vw, 39px);
    }

    .signal-home .hero-actions {
        gap: 8px;
        margin-top: 18px;
    }

    .signal-home .hero-actions .cta {
        gap: 6px;
        min-height: 44px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .signal-home .opening-art {
        width: calc(100% + 48px);
        min-height: 440px;
        margin-left: -24px;
    }

    .signal-home .opening-art img {
        object-position: 57% 60%;
    }

    .signal-home .market-caption {
        margin-bottom: 16px;
        letter-spacing: 0.06em;
    }

    .signal-home .client-strip {
        padding: 14px 0 20px;
    }

    .signal-home .client-strip p {
        max-width: 290px;
        margin: auto;
        letter-spacing: 0;
    }

    .signal-home .client-marks {
        gap: 14px;
        margin-top: 12px;
    }

    .signal-home .client-marks img,
    .signal-home .client-marks img[src$="/msc-logo.svg"],
    .signal-home .client-marks img[src$="/ioc-logo.svg"],
    .signal-home .client-marks img[src$="/dow-logo.svg"] {
        height: 34px;
    }
}

@media (max-width: 359px) {
    .signal-home .hero-actions {
        flex-wrap: wrap;
    }
}

/* Statement group navigation */

.signal-home .statement-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    width: 100%;
    gap: 4px;
    margin: 14px 0 0;
    padding: 0;
}

.signal-home .statement-navigation-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: 28px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #625578;
    font: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
}

.signal-home .statement-navigation-button:first-of-type {
    justify-content: flex-start;
}

.signal-home .statement-navigation-button:last-of-type {
    justify-content: flex-end;
}

.signal-home .statement-navigation-button:hover:not(:disabled) {
    background: transparent;
    color: #443751;
    box-shadow: none;
}

.signal-home .statement-navigation-button:focus-visible {
    outline: 2px solid #625578;
    outline-offset: 3px;
}

.signal-home .statement-navigation-button:disabled {
    background: transparent;
    color: #625578;
    opacity: 0.3;
    cursor: default;
}

.signal-home .statement-link-arrow,
.signal-home .statement-navigation-button > span {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.signal-home .statement-navigation-counter {
    min-width: 32px;
    color: #625578;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.signal-home .statement-navigation-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
