@charset "UTF-8";

html {
    font-family: sans-serif;
    -ms-size-adjust: 100%;
    -webkit-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],
template {
    display: none
}

a {
    background-color: transparent
}

a:active,
a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b,
strong {
    font-weight: 700
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background: hsl(60, 100%, 50%);
    color: hsl(0, 0%, 0%)
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden;
    vertical-align: top;
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
/* 1 */

input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled],
html input[disabled] {
    cursor: not-allowed;
}

button[disabled] {
    opacity: .4;
    pointer-events: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: none;
    margin: 0;
    padding: 0
}

legend {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: 700
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td,
th {
    padding: 0
}

.modal {
    z-index: 9999999;
}

.modal-backdrop {
    z-index: 999999;
}
@font-face {
    font-family: 'AfacadFlux';
    src: url('../fonts/AfacadFlux/AfacadFlux-VF.ttf') format('woff2 supports variations'),
        url('../fonts/AfacadFlux/AfacadFlux-VF.ttf') format('woff2-variations');
    font-weight: 100 1000;
    font-display: swap;
    /* // font-variation-settings: 'slnt' -14 14; */
}

@font-face {
    font-family: 'Soligant';
    src: url('../fonts/Soligant/Soligant.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}
:root { 
    --animation-delay: 200ms;

    --background-color:  hsl(from var(--brand-color) h s 98%);
    --brand-color-fixed: #6d5a43;
    --brand-color: #6d5a43;
    --foreground-color: #292929;

    --body-font-size: 18px;

    --section-block-padding: clamp(24px, 4vw, 32px);
    --section-inline-padding: clamp(24px, 5vw, 48px);

    @media (width <= 520px) {
        --body-font-size: 19px;
    }
}
.hidden {
    opacity: 0;
    transition: opacity 1s;
    transition-delay: var(--animation-delay);

    @media(prefers-reduced-motion) {
        opacity: 1;
    }

    &.show {
        opacity: 1;
    }
}
::selection {
    color: #fff;
    background: var(--brand-color);
}

::-moz-selection {
    color: #fff;
    background: var(--brand-color);
}

body {
    font-family: 'AfacadFlux';
    min-height: 100vh;
    background: linear-gradient(-45deg, hsl(from var(--background-color) h s calc(l + 2)), var(--background-color));
    font-size: var(--body-font-size);
    line-height: 1.4;
    text-wrap: pretty;
    overflow-x: hidden;
}

:focus {
    outline-style: dotted;
    outline-width: 2px;
    outline-color: currentColor;

    &:not(:focus-visible) {
        outline: none;
    }
}

.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
    clip: auto;
    height: auto;
    margin: auto;
    overflow: visible;
    width: auto;
    white-space: normal;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scroll {
    to {
        transform: translateY(calc(-50% - 0.5rem));
    }
}
h2,
.h2 {
    font-weight: 400;
}

h3,
.h3 {
    font-size: 1em;
    font-family: inherit;
    margin-block: 0;
    line-height: 1.4;
}

.h3_2 {
    font-size: 1.25em;
    margin-block-end: .2em;
}

h4,
.h4 {
    margin-block-start: .8em;
    margin-block-end: .2em;
}

p,
ul,
ol {
    margin-block: 0 .4em;
}

ul,
ol {
    padding-inline-start: 20px;
}
a,
button.link {
    text-decoration: none;
    color: var(--brand-color);
    border-bottom: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(-90deg, hsl(from var(--brand-color) h s 50%), hsl(from var(--brand-color) h s 75%));
    transition: 1s ease-in;
    
    &:hover,
    &:focus {
        border-image-source: linear-gradient(90deg, hsl(from var(--brand-color) h s 50%), hsl(from var(--brand-color) h s 75%));
    }
}
button {
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    background-color: transparent;
    padding: 0;
    border: 0;
}

.btn {
    background: linear-gradient(-90deg, #2c2c2c, #111);
    border: 2px solid #555;
    color: #ddd;
    padding: .24em .64em;
    border-radius: 4px;
    transition: 240ms ease-in;

    &:hover,
    &:focus {
        color: #fff;
        border-color: #ddd;
        background: linear-gradient(-90deg, #343434, #1c1c1c);
    }
}
svg {
    fill: var(--foreground-color);
}

img {
    width: 100%;
    max-width: 100%;
}
.grid-2 {
    display: grid;
    gap: 1.6em;

    @media (width >=650px) {
        grid-template-columns: repeat(2, 1fr);
    }
}
:modal {
    --modal-icon-dimension: 32px;
    min-height: 200px;
    height: calc(100vh - 100px);
    width: min(calc(80vw - 35px), 1100px);
    padding: 0;
    border: 0;
    margin-block-start: 50px;
    box-shadow: 0 10px 30px -10px hsla(216, 7%, 14%, 0.3);
    overflow: visible;

    &::backdrop {
        background: linear-gradient(45deg, hsla(0, 0%, 100%, .3), hsla(0, 0%, 100%, .7));
        backdrop-filter: blur(4px);
        opacity: 0;
    }

    &[open] {
        animation: zoom 500ms forwards, fadeIn 1000ms forwards;

        &::backdrop {
            animation: fadeIn 500ms forwards;
        }
    }

    .container--dialog {
        height: 100%;
        width: 100%;
        overflow: auto;
    }

    button.btn--close {
        position: fixed;
        top: 20px;
        right: -43px;
        border: 1px solid #1c1c1c;
        border-radius: 50%;
        background-color: hsla(0, 0%, 100%, .8);
        backdrop-filter: blur(4px);
        width: var(--modal-icon-dimension);
        height: var(--modal-icon-dimension);
        opacity: .75;
        z-index: 1;
        transition: 240ms ease-in;

        &:hover {
            filter: drop-shadow(0 0 0.4rem var(--brand-color));
        }

        &::before,
        &::after {
            content: "";
            position: absolute;
            left: 14px;
            top: 5px;
            width: 1px;
            height: 20px;
            background: #1c1c1c;
        }

        &::before {
            rotate: 45deg;
        }

        &::after {
            rotate: -45deg;
        }
    }
}

@keyframes zoom {
    0% {
        scale: .2;
    }

    100% {
        scale: 1;
    }
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.container--branding {
    position: fixed;
    z-index: 9;
    top: 1em;
    right: 1em;
    translate: 0 -100px;
    transition: opacity 2.1s 800ms ease-out, translate 2s 240ms ease-out;
    opacity: 0;

    body:not([style="--scrollPosition: 0%;"]) & {
        translate: 0 0;
        opacity: .16;
    }

    img {
        height: auto;
        width: clamp(100px, 10vw, 120px);
    }
}

header[aria-label="Page"] {
    position: relative;
    height: calc(100vh - var(--section-block-padding) * 2);
    min-height: fit-content;
    max-width: 100vw;
    overflow: hidden;

    .logo {
        position: absolute;
        height: 100%;
        width: auto;
        min-width: 100vh;
        aspect-ratio: 1;
        top: 0;
        z-index: -1;
        transition: opacity 800ms ease-out;
        translate: -100px;
        animation-delay: 1s;
        animation-duration: 500ms;
        animation-name: bgLogoLoad;
        animation-fill-mode: forwards;

        body:not([style="--scrollPosition: 0%;"]) & {
            opacity: 0;
        }
    }

    +*>* {
        padding-block-start: 0;
    }
}

.container--intro {
    padding-block-start: 6vh;

    @media (width >=650px) {
        padding-block-start: 10vh;

        @media (height >=800px) {
            padding-block-start: 14vh;
        }

        @media (height >=1200px) {
            padding-block-start: 17vh;
        }
    }

    h1 {
        font-size: 1.2em;
        font-weight: 550;
        margin-block: 0 .06em;
        text-decoration: underline;
    }

    h2 {
        font-size: 1.12em;
        font-weight: 500;
        line-height: 1.2;
        margin-block: 0 1.1em;
        max-width: 246px;
    }

    p {
        max-width: 36ch;
        font-size: 1.6em;
        line-height: 1.2;
    }
}

nav {
    margin-block-start: .8em;

    @media (width >=650px) {
        margin-block-start: 1.8em;
    }

    ul {
        padding-inline-start: 0;
        list-style: none;
        counter-reset: item 0;
    }

    li {
        counter-increment: item;
        padding-block: .2em;
    }

    a::after {
        padding-inline-start: .2em;
        content: "- 0" counter(item);
    }
}

@keyframes bgLogoLoad {
    from {
        translate: -100px;
    }

    to {
        translate: 0;
    }
}

@media (width >=780px) {

    @keyframes bgLogoLoad {
        from {
            translate: -100px;
        }

        to {
            translate: 18vw;
        }
    }
}
section,
header[aria-label="Page"] {
    color: var(--foreground-color);
    padding-block: var(--section-block-padding);
    padding-inline: var(--section-inline-padding);
}

header[aria-label="Page"],
main {
    opacity: 0;
    animation-delay: 1s;
    animation-duration: 500ms;
    animation-name: pageLoad;
    animation-fill-mode: forwards;
}

section {

    .title {
        font-family: 'Soligant';
        position: relative;
        font-size: clamp(2em, 5vw, 4em);
        text-align: center;
        line-height: 1;
        padding-block-end: .12em;
        margin-block-end: .2em;

        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: color-mix(in srgb, var(--foreground-color) 20%, transparent);
        }
    }

    .work--grid {
        display: grid;
        gap: 2em 6vw;
        gap: 2em min(4vw, 78px);
        margin-block: 1.4em 2em;

        @media (width >=950px) {
            grid-template-columns: 550px 1fr;
        }
    }

    .col.problem {

        @media (width >=820px) {
            grid-column: 1 / span 2;
        }
    }

    .col.approach {
        grid-column: 1 / span 1;
        font-size: 1.6em;
        line-height: 1.3;
    }

    .col.role {
        line-height: 1.3;
    }
}

.scroller {
    position: relative;
    overflow: hidden;
    mask: linear-gradient(transparent, #fff 45%, #fff 65%, transparent);
}

.scroller--inner {
    padding-block: 1rem;
    gap: 1rem;
    height: max-content;
    flex-wrap: nowrap;
    animation: scroll 100s forwards linear infinite;
}

.max_w {
    padding-inline: max(16px, 50vw - 900px / 2)
}
footer[aria-label="Page"] {
    --foreground-color: #f7f7f7;
    --brand-color: hsl(from var(--brand-color-fixed) h s 74%);
    color: var(--foreground-color);
    background-color: #070707;
    padding-block: 12vh;
    padding-inline: var(--section-inline-padding);
    min-height: 76vh;

    ::selection {
        color: #000;
    }

    ::-moz-selection {
        color: #000;
    }
}

.about--grid {
    display: grid;
    padding-inline: max(16px, 50vw - 800px / 2);
    text-align: center;
    text-wrap: balance;

    .container--heading {

        img {
            width: 100%;
            max-width: 200px;
            border-radius: 50%;
            filter: grayscale(1) contrast(1.2);
        }
    }

    #about-title {
        text-decoration: underline;
    }

    p {
        font-size: 1.1em;
        margin-block-end: 1.2em;
    }
}

#backtotop {
    position: fixed;
    z-index: 10;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding-inline: 0;
    justify-content: center;
    align-items: center;
    opacity: .6;
    backdrop-filter: blur(6px);
    transition: 240ms ease-in;
    transition-property: display, opacity;
    transition-duration: 500ms, 240ms;
    transition-behavior: allow-discrete;

    border: double 2px transparent;
    border-radius: 50%;
    background-image: linear-gradient(white, white),
        conic-gradient(var(--brand-color-fixed) var(--scrollPosition), transparent var(--scrollPosition));
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* border-style: solid; */
    /* border-width: 2px; */
    /* border-image: conic-gradient(#c6c6c6 var(--scrollPosition), transparent var(--scrollPosition)) 1; */
    /* border-image-outset: 1; */
    /* background-color: hsla(0, 0%, 100%, .4); */

    @starting-style {
        opacity: .8;
    }

    &:hover,
    &:focus {
        opacity: 1;
    }

    &[hidden="hidden"] {
        opacity: 0;
    }

    &:not([hidden="hidden"]) {
        display: flex;
    }

    svg {
        width: 24px;
        height: 24px;
        fill: #000;
    }
}

#cursor {
    cursor: none;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    border-radius: 50%;
    translate: -50% -50%;
    width: 240px;
    height: 240px;
    background-image: url(../media/headshot.jpg);
    background-size: contain;
    transition: opacity 240ms ease-in;
}

.hover-cursor {
    opacity: .97 !important;
}

html:has(.hover-cursor) {
    cursor: none;
}
#ss-broadridge {

    .grid--gallery {
        width: 100vw;
        margin-inline-start: calc(var(--section-inline-padding) * -1);
        padding-block: 0 .2em;
        margin-block: 4em 3em;

        .container--scroller {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1em;

            @media (width >=650px) {
                gap: 2em;
            }
        }

        .scroller {
            max-height: 600px;
            mask: linear-gradient(transparent, #fff 45%, #fff 65%, transparent);
            grid-column: span 1;

            &:nth-of-type(1) {
                grid-column: 1 / span 1;
            }

            &:nth-of-type(2) {
                grid-column: 2 / span 1;
            }

            &:nth-of-type(3) {
                grid-column: 3 / span 1;
            }

            img {
                max-width: 100%;
            }
        }

        .scroller--inner {
            padding-block: 1rem;
            gap: 1rem;
            height: max-content;
            flex-wrap: nowrap;
            animation: scroll 100s forwards linear infinite;
        }
    }

    .grid--design {

        .container--screenshot {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1em;
            margin-block: 3em;

            &:has(button:hover) {

                button {
                    opacity: .7;
                }
            }

            button {
                display: flex;
                align-items: flex-start;
                height: fit-content;
                transition: 240ms ease-in;

                &:hover {
                    scale: 1.02;
                    opacity: 1 !important;
                    filter: drop-shadow(0 0 0.4rem color-mix(in srgb, var(--brand-color), transparent 94%));
                }
            }
        }
    }

    .grid--doc {
        padding-block: 0 3em;
        padding-inline: max(16px, 50vw - 1200px / 2);
        display: grid;
        gap: 2.4em 2em;

        @media (width >=800px) {
            grid-template-columns: repeat(8, 1fr);
            grid-template-rows: repeat(3, auto);
        }

        >img {
            position: relative;
            grid-column: 1 / span 1;
            grid-row: 2 / span 1;

            @media (width >=800px) {
                grid-column: 2 / -2;
                grid-row: 2 / span 1;
            }
        }

        img:first-of-type {
            z-index: 1;
            animation-name: imgFade;
            animation-duration: 4s;
            animation-iteration-count: infinite;
            animation-direction: alternate;
            opacity: 0;

            &:hover {
                animation-play-state: paused;
            }
        }
    }

    .grid--edit {
        display: grid;
        margin-block-start: 5em;
        gap: 1em;

        @media (width >=850px) {
            grid-template-columns: 260px 1fr;
            gap: 2em;
        }

        @media (width >=1100px) {
            grid-template-columns: 400px 1fr;
        }

        .col:has(.demo--color) {
            grid-column: 1 / span 1;
            display: flex;
            flex-direction: column;

            .demo--color {
                width: 20px;
                aspect-ratio: 1;
                border-radius: 50%;
                border: .4vw solid hsla(0, 0%, 100%, .2);
                background-color: var(--demo-color);
                margin-block: 20px;
                align-self: flex-end;
            }

            ol {
                margin-block-start: .8em;
            }
        }

        .col.demo--site {
            mask: linear-gradient(#fff 80%, transparent);
            max-height: 600px;
        }
    }
}

@keyframes imgFade {
    0% {
        opacity: 0;
    }

    40% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}
#ar-steelray {

    .grid--web {
        display: grid;
        margin-block: 4em;
        gap: 1em;

        @media (width >=850px) {
            grid-template-columns: repeat(2, 1fr);
            gap: 0;
        }

        .scroller {
            max-height: 500px;

            @media (width >=850px) {
                max-height: 800px;
            }
        }

        .tablet {

            @media (width >=850px) {
                position: relative;
                margin-inline-start: -7em;
                padding-block-start: 4em;
            }
        }
    }

    .grid--gallery {
        display: grid;
        margin-block: 2em;
        gap: 1em ;

        @media (width >=850px) {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .grid--ui {
        display: grid;
        margin-block: 2em;
        gap: 1em 3em;

        @media (width >=850px) {
            grid-template-columns: 3fr 5fr;
        }

        .col {
            @media (width >=850px) {
                padding-block-start: 3em;
            }
        }
    }

    .grid--print {
        display: grid;
        margin-block: 2em;
        gap: 1em;

        @media (width >=850px) {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans/OpenSans-VF.ttf') format('woff2 supports variations'),
        url('../fonts/OpenSans/OpenSans-VF.ttf') format('woff2-variations');
    font-weight: 100 1000;
    font-display: swap;
}

@font-face {
    font-family: 'HubotSans';
    src: url('../fonts/HubotSans/HubotSans-VF.ttf') format('woff2 supports variations'),
        url('../fonts/HubotSans/HubotSans-VF.ttf') format('woff2-variations');
    font-weight: 100 1000;
    font-display: swap;
}

@font-face {
    font-family: 'Source';
    src: url('../fonts/Source/SourceSerif4-VF.ttf') format('woff2 supports variations'),
        url('../fonts/Source/SourceSerif4-VF.ttf') format('woff2-variations');
    font-weight: 100 1000;
    font-display: swap;
}

@font-face {
    font-family: 'Butler';
    src: url('../fonts/Butler/Butler.woff2') format('woff2'),
        url('../fonts/Butler/Butler.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@property --demo-color {
    syntax: '<color>';
    initial-value: #176ca9;
    inherits: false;
}

@property --demo-font-header {
    syntax: '<string>';
    initial-value: "OpenSans";
}

@property --demo-font-body {
    syntax: '<string>';
    initial-value: "OpenSans";
}

.demo--color {
    animation-duration: 40s;
    animation-name: colorChange;
    animation-iteration-count: infinite;
}

.col.demo--site {
    container-type: inline-size;
    font-family: var(--demo-font-body);
    border: 1px solid #ddd;
    padding: 24px;

    * {
        animation-name: colorChange;
        animation-duration: 40s;
        animation-iteration-count: infinite;
    }

    .demo--btn {
        background: var(--demo-color);
        color: #fff;
        padding-block: .26em .4em;
        padding-inline: 1em;
        border-radius: 20px;
    }

    .demo--card {
        padding: min(2vw, 16px);
        border-radius: 6px;
        border: 2px solid hsla(0, 0%, 100%, .4);
        background: hsla(0, 0%, 100%, .2);
        backdrop-filter: blur(4px);
    }

    img {
        border-radius: 12px;
    }

    .demo--container {
        max-width: 820px;
        margin-inline: auto;
    }

    .demo--subtitle {
        text-align: center;
        margin-inline: auto;
        display: block;
        font-size: min(2vw, 10px);
        border: 1px solid var(--demo-color);
        width: fit-content;
        padding: 1px 10px 2px;
        border-radius: 10px;
        margin-block-end: 10px;
    }

    .demo--title {
        font-family: var(--demo-font-header);
        text-align: center;
        margin-inline: auto;
        display: block;
        font-size: min(2vw, 14px);
        font-weight: 550;
        text-transform: uppercase;
        margin-block-end: 24px;
    }

    .demo--navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;

        svg {
            width: min(15vw, 180px);

            .ss {
                fill: var(--demo-color);
            }
        }

        ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            font-size: min(2vw, 12px);
            gap: min(3vw, 2em);
        }
    }

    .demo--hero {
        padding-block: 28px;

        .demo--box {
            position: relative;
            padding: 8px 16px 20px;
            border-radius: 22px;
            border: 3px solid hsl(from var(--demo-color) h s 90%);
            background: linear-gradient(90deg, hsl(from var(--demo-color) h s 90%), hsl(from var(--demo-color) h s 98%));
            overflow: hidden;

            .demo--svg-circle {
                position: absolute;
                bottom: 0;
                right: -100px;
                height: 65%;
                width: 65%;

                circle {
                    stroke: var(--demo-color);
                }

                .svg-circle-1 {
                    opacity: .6;
                }

                .svg-circle-2 {
                    opacity: .5;
                }

                .svg-circle-3 {
                    opacity: .4;
                }

                .svg-circle-4 {
                    opacity: .3;
                }

                .svg-circle-5 {
                    opacity: .2;
                }

                .svg-circle-6 {
                    opacity: .1;
                }
            }
        }

        .demo--h1 {
            position: relative;
            display: block;
            font-family: var(--demo-font-header);
            font-size: min(4vw, 32px);
            font-weight: 550;
            line-height: 1.6;
            text-transform: capitalize;
            max-width: 20ch;

            span {
                color: #fff;
                background: var(--demo-color);
                padding: 0 10px 5px;
                border-radius: 4px;
            }
        }

        .demo--container-states {
            position: relative;
            margin-block-start: 1em;
            display: flex;
            flex-wrap: wrap;
            gap: .6em;

            .demo--card {
                max-width: fit-content;
                color: var(--demo-color);
            }

            .demo--number {
                font-family: var(--demo-font-header);
                font-size: min(4vw, 32px);
                line-height: 1;
                font-weight: 550;
                display: block;
            }

            .demo--text {
                font-size: min(2vw, 12px);
                padding-block-start: 6px;
                letter-spacing: .06em;
            }
        }
    }

    .demo--section {
        position: relative;
        background-color: #fff;
        padding-block-start: 1em;

        .demo--svg-lines {
            position: absolute;
            z-index: 1;
            left: -24px;
            bottom: -20%;
            height: auto;
            width: calc(100% + 48px);

            path {
                stroke: var(--demo-color);
            }

            .svg-line-1 {
                opacity: .1;
            }

            .svg-line-2 {
                opacity: .3;
            }

            .svg-line-3 {
                opacity: .5;
            }
        }

        .demo-container-col {
            position: relative;
            z-index: 2;
            display: grid;
            gap: 1.2em;
            align-items: center;

            @container (width >=500px) {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .demo--card {
            border: 2px solid hsla(0, 0%, 0%, .04);
            background: hsla(0, 0%, 0%, .02);
            height: fit-content;
            font-size: min(2vw, 12px);
            line-height: 1.5;
        }
    }
}

@keyframes colorChange {
    0% {
        --demo-color: #176ca9;
    }

    50% {
        --demo-color: #a91717;
    }

    100% {
        --demo-color: #176ca9;
    }
}