html,
body {
    overflow-x: hidden;
}

body.home .site.grid-container,
body.home #page {
    max-width: none;
    width: 100%;
}

body.home .site-content,
body.home #content {
    display: block;
    padding: 0;
    width: 100%;
}

body.home #primary.fom-home {
    float: none;
    margin: 0;
    max-width: none;
    width: 100%;
}

.fom-home *,
.fom-site-header *,
.fom-site-footer * {
    box-sizing: border-box;
}

.fom-home,
.fom-home section,
.fom-home .fom-wrap,
.fom-site-header__inner,
.fom-site-footer .fom-wrap,
.fom-home-hero__content,
.fom-home-hero__image,
.fom-fiber-product,
.fom-home-source__image,
.fom-home-source__content,
.fom-application,
.fom-home-company__image,
.fom-home-company__content {
    min-width: 0;
}

.fom-home .fom-wrap,
.fom-site-header__inner,
.fom-site-footer .fom-wrap {
    margin-inline: auto;
    max-width: 1360px;
    padding-inline: clamp(32px, 3.2vw, 48px);
    width: 100%;
}

.fom-home .fom-section {
    padding-block: clamp(96px, 8vw, 128px);
}

.fom-home h1,
.fom-home h2,
.fom-home h3 {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.fom-home h1 {
    font-size: clamp(48px, 5vw, 76px);
    letter-spacing: -.03em;
    line-height: 1;
    max-width: 12ch;
}

.fom-home h2 {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.04;
}

.fom-home h3 {
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.12;
}

.fom-home p {
    max-width: 72ch;
}

/* Header */
.fom-site-header__inner {
    gap: 32px;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    min-height: 82px;
}

.fom-site-brand {
    flex: none;
    min-width: max-content;
}

.fom-site-nav {
    gap: clamp(28px, 2.2vw, 36px);
    min-width: 0;
}

.fom-site-nav a {
    white-space: nowrap;
}

.fom-header-cta {
    min-height: 46px;
    white-space: nowrap;
}

/* Hero */
.fom-home-hero {
    padding: 0;
}

.fom-home .fom-home-hero__grid {
    align-items: stretch;
    display: grid;
    gap: clamp(32px, 4vw, 56px);
    max-width: 1360px;
    padding-inline: clamp(32px, 3.2vw, 48px);
    width: 100%;
}

.fom-home-hero__content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
    padding: clamp(56px, 7vh, 88px) 0;
    width: 100%;
}

.fom-home-hero__content .fom-lead {
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.6;
    max-width: 62ch;
}

.fom-home-hero__image {
    align-items: center;
    background: #fff;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: clamp(28px, 3vw, 48px);
    width: 100%;
}

.fom-home-hero__image img {
    display: block;
    height: auto;
    margin: auto;
    max-height: 86%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.fom-home-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.fom-home-proof span {
    min-width: 0;
}

.fom-home-proof strong,
.fom-home-proof small {
    overflow-wrap: normal;
    word-break: normal;
}

.fom-home-hero__content .fom-actions {
    flex-wrap: wrap;
}

.fom-home-hero__content .fom-button {
    min-height: 50px;
}

/* Optical Fiber products */
.fom-fiber-row {
    align-items: stretch;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fom-fiber-product {
    height: 100%;
    width: 100%;
}

.fom-fiber-product__image,
.fom-fiber-product__image img {
    aspect-ratio: 4 / 3;
    width: 100%;
}

.fom-fiber-product__image {
    overflow: hidden;
}

.fom-fiber-product__image img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.fom-fiber-product__body {
    padding: 30px;
}

.fom-fiber-product h3 {
    min-height: 2.3em;
}

/* Multi-source */
.fom-home-source__grid {
    align-items: stretch;
    display: grid;
    gap: clamp(44px, 6vw, 84px);
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
}

.fom-home-source__image img {
    display: block;
    height: 100%;
    min-height: 580px;
    object-fit: cover;
    width: 100%;
}

.fom-home-source__content {
    align-self: center;
}

.fom-brand-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fom-brand {
    height: 96px;
    min-height: 96px;
    min-width: 0;
}

.fom-brand img {
    height: 32px;
    max-height: 32px;
    max-width: 86px;
    object-fit: contain;
    width: 100%;
}

/* Applications */
.fom-application-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fom-application {
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    width: 100%;
}

.fom-application img {
    aspect-ratio: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.fom-application figcaption {
    align-items: flex-start;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    left: 0;
    min-height: 132px;
    right: 0;
}

/* Secondary families */
.fom-home-beyond__grid {
    align-items: start;
    display: grid;
    gap: clamp(48px, 8vw, 120px);
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}

.fom-family-list a {
    min-height: 58px;
}

/* Company CTA */
.fom-home-company__grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1360px;
    width: 100%;
}

.fom-home-company__image img {
    display: block;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    width: 100%;
}

.fom-home-company__content {
    align-self: center;
    max-width: 600px;
    padding: clamp(72px, 8vw, 112px) clamp(40px, 6vw, 88px);
}

/* Footer */
.fom-site-footer {
    overflow: visible;
}

.fom-site-footer__grid {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    padding-block: 72px;
}

.fom-site-footer__bottom {
    min-height: 72px;
}

/* Desktop */
@media (min-width: 1100px) {
    .fom-home .fom-home-hero__grid {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        min-height: 680px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1099px) {
    .fom-home .fom-wrap,
    .fom-site-header__inner,
    .fom-site-footer .fom-wrap,
    .fom-home .fom-home-hero__grid {
        padding-inline: clamp(24px, 3vw, 32px);
    }

    .fom-home .fom-section {
        padding-block: clamp(72px, 8vw, 96px);
    }

    .fom-site-header__inner {
        gap: 22px;
    }

    .fom-site-nav {
        gap: clamp(16px, 2vw, 24px);
    }

    .fom-home .fom-home-hero__grid {
        gap: clamp(24px, 3vw, 38px);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: clamp(560px, 64vw, 640px);
    }

    .fom-home h1 {
        font-size: clamp(42px, 5.5vw, 60px);
        max-width: 12ch;
    }

    .fom-home-hero__content {
        padding-block: 48px;
    }

    .fom-home-proof {
        grid-template-columns: 1fr;
    }

    .fom-home-proof span {
        border-bottom: 1px solid rgba(255,255,255,.18);
        border-right: 0;
        min-height: 58px;
        padding: 10px 0;
    }

    .fom-home-proof span:last-child {
        border-bottom: 0;
    }

    .fom-fiber-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fom-home-source__grid {
        gap: clamp(32px, 4vw, 54px);
        grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    }

    .fom-home-source__image img {
        min-height: 540px;
    }

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

    .fom-brand,
    .fom-brand:nth-child(5n),
    .fom-brand:nth-child(n+6) {
        border-bottom: 1px solid var(--fom-line);
        border-right: 1px solid var(--fom-line);
    }

    .fom-brand:nth-child(3n) {
        border-right: 0;
    }

    .fom-application-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fom-home-company__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fom-home-company__content {
        padding: 64px 38px;
    }

    .fom-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 64px;
    }

    .fom-site-footer__company {
        grid-column: auto;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .fom-home .fom-wrap,
    .fom-site-header__inner,
    .fom-site-footer .fom-wrap,
    .fom-home .fom-home-hero__grid {
        padding-inline: clamp(18px, 5vw, 20px);
    }

    .fom-home .fom-section {
        padding-block: clamp(56px, 15vw, 72px);
    }

    .fom-site-header__inner {
        min-height: 72px;
    }

    .fom-home .fom-home-hero__grid {
        gap: 0;
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding-bottom: 20px;
    }

    .fom-home-hero__content {
        max-width: none;
        padding: 56px 0 42px;
    }

    .fom-home h1 {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1;
        max-width: 100%;
    }

    .fom-home-hero__content .fom-lead {
        font-size: clamp(16px, 4.3vw, 18px);
        line-height: 1.6;
    }

    .fom-home-hero__content .fom-actions {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
        order: 4;
        width: 100%;
    }

    .fom-home-hero__content .fom-button {
        min-height: 50px;
        width: 100%;
    }

    .fom-home-proof {
        grid-template-columns: 1fr;
        margin-top: 26px;
        order: 5;
    }

    .fom-home-proof span {
        border-bottom: 1px solid rgba(255,255,255,.18);
        border-right: 0;
        min-height: 66px;
        padding: 11px 0;
    }

    .fom-home-proof span:last-child {
        border-bottom: 0;
    }

    .fom-home-hero__image {
        aspect-ratio: 4 / 3;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 18px;
        width: 100%;
    }

    .fom-home-hero__image img {
        height: auto;
        max-height: 100%;
        object-fit: contain;
        width: 100%;
    }

    .fom-home-heading,
    .fom-home-beyond__grid,
    .fom-home-source__grid,
    .fom-home-company__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fom-home-heading {
        gap: 16px;
        margin-bottom: 34px;
    }

    .fom-fiber-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .fom-fiber-product__body {
        padding: 26px 22px;
    }

    .fom-fiber-product h3 {
        min-height: 0;
    }

    .fom-home-source__grid {
        gap: 38px;
    }

    .fom-home-source__image img {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 0;
    }

    .fom-brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fom-brand,
    .fom-brand:nth-child(3n),
    .fom-brand:nth-child(5n),
    .fom-brand:nth-child(n+6) {
        border-bottom: 1px solid var(--fom-line);
        border-right: 1px solid var(--fom-line);
    }

    .fom-brand:nth-child(2n) {
        border-right: 0;
    }

    .fom-brand:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .fom-application-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fom-family-list a {
        min-height: 52px;
        padding-block: 14px;
    }

    .fom-home-company__image {
        order: 1;
    }

    .fom-home-company__content {
        max-width: none;
        order: 2;
        padding: 58px clamp(18px, 5vw, 20px) 66px;
    }

    .fom-home-company__image img {
        aspect-ratio: 4 / 3;
        height: auto;
        min-height: 0;
    }

    .fom-site-footer__grid {
        gap: 36px;
        grid-template-columns: minmax(0, 1fr);
        padding-block: 46px;
    }

    .fom-site-footer__company {
        grid-column: auto;
    }

    .fom-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        padding-block: 18px;
    }
}

@media (max-width: 400px) {
    .fom-application-strip {
        grid-template-columns: minmax(0, 1fr);
    }
}
