/* Dolphin Fiber homepage */
.dfo-home {
    --dfo-home-strong-coral: #a63528;
    --dfo-home-quiet: #4d635e;
    --dfo-home-hairline: #c1c7bc;
}

.dfo-home :where(main) h1,
.dfo-home :where(main) h2,
.dfo-home :where(main) h3 {
    font-family: var(--dfo-serif, Georgia, serif);
    font-weight: 400;
}

.dfo-home :where(main) h2 {
    margin: 0;
    font-size: clamp(2.05rem, 4.25vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.dfo-home-section {
    padding-block: clamp(3.8rem, 7.6vw, 7.1rem);
}

.dfo-home-hero {
    position: relative;
    isolation: isolate;
    padding-top: clamp(2.2rem, 5.2vw, 4.6rem);
}

.dfo-home-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 41%;
    content: "";
    pointer-events: none;
    background:
        repeating-radial-gradient(ellipse at 75% 108%, transparent 0 27px, #17594c18 28px 29px, transparent 30px 42px),
        repeating-radial-gradient(ellipse at 100% 56%, transparent 0 32px, #17594c0e 33px 34px, transparent 35px 48px);
    mask-image: linear-gradient(110deg, transparent 10%, #000 48%, #000 100%);
}

.dfo-home-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4.2vw, 3.5rem);
    align-items: end;
    padding-bottom: clamp(1.65rem, 3.45vw, 3rem);
}

.dfo-home-label,
.dfo-home-product-stage {
    display: block;
    font: 700 .71rem/1.5 var(--dfo-sans, "Segoe UI", sans-serif);
    letter-spacing: .105em;
    text-transform: uppercase;
    color: var(--dfo-home-strong-coral);
}

.dfo-home-label {
    display: flex;
    align-items: center;
    gap: .68rem;
    margin: 0 0 .95rem;
}

.dfo-home-label::before {
    display: block;
    width: .46rem;
    height: .46rem;
    background: var(--dfo-coral, #d64a34);
    content: "";
}

.dfo-home-masthead h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .99;
    letter-spacing: -.058em;
    color: var(--dfo-teal, #0b393b);
}

.dfo-home-masthead h1 em {
    font-weight: inherit;
    white-space: nowrap;
}

.dfo-home-intro {
    max-width: 25rem;
    padding: .3rem 0 .3rem 1.4rem;
    border-left: 1px solid var(--dfo-home-hairline);
    background: linear-gradient(90deg, #f5f1e6c9, #f5f1e600);
}

.dfo-home-intro p,
.dfo-home-space-copy p,
.dfo-home-project-layout p {
    margin: 0 0 1.25rem;
    font-size: clamp(.96rem, 1.35vw, 1.1rem);
    line-height: 1.62;
}

.dfo-home-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem 1.25rem;
}

.dfo-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.55rem;
    font-size: .88rem;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: .28em;
    text-decoration-color: var(--dfo-home-strong-coral);
}

.dfo-home-text-link:hover {
    color: var(--dfo-home-strong-coral);
}

.dfo-home-text-link > span {
    text-decoration: none;
    color: var(--dfo-home-strong-coral);
}

.dfo-home-panorama {
    display: grid;
    position: relative;
    overflow: hidden;
    background: var(--dfo-teal, #0b393b);
    box-shadow: 0 1px 0 var(--dfo-home-hairline);
}

.dfo-home-panorama img {
    width: 100%;
    height: clamp(18rem, 39vw, 34rem);
    object-fit: cover;
    object-position: center 49%;
}

.dfo-home-panorama figcaption {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    padding: .75rem 1.1rem;
    background: #0b393bf5;
    color: #fffdf3;
    font-size: .76rem;
    line-height: 1.4;
}

.dfo-home-photo-route {
    position: absolute;
    bottom: 4.25rem;
    left: 0;
    width: 32%;
    height: 3.3rem;
    border-right: 1px solid #b9e4d8c9;
    border-bottom: 1px solid #b9e4d8c9;
    border-radius: 0 0 1.25rem 0;
    filter: drop-shadow(0 0 0.18rem #16302f);
    pointer-events: none;
}

.dfo-home-photo-route::after {
    position: absolute;
    right: -.2rem;
    top: 0;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--dfo-mint, #b9e4d8);
    content: "";
}

.dfo-home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: end;
    gap: 1.2rem 3.25rem;
    margin-bottom: clamp(1.6rem, 3.6vw, 3rem);
}

.dfo-home-section-heading p {
    max-width: 30rem;
    margin: 0;
    color: var(--dfo-home-quiet);
    line-height: 1.62;
}

.dfo-home-product-layout {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 0 clamp(1.25rem, 3.15vw, 2.8rem);
}

.dfo-home-product,
.dfo-home-reference,
.dfo-home-reference-fallback {
    position: relative;
    min-width: 0;
    color: var(--dfo-ink, #16302f);
    text-decoration: none;
}

.dfo-home-product {
    display: grid;
    grid-template-columns: minmax(5.5rem, 24%) minmax(0, 1fr) min-content;
    gap: clamp(.7rem, 1.7vw, 1.35rem);
    align-items: center;
    border-top: 1px solid var(--dfo-home-hairline);
    padding-block: .9rem;
}

.dfo-home-product:last-child {
    border-bottom: 1px solid var(--dfo-home-hairline);
}

.dfo-home-product--featured {
    display: flex;
    grid-row: 1 / 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--dfo-surface, #fffcf2);
    border: 1px solid var(--dfo-home-hairline);
}

.dfo-home-product figure,
.dfo-home-reference figure {
    overflow: hidden;
}

.dfo-home-product figure {
    aspect-ratio: 4 / 3;
}

.dfo-home-product--featured figure {
    aspect-ratio: 1.48;
    border-bottom: 1px solid var(--dfo-home-hairline);
}

.dfo-home-product img,
.dfo-home-reference img,
.dfo-home-space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dfo-home-product--featured .dfo-home-product-copy {
    padding: clamp(1.2rem, 3vw, 2.45rem);
}

.dfo-home-product-stage {
    margin-bottom: .27rem;
}

.dfo-home-product h3,
.dfo-home-reference h3,
.dfo-home-reference-fallback h3 {
    margin: 0 0 .35rem;
    font-size: clamp(1.4rem, 2.15vw, 1.92rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.dfo-home-product--featured h3 {
    font-size: clamp(1.85rem, 3vw, 2.85rem);
}

.dfo-home-product p,
.dfo-home-reference p,
.dfo-home-reference-fallback p {
    margin: 0;
    color: var(--dfo-home-quiet);
    font-size: .89rem;
    line-height: 1.5;
}

.dfo-home-product--featured p {
    max-width: 28rem;
    font-size: .98rem;
}

.dfo-home-product-arrow,
.dfo-home-reference-arrow {
    font: 400 1.35rem/1 var(--dfo-sans, "Segoe UI", sans-serif);
    color: var(--dfo-home-strong-coral);
}

.dfo-home-product--featured .dfo-home-product-arrow {
    margin: auto clamp(1.2rem, 3vw, 2.45rem) 1.25rem auto;
}

.dfo-home-product:hover h3,
.dfo-home-reference:hover h3,
.dfo-home-reference-fallback:hover h3 {
    color: var(--dfo-home-strong-coral);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .13em;
}

.dfo-home-equipment-link {
    margin-top: 1.65rem;
}

.dfo-home-planning {
    background:
        linear-gradient(90deg, #0b393b 21%, #0b393bd9 55%, #0b393b 100%),
        repeating-radial-gradient(ellipse at 10% 105%, #0b393b 0 15px, #346a5d 16px 17px, #0b393b 18px 34px);
    color: #fffdf3;
}

.dfo-home-planning-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
    gap: clamp(2.25rem, 7vw, 6rem);
}

.dfo-home-planning-intro h2 {
    max-width: 12ch;
}

.dfo-home-planning-intro p {
    max-width: 25rem;
    margin: 1.3rem 0 0;
    color: #e0ece2;
}

.dfo-home-route {
    --dfo-route-corner: .8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: flex-start;
    width: min(100%, 25rem);
    margin: 1.7rem 0 1.05rem;
    padding-block: .8rem;
    color: var(--dfo-mint, #b9e4d8);
    font-size: .71rem;
    line-height: 1.35;
}

.dfo-home-route > span {
    position: relative;
    padding: .85rem .4rem 0;
    border-top: 1px solid #b9e4d887;
}

.dfo-home-route > span:first-child {
    border-radius: var(--dfo-route-corner) 0 0 0;
}

.dfo-home-route > span::before {
    position: absolute;
    top: -.23rem;
    left: .4rem;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--dfo-mint, #b9e4d8);
    content: "";
}

.dfo-home-planning .dfo-home-text-link,
.dfo-home-planning .dfo-home-text-link > span {
    color: var(--dfo-mint, #b9e4d8);
    text-decoration-color: #b9e4d887;
}

.dfo-home-planning .dfo-home-text-link:hover {
    color: #fff;
    text-decoration-color: #fff;
}

.dfo-home-plan-checks {
    margin: 0;
}

.dfo-home-plan-checks > div {
    display: grid;
    grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
    gap: .35rem 1.2rem;
    padding: 1rem 0;
    border-top: 1px solid #b9e4d865;
}

.dfo-home-plan-checks > div:last-child {
    border-bottom: 1px solid #b9e4d865;
}

.dfo-home-plan-checks dt {
    font-family: var(--dfo-serif, Georgia, serif);
    font-size: clamp(1.17rem, 1.9vw, 1.55rem);
    line-height: 1.11;
}

.dfo-home-plan-checks dd {
    margin: 0;
    color: #e0ece2;
    font-size: .9rem;
    line-height: 1.55;
}

.dfo-home-space-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 7vw, 6rem);
    align-items: center;
}

.dfo-home-space-image {
    aspect-ratio: 1.48;
    background: var(--dfo-teal, #0b393b);
}

.dfo-home-space-copy h2 {
    margin-bottom: 1.25rem;
}

.dfo-home-space-copy .dfo-home-text-link {
    margin-top: -.2rem;
}

.dfo-home-faq {
    background: #e5ede0;
}

.dfo-home-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .73fr) minmax(0, 1.3fr);
    gap: clamp(1.55rem, 6.5vw, 5rem);
}

.dfo-home-faq-layout h2 {
    max-width: 15ch;
}

.dfo-home-faq .dfo-home-faq-list {
    margin: 0;
}

.dfo-home-reference-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.dfo-home-reference {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--dfo-home-hairline);
    background: var(--dfo-surface, #fffcf2);
}

.dfo-home-reference figure {
    aspect-ratio: 1.72;
    border-bottom: 1px solid var(--dfo-home-hairline);
    background: #e1ebe4;
}

.dfo-home-reference-copy {
    padding: 1.1rem 1.05rem .62rem;
}

.dfo-home-reference time {
    display: block;
    margin-bottom: .58rem;
    color: var(--dfo-home-strong-coral);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dfo-home-reference h3,
.dfo-home-reference-fallback h3 {
    font-size: clamp(1.37rem, 1.95vw, 1.75rem);
}

.dfo-home-reference-arrow {
    margin: auto 1.05rem .8rem auto;
}

.dfo-home-reference-fallback {
    grid-column: span 2;
    padding: 1.15rem 2.7rem 1.15rem 1.15rem;
    border: 1px solid var(--dfo-home-hairline);
    background: var(--dfo-surface, #fffcf2);
}

.dfo-home-reference-fallback span {
    position: absolute;
    right: 1.15rem;
    bottom: 1.15rem;
    color: var(--dfo-home-strong-coral);
}

.dfo-home-project {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--dfo-mint, #b9e4d8);
    padding-block: clamp(2.8rem, 6vw, 5.15rem);
}

.dfo-home-project::after {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 55%;
    pointer-events: none;
    content: "";
    background: repeating-radial-gradient(ellipse at 100% 120%, transparent 0 20px, #236a572e 21px 22px, transparent 23px 34px);
    mask-image: linear-gradient(90deg, transparent, #000);
}

.dfo-home-project-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(1.4rem, 5vw, 4.5rem);
    align-items: center;
}

.dfo-home-project-layout p {
    max-width: 30rem;
}

@media (max-width: 1100px) {
    .dfo-home-masthead {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    }

    .dfo-home-masthead h1 {
        font-size: clamp(3rem, 6.1vw, 5rem);
    }

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

    .dfo-home-reference-fallback {
        grid-column: auto;
    }
}

@media (max-width: 860px) {
    .dfo-home-wide-break {
        display: none;
    }

    .dfo-home-masthead {
        gap: 1.4rem;
    }

    .dfo-home-masthead h1 {
        font-size: clamp(2.95rem, 6.9vw, 4rem);
    }

    .dfo-home-product-layout {
        grid-template-columns: minmax(0, .87fr) minmax(0, 1fr);
    }

    .dfo-home-product {
        grid-template-columns: minmax(4rem, 24%) minmax(0, 1fr) min-content;
    }

    .dfo-home-plan-checks > div {
        grid-template-columns: 1fr;
    }

    .dfo-home-faq-layout {
        grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .dfo-home-masthead,
    .dfo-home-section-heading,
    .dfo-home-product-layout,
    .dfo-home-planning-layout,
    .dfo-home-space-layout,
    .dfo-home-faq-layout,
    .dfo-home-project-layout {
        grid-template-columns: 1fr;
    }

    .dfo-home-masthead h1 {
        max-width: 15ch;
        font-size: clamp(2.55rem, 9.1vw, 4rem);
    }

    .dfo-home-intro {
        padding-left: 0;
        border: 0;
    }

    .dfo-home-panorama img {
        height: clamp(14rem, 58vw, 22rem);
        object-position: 64% 50%;
    }

    .dfo-home-panorama figcaption {
        max-width: 90%;
        padding: .6rem .75rem;
        font-size: .68rem;
    }

    .dfo-home-photo-route {
        bottom: 3.1rem;
        height: 2.4rem;
    }

    .dfo-home-product-layout {
        grid-template-rows: none;
    }

    .dfo-home-product--featured {
        grid-row: auto;
        margin-bottom: .9rem;
    }

    .dfo-home-product--featured figure {
        aspect-ratio: 1.6;
    }

    .dfo-home-product--featured .dfo-home-product-arrow {
        margin-bottom: 1.05rem;
    }

    .dfo-home-plan-checks > div {
        grid-template-columns: minmax(0, .68fr) minmax(0, 1fr);
    }

    .dfo-home-reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .85rem;
    }
}

@media (max-width: 420px) {
    .dfo-home-label {
        letter-spacing: .077em;
        font-size: .69rem;
    }

    .dfo-home-product {
        grid-template-columns: minmax(3.25rem, 23%) minmax(0, 1fr) min-content;
    }

    .dfo-home-plan-checks > div,
    .dfo-home-reference-grid {
        grid-template-columns: 1fr;
    }

    .dfo-home-reference figure {
        aspect-ratio: 2.1;
    }
}

