/* ==========================================================================
   TW Consultants - marketing site
   Framework-free: no Bootstrap, no jQuery, no icon webfont.
   Palette: deep navy + brand teal with a soft amber accent.
   Type: Fraunces (display) + Inter (body).
   ========================================================================== */

:root {
    --ink: #0b1f33;
    --muted: #5a6b7b;
    --body-text: #3c4d5e;
    --paper: #ffffff;
    --paper-alt: #f4f7f9;
    --line: #e2e8ee;

    --teal: #087990;
    --teal-dark: #05606f;
    --teal-soft: #7fd8d0;
    --amber: #e9a13b;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 10px 30px rgba(11, 31, 51, 0.08);
    --shadow-md: 0 22px 50px rgba(11, 31, 51, 0.12);

    --font-body:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;

    --wrap: 1180px;
    --header-h: 72px;
}

/* --- Base ---------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 1100;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* --- Icons --------------------------------------------------------------- */

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    flex: none;
    vertical-align: -0.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Layout -------------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section {
    padding: 6rem 0;
}

.section--alt {
    background: var(--paper-alt);
}

.section-head {
    max-width: 660px;
    margin: 0 auto 3.6rem;
    text-align: center;
}

.section p {
    line-height: 1.8;
    color: var(--body-text);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: #2f4256;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    opacity: 0.75;
}

.eyebrow--light {
    color: var(--teal-soft);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 1rem;
    text-wrap: balance;
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
}

/* Two-column split used by the About / Clients / Candidates sections */
.split {
    display: grid;
    gap: 3rem;
}

@media (min-width: 992px) {
    .split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .split--narrow {
        grid-template-columns: 5fr 7fr;
        align-items: start;
    }

    .split--reverse .split__media {
        order: -1;
    }
}

/* Vertical rhythm for the two-column text columns (about / clients / candidates).
   Paragraphs need an explicit gap now that the UA margins are reset. */
.split__body > p + p {
    margin-top: 1.15rem;
}

.split__body > .btn {
    margin-top: 2rem;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.btn--primary:hover,
.btn--primary:focus {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: #fff;
    box-shadow: 0 12px 26px rgba(8, 121, 144, 0.3);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover,
.btn--ghost:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.btn--light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn--light:hover,
.btn--light:focus {
    background: #e9f2f5;
    border-color: #e9f2f5;
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.btn--lg {
    padding: 0.9rem 2rem;
    font-size: 1.02rem;
}

/* --- Header / navigation ------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid transparent;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 30px rgba(11, 31, 51, 0.07);
}

body.has-hero .site-header:not(.is-scrolled) {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
}

.brand__mark {
    width: 42px;
    height: 42px;
    transition: filter 0.3s ease;
}

.brand__name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.brand__tag {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav__menu {
    display: block;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__list > li > a:not(.btn) {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
}

.nav__list > li > a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav__list > li > a:not(.btn):hover::after,
.nav__list > li > a:not(.btn):focus-visible::after {
    transform: scaleX(1);
}

.nav__admin {
    color: var(--amber) !important;
}

.nav__cta {
    margin-left: 0.85rem;
}

.nav__cta .btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.93rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 0.55rem 0.4rem;
    background: none;
    border: 0;
    cursor: pointer;
}

.nav__bar {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: background-color 0.3s ease;
}

/* Transparent state (homepage, above the hero video) */
body.has-hero .site-header:not(.is-scrolled) .brand__name {
    color: #fff;
}

body.has-hero .site-header:not(.is-scrolled) .brand__tag {
    color: rgba(255, 255, 255, 0.7);
}

body.has-hero .site-header:not(.is-scrolled) .brand__mark {
    filter: brightness(0) invert(1);
}

body.has-hero .site-header:not(.is-scrolled) .nav__list > li > a:not(.btn) {
    color: rgba(255, 255, 255, 0.88);
}

body.has-hero
    .site-header:not(.is-scrolled)
    .nav__list
    > li
    > a:not(.btn):hover {
    color: #fff;
}

body.has-hero .site-header:not(.is-scrolled) .nav__bar {
    background: #fff;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    min-height: 100svh;
    padding: 8rem 0 9rem;
    overflow: hidden;
    isolation: isolate;
    background: #06121f;
    color: #fff;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            120% 90% at 12% 18%,
            rgba(8, 121, 144, 0.35),
            transparent 58%
        ),
        linear-gradient(
            180deg,
            rgba(6, 17, 28, 0.72) 0%,
            rgba(6, 17, 28, 0.5) 42%,
            rgba(6, 17, 28, 0.88) 100%
        );
}

.hero__inner {
    position: relative;
    max-width: 880px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.35rem, 5.4vw, 4.15rem);
    line-height: 1.03;
    letter-spacing: -0.015em;
    color: #fff;
    text-wrap: balance;
}

.hero__title em {
    font-style: italic;
    color: var(--teal-soft);
}

.hero__lead {
    max-width: 640px;
    margin-top: 1.4rem;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.2rem;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.6rem 0 0;
    padding: 0;
    list-style: none;
}

.hero__badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero__badges .icon {
    color: var(--teal-soft);
}

.hero__scroll {
    position: absolute;
    bottom: 1.9rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 26px;
    height: 42px;
    padding-top: 8px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
}

.hero__scroll span {
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
    animation: scroll-cue 1.9s ease-in-out infinite;
}

@keyframes scroll-cue {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 0;
    }
}

/* --- Stats --------------------------------------------------------------- */

.stats {
    position: relative;
    z-index: 5;
    margin-top: -4.5rem;
}

.stats__card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 2.1rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.stat {
    position: relative;
    padding: 0.35rem 1.1rem;
    text-align: center;
}

.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: var(--line);
}

.stat__value {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1;
    color: var(--ink);
}

.stat__value--text {
    padding-top: 0.55rem;
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.stat__label {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --- Tick lists ---------------------------------------------------------- */

.ticks {
    display: grid;
    gap: 0.8rem;
    margin: 1.9rem 0 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    position: relative;
    padding-left: 2rem;
    color: #33465a;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 1.15rem;
    height: 1.15rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087990' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
        center/contain no-repeat;
}

/* --- Expertise ----------------------------------------------------------- */

.expertise {
    display: grid;
    gap: 1.5rem;
}

.expertise + .expertise {
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .expertise {
        grid-template-columns: 230px 1fr;
        gap: 2.5rem;
    }
}

.expertise__label {
    position: relative;
    align-self: start;
    padding-top: 1.2rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--ink);
}

.expertise__label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--teal);
}

.expertise__label span {
    margin-right: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--teal);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    height: 100%;
    padding: 1.6rem 1.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(11, 31, 51, 0.1);
}

.card__icon {
    width: 1.7rem;
    height: 1.7rem;
    margin-bottom: 0.95rem;
    display: block;
    color: var(--teal);
}

.card h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

/* --- Media frames -------------------------------------------------------- */

.media-frame {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.media-frame::after {
    content: "";
    position: absolute;
    top: -16px;
    right: -16px;
    width: 96px;
    height: 96px;
    border-top: 3px solid var(--teal);
    border-right: 3px solid var(--teal);
    border-radius: 0 24px 0 0;
}

/* --- Process ------------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.step {
    position: relative;
    padding-top: 1.6rem;
}

.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), rgba(8, 121, 144, 0.12));
}

.step__num {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--teal);
}

.step h3 {
    margin-bottom: 0.55rem;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
}

.step p {
    font-size: 0.97rem;
}

/* --- Call to action ------------------------------------------------------ */

.cta {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0;
    isolation: isolate;
    background:
        radial-gradient(
            120% 140% at 82% -10%,
            rgba(8, 121, 144, 0.55),
            transparent 55%
        ),
        linear-gradient(135deg, #0e2f42, #0b1f33 72%);
    color: #fff;
}

.cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.13) 1px,
        transparent 1px
    );
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent,
        #000 30%,
        #000 70%,
        transparent
    );
    mask-image: linear-gradient(
        180deg,
        transparent,
        #000 30%,
        #000 70%,
        transparent
    );
}

.cta__inner {
    max-width: 760px;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.12;
    color: #fff;
    text-wrap: balance;
}

.cta p {
    max-width: 580px;
    margin: 0 auto 2.2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
    padding: 5rem 0 2rem;
    background: #08192a;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
}

.footer__logo img {
    filter: brightness(0) invert(1);
}

.footer__brand p {
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.6);
}

.footer__col h2 {
    margin-bottom: 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-soft);
}

.footer__col ul {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__col a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.footer__col a:hover {
    color: #fff;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer__bottom-links {
    display: flex;
    gap: 0.6rem;
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.72);
}

.footer__bottom a:hover {
    color: #fff;
}

/* --- Inner page header + prose ------------------------------------------ */

.page-hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, #0e2f42, #0b1f33);
    color: #fff;
}

.page-hero h1 {
    margin-bottom: 0.85rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
}

.prose {
    max-width: 800px;
    margin: 0 auto;
    color: var(--body-text);
}

.prose > p:first-of-type {
    font-size: 1.1rem;
    color: #2f4256;
}

.prose h2 {
    margin: 2.6rem 0 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--ink);
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.prose ul {
    margin: 0 0 1.35rem;
    padding-left: 1.1rem;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.prose ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.prose a {
    color: var(--teal);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* --- Scroll reveal ------------------------------------------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.js .steps .step:nth-child(2) {
    transition-delay: 0.1s;
}

.js .steps .step:nth-child(3) {
    transition-delay: 0.2s;
}

.js .steps .step:nth-child(4) {
    transition-delay: 0.3s;
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 991.98px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        flex-basis: 100%;
        order: 3;
        display: block;
        margin-top: 0.75rem;
        padding: 1rem 1.1rem;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 24px 44px rgba(11, 31, 51, 0.13);
    }

    /* Hide behind the toggle only when JS is available to open it */
    .js .nav__menu {
        display: none;
    }

    .js .nav__menu.is-open {
        display: block;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
    }

    .nav__list > li > a:not(.btn) {
        padding: 0.7rem 0.35rem;
    }

    .nav__list > li > a:not(.btn)::after {
        display: none;
    }

    body.has-hero
        .site-header:not(.is-scrolled)
        .nav__menu
        .nav__list
        a:not(.btn) {
        color: var(--ink);
    }

    .nav__cta {
        margin: 0.6rem 0 0;
    }

    .nav__cta .btn {
        display: flex;
        width: 100%;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1.75rem;
    }
}

@media (min-width: 992px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .footer__grid {
        grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    }

    .footer__brand {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 4.25rem 0;
    }

    .hero {
        padding: 7rem 0 7.5rem;
    }

    .hero__scroll {
        display: none;
    }

    .stats {
        margin-top: -3rem;
    }

    .stats__card {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem 0;
        padding: 1.75rem 0.5rem;
    }

    .stat + .stat::before {
        display: none;
    }

    .media-frame {
        max-width: 420px;
    }

    .media-frame::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .brand__tag {
        display: none;
    }
}

/* --- Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .js .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
