@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600&display=swap");

:root {
    --blue: #0f62fe;
    --blue-hover: #0050e6;
    --green: #24a148;
    --ink: #161616;
    --muted: #525252;
    --subtle: #8c8c8c;
    --canvas: #ffffff;
    --surface: #f4f4f4;
    --surface-2: #e0e0e0;
    --inverse: #161616;
    --inverse-muted: #c6c6c6;
    --line: #e0e0e0;
    --max: 1584px;
    --header-height: 64px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
    letter-spacing: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
}

.nav-shell {
    max-width: var(--max);
    min-height: var(--header-height);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 32px;
    color: var(--ink);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    border-right: 1px solid var(--line);
}

.brand-mark {
    width: 12px;
    height: 12px;
    background: var(--blue);
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: inset 0 -3px 0 var(--blue);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    align-self: center;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--canvas);
    color: var(--ink);
    cursor: pointer;
    justify-self: end;
    font-size: 22px;
    line-height: 1;
}

.hero {
    position: relative;
    min-height: 520px;
    height: min(760px, calc(100svh - var(--header-height) - 64px));
    overflow: hidden;
    background: var(--inverse);
}

.page-hero {
    position: relative;
    min-height: 360px;
    height: min(520px, calc(72svh - var(--header-height)));
    overflow: hidden;
    background: var(--inverse);
}

.slide,
.hero-image {
    position: absolute;
    inset: 0;
}

.slide {
    opacity: 0;
    transition: opacity 600ms ease;
}

.slide.active {
    opacity: 1;
}

.slide img,
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after,
.page-hero::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.44);
    content: "";
}

.hero-inner,
.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max);
    height: 100%;
    margin: 0 auto;
    padding: 72px 32px;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    align-items: end;
}

.hero-copy,
.page-hero-copy {
    grid-column: 1 / span 8;
    color: var(--canvas);
}

.hero h1,
.page-hero h1 {
    margin: 0 0 20px;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: 0;
}

.page-hero h1 {
    margin-bottom: 0;
    font-size: 52px;
}

.hero p {
    margin: 0;
    max-width: 560px;
    font-size: 20px;
    line-height: 1.45;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    right: 32px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.arrow-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.arrow-button {
    width: 48px;
    height: 48px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    cursor: pointer;
}

.arrow-button:last-child {
    border-right: 0;
}

.arrow-button:hover {
    background: var(--blue);
    color: var(--canvas);
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 32px;
    height: 4px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.dot.active {
    background: var(--blue);
}

.section {
    padding: 88px 32px;
}

.section.surface {
    background: var(--surface);
}

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.section-heading {
    max-width: 720px;
    margin: 0 0 40px;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
}

.two-card-grid,
.values-grid,
.tech-grid {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.two-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile {
    position: relative;
    min-height: 220px;
    padding: 32px;
    background: var(--canvas);
}

.tile::before,
.value-tile::before,
.contact-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--blue);
    content: "";
}

.tile.green::before,
.value-tile.green::before {
    background: var(--green);
}

.tile h3,
.value-tile h4 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.tile p,
.content-panel p,
.business-list,
.contact-card p {
    margin: 0;
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(280px, 5fr) minmax(280px, 7fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.content-panel {
    padding: 40px;
    background: var(--canvas);
}

.intro-text {
    font-size: 20px;
    line-height: 1.55;
    color: var(--ink);
}

.content-panel h2,
.content-panel h3 {
    margin: 0 0 20px;
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: 0;
}

.content-panel h2 {
    font-size: 42px;
}

.content-panel h3 {
    font-size: 28px;
}

.business-list {
    padding: 0;
    list-style: none;
}

.business-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
}

.business-list li:last-child {
    margin-bottom: 0;
}

.business-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--blue);
    content: "";
}

.value-tile {
    position: relative;
    min-height: 132px;
    padding: 28px 24px;
    background: var(--canvas);
}

.value-tile h4 {
    margin-top: 30px;
}

.image-feature {
    display: grid;
    grid-template-columns: minmax(300px, 7fr) minmax(280px, 5fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.investment-slideshow {
    position: relative;
    min-height: 560px;
    background: var(--inverse);
    overflow: hidden;
}

.investment-slideshow .slide img {
    object-fit: cover;
}

.investment-copy {
    padding: 40px;
    background: var(--canvas);
}

.investment-copy .tech-grid {
    grid-template-columns: 1fr;
}

.investment-copy .tile {
    min-height: 112px;
}

.investment-copy h2 {
    margin: 0 0 18px;
    font-size: 42px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
}

.investment-controls {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-card {
    position: relative;
    max-width: 980px;
    min-height: 240px;
    padding: 40px;
    background: var(--canvas);
    border: 1px solid var(--line);
}

.contact-card h2 {
    margin: 0 0 28px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.contact-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.contact-item strong {
    font-weight: 600;
}

.contact-label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.site-footer {
    background: var(--inverse);
    color: var(--inverse-muted);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 48px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
}

.footer-brand {
    color: var(--canvas);
    font-size: 22px;
    font-weight: 600;
}

.footer-copy {
    max-width: 720px;
    margin: 14px 0 0;
    font-size: 14px;
}

.footer-contact {
    margin: 0;
    font-size: 14px;
    text-align: right;
}

.footer-contact p {
    margin: 0 0 8px;
}

@media (max-width: 1056px) {
    .nav-shell {
        min-height: auto;
        padding: 0;
        grid-template-columns: 1fr;
    }

    .brand {
        min-height: var(--header-height);
        padding: 0 24px;
        border-right: 0;
    }

    .menu-toggle {
        display: none !important;
    }

    .nav-links {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        border-top: 1px solid var(--line);
        background: var(--canvas);
    }

    .nav-links a {
        min-height: 48px;
        flex: 0 0 auto;
        padding: 0 24px;
        white-space: nowrap;
    }

    .hero-copy,
    .page-hero-copy {
        grid-column: 1 / span 11;
    }

    .hero h1 {
        font-size: 52px;
    }

    .page-hero h1 {
        font-size: 44px;
    }

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

    .content-grid,
    .image-feature {
        grid-template-columns: 1fr;
    }

    .investment-slideshow {
        min-height: 460px;
    }
}

@media (max-width: 768px) {
    .nav-shell {
        padding: 0;
    }

    .brand {
        padding: 0 16px;
    }

    .nav-links a {
        padding: 0 16px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        width: 100%;
    }

    .nav-links a {
        justify-content: flex-start;
        min-height: 40px;
        min-width: 0;
        flex: initial;
        padding: 0 16px;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
        border-top: 1px solid var(--line);
    }

    .hero,
    .page-hero {
        min-height: 460px;
        height: min(620px, calc(100svh - var(--header-height) - 40px));
    }

    .hero-inner,
    .page-hero-inner {
        padding: 56px 24px 88px;
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .page-hero-copy {
        grid-column: 1;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-controls {
        left: 24px;
        right: auto;
        bottom: 24px;
    }

    .section {
        padding: 64px 24px;
    }

    .section-heading,
    .content-panel h2,
    .investment-copy h2 {
        font-size: 34px;
    }

    .two-card-grid,
    .values-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tile,
    .content-panel,
    .investment-copy,
    .contact-card {
        padding: 28px 24px;
    }

    .investment-slideshow {
        min-height: 420px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .hero h1,
    .page-hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .arrow-button {
        width: 44px;
        height: 44px;
    }
}
