/* Horizon / Lenovo Tech Incubation v10 */
:root {
    --red: #E1251B;
    --purple: #4D144A;
    --purple-2: #7A126B;
    --blue: #11184F;
    --black: #1E0013;
    --ink: #1E0013;
    --muted: #4E444E;
    --soft: #EAEEF5;
    --line: #D9C1D8;
    --shadow: 0 25px 60px rgba(30, 0, 19, .20)
}

body {
    background: #EAEEF5;
    color: var(--black)
}

body:before {
    width: 4px;
    background: #7A126B
}

.wrap {
    width: min(1280px, calc(100% - 80px))
}

.brand-logo {
    border-color: #7A6B78;
    padding-left: 22px;
    max-width: none;
    min-width: 0;
    flex: none;
    gap: 12px
}

.brand-logo img:first-child {
    flex: none
}

.brand-cto {
    width: 92px !important;
    height: auto !important;
    max-height: 25px;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    border-left: 1px solid #83707E;
    padding-left: 12px;
    box-sizing: content-box;
    flex: none
}

.hero,
.page-hero,
.project-hero {
    background: radial-gradient(circle at 70% 12%, #7A126B 0%, transparent 33%), linear-gradient(125deg, #1E0013 4%, #4D144A 67%, #11184F 100%);
    color: #fff;
    isolation: isolate
}

.hero:after,
.page-hero:before,
.project-hero:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 46%;
    height: 100%;
    opacity: .18;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 97%, #D9C1D8 97%) 0 0/33.33% 100%
}

.index-page .hero-grid {
    min-height: 0 !important
}

.index-page .hero-copy {
    justify-content: flex-start !important;
    align-self: start !important
}

.hero h1 {
    font-size: clamp(48px, 5.5vw, 82px);
    line-height: 1.01
}

.hero h1 .red,
.page-hero h1 .red,
.project-hero h1 .red {
    color: inherit
}

.eyebrow,
.kicker {
    letter-spacing: .16em
}

.eyebrow:before,
.kicker:before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 3px;
    vertical-align: middle;
    margin-right: 11px;
    background: #E1251B
}

.hero p,
.page-hero p,
.project-hero p {
    color: #F1E1ED;
    line-height: 1.64
}

.hero-stats {
    margin-top: 36px;
    border-color: rgba(217, 193, 216, .45)
}

.hero-stat strong {
    color: #fff
}

.hero-stat span {
    color: #E6E2E4
}

.hero-photo,
.page-hero-photo,
.project-hero-photo {
    background: #4D144A
}

/* Index hero: the photo shares the hero background and dissolves to the left so the two read as one surface. */
.index-page .hero-photo {
    background: transparent
}

.index-page .hero-photo img {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 22%, rgba(0, 0, 0, .85) 46%, #000 62%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 22%, rgba(0, 0, 0, .85) 46%, #000 62%)
}

.hero-note {
    background: rgba(30, 0, 19, .83);
    border-left-color: #E1251B
}

.page-hero-grid {
    min-height: 350px !important
}

.page-hero-photo {
    min-height: 350px !important
}

.breadcrumbs {
    margin-bottom: 19px;
    color: #D9C1D8
}

.projects-page .page-hero-photo {
    min-height: 320px !important
}

.project-hero-photo,
.project-hero-grid {
    min-height: 540px
}

.section {
    padding: 82px 0
}

.statement {
    padding: 76px 0;
    background: #F1E1ED
}

.statement h2,
.section h2 {
    letter-spacing: -.04em
}

.statement p,
.section-lead {
    color: #4E444E
}

.statement-grid {
    align-items: start
}

.index-page .statement-grid .scribble,
.about-page .statement-grid .scribble {
    align-self: center
}

.brand-red {
    color: #B8252E
}

.scribble {
    background: #D9C1D8 !important;
    color: #4D144A !important;
    border-left-color: #E1251B
}

.section-soft {
    background: #F1E1ED
}

.section-dark {
    background: #4D144A
}

.section-dark .kicker {
    color: #D9C1D8 !important
}

.current-projects,
.index-page #featured,
.project-content {
    background: #EAEEF5
}

.current-projects .kicker,
#featured .kicker,
.section-soft .kicker,
.statement .kicker,
.project-content .kicker {
    color: #4D144A !important
}

.section-head {
    margin-bottom: 34px
}

.principles article {
    border-top: 3px solid #4D144A;
    padding-top: 22px
}

.principles b {
    color: #871C23
}

.principles p {
    color: #4E444E !important
}

.index-page .project-grid,
.projects-page .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px
}

.index-page .project-card:nth-child(n),
.projects-page .portfolio-card:nth-child(n) {
    grid-column: auto !important
}

.project-card,
.portfolio-card {
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 28px rgba(30, 0, 19, .08) !important;
    overflow: hidden
}

.project-card:hover,
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow) !important
}

.project-card {
    min-height: 430px
}

.project-card .project-img {
    height: 245px
}

.portfolio-photo {
    height: 285px
}

.project-body,
.portfolio-content {
    padding: 27px
}

.project-type {
    color: #4D144A
}

.project-card p,
.portfolio-content p {
    color: #4E444E
}

.card-bottom,
.portfolio-link {
    color: #9E2018
}

.tag {
    background: #EAEEF5 !important;
    color: #11184F !important
}

.project-img:after,
.portfolio-photo:after {
    box-shadow: inset 0 -6px #4D144A
}

.project-card:nth-child(even) .project-img:after,
.portfolio-card:nth-child(even) .portfolio-photo:after {
    box-shadow: inset 0 -6px #E1251B
}

.incubator {
    display: none;
    background: linear-gradient(135deg, #1E0013, #4D144A 74%, #11184F) !important;
    color: #fff !important;
    padding: 72px 0 80px
}

.incubator:before {
    height: 0 !important
}

.incubator .kicker {
    color: #D9C1D8 !important
}

.incubator h2 {
    color: #fff !important;
    font-size: clamp(30px, 3vw, 45px);
    line-height: 1.13
}

.incubator .news-grid {
    grid-template-columns: 1.5fr 1fr !important;
    gap: 18px
}

.incubator .news-grid .story {
    min-height: 350px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .16)
}

.story:after {
    background: linear-gradient(0deg, rgba(30, 0, 19, .94), rgba(30, 0, 19, .18) 58%, transparent)
}

.story-copy {
    left: 26px;
    bottom: 24px
}

.story-copy strong {
    line-height: 1.22
}

.process-card,
.step {
    background: #fff !important;
    border: 1px solid #D9C1D8 !important;
    border-top: 5px solid #4D144A !important;
    padding: 26px
}

.process-card:nth-child(even),
.step:nth-child(even) {
    border-top-color: #E1251B !important
}

.process-num,
.step b {
    color: #871C23 !important
}

.process-card p,
.step p {
    color: #4E444E
}

.value {
    background: #4D144A !important;
    color: #fff !important;
    border: 0 !important
}

.value p {
    color: #F1E1ED
}

.value .num {
    color: #FFB9A2 !important
}

.sidebar {
    background: #F1E1ED !important
}

.project-strip {
    background: #F1E1ED !important;
    color: #1E0013 !important
}

.project-meta strong {
    color: #1E0013
}

.project-meta span {
    color: #4D144A !important
}

.next-project {
    background: linear-gradient(100deg, #4D144A, #11184F) !important
}

/* Core values share the actual team photograph as a softened background. */
.team-culture {
    background: #EAEEF5
}

.culture-ribbon {
    background: linear-gradient(100deg, #4D144A, #7A126B);
    color: #fff;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 700;
    padding: 17px 0
}

.culture-stage {
    position: relative;
    isolation: isolate;
}

.culture-stage:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(250, 248, 250, .76)
}

.culture-content {
    padding: 64px 0 78px
}

.team-culture .kicker {
    color: #4D144A !important
}

.team-culture .team-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0
}

.team-culture .culture-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 265px;
    padding: 26px;
    background: rgba(255, 255, 255, .91);
    border: 1px solid rgba(77, 20, 74, .19);
    box-shadow: 0 12px 30px rgba(30, 0, 19, .10)
}

.culture-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    background: #4D144A;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 20px
}

.culture-value:nth-child(even) .culture-icon {
    background: #11184F
}

.team-culture .culture-value h3 {
    color: #4D144A;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.2;
    margin: 0 0 12px
}

.team-culture .culture-value p {
    color: #4E444E;
    font-size: 15px;
    line-height: 1.5;
    margin: 0
}

.culture-photo {
    display: none
}

.contact {
    background: #EAEEF5 !important
}

.index-page #connect {
    background: #EAEEF5 !important
}

.index-page #connect .contact-box {
    border-top: 4px solid #E1251B;
    padding-top: 36px
}

.index-page #connect .kicker {
    color: #4D144A !important
}

.index-page .join:before {
    background: linear-gradient(90deg, rgba(30, 0, 19, .96), rgba(77, 20, 74, .92) 48%, rgba(30, 0, 19, .35))
}

.index-page .join .contact-box,
.index-page .join .contact-box h2 {
    color: #fff !important
}

.index-page .join .contact-box p {
    color: #F1E1ED !important
}

.index-page .join .kicker {
    color: #D9C1D8 !important
}

.join-mark {
    background: #4D144A
}

.btn-primary {
    background: #E1251B
}

.btn-primary:hover {
    background: #B8252E
}

.btn-outline {
    border-color: #D9C1D8;
    color: #fff
}

.btn-outline:hover {
    background: #4D144A
}

.tabs {
    top: 92px;
    background: #fff
}

.tabs a.active,
.tabs a:hover {
    color: #B8252E;
    border-bottom-color: #E1251B
}

.footer {
    background: #1E0013;
    border-top: 8px solid #4D144A
}

.footer-brand strong {
    font-size: 18px
}

.openings-dialog {
    border-top-color: #4D144A
}

.about-page #mission,
.about-page #approach,
.about-page #story {
    scroll-margin-top: 150px
}

@media(max-width:1000px) {
    .wrap {
        width: min(100% - 44px, 1280px)
    }

    .team-culture .team-values {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:760px) {
    .wrap {
        width: calc(100% - 32px)
    }

    .brand-logo {
        margin-left: auto;
        padding-left: 0;
        border: 0
    }

    .brand-cto {
        width: 70px !important;
        max-height: 22px;
        padding-left: 8px
    }

    .tabs {
        top: 74px
    }

    .hero:after,
    .page-hero:before,
    .project-hero:before {
        width: 100%
    }

    .page-hero-photo,
    .projects-page .page-hero-photo {
        min-height: 235px !important
    }

    .hero-photo {
        height: 320px !important;
        min-height: 320px !important
    }

    .project-hero-photo {
        min-height: 330px
    }

    .section {
        padding: 62px 0
    }

    .incubator .news-grid {
        grid-template-columns: 1fr !important
    }

    .index-page .project-grid,
    .projects-page .portfolio-grid {
        grid-template-columns: 1fr !important
    }

    .footer-note {
        text-align: left
    }
}

@media(max-width:600px) {
    .team-culture .team-values {
        grid-template-columns: 1fr
    }

    .team-culture .culture-value {
        min-height: 0
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 54px)
    }

    .nav-title {
        display: none
    }

    .brand-logo {
        margin-left: 0
    }

    .menu {
        margin-left: auto
    }
}

/* v11: the two supplied corporate marks sit together without a divider. */
.brand-logo {
    gap: 4px
}

.brand-logo .brand-cto {
    width: 86px !important;
    max-height: 25px;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box
}

.brand-logo img:first-child {
    margin: 0 !important
}

.about-page .statement {
    background: #F1E1ED
}

.about-page .statement .brand-red {
    color: #B8252E
}

.about-page .page-hero-photo img {
    object-position: 50% 48%
}

.projects-page .page-hero-photo img {
    object-position: 51% 48%
}

.team-page .page-hero-photo img {
    object-position: 52% 45%
}

@media(max-width:760px) {
    .brand-logo {
        gap: 3px
    }

    .brand-logo .brand-cto {
        width: 72px !important;
        max-height: 22px
    }
}

/* v13: supplied Connect scene, softened into the purple and blue page rhythm. */
.index-page #connect {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 410px;
    padding: 58px 0 !important;
    background-color: #F1E1ED !important;
    background-image: linear-gradient(90deg, rgba(241, 225, 237, .91) 0%, rgba(234, 238, 245, .80) 33%, rgba(241, 225, 237, .23) 58%, rgba(77, 20, 74, .12) 100%), url('../img/connect-background-v13.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-top: 6px solid #4D144A;
    border-bottom: 1px solid #D9C1D8;
    scroll-margin-top: 92px
}

.index-page #connect .contact-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important
}

.index-page #connect .contact-box>div:first-child {
    width: min(610px, 53%)
}

.index-page #connect .kicker {
    color: #4D144A !important
}

.index-page #connect .kicker:before {
    background: #E1251B
}

.index-page #connect h2 {
    color: #1E0013;
    line-height: 1.09;
    margin-bottom: 15px
}

.index-page #connect p {
    color: #4E444E !important;
    max-width: 59ch
}

.index-page #connect .contact-actions {
    text-align: left
}

.index-page #connect .btn-primary {
    box-shadow: 0 8px 22px rgba(30, 0, 19, .16)
}

@media(max-width:1000px) {
    .index-page #connect .contact-box>div:first-child {
        width: min(610px, 62%)
    }
}

@media(max-width:760px) {
    .index-page #connect {
        min-height: 460px;
        align-items: flex-start;
        padding: 48px 0 !important;
        background-image: linear-gradient(90deg, rgba(241, 225, 237, .94), rgba(234, 238, 245, .84)), url('../img/connect-background-v13.png') !important;
        background-position: 60% center !important;
        scroll-margin-top: 74px
    }

    .index-page #connect .contact-box>div:first-child {
        width: min(100%, 620px)
    }

    .index-page #connect .contact-box {
        gap: 22px
    }
}

/* v14: larger value icons, colour rhythm red -> purple -> blue across the four boxes. */
.team-values .culture-icon {
    width: 68px;
    height: 68px;
    border-radius: 2px
}

.team-values .culture-icon svg {
    width: 56px;
    height: 56px;
    display: block;
    color: #fff;
    stroke-width: 1.6
}

.team-values .culture-value:nth-child(1) .culture-icon {
    background: #E1251B
}

.team-values .culture-value:nth-child(2) .culture-icon {
    background: #7A126B
}

.team-values .culture-value:nth-child(3) .culture-icon {
    background: #4D144A
}

.team-values .culture-value:nth-child(4) .culture-icon {
    background: #11184F
}