/*
Theme Name: Branded Group
Theme URI: http://www.drivendevelopment.com/
Description: Custom WordPress theme for Branded Group.
Author: <a href="http://www.drivendevelopment.com/" target="_blank">Driven Development</a> on behalf of <a href="http://designpositive.co" target="_blank">Design Positive</a>
Version: 1.0
*/

@import url(default.css);

@layer base, components, utilities; 

/**
 * Defaults and Resets
 */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --green: #41CB16;
    --dark-green: #007E00;
    --bg: #0F0F0F;
    --bg-rgb: 15, 15, 15;
    --text: #ffffff;
    --text-soft: #A4A4A4;
    --font-body: "IBM Plex Sans", Arial, Verdana, sans-serif;
    --font-heading: "Montserrat", Arial, Verdana, sans-serif;
    --tile-size: 180px;
    --tile-gap: 32px;
    --marquee-duration: 45s;
    --font-size-h1: clamp(32px, 5vw, 54px);
    --font-size-h2: clamp(24px, 4vw, 42px);
    --font-size-h3: 22px;
    --font-size-h4: 18px;
    --header-height: 170px;
    --default-gutter: 100px;
    --pause-button-color: #fff;
    --pause-button-focus-color: var(--dark-green);
    --quote-soft: #A4A4A4;
}

/**
 * Theme transition
 *
 * Registering the theme colors as animatable custom properties lets the
 * single transition on body smoothly re-theme every element that
 * consumes them.
 */
@property --bg {
    syntax: "<color>";
    inherits: true;
    initial-value: #0F0F0F;
}

@property --text {
    syntax: "<color>";
    inherits: true;
    initial-value: #ffffff;
}

@property --text-soft {
    syntax: "<color>";
    inherits: true;
    initial-value: #A4A4A4;
}

@property --green {
    syntax: "<color>";
    inherits: true;
    initial-value: #41CB16;
}

@media (prefers-reduced-motion: no-preference) {
    body {
        transition: --bg 0.8s ease, --text 0.8s ease, --text-soft 0.8s ease, --green 0.8s ease;
    }

    .accordion-arrow path {
        transition: fill 0.8s ease;
    }
}

@layer base {
    body.light,
    body.editor-styles-wrapper {
        --text: #0F0F0F;
        --text-soft: var(--text); 
        --green: var(--dark-green);
        --bg: #fff;   
        --bg-rgb: 255, 255, 255;
        --pause-button-color: var(--dark-green);
        --pause-button-focus-color: var(--text);           
    }

    body.light path {
        fill: var(--light-theme-fill, inherit);
    }

    body:not(.light) .has-grey-background-color {
        background: transparent !important;
    }

    html {
        font-size: 62.5%;
        -webkit-text-size-adjust: none;
    }

    html, body {
        margin: 0;
        padding: 0;
        background: var(--bg);
        scroll-behavior: smooth;
    }

    html.block-editor-iframe__html {
        background: #fff;
    }

    body {
        font-family: var(--font-body);
        font-size: 18px;
        line-height: 1.5em;
        color: var(--text);
        font-weight: 200;
    }

    form {
        margin: 0;
        padding: 0;
    }

    img {
        border: 0;
        max-width: 100%;
        height: auto;
    }

    td {
        vertical-align: top;
    }

    p {
        margin: 0 0 20px 0;
    }

    p:last-child {
        margin: 0;
    }

    a {
        transition: 0.25s ease;
        color: var(--text);
        text-underline-offset: 5px;
    }

    a:focus,
    a:hover {
        background: var(--text);
        color: var(--bg);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
        font-family: var(--font-heading);
        margin: 0;
        line-height: 1.14em;
    }

    h2,
    .h2 {
        font-size: var(--font-size-h2);
        font-weight: 700;
        margin: 0 0 20px 0;    
    }

    h3,
    .h3 {
        font-size: var(--font-size-h3);
        font-weight: 700;
        margin: 0;    
    }
    
    h4,
    .h4 {
        font-size: var(--font-size-h4);
        font-weight: 700;
        margin: 0;    
    }     
}

/**
 * General
 */
.hidden {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.screen-reader-text,
.visually-hidden,
.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

a#skip,
a#skip:hover,
a#skip:visited {
	display: inline-block;
	background: #000;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	padding: 10px;
	position: absolute;
	top: 10px;
	left: -1000px;
	transition: none;
}

a#skip:active,
a#skip:focus {
    left: 10px;
    z-index: 99999999;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/**
 * Buttons
 */
 @layer components {
    .button,
    .menu-cta > a,
    .hs-submit .hs-button {
        --text-color: #fff;
        --fill-color: var(--dark-green);
        --border-color: var(--fill-color);

        display: inline-block;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 300;
        line-height: 1.4em;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--text-color);
        border-radius: 999px;
        padding: 13px 34px;
        background: var(--fill-color);
        border: solid 1px var(--border-color);
        transition: 0.25s ease;
        text-align: center;
        text-wrap: balance;
    }

    .button:hover,
    .button:focus,
    .hs-submit .hs-button:focus,
    .hs-submit .hs-button:hover {
        background: var(--text-color);
        color: var(--fill-color);
    }

    .button-outline,
    .menu-cta > a {
        --fill-color: var(--dark-green);

        border: solid 1px var(--text-color);
        background: none;
    }

    .button-outline:hover,
    .button-outline:focus,
    .menu-cta > a:hover,
    .menu-cta > a:focus {
        background: var(--text-color);
        color: var(--fill-color);
    }

    .button.green-outline {
        --text-color: var(--green);
        --border-color: var(--green);
        --fill-color: transparent;
    }

    .button.green-outline:focus,
    .button.green-outline:hover {
        background: var(--dark-green);
        border-color: var(--dark-green);
        color: #fff;
    }

    .button.small {
        font-size: 12px;
        padding: 10px 20px;
    }

    .pause-wrap {
        margin: 24px 0 0 0;
        text-align: center;
    }

    .pause-button {
        -webkit-appearance: none;
        appearance: none;
        background: transparent;
        border: 1px solid var(--pause-button-color);
        border-radius: 50%;
        color: var(--pause-button-color);
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: 0.25s ease;
    }

    .pause-button:hover,
    .pause-button:focus {
        border-color: var(--pause-button-focus-color);
        color: var(--pause-button-focus-color);
    }

    .pause-button:hover path,
    .pause-button:focus path {
        fill: var(--pause-button-focus-color);
    }

    .pause-button path {
        fill: var(--pause-button-color);
        transition: 0.25s ease;
    }

    .pause-button .icon-play {
        display: none;
    }

    .pause-button[aria-pressed="true"] .icon-pause {
        display: none;
    }

    .pause-button[aria-pressed="true"] .icon-play {
        display: block;
        margin-left: 2px;
    }
}

@layer base {
    /**
    * Layout
    */
    .section > div {
        max-width: 1340px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
    }

    .section.gutter > div {
        padding-top: var(--default-gutter);
        padding-bottom: var(--default-gutter);
    }

    .section.upper-gutter > div {
        padding-top: var(--default-gutter);
    }

    .section.lower-gutter > div {
        padding-bottom: var(--default-gutter);
    }

    .inner-section {
        padding: 30px;
        border-radius: 4px;
    }

    /**
    * Header
    */    
    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
        transition: background 0.25s ease, box-shadow 0.25s ease;
    }

    #header > div {
        margin: 0 auto;
        min-height: var(--header-height);
        display: flex;
        align-items: center;
        gap: 40px;
        transition: 0.25s ease;
        justify-content: space-between;
    }

    #header .logo {
        display: block;
        flex-shrink: 0;
        background: none;
    }

    #header .logo img {
        display: block;
        width: 180px;
        height: auto;
        transition: 0.25s ease;
    }

    #header nav {
        margin-left: auto;
    }

    #header nav ul {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    #header nav a {
        font-size: 16px;
        font-weight: 300;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: underline transparent 1px;
        text-underline-offset: -33px;
        color: #fff;
        background: none;
    }

    #header nav a:hover,
    #header nav a:focus {
        color: var(--green);
        text-decoration-color: var(--green);
    }

    body.scrolled {
        --header-height: 80px;
    }

    body.scrolled #header {
        /* background: rgba(15, 20, 24, 0.95); */
        background: #0F0F0F;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    }

    body.scrolled #header .logo img {
        width: 100px;
    }

    .menu-toggle {
        -webkit-appearance: none;
        appearance: none;
        display: none;
        background: transparent;
        border: solid 1px transparent;
        cursor: pointer;
        padding: 8px;
        margin-right: -8px;
    }

    .menu-toggle:focus {
        border-color: #fff;
    }

    .menu-toggle .bars {
        display: block;
        width: 26px;
    }

    .menu-toggle .bars span {
        display: block;
        height: 2px;
        background: #fff;
        margin: 0 0 6px 0;
        transition: 0.25s ease;
    }

    .menu-toggle .bars span:last-child {
        margin-bottom: 0;
    }

    .menu-toggle.open .bars span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open .bars span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bars span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #footer {
        color: #939393;
        font-size: 16px;
        line-height: 1.375em;
    }

    #footer > div {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #footer h3 {
        font-size: 16px;
        line-height: 1.2em;
        color: var(--green);
        text-transform: uppercase;
        margin: 0 0 20px 0;
        font-weight: 300;
        letter-spacing: 5px;
        font-family: var(--font-body);
    }

    #footer p:not(:last-child) {
        margin: 0 0 15px 0;
    }

    #footer a {
        color: #939393;
        text-decoration: none;
        background: none;
    }

    #footer a:focus,
    #footer a:hover {
        text-decoration: underline;
    }

    #footer .upper {
        display: grid;
        grid-template-columns: 240px 40% 1fr;
        gap: 60px;
        margin: 0 0 20px 0;
    }

    #footer .upper ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    #footer .upper ul li + li {
        margin-top: 10px;
    }

    #footer .nav {
        display: grid;
        grid-template-columns: 30% 70%;
        gap: 30px;
    }

    #footer .about {
        margin-top: -20px;
    }

    #footer .connect {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    #footer .lower {
        font-size: 12px;
    }
    
    #footer .lower ul {
        display: flex;
        margin: 0;
        padding: 0;
        list-style-type: none;
        gap: 0 20px;
    }

    #footer p.copyright {
        text-transform: uppercase;
        margin: 0;
    }

    #footer .phone a {
        font-weight: bold;
        font-size: 20px;
        color: #fff;
    }
}

/**
 * Mobile Menu
 */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #000;
    visibility: hidden;
    overflow-y: scroll;
    transition: 0.25s ease;
    opacity: 0;
}

#mobile-menu .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    min-height: var(--header-height);
}

#mobile-menu .body {
    padding: 40px 20px;
}

#mobile-menu .logo img {
    width: 100px;
    display: block;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open #mobile-menu {
    visibility: visible;
    opacity: 1;
}

#mobile-menu a {
    background: none;
}

#mobile-menu nav li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#mobile-menu nav li:nth-last-child(-n+2) {
    border-bottom: none;
}

#mobile-menu nav a {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    background: none;
}

#mobile-menu nav a:hover,
#mobile-menu nav a:focus {
    color: var(--green);
    text-decoration: underline;
}

/**
 * Industries Marquee
 */
#hero {
    transition: 0.25s ease;
    padding: calc(var(--header-height) + 30px) 0 var(--default-gutter) 0;
    overflow: hidden;
}

#hero::before {
    content: "";
    inset: 0;
    position: absolute;
    width: 100%;
    top: -100px;
    background: url("images/bg-map.webp") no-repeat center top / contain;
    pointer-events: none;
    z-index: 0;
}

.industries {
    margin: 0 0 40px 0;
}

.marquee {
    overflow: hidden;
    width: 100%;
    margin: 0 0 10px 0;
    opacity: 0.6;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee var(--marquee-duration) linear infinite;
}

.marquee.paused .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% / 3));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

.marquee-group {
    display: flex;
    gap: var(--tile-gap);
    margin: 0;
    padding: 0 var(--tile-gap) 0 0;
    list-style-type: none;
}

.industry-tile {
    position: relative;
    width: var(--tile-size);
    height: var(--tile-size);
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.industry-tile:before {
    content: "";
    position: absolute;
    background: linear-gradient(to bottom,  rgba(125,185,232,0) 0%,rgba(0,0,0,1) 100%);
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
}

.industry-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
}

.industry-tile span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 12px;
    z-index: 1;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: normal;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/**
 * Hero Content
 */
.hero-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow,
.is-style-eyebrow {
    margin: 0 0 26px 0;
    color: var(--green);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.hero-content h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.16;
    margin: 0 0 44px 0;
    text-wrap: balance;
}

.hero-content h1 .plus {
    color: var(--green);
}

.hero-cta {
    margin: 0;
}

/**
 * Trusted by Top Brands
 */
.trusted {
    margin-top: 96px;
}

.trusted-box {
    display: flex;
    border: 1px solid var(--green);
    border-radius: 4px;
    margin: 0 0 20px 0;
}

.trusted-copy {
    flex: 0 0 290px;
    border-right: 1px solid var(--green);
    padding: 20px;
    display: flex;
    align-items: center;
}

.trusted-copy p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-soft);
    font-weight: 300;
}

.trusted-brands {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trusted-heading {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    color: var(--green);
    padding: 16px 20px;
    border-bottom: 1px solid var(--green);
    margin: 0;
}

.brand-slots {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.brand-slot {
    position: relative;
    height: 120px;
}

.brand-slot img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    max-width: 70%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.brand-slot img.is-active {
    opacity: 1;
}

/**
 * Trusted by Top Brands -- quotes
 *
 * The Trusted By panel with a crossfading quote slider where the logo grid
 * would be.  The controls are lifted out of the flow of the heading bar so the
 * heading centres on the full width of the panel; matching side padding keeps
 * the words clear of the buttons without pulling them off centre.  The arrow
 * and pause styling is shared through .slider-arrow / .slider-toggle.
 */
.trusted-quotes-bar {
    position: relative;
    border-bottom: 1px solid var(--green);
}

.trusted-quotes .trusted-heading {
    border-bottom: 0;
    padding-left: 140px;
    padding-right: 140px;
}

/*
.trusted-quotes-controls {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    gap: 14px;
    margin: 0;
}
*/
.trusted-quotes-controls {
    display: flex;
    gap: 14px;
    margin: 0;
    justify-content: center;
}

.trusted-quotes-track {
    padding: 28px 30px;
    text-align: center;
}

/**
 * The track stands as tall as the longest quote, and fade mode leaves the
 * slides at their own heights inside it.  Laying the slick track out as a flex
 * row centres the shorter quotes in that space instead of hanging them from
 * the top -- the slides keep the widths slick sets on them, so its fade
 * offsets still land where they should.
 */
.trusted-quotes-track .slick-track {
    display: flex;
    align-items: center;
}

/* Until slick stacks them, the slides are still in the flow one below another. */
.trusted-quotes-track:not(.slick-initialized) .quote-slide + .quote-slide {
    display: none !important;
}

.trusted-quotes .quote-slide-quote {
    font-size: clamp(17px, 1.7vw, 20px);
    line-height: 1.5;
}

.trusted-quotes .quote-slide-quote p {
    margin: 0 0 14px 0;
}

.trusted-quotes .quote-slide-author {
    margin: 14px 0 0 0;
    font-size: clamp(15px, 1.7vw, 18px);
}

/**
 * FM Services
 */
#fm-services {
    position: relative;
    z-index: 1;
}

.fm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.fm-grid .accordion-panel .photo {
    display: none;
    margin: 0 0 20px 0;
}

.fm-grid .accordion-panel .photo img {
    display: block;
    width: 100%;
    border-radius: 4px;
}

.fm-sticky {
    position: sticky;
    top: calc(var(--header-height) + var(--default-gutter));
}

.fm-sticky .h2 {
    margin: 0 0 40px 0;
}

/**
 * Accordion
 */
.accordion {
    border-top: 1px solid var(--dark-green);
    padding: 4px 0 0 0;
}

.accordion-heading {
    margin: 0;
}

.accordion-trigger {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 16px 0;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-soft);
    cursor: pointer;
    transition: color 0.25s ease;
}

.accordion-trigger:hover,
.accordion-trigger:focus {
    text-decoration: underline;
    color: var(--text);
}

.accordion-item.is-open .accordion-trigger {
    color: var(--text);
    font-weight: 600;
}

.accordion-arrow {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.accordion-item.is-open .accordion-arrow {
    opacity: 1;
}

.accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.accordion-item.is-open .accordion-panel {
    grid-template-rows: 1fr;
}

.accordion-panel-inner {
    overflow: hidden;
}

.service-list {
    margin: 0;
    padding: 4px 0 24px 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 14px 24px;
    font-size: 16px;
    line-height: 1.2;
}

/**
 * FM Images
 *
 * Each image is sticky inside a frame that is taller than the image by
 * --fm-photo-hold.  That extra height is what the image holds against: it
 * parks at the top of the column until the frame has scrolled past, so the
 * user scrolls that far before the next image comes up.  The block sets
 * --fm-photo-hold from the Photo Hold Distance field.
 *
 * The spacer has to be real in-flow height, not padding on the frame: a
 * sticky box is confined to its parent's content box, so padding would leave
 * it nowhere to travel and the image would never stick at all.
 */
.fm-images {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.fm-image::after {
    content: '';
    display: block;
    height: var(--fm-photo-hold, 50vh);
}

.fm-images img {
    display: block;
    position: sticky;
    top: calc(var(--header-height) + var(--default-gutter));
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 2.5s ease;
    border-radius: 4px;
}

.fm-images img.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .fm-images img {
        opacity: 1;
        transition: none;
    }

    .accordion-panel {
        transition: none;
    }
}

/**
 * The Branded Group Way
 */
.way-grid,
.way-cta {
    display: grid;
    gap: 1px;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 4px;
    overflow: hidden;
}

.way-grid {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.way-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 0 0 4px 4px;
}

.way-cell {
    background: var(--bg);
    padding: 30px;
    margin: 0;
}

.way-stat {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-soft);
}

h3.way-stat {
    margin: 0 0 30px 0;
}

.way-intro {
    grid-column: 1 / 3;
    grid-row: 1;
}

.way-intro .h2 {
    max-width: 720px;
}

.way-licenses {
    grid-column: 3;
    grid-row: 1;
}

.way-vendors {
    grid-column: 1;
    grid-row: 2;
}

.way-contact {
    grid-column: 2;
    grid-row: 2;
}

.way-accolades {
    grid-column: 1;
    grid-row: 3;
}

.way-locations {
    grid-column: 2;
    grid-row: 3;
}

.way-photo {
    grid-column: 3;
    grid-row: 2 / 4;
    position: relative;
    padding: 0;
    min-height: 300px;
}

.way-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.way-photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0) 0%, rgba(15, 15, 15, 0.8) 100%);
}

.way-photo span {
    position: absolute;
    left: 30px;
    bottom: 22px;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 300;
    line-height: 1.4;
    color: #D5D5D5;
}

.accolade-logos {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 24px;
}

.accolade-logos img {
    display: block;
    width: auto;
    height: auto;
}

.accolade-logos li:first-child img {
    height: 112px;
}

.accolade-logos li:last-child img {
    height: 100px;
}

.way-cta-copy {
    padding: 20px 30px;
}

.way-cta-copy > p:first-child {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-soft);
    max-width: 560px;
    margin: 0 0 34px 0;
}

.way-tech {
    padding: 20px 30px;
}

.tech-logos {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 30px;
}

.tech-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logos img {
    display: block;
    max-width: min(160px, 100%);
    max-height: 70px;
    width: auto;
    height: auto;
}

/**
 * Values Grid
 *
 * The BG Way grid again: the cells sit on a green background and the 1px gaps
 * between them are the rules.  The headline and the graphic are placed by
 * hand; the values fall into the cells left over, which the layout draws for
 * five -- two beside the graphic, three across the bottom.
 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--green);
    border: 1px solid var(--green);
    border-radius: 4px;
    overflow: hidden;
}

.values-cell {
    background: var(--bg);
    padding: 30px;
    margin: 0;
}

.values-intro {
    grid-column: 1 / 3;
    grid-row: 1;
}

.values-intro h2 {
    margin: 0 0 14px 0;
}

.values-intro-copy {
    max-width: 620px;
}

.values-graphic {
    grid-column: 3;
    grid-row: 1 / 3;
    position: relative;
    padding: 0;
    min-height: 200px;
}

.values-graphic img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-value h3 {
    color: var(--green);
    margin: 0 0 5px 0;
    font-weight: 600;
}

/**
 * Construction Slider
 */
.construction-header,
.slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin: 0 0 48px 0;
}

.slider-arrows {
    display: flex;
    gap: 16px;
    margin: 0 0 6px 0;
}

.slider-arrow {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    cursor: pointer;
    transition: 0.25s ease;
}

.slider-arrow:hover,
.slider-arrow:focus {
    background: var(--green);
    color: var(--bg);
}

.slider-arrow.slick-disabled {
    opacity: 0.35;
    cursor: default;
}

.slider-arrow.slick-disabled:hover,
.slider-arrow.slick-disabled:focus {
    background: transparent;
    color: var(--green);
}

/* Bleed to the right viewport edge; slick clips overflowing slides there. */
.construction-slider {
    margin-right: calc(-1 * (100vw - 100%) / 2);
    margin-bottom: 30px;
}

.construction-tile {
    position: relative;
    /* !important: slick's variableWidth mode sets an inline width on slides. */
    width: clamp(280px, 37vw, 530px) !important;
    aspect-ratio: 530 / 640;
    margin-right: 26px;
    border-radius: 4px;
    overflow: hidden;
    border: solid 1px #424242;
}

.construction-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.construction-tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 140px 34px 34px 34px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 60%);
}

.construction-tile-copy h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px 0;
}

.construction-tile-copy p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    color: #fff;
}

.construction-cta {
    margin: 30px 0 0 0;
}

@media only screen and (max-width: 750px) {
    .construction-tile-copy {
        padding: 100px 24px 24px 24px;
    }

    .construction-tile-copy h3 {
        font-size: 21px;
    }

    .construction-tile-copy p {
        font-size: 16px;
    }
}

/**
 * Leadership Slider
 *
 * The Construction slider's track and bleed, but the tile is taller and split:
 * the photo carries the name over a gradient, and the bio sits beneath it on
 * the page background.  Fixing the photo's aspect ratio keeps the names on one
 * line across the slides however long the bios run.
 */
.leadership-intro {
    max-width: 640px;
    margin: 20px 0 0 0;
}

/* Bleed to the right viewport edge; slick clips overflowing slides there. */
.leadership-slider {
    margin-right: calc(-1 * (100vw - 100%) / 2);
}

.leadership-slider .slick-track {
    display: flex;
}

.leadership-slider .slick-slide {
    height: auto;
    display: flex;
}

.leadership-slider .slick-slide > div {
    display: flex;
}

.leadership-tile {
    /* !important: slick's variableWidth mode sets an inline width on slides. */
    width: clamp(min(75vw,400px), 36vw, 530px) !important;
    margin-right: 26px;
    border-radius: 4px;
    overflow: hidden;
    border: solid 1px #424242;
    display: block !important;
}

.leadership-tile-photo {
    position: relative;
    aspect-ratio: 530 / 470;
}

.leadership-tile-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/**
 * The headshots fade out to white at the foot of the frame, so the scrim has
 * to be heavier than the Construction tile's to hold the name legible.
 */
.leadership-tile-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 100px 34px 10px 34px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.9) 100%);
}

.leadership-tile-name h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.leadership-tile-name p {
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.leadership-tile-copy {
    padding: 0 34px 34px 34px;
}

/**
 * The bio is folded to sixty words with the rest marked in place, and the
 * toggle moves with the fold: Read More reads as part of the sentence it
 * breaks off, so it sits inline at the foot of that paragraph, while Read Less
 * answers for the whole bio, however many paragraphs that came to, and takes a
 * line of its own beneath the lot.  Either way the button carries none of its
 * own chrome, as a link would not.
 *
 * The fold itself is the hidden attribute, whose display comes from the user
 * agent and so loses to any rule of ours that touches these elements; stating
 * it here keeps a stray one from unfolding a bio.
 */
.leadership-bio [hidden] {
    display: none;
}

/**
 * Folded, the bio ends on the paragraph the fold broke however many hidden
 * ones follow it, so that is the paragraph that gives up its gap -- the
 * LinkedIn link below keeps its own.
 */
.leadership-bio.is-collapsed .leadership-bio-cut {
    margin-bottom: 0;
}

.leadership-bio-less {
    margin: 20px 0 0 0;
}

.leadership-bio-toggle {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.leadership-bio-toggle:hover,
.leadership-bio-toggle:focus-visible {
    background: #fff;
    color: #000;
}

.leadership-tile-linkedin {
    margin: 20px 0 0 0 !important;
}

.leadership-tile-linkedin a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
}

.leadership-tile-linkedin a:hover,
.leadership-tile-linkedin a:focus {
    background: none;
    text-decoration: underline;
}

@media only screen and (max-width: 750px) {
    .leadership-tile-name {
        padding: 80px 24px 20px 24px;
    }

    .leadership-tile-copy {
        padding: 24px;
    }
}

/**
 * Profile Card block
 *
 * A single Leadership tile with the bio swapped for a Contact Me button, whose
 * popup crops the same photo to a circle above the email and LinkedIn link.
 * Not to be confused with .profile-cards, the older Elements layout.
 */
.profile-card {
    max-width: 530px;
    border-radius: 4px;
    overflow: hidden;
}

.profile-card-photo {
    position: relative;
    aspect-ratio: 15 / 11;
    margin: 0 0 1em 0;
}

.profile-card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-cards.x4 .profile-card-photo {
    aspect-ratio: 1 / 1;
}

/* Painted in the top layer, so it escapes the card's overflow: hidden. */
.profile-card-dialog {
    width: min(800px, calc(100vw - 60px));
    padding: 48px 32px 40px 32px;
    border: solid 1px #424242;
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    text-align: center;
}

.profile-card-dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

html:has(.profile-card-dialog[open]) {
    overflow: hidden;
}

.profile-card-dialog .contact-links {
    display: flex;
    gap: 0 30px;
    justify-content: center;
}

.profile-card-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--text);
    cursor: pointer;
}

.profile-card-close:hover,
.profile-card-close:focus-visible {
    background: var(--text);
    color: var(--bg);
}

.profile-card-dialog-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    overflow: hidden;
}

.profile-card-dialog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.profile-card-dialog .h3 {
    margin: 0 0 16px 0;
}

.profile-card-dialog p {
    margin: 0 0 8px 0;
}

.profile-card-email a,
.profile-card-linkedin a {
    color: var(--green);
    overflow-wrap: anywhere;
}

/*
 * Dresses HubSpot's newer forms (.hsfc-*) like the .hbspt-form and .hs-button
 * styles elsewhere in this file.  HubSpot adds its stylesheet after this one,
 * hence the extra specificity.  The variables are its supported styling hook.
 */
.profile-card-form {
    margin-top: 24px;
    text-align: left;
}

.profile-card-dialog .profile-card-form [data-hsfc-id="Renderer"] {
    --hsf-global__font-family: var(--font-body);
    --hsf-global__font-size: 18px;
    --hsf-global__color: var(--text);
    --hsf-global__error-color: var(--text);
    --hsf-erroralert__color: var(--text);
    --hsf-background__background-color: transparent;
    --hsf-background__padding: 0;
    --hsf-row__vertical-spacing: 20px;
    --hsf-module__vertical-spacing: 5px;
    --hsf-field-label__color: var(--text);
    --hsf-field-label__font-family: var(--font-body);
    --hsf-field-label__font-size: 18px;
    --hsf-field-label-requiredindicator__color: var(--text);
    --hsf-field-input__font-family: var(--font-body);
    --hsf-field-input__font-size: 18px;
    --hsf-field-input__color: #000;
    --hsf-field-input__background-color: #fff;
    --hsf-field-input__border-color: var(--dark-green);
    --hsf-field-input__border-width: 1px;
    --hsf-field-input__border-style: solid;
    --hsf-field-input__border-radius: 4px;
    --hsf-field-input__padding: 10px;
    --hsf-field-textarea__font-family: var(--font-body);
    --hsf-field-textarea__font-size: 18px;
    --hsf-field-textarea__color: #000;
    --hsf-field-textarea__background-color: #fff;
    --hsf-field-textarea__border-color: var(--dark-green);
    --hsf-field-textarea__border-width: 1px;
    --hsf-field-textarea__border-style: solid;
    --hsf-field-textarea__border-radius: 4px;
    --hsf-field-textarea__padding: 10px;
    --hsf-navigationrow-buttons-single__justify-content: start;
    --hsf-button__font-family: var(--font-body);
    --hsf-button__font-size: 16px;
    --hsf-button__font-weight: 300;
    --hsf-button__color: #fff;
    --hsf-button__background-color: var(--dark-green);
    --hsf-button__background-image: none;
    --hsf-button__border-color: var(--dark-green);
    --hsf-button__border-width: 1px;
    --hsf-button__border-style: solid;
    --hsf-button__border-radius: 999px;
    --hsf-button__padding: 15px 34px;
    --hsf-button__box-shadow: none;
    --hsf-button--hover__color: var(--dark-green);
    --hsf-button--hover__background-color: #fff;
    --hsf-button--hover__border-color: var(--dark-green);
    --hsf-button--focus__color: var(--dark-green);
    --hsf-button--focus__background-color: #fff;
    --hsf-button--focus__border-color: var(--dark-green);
}

.profile-card-dialog .profile-card-form .hsfc-FieldLabel {
    font-weight: bold;
}

.profile-card-dialog .profile-card-form .hsfc-TextareaInput {
    min-height: 160px;
}

.profile-card-dialog .profile-card-form .hsfc-Button {
    line-height: 1.2em;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

/**
 * Profile Cards
 */
.profile-cards {
    display: grid;
    gap: 60px 25px;
    /* grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), calc(33% - 25px))); */
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), calc((100% - 50px) / 3)));
    margin: 0 0 70px 0;
}

.profile-cards > div {
    margin: 0 !important;
}

.profile-cards img {
    display: block;
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 15 / 11;
    object-fit: cover;
}

* + .profile-cards {
    margin-top: 30px;
}

.profile-cards + h2,
.profile-cards + .two-cols {
    margin-top: 120px;
}

.profile-cards p:not(:last-child) {
    margin-bottom: 15px;
}

.profile-cards.x1 {
    grid-template-columns: min(100%, 425px);
}

.profile-cards.x4 {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), calc((100% - 75px) / 4)));
}

.profile-cards.x4 img {
    aspect-ratio: 1 / 1;
}

/**
 * Rotating Photos
 *
 * A band of fixed height whose columns share the full width evenly, however
 * many of them there are.  Only the column widths change with the count; the
 * depth of the band is the same either way.
 */
.rotating-photos {
    --rp-height: 460px;

    position: relative;
    margin: 0 0 30px 0;
}

.photo-columns {
    position: relative;
    height: var(--rp-height);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.photo-columns::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--rp-height) * .5);
    background: linear-gradient(to bottom,  rgba(15, 15, 15, 1) 0%,rgba(15, 15, 15, 1) 25%,rgba(125,185,232,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.photo-columns::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(var(--rp-height) * .25);
    background: linear-gradient(to top, rgba(15, 15, 15, 1), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* flex-basis of 0 so the columns divide the width rather than their content. */
.photo-column {
    position: relative;
    flex: 1 1 0;
    min-width: 210px;
    height: 100%;
}

/* Cropped to the column, never letterboxed, whatever shape the photo is. */
.photo-column img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.photo-column img.is-active {
    opacity: 1;
}

.pos-top-right .photo-column img {
    object-position: top right;
}

.rotating-photos-foot {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

.rotating-photos .pause-wrap {
    margin: 14px 0 16px 0;
    text-align: right;
}

.photo-rule {
    display: block;
    height: 1px;
    background: var(--green);
}

@media (prefers-reduced-motion: reduce) {
    .photo-column img {
        transition: none;
    }
}

/**
 * Rotating Photo Grid
 *
 * Two by two, every tile square whatever shape the photo arrives in.  Each tile
 * stacks its own slice of the set and only the active frame is opaque, so a
 * tile changing picture is a single opacity transition with nothing to reflow.
 */
.rotating-photo-grid {
    --rpg-fade: 2s;

    position: relative;
    width: 100%;
}

.photo-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 4px;
    overflow: hidden;    
}

.photo-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.photo-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--rpg-fade) ease;
}

.photo-tile img.is-active {
    opacity: 1;
}

.rotating-photo-grid .pause-wrap {
    margin: 14px 0 0 0;
    text-align: right;
}

.rotating-photo-grid.controls-left .pause-wrap {
    text-align: left;
}

@media (prefers-reduced-motion: reduce) {
    .photo-tile img {
        transition: none;
    }
}

/**
 * Photo Slider
 *
 * One photo per slide.  Slick's fade mode leaves every slide in the flow and
 * stacks them with negative offsets, so the track stands as tall as its
 * tallest slide -- a fixed ratio on the slide keeps the frame steady whatever
 * shape the photos arrive in.  Override --ps-ratio to reshape it.
 */
.photo-slider {
    --ps-ratio: 1 / 1;

    position: relative;
}

.photo-slider-track {
    border-radius: 4px;
    overflow: hidden;
}

.photo-slide {
    position: relative;
    aspect-ratio: var(--ps-ratio);
    display: block !important;
}

.photo-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Until slick stacks them, the slides are still in the flow one below another. */
.photo-slider-track:not(.slick-initialized) .photo-slide + .photo-slide {
    display: none;
}

.photo-slider-controls {
    display: flex;
    gap: 20px;
    margin: 20px 0 0 0;
}

.photo-slider.controls-right .photo-slider-controls {
    justify-content: flex-end;
}

.slider-toggle .icon-play {
    display: none;
}

.slider-toggle[aria-pressed="true"] .icon-pause {
    display: none;
}

.slider-toggle[aria-pressed="true"] .icon-play {
    display: block;
    margin-left: 3px;
}

/**
 * Quote Slider
 *
 * One quote per slide, crossfading inside a bordered panel.  Slick's fade mode
 * leaves every slide in the flow, so the panel stands as tall as the longest
 * quote and holds that height as the quotes change rather than jumping about.
 * The arrow and pause styling is the Photo Slider's, shared through
 * .slider-arrow / .slider-toggle.
 */
.quote-slider-box {
    background: var(--bg);
    border: 1px solid var(--green);
    border-radius: 4px;
    padding: 30px 40px;
    text-align: center;
    margin: 100px 0;
}

.quote-slider-heading {
    margin: 0 0 24px 0;
}

/**
 * The track stands as tall as the longest quote, and fade mode leaves the
 * slides at their own heights inside it.  Laying the slick track out as a flex
 * row centres the shorter quotes in that space instead of hanging them from
 * the top -- the slides keep the widths slick sets on them, so its fade
 * offsets still land where they should.
 */
.quote-slider-track .slick-track {
    display: flex;
    align-items: center;
}

.quote-slide {
    margin: 0;
    display: block !important;
}

/* Until slick stacks them, the slides are still in the flow one below another. */
.quote-slider-track:not(.slick-initialized) .quote-slide + .quote-slide {
    display: none !important;
}

.quote-slide-quote {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 300;
    line-height: 1.35;
    /**
     * The quote stays soft grey in both themes.  --text-soft would not do it:
     * the light theme collapses it into --text, which would put the quote in
     * full black against the panel.
     */
    color: var(--quote-soft);
    text-wrap: balance;
    max-width: 840px;
    margin: 0 auto;
}

.quote-slide-quote p {
    margin: 0 0 20px 0;
}

.quote-slide-quote p:last-child {
    margin: 0;
}

.quote-slide-author {
    margin: 24px 0 0 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text);
}

.quote-slider-controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 34px 0 0 0;
}

@media only screen and (max-width: 550px) {
    .quote-slider-box {
        padding: 28px 22px 24px 22px;
    }

    .quote-slide-quote {
        line-height: 1.4;
    }
}

/**
 * In The News
 *
 * One story per slide, crossfading, with the arrows flanking the track rather
 * than sitting beneath it.  Fade mode leaves every slide in the flow, so the
 * track stands as tall as the longest story and holds that height as the
 * stories change rather than jumping about.
 */
.news-slider-heading {
    text-align: center;
    margin: 0 0 40px 0;
}

.news-slider-body {
    display: flex;
    align-items: center;
    gap: 30px;
}

.news-slider-track {
    flex: 1;
    min-width: 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 70px;
    position: relative;
}

.news-slider-track .slick-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.news-slider-track .slick-arrow.slider-arrow-next {
    left: auto;
    right: 0;
}

.news-slide {
    /* !important: slick hides all but the current slide with display: none. */
    display: block !important;
}

/* Until slick stacks them, the slides are still in the flow one below another. */
.news-slider-track:not(.slick-initialized) .news-slide + .news-slide {
    display: none !important;
}

.news-slide-date {
    text-transform: uppercase;
    color: var(--text-soft);
    margin: 0 0 16px 0;
}

.news-slide-title {
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 300;
    line-height: 1.25;
    text-wrap: balance;
    margin: 0 0 24px 0;
}

.news-slide-title a {
    text-decoration: none;
}

.news-slide-copy {
    text-align: left;
}

.news-slide-copy p {
    margin: 0 0 20px 0;
}

/* Sits at the end of the excerpt's last line, so it needs the space in front. */
.news-slide-more {
    margin-left: 0.4em;
    white-space: nowrap;
}

.news-slider-cta {
    margin: 40px 0 0 0;
    text-align: center;
}

/**
 * Giving Back banner
 */
.giving-back-banner {
    text-align: center;
    text-wrap: balance;
    padding: 50px 40px;
    aspect-ratio: 1.8 / 1;
    margin-bottom: -10%;
    position: relative;
    z-index: 0;
}

.giving-back-banner:before {
    background: linear-gradient(to bottom,  rgba(var(--bg-rgb),1) 0%,rgba(var(--bg-rgb),0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    content: "";
}

.giving-back-banner:after {
    background: linear-gradient(to top,  rgba(var(--bg-rgb),1) 0%,rgba(var(--bg-rgb),0) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    content: "";
}

.giving-back-banner .random-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.giving-back-banner .random-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.giving-back-banner .content {
    max-width: 600px;
    margin: 0 auto;
}

/**
 * Page hero
 *
 * A full-bleed photo or video behind the centred hero copy.  The header is
 * fixed and transparent over it, so the section carries the header's height as
 * padding and a scrim keeps the copy legible against whatever the media is
 * doing underneath.
 *
 * Three layers, stacked by hand: the media, the scrim over it, and the copy
 * over both.  Without the explicit z-indexes the video would paint on top of
 * the ::before scrim, which comes first in the box tree.
 */
.page-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
    background-image: url(images/bg-blog.webp);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

.page-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}

.page-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Filling the section is the whole job; its own ratio is not worth keeping. */
    display: block;
}

/* .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.75) 0%, rgba(15, 15, 15, 0.6) 45%, rgba(15, 15, 15, 0.92) 100%);
} */
.page-hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px; /* 440px */
    background: linear-gradient(to bottom,  rgba(15,15,15,1) 0%,rgba(15,15,15,1) 25%,rgba(15,15,15,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.page-hero:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(15,15,15, 1) 0%, rgba(15,15,15, 1) 5%,rgba(15,15,15,0.2) 100%);
    pointer-events: none;
}

.page-hero.light:before {
    height: auto;
    bottom: 50%;
}

.page-hero.light:after {
    top: 50%;
    background: linear-gradient(to top, rgba(15,15,15, 1) 0%, rgba(15,15,15, 1) 5%,rgba(15,15,15,0) 100%);
}

.page-hero > div > div {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    border-bottom: solid 1px var(--green);
    transition: padding-top 0.25s ease;
}

.page-hero.blog-hero > div > div {
    border-bottom: none;
}

.page-hero.blog-hero:before {
    display: none;
}

.page-hero.blog-hero:after {
    background: linear-gradient(to top, rgba(15,15,15, 1) 0%, rgba(15,15,15, 1) 5%,rgba(15,15,15,0.2) 25%);
}

.page-hero.no-line > div > div {
    border-bottom: none;
}

.page-hero.static-height > div > div {
    min-height: 600px;
}

/**
 * Taken out of the flex row so it cannot pull the copy off centre, and pinned
 * inside the content column rather than the viewport, which lines it up with
 * the gutter every other section keeps.
 */
.page-hero-pause {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 2;
    margin: 0;
}

/* The scrim is painted over the section, so lift the copy back above it. */
.page-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-copy {
    max-width: 660px;
    margin: 0 auto 44px auto;
    font-size: 22px;
    line-height: 1.63em;
}

/**
 * Callout box
 *
 * The hairline panel the Quote Slider sits in, on its own for a block of copy
 * and a button.
 */
.callout-box {
    background: var(--bg);
    border: 1px solid var(--green);
    border-radius: 4px;
    padding: 60px 40px;
    text-align: center;
    text-wrap: balance;
    font-size: 22px;
    line-height: 1.6em;
    max-width: 1000px;
    margin: 0 auto;
}

.callout-box > *:not(:last-child) {
    margin-bottom: 30px;
}

.callout-box p:not(:last-child) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/**
 * Partner logos
 *
 * Logos come in at whatever size they were drawn at, so cap their height and
 * let the row space them evenly rather than sizing each one by hand.
 */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 100px;
    margin: 60px 0 0 0;
}

.partner-logos figure {
    margin: 0 !important;
}

.partner-logos img {
    width: auto;
    max-height: 100px;
}

.partner-logos img[src*="connexfm_logo"] {
    max-height: 66px;
}

/**
 * News search
 */
.news-search-bar {
    padding: 40px 0;
    border-top: solid 1px var(--dark-green);
    border-bottom: solid 1px var(--dark-green);
}

.news-search-bar .cols {
    display: flex;
    gap: 40px 80px;
    flex-wrap: wrap;
}

.news-search-bar .cols > div {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
}

.news-search {
    display: flex;
    gap: 20px;
}

/**
 * Single
 */
section.single-post {
    transition: padding-top 0.25s ease;
    padding-top: calc(var(--header-height) + 50px);
}

section.single-post > div {
    max-width: 1000px;
}

section.single-post h1 {
    margin: 0 0 40px 0;
    font-size: var(--font-size-h2);
    text-wrap: balance;
}

section.single-post h2 {
    font-size: var(--font-size-h3);
}

section.single-post h3 {
    font-size: var(--font-size-h4);
}

section.single-post .intro {
    text-align: center;
}

section.single-post .photo img {
    display: block;
    border-radius: 4px;
    margin: 0 0 40px 0;
    width: 100%;
}

section.single-post .content {
    max-width: 720px;
    margin: 0 auto;
}

.related-posts h2 {
    text-align: center;
    margin: 0 0 50px 0;
}

.related-posts > div > div {
    border-top: solid 1px var(--dark-green);
    padding-top: 70px;
}

.related-posts .more {
    margin: 60px 0 0 0;
    text-align: center;
}

/**
 * Miscellaneous
 */
.header-offset {
    transition: padding-top 0.25s ease;
    padding-top: var(--header-height);
}

.max-80-chars {
    max-width: 80ch;
}

.max-80-chars.has-text-align-center {
    margin: 0 auto;
}

.max-80-chars:not(.has-text-align-center) {
    margin: 0 !important;
}

ul.social {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.social a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

ul.social .icon {
    width: 28px;
    flex-shrink: 0;
}

figure:last-child {
    margin-bottom: 0;
}

figure.is-style-rounded-corners > img,
img.is-style-rounded-corners {
    border-radius: 4px;
    overflow: hidden;
}

.page-intro {
    font-size: 22px;
    line-height: 1.64em;
}

.page-intro h1,
.page-intro h2 {
    font-size: var(--font-size-h1);
    line-height: 1.2em;
    margin: 0 0 30px 0;
}

.page-intro h1:last-child,
.page-intro h2:last-child {
    margin-bottom: 0;
}

.page-intro--inner {
    display: flex;
    gap: 40px 60px;
    flex-wrap: wrap;
}

.page-intro--left {
    width: calc(40% - 60px);
}

.page-intro--right {
    width: 60%;
}

.page-hero + .page-intro {
    margin-top: 20px;
}

.page-intro.top-line .page-intro--outer {
    border-top: solid 1px var(--green);
    padding-top: 20px;
}

.two-cols {
    --gap: 30px;

    display: flex;
    flex-wrap: wrap;
    gap: 20px var(--gap);
}

.two-cols > div {
    width: calc(50% - calc(var(--gap) / 2));
}

.two-cols > div > figure:not(:last-child) {
    margin-bottom: 20px;
}

.two-cols + p {
    margin-top: 20px;
}

.two-cols + hr,
figure + hr,
figure + hr.wp-block-separator  {
    margin-top: 30px;
}

.three-cols {
    --columns: 3;
    --gap: 30px;

    display: flex;
    flex-wrap: wrap;
    gap: 20px var(--gap);
}

.three-cols > div {
    width: calc((100% / var(--columns)) - var(--gap) + (var(--gap) / var(--columns)));
}

.two-thirds-photos {
    display: grid;
    grid-template-columns: calc(70% - 30px) 30%;
    gap: 30px;
    margin: 0 0 20px 0;
}

.two-thirds-photos figure {
    width: 100%;
    height: 100%;
}

.two-thirds-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headline-text-photo-grid {
    display: grid;
    gap: 0 30px;
    grid-template-columns: repeat(2, calc(50% - 15px));
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "headline photos"
        "body photos";
}

.headline-text-photo-grid > div:first-child {
    grid-area: headline;
}

.headline-text-photo-grid > div:last-child {
    grid-area: body;
}

.headline-text-photo-grid > div.photo-cell {
    width: 100%;
    grid-area: photos;
}

.headline-text-photo-grid.reverse {
    grid-template-areas:
        "photos headline"
        "photos body";
}

ul.cols {
    column-count: 2;
}

ul.plain {
    margin: 20px 0;
    padding: 0;
    list-style-type: none;
}

ul.plain li + li {
    margin-top: 5px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 60px;
}

.faq-layout .cta {
    color: var(--text-soft);
    align-self: end;
}

.faq-layout .content {
    grid-row: span 2;
    margin: 0 !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 60px;
}

.contact-layout > div {
    margin: 0 !important;
}

.full-width-photos img {
    width: 100%;
}

.boxed {
    text-align: center;
    padding: 30px;
    font-size: var(--font-size-h3);
    border: solid 1px var(--green);
    border-radius: 4px;
    font-weight: bold;
}

.boxed:not(:last-child) {
    margin-bottom: 80px;
}

.impact-stat {
    color: var(--green);
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.2em;
    margin: 30px 0 0 0;
    text-wrap: balance;
    max-width: 500px;
}

.impact-row {
    margin-bottom: 80px;
}

/*
.impact-row > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
*/

.impact-row > div > figure {
    margin: 0;
}

.impact-row + .impact-row {
    margin-top: 80px;
    padding-top: 80px;
    border-top: solid 1px var(--green);
}

.wp-block-separator {
    border: none;
    margin: 20px 0;
    background: var(--dark-green);
    height: 1px;
}

.wp-block-separator.is-style-large-spacing {
    margin: 80px 0;
}

.wp-block-accordion {
    border-top: solid 1px #41CB16;
}

.wp-block-accordion-item {
    border-bottom: solid 1px #41CB16;
}

.wp-block-accordion-panel {
    max-width: 70ch;
}

.wp-block-accordion-heading__toggle {
    padding: 25px 0;
    font-size: 22px;
    gap: 20px;
}

.wp-block-accordion-heading__toggle-icon {
    font-size: 0;
    line-height: 0;
    width: 20px;
    height: 20px;
    background: url(images/plus.svg) no-repeat center center;
}

.wp-block-accordion-item.is-open > .wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
    background-image: url(images/minus.svg);
    transform: none;
}

.wp-block-accordion-item.is-open .wp-block-accordion-panel {
    padding: 0 0 30px 0;
}

.wp-block-list {
    margin: 20px 0;
}

.wp-block-list:last-child {
    margin-bottom: 0;
}

.become-a-vendor-intro {
    margin-top: 80px;
    margin-bottom: -80px;
    position: relative;
    border-top: solid 1px var(--green);
    padding: 80px 0;
    font-size: 22px;
    line-height: 1.64em;
    text-align: center;
    text-wrap: balance;
}

.become-a-vendor-intro:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 0;
    bottom: 0;
    width: 40%;
    left: 50%;
    transform: translateX(-50%);
    background: url(images/map.svg) no-repeat center center / contain;
    opacity: 0.1;
}

.become-a-vendor-intro p {
    max-width: 80ch;
    margin: 0 auto;
}

/**
 * Blog index
 *
 * The hero is dark; everything below it lives in .blog-body, which flips the
 * page to the light theme as it scrolls into view (the footer flips it back).
 */
[hidden] {
    display: none !important;
}

.blog-heading {
    text-align: center;
    margin: 0 0 48px 0;
}

.post-card .photo {
    margin: 0 0 24px 0;
}

.post-card .photo a {
    display: block;
    border-radius: 4px;
}

.post-card .photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 4px;
}

.post-card .eyebrow {
    margin: 0 0 10px 0;
}

.post-card h3 {
    margin: 0 0 12px 0;
}

.post-card h3 a {
    text-decoration: none;
}

.post-card .excerpt {
    font-size: 16px;
    line-height: 1.5em;
}

.post-card .excerpt p {
    margin: 0;
}

/* Featured post: one centred card at a larger scale. */
.featured-post .post-card {
    text-align: center;
}

.featured-post .post-card .photo {
    max-width: 920px;
    margin: 0 auto 36px auto;
}

.featured-post .post-card .photo a {
    background: none;
}

.featured-post .post-card .eyebrow {
    margin-bottom: 20px;
}

.featured-post .post-card h3 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.16em;
    max-width: 640px;
    margin: 0 auto 28px auto;
}

.featured-post .post-card .excerpt {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.featured-post .post-card .excerpt p + p {
    margin-top: 1em;
}

/* Category filter: hairline above, centred copy, one wide select. */
.blog-filter {
    padding: 70px 0;
    margin: 70px 0;
    border-top: solid 1px var(--dark-green);
    border-bottom: solid 1px var(--dark-green);
}

.category-filter {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.category-filter-heading {
    font-size: 22px;
    margin: 0 0 14px 0;
}

.category-select {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.category-select select {
    -webkit-appearance: none;
    appearance: none;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 16px 56px 16px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2em;
    color: var(--text);
    background-color: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20' viewBox='0 0 12 20' fill='none' stroke='%23007E00' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7l5-5 5 5M1 13l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    border: solid 1px var(--dark-green);
    border-radius: 4px;
    cursor: pointer;
    transition: box-shadow 0.25s ease;
}

.category-select select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--green);
}

.category-select select option {
    color: #0F0F0F;
    background: #fff;
}

.category-filter-submit {
    flex: 0 0 auto;
}

.category-filter.js-enabled .category-filter-submit {
    display: none;
}

.recent-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.recent-posts > h2 {
    grid-column: 1 / -1;
    text-align: center;
}

.recent-posts[aria-busy="true"] {
    opacity: 0.6;
    transition: opacity 0.25s ease;
}

.recent-posts > article {
    padding-bottom: 40px;
    border-bottom: solid 1px var(--dark-green);
    height: 100%;
}

.no-posts {
    text-align: center;
}

.load-more {
    text-align: center;
    margin: 60px 0 0 0;
}

.load-more .button.is-loading {
    pointer-events: none;
    opacity: 0.6;
}

/**
 * Forms
 */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="color"],
select,
textarea {
    border-radius: 4px;
    border: solid 1px var(--dark-green);
    font-size: 18px;
    line-height: 1.2em;
    font-family: var(--font-body);
    display: block;
    padding: 10px;
    width: 100%;
}

input[type="submit"] {
    cursor: pointer;
}

button {
    -webkit-appearance: none;
    -webkit-border-radius: none;
    appearance: none;
    border-radius: none;
    cursor: pointer;
}

main .hs-form-field > label {
    display: block;
    font-weight: bold;
    margin: 0 0 5px 0;
}

main .hbspt-form fieldset {
    max-width: 100%;
}

main .hbspt-form fieldset + fieldset {
    margin-top: 20px;
}

main .hbspt-form .inputs-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

main .hbspt-form .hs-form-booleancheckbox-display {
    display: flex;
    gap: 10px;
}

main .hbspt-form .hs_recaptcha {
    margin: 20px 0;
}

main .hbspt-form .hs-input[name="comments"] {
    min-height: 160px;
}

main .hbspt-form .hs-fieldtype-file {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

main .hbspt-form .hs-fieldtype-file legend {
    order: 5;
    font-size: 14px;
}

.profile-card-form [data-hsfc-id="Renderer"] .hsfc-DropdownOptions,
.profile-card-form [data-hsfc-id="Renderer"] .hsfc-DropdownOptions__List__ListItem {
    background-color: #f1f1f1;
}

#main .hbspt-form .form-columns-1 .hs-input:not([type="checkbox"]) {
    width: 100%;
}

#main .hbspt-form .form-columns-2 {
    display: grid;
    grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    gap: 20px;
}

#main .hbspt-form .form-columns-2 .hs-form-field {
    width: 100%;
}

#main .hbspt-form .form-columns-1 .input,
#main .hbspt-form .form-columns-2 .input {
    margin: 0;
}

/**
 * Responsive
 */
@media only screen and (max-width: 1250px) {
    #header nav ul {
        gap: 20px;
    }
}

@media only screen and (max-width: 1200px) {

    #footer .upper {
        grid-template-columns: 1fr 1fr;
    }

    #footer .about {
        grid-column: span 2;
        order: 2;
    }
}

@media only screen and (max-width: 1150px) {
    body {
        --header-height: 80px;
    }

    #header nav {
        display: none;
    }

    #header .logo img {
        width: 100px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }
}

@media only screen and (max-width: 1050px) {
}

@media only screen and (max-width: 1000px) {

    #hero {
        padding-bottom: 70px;
    }

    #hero:before {
        top: 40%;
    }

    #footer .upper {
        grid-template-columns: 1fr;
    }
    
    #footer .about {
        grid-column: span 1;
    }

    #footer .nav {
        grid-template-columns: 1fr 1fr;
    }

    .fm-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .fm-grid .accordion-panel .photo {
        display: block;
    }

    .fm-images {
        display: none;
    }
    
    .fm-sticky {
        position: static;
    }

    .way-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: dense;
    }

    .way-intro,
    .way-accolades,
    .way-photo {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .way-licenses,
    .way-vendors,
    .way-contact,
    .way-locations {
        grid-column: auto;
        grid-row: auto;
    }

    .way-photo {
        min-height: 340px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: dense;
    }

    .values-intro,
    .values-graphic {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .values-graphic {
        min-height: 240px;
    }

    .two-cols:not(.no-stack) {
        flex-direction: column;
    }

    .two-cols.reverse-mobile:not(.no-stack) {
        flex-direction: column-reverse;
    }

    .two-cols:not(.no-stack) > div {
        width: 100%;
    }

    .three-cols {
        --columns: 1;
    }

    .headline-text-photo-grid {
        display: flex;
        flex-direction: column;
    }

    .headline-text-photo-grid .photo-cell {
        margin: 0 0 20px 0;
    }

    .faq-layout,
    .contact-layout {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .page-intro--left {
        width: 100%;
    }

    .page-intro--right {
        width: 100%;
    }

    .news-search-bar .cols {
        flex-direction: column;
    }

}

@media only screen and (max-width: 950px) {
}

@media only screen and (max-width: 900px) {

    .trusted-box {
        flex-direction: column;
    }

    .trusted-copy {
        flex-basis: auto;
        border-right: 0;
        border-bottom: 1px solid var(--green);
    }

    .brand-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-slot {
        height: 100px;
    }

    .way-cta {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 850px) {
}

@media only screen and (max-width: 800px) {
}

@media only screen and (max-width: 750px) {
    #hero {
        padding-top: 150px;
    }

    .recent-posts {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .blog-heading {
        margin-bottom: 32px;
    }

    .blog-filter > div {
        padding-bottom: 48px;
    }

    .category-select {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    :root {
        --tile-size: 150px;
        --tile-gap: 24px;
    }

    .giving-back-banner {
        aspect-ratio: initial;
        min-height: 85vw;
        background-position: center bottom;
    }

    #main .hbspt-form .form-columns-2 {
        grid-template-columns: 1fr;
    }

    #main .hbspt-form .form-columns-3 .hs-form-field {
        float: none;
        width: 100%;
    }    

    #main .hbspt-form .form-columns-3 .hs-form-field + .hs-form-field {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 700px) {
}

@media only screen and (max-width: 650px) {
}

@media only screen and (max-width: 600px) {
    /**
     * Too narrow to keep the heading clear of the controls and centred at the
     * same time, so the controls take a row of their own beneath it.
     */
    .trusted-quotes .trusted-heading {
        padding: 16px 20px 16px 20px;
    }

    .trusted-quotes-controls {
        position: static;
        transform: none;
        justify-content: center;
        padding: 0 0 14px 0;
    }

    .trusted-quotes-track {
        padding: 24px 20px;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, auto);
    }

    .accordion-trigger {
        font-size: 19px;
    }

    .way-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .way-cell,
    .values-cell {
        padding: 24px;
    }

    /* Flanking arrows would leave the story barely a column between them. */
    .news-slider-body {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .news-slider-track {
        order: -1;
        flex: 1 0 100%;
    }

    .way-cta-copy,
    .way-tech {
        padding: 32px 24px;
    }

    .tech-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    ul.cols {
        column-count: 1;
    }

    .news-slider-track {
        padding: 0 0 60px 0;
    }

    .news-slider-track .slider-arrow {
        top: auto;
        bottom: 0;
        left: calc(50% - 40px);
    }

    .news-slider-track .slider-arrow.slider-arrow-next {
        left: auto;
        right: calc(50% - 40px);
    }

    .rotating-photos {
        --rp-height: 200px;
        margin-top: 20px;
    }

    .photo-column {
        min-width: 100px;
    }

    .become-a-vendor-intro:after {
        width: 90%;
        background-position: top center;
    }

    .callout-box {
        padding: 40px 20px;
    }

    .slider-header {
        flex-direction: column;
        gap: 20px;
    }
}

@media only screen and (max-width: 550px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .eyebrow {
        font-size: 14px;
        letter-spacing: 6px;
    }

    .trusted {
        margin-top: 64px;
    }
}

@media only screen and (max-width: 500px) {

    #footer .upper {
        gap: 30px;
    }
    
    #footer .nav,
    #footer .connect {
        grid-template-columns: 1fr;
    }

}

@media only screen and (max-width: 450px) {
}

@media only screen and (max-width: 400px) {
}

@media only screen and (max-width: 350px) {
}

@media only screen and (max-width: 300px) {
}


