body {
    color: var(--silver-glow)
}

hr {
    background-color: var(--golden-sand);
    border-radius: 2px;
    height: 1px;
    border: none;
    width: 100%;
    margin: 2rem 0;
}

.cta-button {
    background-color: var(--amber);
}

.cta-button:hover {
    background-color: var(--amber-hover)
}

.secondary-button {
    color: var(--amber-hover)
}

.secondary-button:hover {
    color: var(--amber-lighter)
}

.subtle-link {
    letter-spacing: unset;
    text-transform: capitalize;
    font-family: "Lato";
    font-weight: 700;
    color: var(--subtle-link);
    text-decoration: underline;
    text-underline-offset: .25rem;
}

.white {
    color: var(--slate-light)
}

@keyframes slide {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes subtlePulse {
    0% {
        background-position: 20% 30%, 75% 10%, 30% 60%, 50% 50%;
        background-size: 100%, 120%, 140%, 150%;
    }

    25% {
        background-position: 22% 28%, 77% 8%, 32% 62%, 48% 48%;
        background-size: 110%, 115%, 145%, 140%;
    }

    50% {
        background-position: 18% 32%, 73% 12%, 28% 58%, 52% 52%;
        background-size: 105%, 125%, 135%, 160%;
    }

    75% {
        background-position: 21% 29%, 74% 9%, 31% 61%, 49% 49%;
        background-size: 120%, 110%, 140%, 150%;
    }

    100% {
        background-position: 20% 30%, 75% 10%, 30% 60%, 50% 50%;
        background-size: 100%, 120%, 140%, 150%;
    }
}

@keyframes subtleOpacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

#hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    align-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    padding: 216px 0 6rem;
    margin: auto;
    align-items: center;
    text-align: center;
    gap: .25rem;
    align-content: center;
}

.hero-section {
    position: relative;
    z-index: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

p.hero-support {
    grid-row: 4;
    grid-column: 1 / -1;
    font-size: 1.25rem;
    color: rgba(252, 251, 248, 0.95);
    opacity: .95;
    margin-bottom: 1.5rem;
}

.founding-five-callout {
    margin-top: 1rem !important
}

.hero-gradient-text {
    font-weight: 700;
    background: linear-gradient(90deg, #fcfbf8, #cfd8e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-family: "Oswald";
}

.cta-buttons {
    display: flex;
    gap: 0 40px;
    margin: 0 auto;
    grid-column: 1 / -1;
    grid-row: 3;
}

.background-anvil {
    background-image: url('/img/background-anvil.png');
    background-repeat: repeat;
    background-size: 64px;
    position: relative;
    width: 100%;
    height: 200px;
    z-index: 1;
    overflow: hidden;
}

.background-anvil::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(14, 18, 26, 1), rgba(14, 18, 26, 0));
    z-index: 2;
}

#ian-float-container {
    position: absolute;
    right: 3rem;
    top: 0;
    transform: translateY(-50%) scale(0.7);
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 10;
    opacity: 0;
}

#ian-float-container.pop-ready {
    animation: popIn 0.5s ease-out forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.7);
    }

    60% {
        opacity: 1;
        transform: translateY(-50%) scale(1.15);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.ian-float {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0px 24px rgba(0, 0, 0, 0.4), 0 0 25px rgba(127, 207, 226, 0.3), inset 0 0 6px rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.6s ease-out;
}


.ian-float img {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(to bottom right, #ffda70, #ffe5b4);
    padding: 2px;
    background-clip: padding-box;
}

@keyframes ianBounce {
    0% {
        transform: scale(1);
    }

    2% {
        transform: scale(1.025);
    }

    30% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-once {
    animation: ianBounce 0.4s ease-out;
}

.ian-float:hover {
    /* animation: ianBounce 0.6s ease forwards; */
    box-shadow: 0 0 16px rgba(207, 221, 231, 0.8), 0 0 8px rgba(192, 192, 192, 0.4);
}

.ian-deal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/transparent-bg/brushed-alum-dark.png');
    background-size: cover;
    opacity: 0.3;
    /* Try 0.05–0.1 */
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
}

.ian-deal {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0%;
    right: 110%;
    backdrop-filter: blur(0.25px);
    padding: 2rem 1rem .5rem;
    background: linear-gradient(to bottom, #4a2f1f, #291b13);
    z-index: 1;
    border-radius: 0.75rem;
    box-shadow: 0 0 8px rgba(14, 18, 26, 0.5);
    opacity: 0;
    width: 350px;
    border: 1px solid var(--golden-sand-light);
    pointer-events: none;
    transform: translateY(-50%) scale(0.95);
    margin-right: 1rem;
    transition: opacity .6s ease, transform 0.3s ease, background 1s ease;
}

.ian-deal-list li b {
    color: var(--service-card-white);
}

.ian-deal h4 {
    font-family: "Oswald";
    text-align: center;
    line-height: 1.5;
    letter-spacing: .5px;
    font-size: 1.75rem;
    color: var(--amber);
    text-transform: uppercase;
}

.ian-deal .cta-button {
    z-index: 1;
    background-color: var(--golden-sand);
    transition: background-color 0.3s ease;
}

.ian-deal .cta-button:hover {
    transform: unset;
    background-color: var(--golden-sand-light);
}

.deal-badge {
    background: var(--amber-dark);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin: 0 auto;
    text-align: center;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.5px;
}

.ian-deal-list {
    list-style-type: "✅ ";
    padding: 0 1rem 0 2rem;
    margin: 1rem 0 0;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.ian-deal-list li {
    margin-bottom: 0.75rem;
    padding-left: .5rem
}


.ian-deal.visible {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.ian-deal .cta-button {
    width: max-content;
    padding: .6em 1.2em;
    font-size: 1rem;
    height: max-content;
    margin: .75rem auto 1rem;
}

.services-section {
    text-align: center;
}

.section-subhead {
    color: rgba(252, 251, 248, 0.95);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    margin-inline: auto;
    max-width: 1400px;
    line-height: 1.8;
}

.service-grid {
    margin: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.service-card {
    background: linear-gradient(to bottom right, var(--deep-space-blue), transparent);
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.service-card svg {
    fill: var(--mist-blue);
    width: 4rem;
    height: 4rem;
    margin-bottom: .5rem;
    background: var(--lava-charcoal);
    border: 1px var(--silver-glow) solid;
    border-radius: .5rem;
    padding: .5rem;
    transition: fill 0.3s ease;
}

.service-row-1 {
    display: grid;
    grid-template-columns: 1fr auto;
    text-wrap-mode: wrap;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
            border-bottom: 2px solid rgba(207, 221, 231, 0.5);
}

.service-card h3 {
    color: var(--golden-sand);
    margin-bottom: 0.75rem;
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.25;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(252, 251, 248, 0.95);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 4rem auto;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.portfolio-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(14, 18, 26, 0.95), rgba(14, 18, 26, 0.6));
    color: var(--service-card-white);
    padding: 1.5rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--amber);
}

.portfolio-overlay p {
    margin: 0.5rem 0 1rem;
    font-size: 0.9375rem;
    color: var(--silver-glow);
}

.soft-cta {
    text-align: left;
    line-height: 1.8;
    margin-left: 0;
    margin-top: .5rem;
    margin-right: auto;
}

#testimonials {
    background-color: var(--rich-black);
}

.carousel-container {
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    position: relative;
    height: auto;
    display: flex;
}

.carousel-card {
    min-width: 100%;
    padding: 2rem;
    border-radius: 1rem;
    color: var(--service-card-white);
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    min-height: 425px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    opacity: 0;
    transition: opacity .5s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.testimonial-inner {
    position: relative;
    z-index: 2;
}

.carousel-card::before {
    content: "“";
    position: absolute;
    top: 1rem;
    left: 6rem;
    font-family: Georgia, serif;
    font-size: 10rem;
    color: #4a2f1f;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

.carousel-card.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    position: relative;
}

.testimonial-text {
    letter-spacing: .5px;
    line-height: 1.75;
    font-style: italic;
    font-size: 1.375rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.testimonial-img {
    border-radius: 50%;
    margin-top: 1rem;
    width: 96px;
    height: 96px;
    object-fit: cover;
    background: linear-gradient(to bottom right, #a2b9d7, #cfdde7);
    border: 3px solid transparent
}

.testimonial-name {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--golden-sand);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 219, 111, 0.75);
    color: var(--deep-space-blue);
    border: none;
    padding: 0.5rem 1.125rem;
    font-family: "League Spartan", sans-serif;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.carousel-btn:hover {
    background: var(--golden-sand-light);
}

.carousel-dots {
    text-align: center;
    margin-top: 1rem;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--amber-hover);
}

.carousel-card:not(.active).swipe-left,
.carousel-card:not(.active).swipe-right {
  transform: scale(0.98);
  opacity: 0.5;
}


.problem-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin: 2rem auto;
    width: 100%;
    grid-column: 1 / span 2;
}

.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.problem-card:hover::before,
.problem-card.hover-active::before {
    opacity: 1;
}

.problem-card::before {
    background: linear-gradient(to bottom right, #fff4d2, #ffca56);
}

.problem-card:hover,
.problem-card.hover-active {
    transform: translateY(-6px);
    border-color: var(--amber);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--amber-dark);
}

.problem-card>* {
    position: relative;
    z-index: 1;
}

.problem-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem 1.25rem;
    max-width: 300px;
    border: 1px solid #e09e32;
    border-left: 4px solid var(--amber);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), inset 0 0 8px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    border-radius: .25rem;
    padding: 2rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left 0.3s ease;
}

.problem-card-img-bg img {
    height: 3rem;
    width: 3rem;
    border-radius: 0.5rem;
    object-fit: contain;
    position: relative;
}

.problem-card-img-bg {
    background-color: var(--light-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: .5rem;
    position: relative;
    border: 2px solid var(--bone);
    transition: background-color 0.3s ease;
}

.problem-card h3 {
    font-family: 'Oswald';
    letter-spacing: .5px;
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--deep-space-blue);
    border-bottom: 1px solid;
    line-height: 1.4;
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--steel-gray);
    margin: 0;
}

.problem-card:hover {
    transform: translateY(-6px);
    border-color: var(--amber);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--amber-dark);
}

.problem-card:hover .problem-card-img-bg {
    background-color: var(--soft-azure);
}

.tiers-grid {
    display: grid;
    gap: 4rem;
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
}

.tier-divider.specialty {
    color: var(--golden-sand)
}

.tier-card {
    position: relative;
    border-radius: 0;
    padding: 1.5rem;
    color: var(--silver-glow);
    text-decoration: none;
    display: flex;
    width: 100%;
    background: linear-gradient(145deg, rgba(47, 60, 81, 0.9), rgba(229, 192, 123, 0.03));
    max-width: 300px;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(229, 192, 123, 0.05), 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tier-icon,
.tier-icon img {
    height: 2.5rem;
    min-width: 2.5rem;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1rem;
}

.tier-card h3 {
    font-family: 'Oswald';
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 1.55rem;
    color: var(--amber)
}

.tier-card.handlehub h3, .tier-card.booked-up h3, .tier-card.prep-and-serve h3, .tier-card.tapped-in h3{
    color: var(--golden-sand)
}

.tier-card h4 {
    font-family: 'League Spartan';
    text-transform: uppercase;
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0 0 1rem;
    color: var(--amber-hover)
}

.tier-card ul li {
    line-height: 1.5;
    font-size: 0.875rem;
    margin-bottom: .5rem;
}

.tier-card .tagline {
    font-style: italic;
    color: var(--service-card-white);
    margin: .25rem auto 0 0;
    line-height: 1.4;
}

.tier-card ul {
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tier-card a {
    background-color: var(--golden-sand);
    font-family: 'Lato';
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    padding: 0.5rem 1rem;
    margin-top: .5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tier-card.handlehub a, .tier-card.booked-up a, .tier-card.prep-and-serve a, .tier-card.tapped-in a {
        /* background-color: var(--cloud-grey); */
}

.tier-card a:hover {
    background-color: var(--amber-hover);
    /* transform: translateY(-2px); */
}

    .maintenance-fee {
        font-size: .875rem;
        padding-bottom: .75rem;
        margin: auto auto 0;
        text-align: center;
        color: var(--service-card-white)
    }

    .accordion-content b {
        color: var(--amber-lighter)
    }

    .accordion-content .last-faq b {
        color: var(--amber)
    }

.process-section {
    padding: 5rem 2rem 6rem !important;
    text-align: center;
    background: var(--rich-black);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 0;
}

.process-step {
    height: 300px;
    width: 100%;
    max-width: 300px;
    perspective: 1200px;
}

.process-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.process-icon img {
    display: block;
    height: 3rem;
    width: 3rem;
    margin: auto;
}

.process-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--golden-sand);
    margin-bottom: 0.5rem;
    margin-top: .25rem;
}

.process-text {
    font-size: 1rem;
    color: var(--silver-glow);
    line-height: 1.6;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    background: linear-gradient(to bottom right, var(--deep-space-blue), transparent);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.05);
    padding: 2rem;
}

.process-step:hover .card-inner {
    transform: rotateY(180deg);
}


.card-front,
.card-back {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    padding: 2rem 1rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(to bottom right, var(--deep-space-blue), transparent);
    color: var(--silver-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    line-height: 1.6;
}

.card-front {
    z-index: 2;
    gap: .25rem;
}

.step-tag::before {
    content: attr(data-step);
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--amber);
    color: var(--rich-black);
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}


.section-divider {
    border: none;
    height: 2px;
    width: 100%;
    margin: 2rem auto 1rem;
    background: linear-gradient(to right, var(--golden-sand), var(--amber-dark));
    position: relative;
    transition: box-shadow 0.3s ease;
}

.ember-flicker::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 8px;
    background: var(--golden-sand);
    border-radius: 50%;
    opacity: 0.9;
    box-shadow: 0 0 8px var(--amber-dark);
    animation: flicker 1.2s infinite alternate;
}

@keyframes flicker {
    0% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }

    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.9);
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-left {
    opacity: 0;
    transform: translateX(200px);
    transition: opacity 0.2s ease-out, transform 0.4s ease-out;
    position: relative;
    overflow: clip;
    will-change: opacity, transform;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.2s ease-out .4s, transform 0.4s ease-out .4s;
    overflow: clip;
    position: relative;
}

.subtle-link:hover {
    color: var(--amber-dark-hover);
}

.highlight {
    background: linear-gradient(320deg, var(--azure), var(--lavender-hover));
}

.highlight-amber {
    color: var(--amber)
}

.highlight-amber-hover {
    color: var(--amber-hover) !important
}

#contact {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

#contact h2 {
    text-align: left;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    align-items: start;
    width: 100%;
    max-width: 1400px;
    gap: 6rem;
}

.contact-header {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    align-items: center;
}

.contact-header-text {
    grid-column: 1;
    grid-row: 2;
    font-size: 1.125rem;
    padding-bottom: 1rem;
}

.contact-below-grid {
    grid-row: 5;
    grid-column: 1;
    line-height: 2.6;
}

.contact-description {
    padding-right: 20px;
}

.contact-submit {
    grid-row: 2 / span 3;
    grid-column: 2;
    width: 100%;
    justify-self: center;
    position: relative;
}

.form-title {
    display: flex;
    width: 100%;
    grid-row: 1;
    grid-column: 2;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--deep-space-blue);
    align-self: end;
    justify-self: center;
    justify-content: center;
    gap: 1rem;
}

.form-title img {
    width: 3.5rem;
    height: auto;
}

.first-name-group {
    grid-row: 1;
    grid-column: 1;
}

.last-name-group {
    grid-row: 1;
    grid-column: 2;
}

.email-address-group {
    grid-row: 2;
    grid-column: 1;
}

.phone-number-group {
    grid-row: 2;
    grid-column: 2;
}

.preferred-method-group {
    grid-row: 3;
    grid-column: 1;
}

.category-group {
    grid-row: 4;
    grid-column: 1;
}

.sub-category-group {
    grid-row: 5;
    grid-column: 1;
}

.message-group {
    grid-row: 3 / span 3;
    grid-column: 2;
}

.contact-preference {
    font-family: "Lato", sans-serif;
    color: var(--deep-space-blue);
    display: flex;
}

.contact-preference p {
    padding: 0;
    margin: 0;
    font-size: 0.925rem;
    font-weight: bold;
}

.contact-preference-options {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#form-message {
    grid-row: 6;
    grid-column: 2;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 4px;
    color: var(--mist-blue);
}

#form-message.form-success {
    color: var(--deep-space-blue);
}

#form-message.form-error {
    color: #d9534f;
}

.contact-col-1 {
    display: flex;
    flex-direction: column;
}

.hero-subtitle {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 20px 0 0;
    margin-left: auto;
    margin-right: auto;
    color: var(--slate-grey);
}

#contact-form {
    background: linear-gradient(to bottom right, var(--deepened-navy), var(--rich-black));
    padding: 2.5rem;
    border: 1px solid var(--steel-silver);
    border-radius: 1rem;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.05);
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 0.5rem 1.5rem;
    font-family: 'Lato', sans-serif;
    z-index: 1;
    position: relative;
}

.form-group label,
.contact-preference legend {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--service-card-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--service-card-white);
    background: var(--deepened-navy);
    border: 1px solid var(--steel-silver);
    border-radius: 6px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.required-text {
    color: var(--amber);
    font-weight: 700;
    font-size: 0.85rem;
}

.contact-preference {
    border: none;
    display: flex;
    gap: 2rem;
    padding: 0;
}

.contact-preference label {
    color: var(--silver-glow);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

button[type="submit"] {
    background-color: var(--amber-hover);
    color: var(--rich-black);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: .6em 1.2em;
    border: none;
    letter-spacing: -.25px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--amber-lighter);
}

#form-message {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--positive-green);
}

@keyframes badgePop {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.trust-badge-bar {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.trust-badge-bar p {
    letter-spacing: unset !important;
    font-weight: 400;
    margin: 0 0 .75rem;
    font-size: 0.9rem;
    color: #cfd8e3;
    line-height: 1.8;
    opacity: 0;
    animation: badgePop 0.8s ease-out 1s forwards;
}

.trust-badge-bar img {
    height: auto;
    width: 100%;
    max-width: 100px;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    animation: badgePop 0.8s ease-out 1s forwards;
}

.badge-wrapper {
    background-color: var(--service-card-white);
    padding: .25rem;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    border: 2px solid #cfd8e3;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    animation: badgePop 0.8s ease-out 1s forwards;
}

.badge-wrapper:hover {
    background-color: var(--azure);
    border-color: var(--silver-glow);
}

.accordion-panel.active {
    background-color: rgba(207, 216, 227, 0.145);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(126, 222, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.accordion-panel {
    padding: .25em 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease
}

.handlehub,
.booked-up,
.prep-and-serve,
.tapped-in {
    background: linear-gradient(to bottom right, rgba(59, 43, 29, 0.9), rgba(34, 23, 15, 0.9));
}

.contact-below-grid b {
    color: var(--amber-hover)
}

@media screen and (min-width: 769px) {

    section:not(#hero) {
        padding: 5rem 2rem;
    }

    h2 {
        margin: 0 auto 1rem;
        line-height: 1.05;
        font-size: clamp(2.75rem, 2.5rem + 1.75vw, 5.25rem);
        font-weight: 700;
        font-family: 'League Spartan';
        color: var(--silver-glow);
        text-transform: uppercase;
        text-align: center;
    }


    .hero-text h1 {
        grid-row: 2;
        grid-column: 1 / -1;
        font-size: clamp(2.75rem, 2.5rem + 1.75vw, 5.25rem);
        font-weight: 700;
        font-family: "League Spartan", sans-serif;
        text-transform: uppercase;
        margin-top: .5rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
        padding: 0 2rem;
        color: var(--silver-glow);
        max-width: 1400px;
    }

    .hero-text h2 {
        font-size: 2rem;
        grid-row: 2;
        grid-column: 1 / -1;
    }

    .services-section h2,
    .portfolio-section h2 {
        color: var(--silver-glow)
    }

    .wrapper {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-wrapper {
        margin: 4rem auto 0;
    }

    .accordion-trigger:hover,
    .accordion-trigger[aria-expanded="true"] {
        color: var(--amber-hover);
        transition: color 0.2s ease !important;
    }


    header:not(header.scrolled) {
        backdrop-filter: blur(6px);
        /* border-bottom: 1px solid var(--silver-glow) */
    }

    header.scrolled {}

    .tier-divider {
        grid-column: 1 / -1;
        font-family: 'League Spartan', sans-serif;
        font-size: clamp(1.75rem, 1.75rem + 1vw, 2.5rem);
        line-height: 1;
        text-transform: uppercase;
        color: var(--amber-hover);
        text-align: center;
        padding-bottom: .5rem;
        border-bottom: 1px solid var(--amber-lighter);
    }

    .prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.contact-header-text p {
    padding-bottom: .75rem;
}

#testimonials .section-divider, #testimonials .soft-cta {
    max-width: 1400px;
    margin-left: auto;
}

}

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

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background: var(--rich-black);
        background-attachment: scroll !important;
    }

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(circle at 50% 50%, #1f3249 0%, #0e121a 80%);
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: scroll;
        opacity: 1;
    }

    section:not(#hero) {
        padding: 3.5rem 0;
    }

    .wrapper,
    .contact-wrapper {
        padding: 0 1rem;
        align-items: center;
    }

    a[href^="tel"] {
        color: var(--silver-glow);
        text-decoration: none;
        -webkit-appearance: none;
    }

    .section-subhead {
        font-size: .9375rem;
        text-align: center;
    }

    #ian-float-container {
        position: fixed;
        bottom: 50px;
        right: 1rem;
        transform: none !important;
        top: auto !important;
        animation: none;
        transition: opacity 0.3s ease;
    }

    .ian-deal {
        top: auto;
        bottom: auto;
        right: 0;
        transform: none;
        width: 315px;
        margin-bottom: 1rem;
        padding: 2rem 1rem 1rem;
    }

    .accordion-trigger {
        box-shadow: none;
    }

    .section-divider {
        margin: 1rem auto .5rem;
    }

    .process-section {
        padding: 5rem 0 !important;
    }

    .soft-cta {
        font-size: .875rem;
    }

    #back-to-top {
        right: unset;
        left: 25px;
        z-index: 10
    }

    .ian-deal h4 {
        font-size: 1.5rem
    }

    .ian-deal .cta-button {
        background-color: var(--amber-hover);
        padding: .5em 2em;
        font-size: .875rem;
    }

    .ian-float {
        position: relative;
        width: 64px;
        height: 64px;
        z-index: 2;
    }

    .ian-deal-list {
        font-size: .85rem;
    }

    .trust-badge-bar {
        padding: 1rem .5rem;
    }

    .trust-badge-bar p {
        margin: 0 0 .75rem;
        font-size: .85rem;
    }

    .trust-badge-bar img {
        height: 100%;
        width: 100%;
        max-width: 80px;
    }

    .trust-subtext {
        line-height: 1.8;
        margin-bottom: 0rem;
    }

    #hero {
        grid-template-columns: 1fr;
        width: 100%;
        position: relative;
        z-index: 1;
    }

    .hero-text {
        padding: 7rem 1rem 4rem;
        gap: 0;
        grid-template-columns: 1fr;
        align-items: flex-start;
        margin: auto 0;
        position: relative;
        z-index: 1;
        height: unset;
    }

    .hero-section {
        height: unset;
        min-height: unset;
    }

    h1 {
        font-size: clamp(1.75rem, 2.25rem + .75vw, 2.75rem) !important;
        font-weight: 700;
        font-family: "League Spartan", sans-serif;
        text-transform: uppercase;
        margin-top: .5rem;
        line-height: 1.075;
        color: var(--silver-glow);
        margin-left: auto;
        margin-right: auto;
        max-width: 375px;
        letter-spacing: 0;
    }

    h2 {
        margin: 0 auto 1rem;
        line-height: 1.2;
        font-size: clamp(1.5rem, 2rem + .75vw, 2.5rem) !important;
        font-weight: 700;
        font-family: "League Spartan", sans-serif;
        color: var(--silver-glow);
        text-transform: uppercase;
        text-align: center;
        letter-spacing: 0;
    }

    p.hero-support {
        margin: .75rem auto;
        font-family: "Lato", sans-serif;
        text-align: center;
        font-size: 1rem;
        line-height: 1.8;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        margin-top: 25px;
        align-items: center;
        position: relative;
        grid-row: 3;
        grid-column: 1;
        margin: .5rem auto auto;
        gap: .25rem;
    }

    .cta-buttons .cta-button {
        width: 100%;
    }

    .background-anvil {
        height: 120px;
    }

    .background-anvil::after {
        height: 48px;
    }

    .intro-div {
        display: flex;
        flex-direction: column;
        width: calc(100% + 40px);
        margin: auto -20px;
        padding: 0 20px;
        align-items: center;
        background: linear-gradient(to top, var(--sky-aqua), transparent);
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        min-height: 100vh;
    }

    #hourglass-icon {
        width: 2.5rem;
    }

    .ian-bubble {
        flex-direction: column-reverse;
        justify-content: center;
        margin-bottom: 0;
        position: relative;
        overflow: clip;
        gap: 0;
    }

    .ian-dialogue.highlight-outline {
        border-bottom: none !important;
        border-top: 1px solid rgba(255, 193, 7, 0.3) !important;
        border-left: 1px solid rgba(255, 193, 7, 0.3) !important;
        border-right: 1px solid rgba(255, 193, 7, 0.3) !important;
        box-shadow: inset 0 -4px 0 var(--amber), 0 6px 18px rgba(0, 0, 0, 0.08) !important
    }

    .ian-dialogue::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 46.5%;
        width: 0px;
        height: 0;
        border-bottom: 10px solid transparent;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-top: 14px solid var(--amber);
    }

    .ian-photo img {
        width: 120px;
        height: 120px;
    }


    input,
    select,
    textarea {
        font-size: 1rem;
    }

    input,
    textarea {
        padding: 10px;
    }

    #hero .cta-button {
        grid-row: 3;
    }

    #hero .secondary-button {
        grid-row: 4;
        grid-column: 1;
    }

    #hero .services-header-card .cta-button {
        grid-row: 8;
        margin: 20px 0
    }

    .ian-photo {
        margin-top: 1.75rem;
        padding-top: 0;
    }

    .card-header {
        display: grid;
        grid-auto-columns: auto 1fr;
        justify-content: center;
    }

    .card-header .price {
        grid-row: 2;
        grid-column: 1;
    }

    .card-header h3 {
        grid-column: 1;
        grid-row: 1;
    }

    .tiers-grid {
        padding: 0 1rem 4rem;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 0;
    }

    .tier-card {
        margin-left: auto;
        margin-right: auto;
        padding: 1.5rem 2rem 1.5rem;
        max-width: 350px;
    }

    .tier-card h4 {
        text-align: center;
        margin-bottom: .25rem;
    }

    .tier-card ul {
        text-align: left;
        padding: 1rem 1rem 1.5rem;
    }

    .tier-card ul li {
        line-height: 1.5;
        font-size: .9375rem
    }

    .tier-card .tagline {
        margin: .25rem auto .25rem 0;
        text-align: left;
    }

    .tier-card h3 {
        text-align: center;
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .tier-divider {
        grid-column: 1 / -1;
        font-family: 'League Spartan', sans-serif;
        font-size: clamp(1.375rem, 1.75rem + .75vw, 1.9375rem);
        line-height: 1.3;
        text-transform: uppercase;
        color: var(--amber-hover);
        text-align: center;
        margin: 2rem 0 0;
        padding-bottom: .75rem;
        border-bottom: 1px solid var(--amber-lighter);
    }


    .tier-icon img,
    .tier-card h3,
    .tier-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .accordion-trigger[aria-expanded="true"] {
        color: var(--amber-hover);
        transition: color 0.2s ease !important;
    }

    .service-grid {
        margin: 2rem auto;
        gap: 2rem;
    }

    .service-card {
        border: 1px solid transparent;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding: 2rem 1.5rem;
        transition: all 0.3s ease;
        transform: translate(-5vw);
    }

    .service-card h3 {
        color: var(--golden-sand);
        font-size: 1.425rem;
        text-align: left;
        margin-left: 0;
        margin-right: auto;
        transition: color 0.2s ease;
    }

    .service-row-1 {
        padding-bottom: .25rem;
        margin-bottom: 1.25rem;
        grid-template-columns: 64px auto;
        justify-items: start;
        border-bottom: 1px solid rgba(207, 221, 231, 0.5);
    }

    .process-grid {
        grid-template-columns: 1fr;
        width: 100%;
        align-items: center;
                padding: 1rem 0 2rem;
    }

    .portfolio-grid {
        margin: 1rem auto 2rem;
        gap: 2.5rem
    }

    .card-front,
    .card-back,
    .process-step {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .card-front {
        justify-content: center;
    }

    .portfolio-card {
        border-radius: 0;
        opacity: 0.5;
        transition: opacity 0.4s ease;
    }

    .portfolio-card.lit-up {
        opacity: 1;
    }

    .process-icon svg {
        height: 3.5rem;
        width: 3.5rem;
        margin: auto;
    }

    .subtle-link {
        font-size: 0.9375rem;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    
    .carousel-btn {
        padding: .25rem .9375rem;
        font-weight: 400;
    top: 65%;
        background: rgba(255, 219, 111, .75);
    }

    .carousel-btn:hover {
        background: rgba(255, 219, 111, .75);
    }

    .carousel-card.swipe-left {
  transform: scale(0.98);

}
.carousel-card.swipe-right {
  transform: scale(0.98);
}

.carousel-card {
  opacity: 0;
  padding: 1rem 2rem;
  min-height: 400px;
  transform: scale(1);
}

.carousel-card.active {
  opacity: 1;
  z-index: 1;
}

.carousel-card.swipe-left:not(.active),
.carousel-card.swipe-right:not(.active) {
  opacity: 0.5;
  transform: scale(0.98);
}

    .prev-btn {
    left: 2rem;

}

.next-btn {
    right: 2rem;
}

.carousel-dots {
    margin-top: 0;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--silver-glow);
    line-height: 1.5;
}

.testimonial-name {
    font-size: 1.125rem;
    letter-spacing: 0;
}

.carousel-dot {
    height: 8px;
    width: 8px;
}

.carousel-card::before {
    top: 2rem;
    left: 2rem;
}

    .expand-btn {
        border-width: 1px;
    }

    #how-we-forge h2 {
        max-width: 300px;
    }

    .contact-wrapper {
        background-color: transparent;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .contact-header-text {
        grid-row: 2;
        padding-bottom: 0;
    }

    .contact-header-text p {
        font-size: .9375rem;
        color: rgba(252, 251, 248, 0.95);
        line-height: 1.8;
        padding-bottom: .5rem;
    }


    #contact-form {
        grid-template-columns: 1fr;
    }

    .commitment-left-col,
    .commitment-right-col,
    .contact-below-grid,
    .contact-grid,
    .contact-header,
    .contact-header-text,
    .contact-submit,
    .form-title,
    .profile-image-wrapper {
        grid-column: unset;
    }


    .cta-button.services {
        width: 100%;
        padding: 6px;
    }

    #contact-form {
        background: transparent;
        padding: 1rem;
        border: none;
        box-shadow: none;
    }

    .contact-grid {
        grid-row: 5;
        grid-template-columns: auto;
        max-height: unset;
        width: 100%;
        max-width: 400px;
        height: 100%;
        gap: 0;
        margin: 1rem auto;
    }

    .form-title {
        grid-row: 4;
        display: flex;
        justify-content: center;
        gap: 1rem
    }

    .form-title img {
        width: 2.5rem;
        height: auto;
        margin-left: -1rem;
    }

    #contact h2 {
        text-align: center;
    }

    .contact-submit {
        grid-row: 6;
        width: 100%;
    }

    .contact-below-grid {
        line-height: 2.2;
        padding-bottom: .75rem;
        font-size: 0.875rem;
        text-align: left;
    }

    .mobile-left {
        text-align: left !important;
    }

    .profile-image-wrapper {
        grid-column: 1;
        grid-row: 1;
        justify-content: right;
        display: flex;
        justify-self: center;
        padding: 0 0 1rem;
    }

    .contact-wrapper {
        gap: 1rem
    }

    .versus-block {
        max-width: 420px;
    }

    #form-message {
        grid-row: 7;
        grid-column: 1;
        margin: 40px 0 0;
    }



    #contact #contact-form-title {
        font-size: 2.625rem;
        padding: 0 0 1.25rem;
    }

    .category-group,
    .email-address-group,
    .first-name-group,
    .last-name-group,
    .message-group,
    .phone-number-group,
    .preferred-method-group,
    .sub-category-group {
        grid-column: unset;
        grid-row: unset;
    }
}

@media screen and (min-width: 2060px) {

}

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

@media screen and (min-width: 769px) and (max-width: 1060px) {

    .problem-cards {
        justify-items: center;
    }

    .problem-grid-bubble {
        grid-row: 2;
        grid-column: 1;
    }

    .transition-p {
        grid-column: 1;
        grid-row: 3 !important;
    }


}

@media screen and (min-width: 1201px) and (max-width: 1450px) {
        .tiers-grid {
        gap: 2rem;
        justify-items: center;
    grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

}

@media screen and (min-width: 769px) and (max-width: 1616px) {

    #contact #contact-form-title {
        font-size: 4.5rem;
    }

    .contact-wrapper {
        max-width: 800px;
    }

    .contact-below-grid {
        font-size: 1rem;
        padding: 20px 0;
        text-align: center;
    }
}


@media (min-width: 1024px) {
    .tiers-grid {
        grid-template-columns: repeat(auto-fit, minmax(275px, 1fr))
    }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
    .our-process h2 {
        max-width: unset;
    }

    .ian-bubble {
        gap: 2rem;
    }

    #contact h2 {
        text-align: center;
    }

    .contact-header-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    #contact .contact-grid {
        max-width: 400px;
        margin-top: 2rem;
    }

    .tiers-grid {
        gap: 2rem;
        justify-items: center;
    grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

    .versus-block {
        max-width: 420px;
    }


  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    max-width: 800px;
}

}

.accordion-content ul {
    list-style-type: none;
}

.accordion-content p.last-faq {
    border-top: 1px solid var(--golden-sand);
    padding-top: .25rem;
    margin-top: 1rem;
    width: fit-content
}

.accordion-content p:first-of-type {
    border-top: none;
    padding-top: 0
}


.accordion-content ul li,
.accordion-content ol li {
    color: var(--deep-space-blue);
    line-height: 1.8;
}

.accordion-content ul li b,
.accordion-content ol li b {
    color: var(--deep-space-blue);
}


.accordion-content ul li {
    color: var(--deep-space-blue);
    line-height: 1.8;
    display: list-item;
    padding-bottom: .5rem;

}

.accordion-content span {
    display: flex;
}

.accordion-content ol li {
    color: var(--deep-space-blue);
    line-height: 1.8;
    padding-bottom: .5rem;
}

.accordion-content ul li b,
.accordion-content ol li b {
    color: var(--deep-space-blue);
    display: inline;
}

.accordion-content p {
    line-height: 1.7;
}

/* .accordion-trigger[aria-expanded="true"] {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
} */

.accordion-content .block-label {
    display: block;
}

@media screen and (min-width: 769px) {


    .accordion-wrapper {
        margin: 20px auto 0;
        margin-inline: auto;
    }

    .accordion-content {
        padding: 0 2.5rem 0 1rem;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.5s ease;
    }

    .accordion-content[aria-hidden="false"] {
        grid-template-rows: 1fr;
    }


    .accordion-content[aria-hidden="true"]>div {
        margin: 0;
    }


    .accordion-content>div {
        overflow: hidden;
        margin: 8px 0;
        transition: margin 0.5s ease;
    }

    .accordion {
        padding: 0;
        margin: 8px 0 4rem;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
        gap: 2rem;
    }

    .accordion-panel {
        padding: 0;
        margin: 0;
    }

    .accordion h3 {
        position: relative;
        font-size: 1.17em;
        margin: 0;
    }

    .accordion-trigger {
        margin: 0;
        padding: 1rem 2rem .5rem 1rem;
        position: relative;
        display: block;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
        background: transparent;
        text-transform: initial;
        color: var(--silver-glow);
        border: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .accordion-trigger::after {
        font-family: "Lato";
        font-weight: 200;
        content: "+";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg) scale(1);
        font-size: 1.25rem;
        color: currentColor;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .accordion-trigger[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(45deg) scale(1.2);
        color: var(--amber-dark-hover)
    }

    .accordion-content a:last-of-type {
        margin: 0 0 4px;
    }

}

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

    .accordion {
        margin: .5rem 0 1rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .accordion-content ul {
        margin-left: 0;
        padding-left: 0;
    }

    .accordion-content ol {
        padding-left: 2rem;
        margin-left: 0;
    }

    .accordion-trigger {
        text-transform: initial;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
    }

    .accordion-content a {
        font-family: "Lato";
        font-weight: 700;
    }

    b,
    .accordion h3 {
        font-family: "Lato";
        font-weight: 700;
    }

    .accordion h3 {
        font-size: 1rem;
    }

    .accordion-content {
        overflow: hidden;
        padding: 0 2.5rem 0 .5rem;
        transition: grid-template-rows 0.5s ease, max-height 0.4s ease;
    }

    .accordion-panel.active .accordion-content {
        max-height: 500px;
    }

    .accordion-trigger {
        margin: 0;
        padding: .25rem 2.5rem .25rem 1rem;
        position: relative;
        display: block;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
        background: transparent;
        text-transform: initial;
        color: var(--silver-glow);
        border: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .accordion-trigger::after {
        font-family: "Lato";
        font-weight: 200;
        content: "+";
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg) scale(1);
        font-size: 1.25rem;
        color: currentColor;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .accordion-trigger[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(45deg) scale(1.2);
        color: var(--amber-dark-hover)
    }

    .accordion-subcontent {
        padding: 0 .5rem
    }

}

