/* Story by AJ for HTML5 UP (html5up.net/story), CC BY 3.0.
   Imported base layouts with vendor prefixes removed. Responsive styles and art direction follow. */
@layer story {
    /* Banner (style1) */

    .banner.style1 {
        align-items: stretch;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        position: relative;
        text-align: left;
        overflow-x: hidden;
    }

    .banner.style1 .content {
        padding: 7rem 7rem 5rem 7rem ;
        align-self: center;
        flex-grow: 1;
        flex-shrink: 1;
        width: 50%;
        max-width: 48rem;
        margin: 0 auto;
    }

    .banner.style1 .image {
        flex-grow: 0;
        flex-shrink: 0;
        border-radius: 0;
        width: 50%;
    }

    .banner.style1 .image img {
        object-fit: cover;
        object-position: center;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    /* Spotlight (style1) */

    .spotlight.style1 {
        align-items: stretch;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        position: relative;
        overflow-x: hidden;
        text-align: left;
    }

    .spotlight.style1 .content {
        padding: 7rem 7rem 5rem 7rem ;
        align-self: center;
        flex-grow: 1;
        flex-shrink: 1;
        width: 65%;
        max-width: 64rem;
        margin: 0 auto;
    }

    .spotlight.style1 .image {
        flex-grow: 0;
        flex-shrink: 0;
        width: 35%;
        min-width: 25rem;
        border-radius: 0;
    }

    .spotlight.style1 .image img {
        object-fit: cover;
        object-position: center;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../cms-themes/story/bricolage-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

.tech-site--techcom {
    --ink: #17201d;
    --paper: #f6f7f1;
    --line: #c9cec3;
    --muted: #526056;
    --acid: #ddfa77;
    --accent: #314c36;
    --display: "Bricolage Grotesque", system-ui, sans-serif;
    --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
    --gutter: clamp(1.2rem, 4.6vw, 4.5rem);
    background: var(--paper);
    color: var(--ink);
    font: 1rem/1.6 system-ui, sans-serif;
}

.tech-site--techcom :is(h1, h2, h3, .tc-brand) {
    margin: 0;
    font-family: var(--display);
    font-weight: 650;
    letter-spacing: -.05em;
    line-height: 1.03;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.tech-site--techcom h1 { font-size: clamp(2.9rem, 6.1vw, 5.8rem); }
.tech-site--techcom h2 { font-size: clamp(2.1rem, 3.7vw, 3.65rem); }
.tech-site--techcom h3 { font-size: clamp(1.4rem, 2.35vw, 2.15rem); }
.tech-site--techcom p { margin: 0; }
.tech-site--techcom .tc-frame { max-width: 96rem; padding-inline: var(--gutter); }
.tech-site--techcom .tc-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.tech-site--techcom a:focus-visible { outline: 3px solid #1178bd; outline-offset: 4px; }
.tc-footer, .tc-stage, .tc-masthead { background: var(--ink); color: #f4f6eb; }
.tc-masthead { border-bottom: 1px solid #495248; }
.tc-masthead .tc-frame { min-height: 5.1rem; gap: .3rem 1.5rem; }
.tech-site--techcom .tc-brand {
    color: inherit;
    font-size: clamp(1.45rem, 2.25vw, 2rem);
    font-weight: 740;
    text-decoration: none;
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    white-space: nowrap;
}
.tc-mark {
    width: 1.7rem;
    height: 1.6rem;
    display: inline-flex;
    gap: .13rem;
    justify-content: center;
    align-items: center;
    transform: skew(-16deg);
}
.tc-mark i { width: .34rem; height: 1.25rem; background: var(--acid); }
.tc-mark i:first-child { height: .8rem; }
.tc-mark i:last-child { height: 1.66rem; }
.tc-nav { display: flex; gap: clamp(.45rem, 2vw, 2rem); }
.tc-nav .nav-link {
    padding: .7rem .1rem;
    font-size: .96rem;
    color: #d3d8ce;
    font-weight: 550;
    text-decoration: none;
}
.tc-nav .nav-link:hover, .tc-nav a[aria-current] { color: var(--acid); }
.tc-nav a[aria-current] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .48rem;
}

.tech-site--techcom .tc-label, .tech-site--techcom .tech-kicker, .tech-site--techcom .tc-meta {
    font: 600 .8125rem/1.4 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}
.tech-site--techcom .tc-label { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.15rem; }
.tc-label::before { content: ''; width: 1.9rem; height: 3px; background: currentColor; flex: none; }
.tc-stage { padding-block: clamp(1.9rem, 4vw, 3.8rem); }
.tc-banner { min-height: clamp(25rem, 35vw, 34.5rem); }
.tc-banner .image, .tc-spotlight .image { position: relative; overflow: hidden; }
.banner.tc-banner .content { padding: 1.5rem clamp(2rem, 4vw, 4.75rem) 1.5rem 0; max-width: none; min-width: 0; }
.banner.tc-banner .image { width: 48%; margin: 0; }
.tc-banner h1 { max-width: 12ch; }
.tc-stage .tc-label { color: var(--acid); }
.tech-site--techcom .tc-intro { margin-top: 1.35rem; max-width: 48ch; font-size: clamp(1.05rem, 1.4vw, 1.23rem); line-height: 1.55; }
.tc-stage .tc-intro { color: #c6cec4; }
.tc-banner .btn { margin-top: 1.7rem; }
.tc-cover { background: #374338; }
.tc-cover img { filter: saturate(.77); }
.tc-cover::before, .tc-cover::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    z-index: 1;
    pointer-events: none;
    border-color: var(--acid);
    border-style: solid;
}
.tc-cover::before { inset: 1rem auto auto 1rem; border-width: 2px 0 0 2px; }
.tc-cover::after { inset: auto 1rem 1rem auto; border-width: 0 2px 2px 0; }
.tc-cover figcaption { position: absolute; left: 1rem; bottom: 1rem; }
.tc-cover figcaption a { background: #17201de6; display: inline-block; padding: .3rem .6rem; color: #fff; font: .75rem/1.5 var(--mono); text-decoration: none; }
.tc-cover figcaption a:hover { text-decoration: underline; }
.tech-site--techcom .tc-button {
    --bs-btn-color: var(--ink);
    --bs-btn-bg: var(--acid);
    --bs-btn-border-color: var(--acid);
    --bs-btn-hover-bg: #efffb6;
    --bs-btn-hover-border-color: #efffb6;
    --bs-btn-hover-color: var(--ink);
    --bs-btn-active-bg: #f4ffcc;
    --bs-btn-active-color: var(--ink);
    --bs-btn-border-radius: .18rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .7rem;
    --bs-btn-font-weight: 650;
    text-decoration: none;
}
.tc-link, .tech-site--techcom .tech-text-link {
    color: var(--ink);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .35em;
    text-decoration-color: #75866b;
}
.tc-link:hover, .tech-site--techcom .tech-text-link:hover { text-decoration-color: currentColor; }
.spotlight.tc-spotlight { flex-direction: row-reverse; gap: clamp(1.6rem, 4.9vw, 5rem); align-items: center; }
.spotlight.tc-spotlight .content { padding: .5rem 0; margin: 0 auto 0 0; }
.spotlight.tc-spotlight .image { width: 31%; min-width: 0; aspect-ratio: 1.55; }
.tc-spotlight h2 { max-width: 22ch; }
.tc-spotlight h2 + p, .tc-entry h3 + p, .tc-detail-list h3 + p, .tc-callout h2 + p { margin-top: .75rem; max-width: 63ch; }
.tc-spotlight h2 + p, .tc-entry h3 + p, .tc-detail-list h3 + p { color: var(--muted); }
.tc-spotlight .tc-link { display: inline-block; margin-top: 1rem; }

.tc-directory { background: #e9ede0; padding-block: clamp(3rem, 6vw, 5.5rem); }
.tc-entries, .tc-detail-list article:first-child { border-top: 1px solid #707e6e; }
.tc-entry, .tc-detail-list article { padding-block: 1.4rem; border-bottom: 1px solid #b3bdac; }
.tc-entry { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; }
.tc-entry > div { min-width: 0; }
.tc-entry > a { flex: none; }
.tech-site--techcom .tc-meta { margin-bottom: .5rem; }
.tc-titleband { background: #e4ebd6; padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.tc-titleband h1 { max-width: 18ch; }
.tc-titleband .tc-intro { color: #38483b; max-width: 57ch; }
.tc-callout { padding-block: clamp(2.4rem, 5vw, 4.2rem); background: #dce6cd; }
.tc-callout h2 { max-width: 22ch; }
.tc-callout .tc-button { --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: #344938; --bs-btn-hover-border-color: #344938; --bs-btn-hover-color: #fff; }
.tc-footer .tc-frame { padding-block: 2.1rem; }
.tc-footer p { font-size: .875rem; color: #bdc8b9; }
.tc-footer p a { color: inherit; text-decoration: underline; text-underline-offset: .22em; }

.tc-main > :is(.tech-page-head, .tech-block, .tech-topics), .tc-main > .tech-article {
    width: min(100% - 2 * var(--gutter), 78rem);
    margin-inline: auto;
}
.tc-main .tech-page-head { padding-block: clamp(3rem, 6vw, 5.5rem) 2rem; }
.tc-main .tech-page-head :is(.tech-kicker, .tech-text-link) { display: block; margin-bottom: 1.2rem; }
.tc-main .tech-page-head h1 { max-width: 17ch; }
.tc-main .tech-lead { max-width: 54ch; margin-top: 1.3rem; color: var(--muted); line-height: 1.55; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.tc-main time { display: block; margin-top: 1rem; font: .85rem/1.5 var(--mono); color: var(--muted); }
.tc-main .tech-topics { padding-bottom: 1.75rem; }
.tc-main .tech-topics a { display: inline-block; color: var(--ink); background: #e2ead7; border-color: #b4c1a8; text-decoration: none; }
.tc-main .tech-topics a:hover { text-decoration: underline; }
.tc-main .tech-block > h2 { margin-bottom: 1.5rem; }
.tc-main .tech-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.tc-main .tech-card { color: var(--ink); text-decoration: none; padding: 1.2rem 0; border: 0; border-top: 2px solid #71816c; border-radius: 0; }
.tc-main .tech-card:hover :is(h2, h3) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.tc-main .tech-card img { width: 100%; aspect-ratio: 1.95; object-fit: cover; display: block; margin: 0 0 1rem; }
.tc-main .tech-card .tech-kicker { margin-bottom: .6rem; }
.tc-main .tech-card :is(h2, h3) { font-size: clamp(1.5rem, 2.65vw, 2.4rem); }
.tc-main .tech-card :is(h2, h3) + p { margin: .7rem 0; color: var(--muted); }
.tc-main .tech-article { max-width: 64rem; }
.tc-main .tech-article .tech-page-head, .tc-main .tech-prose { max-width: 47rem; margin-inline: auto; }
.tc-main .tech-prose { margin-block: 2rem 4rem; font-size: clamp(1.03rem, 1.35vw, 1.18rem); line-height: 1.75; }
.tc-main .tech-prose p { margin-bottom: 1.1em; }
.tc-main .tech-prose h2 { margin-block: 1.3em .4em; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.tc-main .tech-prose a { color: var(--accent); text-underline-offset: .18em; }
.tc-main .tech-article-image { display: block; width: 100%; height: auto; max-height: 29rem; object-fit: cover; }

@media (max-width: 767.98px) {
    .tc-masthead .tc-frame { min-height: 4.5rem; }
    .banner.tc-banner { min-height: 0; flex-direction: column; }
    .banner.tc-banner .content { width: 100%; padding: .85rem 0 1.8rem; }
    .banner.tc-banner .image { width: 100%; aspect-ratio: 1.75; }
    .tc-nav { gap: .6rem; }
    .tc-nav .nav-link { font-size: .9rem; }
    .spotlight.tc-spotlight { align-items: flex-start; }
    .spotlight.tc-spotlight .image { width: 32%; aspect-ratio: .95; }
    .tc-entry { flex-direction: column; gap: .5rem; }
}
@media (max-width: 575.98px) {
    .tc-masthead .tc-frame { padding-block: .9rem .35rem; gap: .25rem; }
    .tc-masthead nav { width: 100%; }
    .tc-nav { gap: 1.15rem; }
    .spotlight.tc-spotlight { flex-direction: column-reverse; gap: 1.2rem; }
    .spotlight.tc-spotlight .content, .spotlight.tc-spotlight .image { width: 100%; }
    .spotlight.tc-spotlight .image { aspect-ratio: 2.15; }
    .tc-section .row { --bs-gutter-y: 1.35rem; }
}

/* Full-width inner masthead and the same split photography as the home banner. */
.tc-inner { background: var(--ink); color: var(--paper); }
.tech-site--techcom .tc-inner .tc-label { color: var(--acid); }
.tc-inner .tc-intro, .tc-inner .breadcrumb-item.active, .tc-inner time { color: #c9d3c5; }
.tc-inner a { color: var(--paper); text-underline-offset: .2em; }
.tc-inner a:hover { color: var(--acid); }
.tc-inner .breadcrumb { --bs-breadcrumb-divider-color: #a4b49e; margin: 0 0 clamp(1.5rem,3vw,2.75rem); font-size: .875rem; }
.tc-inner .breadcrumb-item { overflow-wrap: anywhere; }
.tc-inner-photo { margin: 0; position: relative; aspect-ratio: 1.53; }
.tc-inner-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tc-inner + .technology-expanded--service-notes, .tc-main > .technology-expanded--service-notes { background: #e9ede0; }
.tech-site--techcom .technology-expanded--service-notes h2 { font-weight: 690; }
.tech-site--techcom .technology-expanded--service-notes h3 { margin-bottom: .6rem; }
.tech-site--techcom .technology-expanded--service-notes p { margin-top: .9rem; color: var(--muted); }
.tc-main .tech-article:has(.tc-inner) { width: 100%; max-width: none; }
.tc-main .tech-article-reading { margin: 0 auto; width: min(100% - 2 * var(--gutter), 75rem); padding-block: clamp(1.4rem,5vw,4rem); }
.tc-main .tech-article-reading .tech-prose { margin: 0; }
.tc-main .tech-article-index { background: #e9ede0; border-top: 3px solid var(--accent); }
.tc-main .tech-article-index a[aria-current] { background: #dde8d3; }
.tc-main .tc-archive { padding-block: clamp(2rem,5vw,4.2rem); }
.tc-main .tc-archive-topics { padding-bottom: .8rem; margin-top: 0; }
.tc-main .tc-archive-topics a[aria-current] { background: var(--ink); color: var(--acid); }
.tc-main .tc-journal .tech-card { border-top: 0; border-bottom: 1px solid var(--line); height: 100%; padding: 0 0 1.5rem; }
.tc-main .tc-journal img { aspect-ratio: 1.7; }
.tc-main .tc-journal time { display: inline; font: inherit; }
