:root {
    --red: #e10600;
    --red-dark: #b50400;
    --ink: #111111;
    --muted: #707070;
    --line: #e8e8e8;
    --soft: #f7f7f5;
    --white: #ffffff;
    --max: 1480px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--white);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal {
    min-height: 100vh;
    overflow: hidden;
}

.site-header {
    width: min(calc(100% - 80px), var(--max));
    height: 100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr auto;
    align-items: center;
    gap: 36px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
}

.brand-word {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .18em;
}

.brand-line {
    width: 32px;
    height: 3px;
    background: var(--red);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    padding: 39px 0 36px;
    color: #5b5b5b;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link-muted {
    color: #9a9a9a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.environment {
    padding: 7px 10px 6px;
    border: 1px solid #f0b8b6;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.profile {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.profile-copy {
    text-align: right;
}

.profile-copy strong,
.profile-copy small {
    display: block;
}

.profile-copy strong {
    font-size: 12px;
}

.profile-copy small {
    margin-top: 3px;
    color: #969696;
    font-size: 10px;
}

.profile-avatar {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border: 0;
    background: var(--ink);
    color: var(--white);
    cursor: pointer;
}

.menu-toggle svg {
    width: 21px;
}

.mobile-nav {
    display: none;
}

.hero {
    width: min(calc(100% - 80px), var(--max));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(520px, 1.07fr);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    align-self: center;
    padding: 72px 70px 72px 0;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 34px;
    color: #5e5e5e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.hero-rule {
    width: 40px;
    height: 1px;
    background: var(--red);
}

.hero h1 {
    margin: 0;
    max-width: 690px;
    font-size: clamp(56px, 6.1vw, 96px);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .92;
}

.hero h1 span {
    color: var(--red);
}

.hero-text {
    max-width: 570px;
    margin: 35px 0 0;
    color: #656565;
    font-size: 17px;
    line-height: 1.65;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 43px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-action svg {
    width: 19px;
    transition: transform .2s ease;
}

.hero-action:hover svg {
    transform: translateX(5px);
}

.hero-visual {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--soft);
}

.red-field {
    position: absolute;
    inset: 0 0 0 16%;
    overflow: hidden;
    background: var(--red);
}

.red-field::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -70px;
    top: -70px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
}

.red-field::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    left: -280px;
    bottom: -300px;
    border: 1px solid rgba(255,255,255,.19);
    border-radius: 50%;
}

.red-field-word {
    position: absolute;
    right: -19px;
    bottom: -112px;
    color: rgba(255,255,255,.11);
    font-size: 520px;
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.09em;
}

.red-field-number {
    position: absolute;
    top: 43px;
    right: 48px;
    color: rgba(255,255,255,.94);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.white-cut {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 16%;
    background: var(--white);
}

.white-cut::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -34px;
    width: 68px;
    height: 1px;
    background: var(--red);
}

.signal-lines {
    position: absolute;
    left: calc(16% + 42px);
    bottom: 50px;
    display: flex;
    gap: 9px;
}

.signal-lines span {
    display: block;
    width: 42px;
    height: 2px;
    background: rgba(255,255,255,.95);
}

.signal-lines span:nth-child(2) {
    width: 18px;
    opacity: .58;
}

.signal-lines span:nth-child(3) {
    width: 8px;
    opacity: .32;
}

.modules {
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto;
    padding: 110px 0 120px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.section-index,
.utility-index {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
}

.section-heading p {
    margin: 0;
    color: #818181;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(38px, 4vw, 58px);
    letter-spacing: -.045em;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.module {
    position: relative;
    min-height: 410px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    background: var(--white);
    overflow: hidden;
    transition: background .25s ease, color .25s ease;
}

.module-featured {
    min-height: 490px;
    background: var(--ink);
    color: var(--white);
}

.module-featured::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -130px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
}

.module-light::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width .25s ease;
}

.module-light:hover::after {
    width: 100%;
}

.module-light:hover {
    background: #fcfcfb;
}

.module-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-label {
    color: #8b8b8b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.module-featured .module-label {
    color: rgba(255,255,255,.58);
}

.module-number {
    color: #a1a1a1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.module-featured .module-number {
    color: var(--red);
}

.module-icon {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    margin-top: 55px;
    border: 1px solid rgba(255,255,255,.18);
}

.module-icon svg {
    width: 31px;
}

.module-content {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.module-light .module-content {
    margin-top: auto;
}

.module-content h3 {
    margin: 0 0 16px;
    font-size: clamp(31px, 3vw, 46px);
    letter-spacing: -.045em;
}

.module-light .module-content h3 {
    font-size: clamp(27px, 2.4vw, 37px);
}

.module-content p {
    max-width: 420px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.module-featured .module-content p {
    color: rgba(255,255,255,.58);
}

.module-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.module-featured .module-link {
    border-color: rgba(255,255,255,.16);
}

.module-link svg {
    width: 18px;
    transition: transform .2s ease;
}

.module:hover .module-link svg {
    transform: translateX(5px);
}

.utility {
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 35px 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
}

.utility-copy {
    display: flex;
    align-items: flex-start;
    gap: 26px;
}

.utility-copy p {
    margin: 0 0 6px;
    color: #8a8a8a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.utility-copy h2 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.025em;
}

.utility-link {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #5f5f5f;
    font-size: 13px;
}

.utility-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ink);
    color: var(--ink);
    transition: background .2s ease, color .2s ease;
}

.utility-link:hover .utility-arrow {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.utility-arrow svg {
    width: 18px;
}

.footer {
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: #919191;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer strong {
    color: var(--ink);
    font-size: 12px;
    letter-spacing: .14em;
}

@media (max-width: 1100px) {
    .site-header,
    .hero,
    .modules,
    .utility,
    .footer {
        width: min(calc(100% - 48px), var(--max));
    }

    .site-header {
        grid-template-columns: 180px 1fr auto;
        gap: 24px;
    }

    .desktop-nav {
        gap: 22px;
    }

    .hero {
        grid-template-columns: 1fr .82fr;
    }

    .hero-copy {
        padding-right: 45px;
    }

    .hero h1 {
        font-size: clamp(52px, 7vw, 78px);
    }

    .profile-copy {
        display: none;
    }
}

@media (max-width: 860px) {
    .site-header {
        height: 82px;
        grid-template-columns: 1fr auto;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .profile {
        display: none;
    }

    .mobile-nav {
        width: min(calc(100% - 48px), var(--max));
        margin: 0 auto;
        max-height: 0;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr;
        border-bottom: 1px solid var(--line);
        transition: max-height .25s ease;
    }

    .mobile-nav.open {
        max-height: 350px;
    }

    .mobile-nav a {
        padding: 16px 0;
        border-top: 1px solid var(--line);
        color: #555;
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-nav a.active {
        color: var(--red);
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 80px 0 70px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .red-field {
        inset: 0 0 0 11%;
    }

    .white-cut {
        width: 11%;
    }

    .signal-lines {
        left: calc(11% + 35px);
    }

    .red-field-word {
        font-size: 340px;
        bottom: -68px;
    }

    .modules {
        padding: 80px 0 90px;
    }

    .modules-grid {
        grid-template-columns: 1fr 1fr;
    }

    .module-featured {
        grid-column: 1 / -1;
    }

    .module {
        min-height: 360px;
    }

    .module-featured {
        min-height: 420px;
    }
}

@media (max-width: 620px) {
    .site-header,
    .hero,
    .modules,
    .utility,
    .footer,
    .mobile-nav {
        width: calc(100% - 32px);
    }

    .brand-word {
        font-size: 16px;
    }

    .brand-line {
        width: 23px;
    }

    .environment {
        display: none;
    }

    .hero-copy {
        padding: 64px 0 55px;
    }

    .hero-kicker {
        margin-bottom: 25px;
        font-size: 9px;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 68px);
    }

    .hero-text {
        margin-top: 28px;
        font-size: 15px;
    }

    .hero-visual {
        min-height: 250px;
    }

    .red-field-word {
        font-size: 270px;
        bottom: -54px;
    }

    .red-field-number {
        top: 26px;
        right: 26px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 42px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-featured {
        grid-column: auto;
    }

    .module,
    .module-featured {
        min-height: 330px;
        padding: 26px;
    }

    .module-icon {
        width: 66px;
        height: 66px;
        margin-top: 32px;
    }

    .utility {
        margin-bottom: 75px;
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .utility-link {
        width: 100%;
        justify-content: space-between;
    }

    .footer {
        min-height: 105px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 11px;
    }

    .footer div {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}
