@font-face {
    font-family: "Fraunces";
    src: url('../fonts/Fraunces.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans";
    src: url('../fonts/NotoSans.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Code Pro";
    src: url('../fonts/SourceCodePro.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
  --c-accent: oklch(64.1% 0.245 21);
  --c-bg:     oklch(92.7% 0.036 84);

  --c-dark:   oklch(32% 0 0);
  --c-gray:   oklch(59.0% 0 0);
  --c-light: oklch(96.5% 0.007 81);

  --c-grid:   oklch(0% 0 0 / 0.05);
  

  --f-serif: "Fraunces", serif;
  --f-opsz-9: 'opsz' 9;
  --f-opsz-22: 'opsz' 22;

  --f-sans: "Noto Sans", "sans-serif";
  --f-code:  "Source Code Pro", monospace;

  --fs-code: .7rem;
  --fs-big: clamp(2.5rem, 5vw, 5rem);

  --w-max: 120rem;

  --grid-12: repeat(12, 1fr);
  --grid-6: repeat(6, 1fr);

  --step-size: 5rem;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    column-gap: 1px;
    /* border: 1px solid red; */
}

body {
    background-color: var(--c-bg);
    color: var(--c-dark);
    font-family: var(--f-sans);
}

html {
    scrollbar-color: var(--c-dark) var(--c-bg);
}

a:active, a:link, a:visited {
    text-decoration: none;
    color: inherit;
}

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

.line__grid {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    pointer-events: none;
    width: 100%;
    max-width: var(--w-max);
    top: 0; right: 0; bottom: 0; left: 0;
    margin-inline: auto;
    background-color: var(--c-grid);
    z-index: -1;

    span {
         grid-column: span 1;
         background-color: var(--c-bg);
         /* border-right: 1px solid var(--c-grid); */
         height: 100%;
    }

    > span:first-child {
        border-left: 1px solid var(--c-grid);
    }
}

h2 { font-family: var(--f-serif); font-weight: 400; font-size: 4rem; font-variation-settings: var(--f-opsz-9);}
h3 { font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.5rem, 2.5vw, 2rem); font-variation-settings: var(--f-opsz-9);}
p { font-family: var(--f-sans); font-weight: 300; font-size: clamp(1rem, 3vw, 1.25rem); line-height: 1.5; strong { font-weight: 700; } }

.prosa > * + * {
    margin-block-start: var(--prosa-flow, 1em);
}

header, main, footer {
    max-width: var(--w-max);
    margin-inline: auto;
}

header, section, footer {
    display: grid;
}

section, footer {
    width: 100%;
    grid-template-columns: var(--grid-12);
}

section:not(:first-child) {
    margin-top: 30rem;

    &:nth-of-type(2) {
        margin-top: 22rem;
    }
}

mark {
    background-color: transparent;
    color: var(--c-dark);
    transition: color 500ms;
    animation: --mark linear;
    animation-timeline: view();
    animation-range: contain cover;
}


.code__snippet {
    display: inline;
    font-family: var(--f-code);
    color: var(--c-gray);
    font-size: .5rem;
    opacity: .65;

        @media (min-width: 32rem) {
        font-size: var(--fs-code);
    }
}

.badge {
        text-transform: uppercase;
        font-weight: 600;
        font-size: 1rem;
        color: var(--c-gray);
        opacity: .75;
    }

.sep {
    height: 2px;
    background-color: var(--c-gray);
    opacity: .25;
    align-self: center;
} 

[hidden] {
    display: none;
}

blockquote {
    svg {
        display: inline;
        height: .7rem;
        aspect-ratio: 28 / 20;

        &:first-of-type {
            margin-right: .5rem;
        }

        &:last-of-type {
            margin-left: .5rem;
        }
    }

    p {
        display: inline;
    }
}

@supports not (animation-timeline: view()) {
    mark {
        color: var(--c-accent);
    }
}

/*
----------------------------------------------------------

A N I M A T I O N S

----------------------------------------------------------
*/

@keyframes --mark {
    0% {
        color: var(--c-dark);
    }
    25%, 60% {
        color: var(--c-accent);
    }
    100% {
        color: var(--c-dark);
    }
}

@keyframes --steps {
    0%, 20% {
        background-color: var(--c-dark);
    }
    45%, 55% {
        background-color: var(--c-accent);
    }
    80%, 100% {
        background-color: var(--c-dark);
    }
}

@keyframes --border {
    0%, 10% {
        border-color: var(--c-dark);
    }
    20%, 30% {
        border-color: var(--c-accent);
    }
    60%, 100% {
        border-color: var(--c-dark);
    }
}

@keyframes --case-arrow {
    0% {
        right: -3rem;
    }
    50% {
        right: -4rem;
    }
    100% {
        right: -3rem;
    }
}

/*
----------------------------------------------------------

CTA PRIMARY

----------------------------------------------------------
*/
.cta__primary {
    position: relative;
    text-shadow:
    2px 0 var(--c-bg),
    -2px 0 var(--c-bg),
    0 2px var(--c-bg),
    0 -2px var(--c-bg),
    2px 2px var(--c-bg),
    -2px 2px var(--c-bg),
    2px -2px var(--c-bg),
    -2px -2px var(--c-bg);

    &::before {
        content: '';
        position: absolute;
        display: block;
        height: 3px;
        background-color: var(--c-dark);
        left: 0;
        right: -2rem;
        bottom: 2px;
        z-index: -1;
        anchor-name: --link-line;
        
    }

    &::after {
        content: "";
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        right: -3rem;
        bottom: -1px;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 10px solid currentColor;
        color: var(--c-accent);
        }

    &:hover::after {
        animation: --case-arrow 2000ms ease-in-out infinite;
    }
}
/*
----------------------------------------------------------

CONTACT CTA

----------------------------------------------------------
*/

.cta__contact {

    display: grid;
    grid-template-columns: var(--grid-12);
    position: fixed;
    width: 100%;
    max-width: var(--w-max);
    right: 0; bottom: 1.5rem; left: 0;
    margin-inline: auto;
    z-index: 2;

    details {
    position: relative;
    grid-column: 1 / 12;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-self: end;

    &::details-content {
        transition: block-size 1000ms, content-visibility 1000ms;
        transition-behavior: allow-discrete;
    }

    @media (min-width: var(--w-max)) {
        grid-column: 1 / -1;
    }

        summary {
            list-style: none;
            cursor: pointer;
            background-color: var(--c-accent);
            color: var(--c-light);
            font-weight: 700;
            padding: .75rem 1.5rem;
            border-radius: 20px;
            box-shadow: 0 .25rem 1rem oklch(0% 0 0 / 0.15);
            transition: background-color 500ms ease;

            &::-webkit-details-marker {
                display: none;
            }

            span:last-child {
                display: none;
            }
        }

        ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: .5rem;
            max-height: 0;
            margin-bottom: 0;
            opacity: 0;
            overflow: hidden;
            translate: 0 1rem;
            transition: max-height 300ms ease, margin-bottom 300ms ease, opacity 200ms ease, translate 300ms ease;
        }

        a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .75rem;
            background-color: var(--c-dark);
            color: var(--c-light);
            font-weight: 700;
            padding: .5rem 1rem;
            border-radius: 20px;
            text-decoration: none;
            transition: background-color 200ms ease;

            svg {
                width: 1.1rem;
                height: 1.1rem;
                flex-shrink: 0;
                fill: var(--c-accent);
            }

            &:hover {
                background-color: var(--c-gray);
            }
        }

        &[open] {
            ul {
                max-height: 20rem;
                margin-bottom: .75rem;
                opacity: 1;
                translate: 0 0;
            }
        }

        &:hover,
        &[open] {
            summary {
                background-color: var(--c-dark);

                span:first-child {
                    display: none;
                }

                span:last-child {
                    display: inline;
                }
            }
        }
    }
}

/*
----------------------------------------------------------

HEADER

----------------------------------------------------------
*/

header {
    grid-template-columns: repeat(12, 1fr);
    align-content: center;
    justify-self: center;
    /* height: 4rem; */
    margin-top: 1rem;
    width: 100%;
    max-width: var(--w-max);
    position: fixed;
    margin-inline: auto;
    z-index: 3;

    .inner {
        grid-column: 2 / 12;
        display: grid;
        grid-template-columns: subgrid;
        height: 4rem;
        align-content: center;
        align-items: center;
        /* background-color: var(--c-dark); */
        border-radius: 20px;
        /* overflow: hidden; */
        position: relative;
        isolation: isolate;
        anchor-name: --nav-link;

            @media (min-width: 60rem) {
                grid-column: 4 / 10;
        }

        &::after {
            content: '';
            position: absolute;
            inset: 0;
            background-color: var(--c-dark);
            border-radius: 20px;
            z-index: -1;
            transition: block-size 1000ms, inset 350ms 175ms, inset-inline 300ms 100ms;
        }

        > div:first-child {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: start;
            grid-column: 1 / span 3;
            margin-left: 1.25rem;
            height: 4.55rem;

            @media (min-width: 60rem) {
                grid-column: 1 / span 2;
            }
    }   

        svg {
            height: 100%;
            fill: var(--c-bg);
            transition: fill 200ms 200ms ease;
        }

        ul {
            grid-column: 7 / -1;
            display: flex;
            /* grid-template-columns: subgrid; */
            height: 100%;
            list-style: none;
            justify-self: end;
            align-items: end;

            li {
                grid-row: 1;
                padding: 1rem;
                justify-items: center;

                a {
                    padding: 1rem;
                    display: flex;

                    @supports not (anchor-scope: --anchor) {
                    transition: background-color 500ms ease;

                    &:hover,
                    &:focus-within {
                        background-color: oklch(100% 0 0 / 0.08);
                    }
                }

                @supports (anchor-scope: --anchor) {
                    &:hover,
                    &:focus-within {
                        anchor-name: --nav-link;
                    }
                }
                } 

                svg {
                    height: 1.5rem;
                }

                
            }

            @media (min-width: 32rem) {
                display: grid;
            }

            @media (min-width: 60rem) {
                    
                grid-column: 5 / 7;

                li {
                    grid-column: span 1;
                }
            }
        }

        @supports (anchor-scope: --anchor) {
            &:has(ul a:hover, ul a:focus-within)::after {
                position-anchor: --nav-link;
                inset-block-start: calc(anchor(start) + .275rem);
                inset-block-end: calc(anchor(end) + .275rem);
                inset-inline-start: anchor(start);
                inset-inline-end: anchor(end);
                border-radius: 20px;
            }

            &:has(ul a:hover, ul a:focus-within) {
                > div:first-child svg,
                ul a:not(:hover, :focus-within) svg {
                    fill: var(--c-gray);
                }
            }
        }
    }
}



        /* @media (min-width: 60rem) {
        header {

        }
    } */


/*
----------------------------------------------------------

HERO

----------------------------------------------------------
*/

section#hero {
    grid-template-rows: auto 1fr auto;
    height: 70svh;
    padding-top: 5rem;

    > .code__snippet:first-child {
        grid-column: 2 / 12;
        margin-inline: auto;
    }

    p {
        grid-row: 2 / 3;
        grid-column: 2 / -1;
        font-family: var(--f-serif);
        font-weight: 400;
        font-size: var(--fs-big);
        font-variation-settings: var(--f-opsz-9);
        align-self: end;
    }

    span.code__snippet:last-child {
        grid-column: 2 / -1;
    }
}

/*
----------------------------------------------------------

INTRO

----------------------------------------------------------
*/

section#intro {
    height: 90svh;
    grid-template-rows: auto auto 1fr auto;

    p:first-of-type {
        grid-area: 1 / 2 / 2 / 12;
        max-width: 30ch;
    }

    p:last-of-type {
        grid-area: 3 / 2 / 4 / 12;
        justify-self: end;
        align-self: end;
        text-align: right;
        max-width: 24ch;
    }

    p {
        font-family: var(--f-serif);
        font-size: clamp(1.5rem, 3.5vw, 3rem);
        font-variation-settings: var(--f-opsz-9);
        font-weight: 300;
        line-height: 1.5;
    }

    span.code__snippet:first-of-type {
        grid-area: 2 / 2 / 3 / 12;
        align-self: start;
    }

    span.code__snippet:last-of-type {
        grid-area: 4 / 2 / 5 / 12;
        justify-self: end;
        align-self: end;
    }
    
}

/*
----------------------------------------------------------

CASES

----------------------------------------------------------
*/

section#cases {
    row-gap: 2rem;

    h2 {
        grid-column: 2 / 11;
        margin-bottom: 2rem;
        font-style: italic;
        font-size: var(--fs-big);
    }

    div {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 2 / -1;

         > .badge {
        grid-column: 2 / 8;
        justify-self: end;
        align-self: center;
        margin-right: 1rem;

        }

        > .sep {
            grid-column: span 3;
        }
    }

    > h3 {
        grid-column: 2 / 12;
        color: var(--c-gray);
        margin-top: 6rem;
        font-size: clamp(2.5rem, 4vw, 4rem);

        @media (min-width: 60rem) {
            grid-column: 3 / 8;
        }
    }

   
    
    figure {
        grid-column: 2 / 12;
        display: grid;
        grid-template-columns: subgrid;
        align-self: start;
        align-content: start;
            anchor-scope: --case-img;
        
        img:first-of-type {
            grid-column: 1 / -1;
            width: 100%;
            border: .5rem solid var(--c-dark);
            anchor-name: --case-img;
            border: .5rem solid var(--c-dark);
            -moz-bkacground-color: var(--c-accent);
            transition: background-color 100ms;
            animation: --border linear;
            animation-timeline: view();
            animation-range: contain cover;
        }

        img:last-of-type {
            position: absolute;
            position-anchor: --case-img;
            bottom: calc(anchor(bottom) + 1.5rem);
            left: calc(anchor(left) + 1.5rem);
            max-width: calc(anchor-size(width) * .5);
            max-height: calc(anchor-size(height) * .25);
            z-index: 2;
        }

        .code__snippet {
            grid-column: 1 / -1;
            justify-self: end;
        }

        figcaption {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: subgrid;
            row-gap: 1rem;
            font-size: clamp(1rem, 3vw, 1.25rem);

            > * {
                grid-column: 1 / -1;
            }

            > .badge {
                grid-column: 1 / -1;
                justify-self: end;
                margin-top: 2rem;
            }

            .sep {
                grid-column: span 1;
            }

            blockquote {
                p {
                font-family: var(--f-serif);
                font-size: inherit;
                font-weight: 300;
                }

                footer {
                    display: flex;
                    flex-direction: column;
                    align-items: start;
                    margin-top: 2rem;
                    font-family: var(--f-sans);
                    font-weight: 600;
                    row-gap: 2rem;

                    > div {
                        display: flex;
                        flex-direction: column;

                        strong {
                            font-size: inherit;
                            font-weight: 600;
                        }

                        > span {
                            color: var(--c-gray);
                            font-weight: 400;
                        }
                    }

                    

                    a {
                        font-family: var(--f-serif);
                        font-size: 2rem;
                        font-style: italic;
                        color: var(--c-dark);
                        position: relative;
                    }
                }
            }
        }

        &.hedenvall { margin-top: 8rem;}

        @media (min-width: 60rem) {
            &.gladspand {
                grid-area: 1 / 2 / auto / 6; 
            }

            &.hedenvall {
                grid-column: 8 / 12;
                margin-top: -40rem;
            }
        }
  
    }

    @media (min-width: 60rem) {
        > div {
            grid-column: 7 / -1;
            align-self: start;
            margin-top: 8rem;

            h2 {
                grid-column: 1 / -1;
            }
            > .badge {
                grid-column: 1 / 3;
            }

            > .sep {
                grid-column: span 3;
            }
        }
        
    }
}

/*
----------------------------------------------------------

SERVICES

----------------------------------------------------------
*/

section#services {
    row-gap: 2rem;

    h2 {
        grid-column: 2 / 12;
        font-size: var(--fs-big);
        font-variation-settings: var(--f-opsz-9);
    }

    span:first-of-type {
        grid-column: span 8;
        justify-self: end;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--c-gray);
        opacity: .75;
        margin-right: 1rem;
    }

    span:nth-child(1 of .sep) {
        grid-column: span 3;
    }
    

    span:nth-child(2 of .sep) {
        grid-column: span 6;
    }

    span:last-of-type {
        display: none;
    }    

    ul {
        grid-column: 2 / 12;
        display: grid;
        grid-template-columns: subgrid;
        row-gap: 4rem;

        li {
            display: grid;
            grid-template-columns: subgrid;
            grid-column: span 10;
            align-items: center;

            h3 {
                grid-column: span 11;
            }
            
            p {
                grid-column: 2 / 12;
                color: var(--c-gray);
            }
        }
    }

    > p {
        font-family: var(--f-serif);
    }

    > p:first-of-type {
        grid-column: 4 / 12;
        max-width: 36ch;
    }

    > p:last-of-type {
        grid-column: 4 / 12;
        max-width: 40ch;
    }
}

@media (min-width: 60rem) {
    section#services {
        row-gap: 4rem;
        h2 {
            grid-column: 6 / 12;
        }

        span:first-of-type {
            grid-column: span 7;
        }

        span:nth-child(1 of .sep) {
            grid-column: span 4;
        }

        span:nth-child(2 of .sep) {
            grid-column: span 6;
        }

        span:last-of-type {
            display: block;
            grid-column: span 5;
            align-self: center;
            margin-left: 1rem;
        } 

        span:first-of-type {
            font-size: inherit;
        }

        > p:first-of-type {
            grid-column: 2 / 5;
        }

        > p:last-of-type {
            grid-column: 6 / 10;
        }   
    }
}

@media (min-width: 70rem) {
    section#services {
        span:nth-child(2 of .sep) {
            grid-column: 2 / 7;
        }
        ul {
            li {
                h3 {
                    grid-column: span 3;
                    justify-self: end;
                }

                p {
                    grid-column: 5 / 11;
                }
            }
        }
    }
}

@media (min-width: 80rem) {
    section#services {
        span:last-of-type {
            grid-column: span 5;

        } 
    }
}

@media (min-width: 80rem) {
    section#services {
        span:nth-child(2 of .sep) {
            grid-column: 2 / 8;
        }

        span:last-of-type {
            grid-column: span 4;

        } 
    }
}

/*
----------------------------------------------------------

PROCES

----------------------------------------------------------
*/

section#proces {

    
    h2 {
        font-size: var(--fs-big);
        grid-column: 3 / 11;
        justify-self: start;
        margin-bottom: 3rem;
    }

    .proces__container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(5, auto);
        grid-column: 2 / 12;

        > span {
            width: 2px;
            background-color: var(--c-dark);
            grid-column: 1;
            grid-row: 1 / -1;
            anchor-name: --timeline;
            display: grid;
            grid-template-rows: subgrid;
        
            span {
                display: block;
                height: 1.25rem;
                width: 1.25rem;
                background-color: var(--c-dark);
                border-radius: 50%;
                translate: -9px 0;
                margin-top: calc(var(--step-size) + 3.5rem);
                transition: background-color 500ms;
                -moz-bkacground-color: var(--c-accent);
                transition: background-color 500ms;
                animation: --steps linear;
                animation-timeline: view();
                animation-range: contain cover;
            }
        }
    }

    pre {
        display: none;

        @media (min-width: 48rem) {
            display: block;
            grid-column: 7 / 12;
            grid-row: 1;
        }
    }

    ol {
        list-style: none;
        display: grid;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        /* row-gap: 2rem; */

        li {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            grid-column: 2 / -1;
            margin-top: 2rem;
            anchor-name: --step;

            span {
                font-size: var(--step-size);
                font-weight: 900;
                font-style: italic;
                color: var(--c-gray);
                opacity: .20;
                
            }


        

            &:nth-child(odd), &:nth-child(even) { grid-column: 2 / -1; }


            &:first-child {grid-row: 1 / 2;}

            &:nth-child(2) {grid-row: 2;}

            &:nth-child(3) {grid-row: 3;}

            &:nth-child(4) {grid-row: 4;}

            &:nth-child(5) {grid-row: 5;}

            span { line-height: 1;}
            span, p {
                font-family: var(--f-serif);
            }
        }
    }
}

@media (min-width: 60rem) {
    section#proces {

        h2 {
            grid-column: 3 / 9;
            /* justify-self: end; */
        }
        .proces__container {
            > span {
                grid-column: 6;
            }
        }

        pre {
            grid-column: 7 / 12;
        }

        ol {
            li {
                &:nth-child(odd) { grid-column: 2 / 5; text-align: right; }
                &:nth-child(even) { grid-column: 7 / 10; }
            }
        }
    }
}

/*
----------------------------------------------------------

CASES

----------------------------------------------------------
*/



/*
----------------------------------------------------------

WHY

----------------------------------------------------------
*/

section#why {

    row-gap: 2rem;

    h2 {
        font-size: var(--fs-big);
        grid-column: 2 / 12;
        grid-row: 2;
        justify-self: start;
    }

    .sep {
        grid-column: 5 / 12;
        grid-row: 3;
    }

    img {
        border-radius: 50%;
        grid-column: 3 / 11;
        grid-row: 1;
        justify-self: end;
        border: .5rem solid var(--c-dark);
        -moz-bkacground-color: var(--c-accent);
        transition: background-color 100ms;
        animation: --border linear;
        animation-timeline: view();
        animation-range: contain cover;
    }

    p {
        grid-column: 2 / 12;
        /* margin-bottom: .5rem; */
        font-family: var(--f-serif);
        font-size: 1.25rem;
        font-weight: 400;
    }
}

@media (min-width: 60rem) {
    section#why {
        h2 {
            grid-column: 4 / 12;
            grid-row: 1;
            justify-self: start;
        }

        .sep {
            grid-column: 5 / 12;
            grid-row: 2 / 3;
        }

        img {
            grid-column: 2 / 6;
            grid-row: 1 / 7;
            width: 20rem;
            margin: 9rem 2rem 0 0;
            justify-self: end;
            }

        p {
            grid-column: 6 / 11;
        }
    }
}

/*
----------------------------------------------------------

FOOTER

----------------------------------------------------------
*/

main + footer {
    margin-top: 14rem;
    height: fit-content;
    margin-bottom: 6rem;
    row-gap: 4rem;

    > div:first-child {
        grid-column: 2 / 12;
        width: 100%;
        aspect-ratio: 1.545;
        background-color: var(--c-dark);
        border-radius: 20px;
        container-type: size;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5%;
        margin-inline: auto;
        margin-bottom: 1rem;

        > svg {
            height: 50cqh;
            fill: var(--c-bg);

            .logo-dot {
                fill: var(--c-accent);
            }
        }

        p {
            color: var(--c-bg);
            font-family: var(--f-code);
            font-size: 6.6cqh;
            font-weight: 500;
            letter-spacing: 2%;

            span {
                color: var(--c-accent);
                font-weight: 900;
            }
        }

        @media (min-width: 32rem) { grid-column: 3 / 11; }
        @media (min-width: 48rem) { grid-column: 4 / 10; }
        @media (min-width: 60rem) {
            grid-column: 5 / 9; 
            max-width: calc(var(--w-max) / 12 * 3);
        }
    }

    h1 {
        grid-column: 2 / 12;
        font-family: var(--f-serif);
        font-size: clamp(1rem, 3vw, 1.5rem);
        font-weight: 400;
        font-variation-settings: var(--f-opsz-9);
        letter-spacing: .5px;
        line-height: 1.5;
        
    }
    
    .badge {
        &:first-of-type {
            grid-column: 1 / 7;
            justify-self: end;
            margin-right: 1rem;
        }

        &:last-of-type {
            margin-left: 1rem;
            grid-column: span 5;
        }
    }

    span:nth-child(1 of .sep) {
        grid-column: 7 / 12;
    }
    

    span:nth-child(2 of .sep) {
        grid-column: 2 / span 6;
    }

    ul {
        grid-column: 2 / 12;
        display: grid;
        grid-template-columns: subgrid;
        row-gap: 4rem;

        li {
            display: grid;
            grid-template-columns: subgrid;
            grid-column: 2 / -1;
            align-items: center;

            h3 {
                grid-column: span 3;
                font-style: italic;
            }
            
            p, a {
                grid-column: 4 / 12;
                font-size: clamp(1rem, 3vw, 1.25rem);
                font-weight: 500;
                justify-self: start;
                line-height: 1.5;
            }

            .cta__primary::before {
                height: .1em;
                bottom: 2px;
            }
        }
    }

    @media (min-width: 32rem) {

        .badge {
            &:first-of-type {
                grid-column: 1 / 6;
            }
        }

        span:nth-child(1 of .sep) {
        grid-column: 6 / 12;
        }

    }

    @media (min-width: 48rem) {
        margin-bottom: 2rem;
        
        .badge {
            &:last-of-type {
                grid-column: 6 / 12;
            }
        }

        span:nth-child(2 of .sep) {
        grid-column: 2 / 6;
        } 

        > div {
            margin-bottom: 2rem;
        }
        h1 {
            grid-column: 3 / 11;
        }

        ul {
            grid-column: 4 / 12;

            li {
                grid-column: 1 / -1;
            }
        }
    }

    @media (min-width: 60rem) {
        .badge {
            &:last-of-type {
                grid-column: 7 / 12;
            }
        }

        span:nth-child(2 of .sep) {
        grid-column: 2 / 7;
        } 
    }

    @media (min-width: 75rem) {
        margin-bottom: 2rem;
        .badge {
            &:first-of-type {
                grid-column: 1 / 8;
            }

            &:last-of-type {
                grid-column: 8 / 12;
            }
        }

        span:nth-child(1 of .sep) {
        grid-column: 8 / 12;
        }

        span:nth-child(2 of .sep) {
        grid-column: 2 / 8;
        }

        ul {
            grid-column: 7 / 12;

            li {
                h3 {
                    grid-column: 2 / 4;
                }
            }
        }

        h1 {
            grid-column: 3 / 6;
            grid-row: 3;
        }
    }

    @media (min-width: 90rem) {
        .badge {
            &:last-of-type {
                grid-column: 9 / 12;
            }
        }

        span:nth-child(2 of .sep) {
        grid-column: 2 / 9;
        } 
    }
}