/* ============================================================
   AVENDONA DIGITAL v2 — Airy, Light, Scandinavian
   Fonts: Noto Serif Display + DM Sans + HuntingStar (logo)
   Palette: Navy nav / White / Soft blues / Deep blue accent
   ============================================================ */

@font-face {
    font-family: 'HuntingStar';
    src: url('assets/fonts/HuntingStar.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── TOKENS ── */
:root {
    /* Colors */
    --nav-bg:        #0B1729;       /* deep rich navy */
    --nav-text:      #FFFFFF;

    --white:         #F7F9FC;       /* cool white with blue tint */
    --bg-soft:       #EDF2F8;       /* cool light blue-grey */
    --bg-blue:       #E8E1D4;       /* warm sand/beige for alternate sections */
    --bg-deep-blue:  #0B1729;       /* deep rich navy for CTA / Process */

    --accent:        #C8B89A;       /* warm tan/gold — pops against blue */
    --accent-hover:  #b8a284;

    --secondary:     #5B8DB8;       /* medium blue */

    --text-dark:     #0D1B2A;       /* very dark navy */
    --text-body:     rgba(13, 27, 42, 0.72);
    --text-muted:    rgba(13, 27, 42, 0.50);

    /* On deep sections */
    --text-on-deep:  #EEF4FB;       /* cool light text on navy */
    --text-sub-deep: rgba(238, 244, 251, 0.78);

    /* Typography */
    --font-display:  'Noto Serif Display', Georgia, serif;
    --font-body:     'DM Sans', system-ui, sans-serif;
    --font-logo:     'HuntingStar', 'Noto Serif Display', Georgia, serif;

    /* Spacing */
    --section-pad:   clamp(5rem, 10vw, 8rem);
    --container:     1200px;
    --radius:        4px;

    /* Transitions */
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }

/* ── CONTAINER ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

/* ── SECTION BASE ── */
.section {
    padding: var(--section-pad) 0;
}

.section--soft {
    background: var(--bg-soft);
}

.section--blue {
    background: var(--bg-blue);
}

.section--deep-blue {
    background: var(--bg-deep-blue);
    color: var(--text-on-deep);
}

/* ── TYPOGRAPHY ── */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.18;
    color: var(--text-dark);
    font-weight: 400;
}

.section-heading--light {
    color: var(--text-on-deep);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header--center {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

.section-header__sub {
    margin-top: 1.75rem;
    font-size: 1.0625rem;
    color: var(--text-muted);
}

.body-l {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-body);
}

.section-intro {
    margin-top: 1rem;
    font-size: 1.0625rem;
    color: var(--text-body);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.18s var(--ease);
    letter-spacing: 0.01em;
}

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

.btn--accent {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--primary {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}
.btn--primary:hover { background: #0a1825; border-color: #0a1825; }

.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}
.btn--outline:hover { background: var(--text-dark); color: #fff; }

.btn--sm  { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn--lg  { padding: 1.125rem 2.5rem; font-size: 1.0625rem; }

/* ── NAVIGATION ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.nav__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #fff;
}

.nav__logo-monogram {
    font-family: var(--font-display);
    font-size: 1.375rem;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.nav__logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.9);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav__link:hover { color: #fff; }

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    padding-top: calc(68px + clamp(2rem, 5vw, 3.5rem));
    padding-bottom: clamp(4rem, 8vw, 6rem);
    background: var(--white);
    position: relative;
    overflow: hidden;
}


.hero__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.hero__content {
    max-width: 600px;
}

.hero__image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero__image-frame {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 5/6;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(60, 48, 36, 0.14);
}

.hero__image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
    pointer-events: none;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    line-height: 1.18;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero__lead {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.5;
    max-width: 480px;
    margin-bottom: 2.25rem;
}

.hero__sub {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── TRUST STRIP ── */
.trust-strip {
    background: var(--bg-soft);
    padding: 2.5rem 0;
    border-top: 1px solid #C8D8EC;
    border-bottom: 1px solid #C8D8EC;
}

.trust-strip__text {
    font-size: 1rem;
    color: var(--text-body);
    max-width: 680px;
    line-height: 1.7;
}

/* ── LOGOS STRIP ── */
.logos-strip {
    padding: 2.5rem 0;
    background: var(--white);
    border-bottom: 1px solid #D0DCEC;
}

.logos-strip__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.logos-strip__label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
}

.logos-strip__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-wordmark {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
.logo-wordmark:hover { color: var(--text-dark); }

/* ── TWO-COL LAYOUT ── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.two-col--image-left .two-col__image { order: -1; }

.two-col__text > * + * { margin-top: 1.25rem; }

/* ── CHECK LIST ── */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.check-list li {
    padding-left: 1.75rem;
    position: relative;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.55;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    top: 1px;
}

/* ── PROBLEM LIST ── */
.problem-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.problem-list li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.55;
}

.problem-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.problem__ja { margin-top: 1.5rem !important; font-weight: 500; }

.problem__conclusion {
    margin-top: 2rem !important;
    padding: 1.5rem 1.75rem;
    background: var(--bg-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.problem__conclusion p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ── IMAGE FRAMES ── */
.image-frame {
    overflow: hidden;
    border-radius: 2px;
    background: var(--bg-soft);
}

.image-frame--tall   { aspect-ratio: 3/4; }
.image-frame--portrait { aspect-ratio: 4/5; }
.image-frame--wide   { aspect-ratio: 16/10; }
.image-frame--process { aspect-ratio: 4/5; }

/* ── SOLUTION SECTION ── */
.solution__header,
.solution__rows,
.solution__closing {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.solution__header { text-align: left; }
.solution__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.solution__text > * + * {
    margin-top: 1.25rem;
}

.solution__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
}

.solution__row {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.solution__icon {
    font-size: 0.875rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.solution__row p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.solution__closing {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-style: italic;
    margin-top: 2rem;
}

.solution__closing strong { color: var(--text-dark); }

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--white);
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid #C8D8EC;
    border-bottom: 1px solid #C8D8EC;
}

.stats-strip__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stats-strip__item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 2rem;
}

.stats-strip__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--text-dark);
    line-height: 1;
    font-weight: 400;
}

.stats-strip__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
    max-width: 160px;
    margin: 0 auto;
}

.stats-strip__divider {
    width: 1px;
    height: 60px;
    background: #BCCFE0;
    flex-shrink: 0;
}

/* ── KARINA ── */
.karina__role {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.karina__subhead {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin-top: 1.5rem !important;
}

.karina__note {
    margin-top: 1.5rem !important;
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* ── SERVICES ── */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid #BCCFE0;
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
    display: flex;
    flex-direction: column;
}

.service-card__cta {
    margin-top: auto;
    padding-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    letter-spacing: 0.01em;
    align-self: flex-start;
    transition: gap 0.25s var(--ease-soft), color 0.2s;
}
.service-card__cta svg {
    transition: transform 0.25s var(--ease-soft);
}
.service-card:hover .service-card__cta {
    gap: 0.75rem;
}
.service-card:hover .service-card__cta svg {
    transform: translateX(3px);
}
.service-card__cta:hover {
    color: var(--text-dark);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 48px rgba(30, 31, 40, 0.07);
    transform: translateY(-3px);
}

.service-card__number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--secondary);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.65;
}

/* ── PORTFOLIO ── */
.portfolio__list {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 8vw, 6rem);
}

.portfolio__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

.portfolio__item--reverse .portfolio__image-wrap { order: 2; }
.portfolio__item--reverse .portfolio__content    { order: 1; }

.portfolio__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-soft);
    padding: 0.3rem 0.875rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.portfolio__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    line-height: 1.2;
}

.portfolio__desc {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.portfolio__quote {
    border-left: 2px solid #BCCFE0;
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.portfolio__quote p {
    font-style: italic;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0.375rem;
}

.portfolio__quote cite {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: normal;
}

.portfolio__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.01em;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.portfolio__link:hover { color: var(--text-dark); }

.portfolio__footer {
    text-align: center;
    margin-top: clamp(3rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.portfolio__all-link {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.portfolio__all-link:hover {
    color: var(--accent);
    border-color: var(--text-dark);
}

/* ── PROCESS (editorial) ── */
.process--editorial {
    color: var(--text-on-deep);
}
.process--editorial .process__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
}
.process__heading {
    color: var(--text-on-deep);
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
.process__heading em {
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
}
.process__steps {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}
.process--editorial .process__step {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 1.25rem;
    align-items: flex-start;
    position: relative;
}
.process--editorial .process__step::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 38px;
    bottom: -2rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}
.process--editorial .process__step:last-child::before { display: none; }
.process--editorial .process__step-num {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent);
    border: none;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px -4px rgba(200, 184, 154, 0.4);
}
.process--editorial .process__step-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-on-deep);
    margin: 6px 0 0.4rem;
    line-height: 1.3;
    letter-spacing: -0.005em;
}
.process--editorial .process__step-body p {
    font-size: 0.9375rem;
    color: var(--text-sub-deep);
    line-height: 1.65;
    max-width: 42ch;
}

/* Bento image grid — 2x2 with subtle column stagger */
.process__bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 440px;
    margin-left: auto;
}
.process__bento > .process__tile:nth-child(2),
.process__bento > .process__tile:nth-child(4) {
    transform: translateY(28px);
}
.process__tile {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.45);
    aspect-ratio: 1 / 1;
    transition: transform 0.6s var(--ease-soft);
}
.process__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s var(--ease-soft);
}
.process__tile:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
    .process--editorial .process__inner { grid-template-columns: 1fr; }
    .process__bento { max-width: 100%; }
    /* Keep the off-aligned stagger on mobile, just smaller */
    .process__bento > .process__tile:nth-child(2),
    .process__bento > .process__tile:nth-child(4) {
        transform: translateY(14px);
    }
    .process__bento > .process__tile:nth-child(1),
    .process__bento > .process__tile:nth-child(3) {
        transform: translateY(-4px);
    }
}
@media (max-width: 480px) {
    .process__bento > .process__tile:nth-child(2),
    .process__bento > .process__tile:nth-child(4) {
        transform: translateY(10px);
    }
    .process__bento > .process__tile:nth-child(1),
    .process__bento > .process__tile:nth-child(3) {
        transform: translateY(-2px);
    }
}

/* ── TESTIMONIALS ── */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── TESTIMONIALS CAROUSEL ── */
.testimonials__carousel {
    position: relative;
    padding: 0 3.5rem;
}
.testimonials__viewport {
    overflow: hidden;
}
.testimonials__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s var(--ease-soft);
    will-change: transform;
    touch-action: pan-y;
}
.testimonials__track > .testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-height: 100%;
    transition: opacity 0.4s ease;
}
.testimonials__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(13, 27, 42, 0.15);
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s, opacity 0.2s;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(13, 27, 42, 0.06);
}
.testimonials__nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.testimonials__nav:disabled {
    opacity: 0.35;
    cursor: default;
}
.testimonials__nav:disabled:hover {
    background: #fff;
    border-color: rgba(13, 27, 42, 0.15);
    color: var(--text-dark);
}
.testimonials__nav--prev { left: 0; }
.testimonials__nav--next { right: 0; }
.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(13, 27, 42, 0.18);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.3s var(--ease-soft);
}
.testimonials__dot.is-active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}
@media (max-width: 900px) {
    .testimonials__carousel { padding: 0 2.5rem; }
    .testimonials__track > .testimonial-card {
        flex-basis: calc((100% - 1.5rem) / 2);
    }
}
@media (max-width: 600px) {
    .testimonials__carousel { padding: 0 2.25rem; }
    .testimonials__track > .testimonial-card {
        flex-basis: 100%;
    }
    .testimonials__nav { width: 38px; height: 38px; }
}

/* ── TESTIMONIALS: mobile stacked list (≤600px) ── */
.testimonials--mobile-stack {
    padding: 0;
}
.testimonials--mobile-stack .testimonials__nav,
.testimonials--mobile-stack .testimonials__dots {
    display: none;
}
.testimonials--mobile-stack .testimonials__viewport {
    overflow: visible;
}
.testimonials--mobile-stack .testimonials__track {
    flex-direction: column;
    transform: none !important;
    transition: none;
    gap: 1.25rem;
}
.testimonials--mobile-stack .testimonials__track > .testimonial-card {
    flex-basis: auto;
    width: 100%;
    min-height: 0;
    opacity: 1 !important;
}
.testimonial-card.is-mobile-hidden {
    display: none;
}
.testimonials__show-more-wrap {
    display: none;
    text-align: center;
    margin-top: 1.75rem;
}
.testimonials--mobile-stack .testimonials__show-more-wrap {
    display: block;
}
.testimonials__show-more {
    background: none;
    border: 1px solid rgba(13, 27, 42, 0.22);
    border-radius: var(--radius);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background 0.2s, border-color 0.2s;
}
.testimonials__show-more:hover {
    background: rgba(13, 27, 42, 0.05);
    border-color: rgba(13, 27, 42, 0.4);
}
.testimonials__show-more svg {
    transition: transform 0.3s var(--ease-soft);
    flex-shrink: 0;
}
.testimonials__show-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.testimonial-card {
    background: var(--bg-soft);
    border: 1px solid #BCCFE0;
    border-radius: var(--radius);
    padding: 2.25rem 2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card__text {
    flex: 1;
}

.testimonial-card__person {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.testimonial-card__portrait {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 70px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.15);
}

.testimonial-card__author {
    margin: 0;
    line-height: 1.4;
}

.testimonial-card__quote {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 0.7;
    color: #BCCFE0;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-card__text {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
}

.testimonial-card__text > p {
    margin: 0 0 0.75rem;
}
.testimonial-card__text > p:last-child {
    margin-bottom: 0;
}

.testimonial-card__text.is-clamped {
    max-height: calc(1.7em * 8);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2.4em), transparent);
            mask-image: linear-gradient(to bottom, #000 calc(100% - 2.4em), transparent);
}

.testimonial-card__toggle {
    background: none;
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--accent);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}
.testimonial-card__toggle:hover {
    color: var(--text-dark);
}
.testimonial-card__toggle svg {
    transition: transform 0.3s var(--ease-soft);
}
.testimonial-card__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.testimonial-card__author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-card__author span {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
}

/* ── MID-PAGE CTA ── */
.midpage-cta {
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    background: var(--accent) !important;
}

.midpage-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.midpage-cta__question {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 3vw, 2rem);
    color: var(--text-dark);
    line-height: 1.25;
    font-style: italic;
}

/* On the tan CTA strip, override btn to be dark like v1 */
.midpage-cta .btn--accent {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--text-on-deep);
}
.midpage-cta .btn--accent:hover {
    background: var(--nav-bg);
    border-color: var(--nav-bg);
}

/* ── OBJECTION ── */
.objection__btn {
    margin-top: 0.5rem;
}

/* ── FAQ ── */
.faq .section-header {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.faq__list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq__item {
    border-bottom: 1px solid #C8D8EC;
}

.faq__item:first-child {
    border-top: 1px solid #C8D8EC;
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.375rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: color 0.2s;
}

.faq__question:hover { color: var(--secondary); }

.faq__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease);
}

.faq__question[aria-expanded="true"] .faq__chevron {
    transform: rotate(180deg);
    color: var(--secondary);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.faq__answer p {
    padding-bottom: 1.375rem;
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ── FINAL CTA ── */
.final-cta__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.final-cta__inner .section-heading {
    margin-bottom: 1.25rem;
}

.final-cta__text {
    font-size: 1.0625rem;
    color: var(--text-sub-deep);
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.final-cta__text strong { color: var(--text-on-deep); }

/* Bold variant — matches reference */
.final-cta--bold {
    position: relative;
    overflow: hidden;
    padding-top: clamp(6rem, 12vw, 10rem);
    padding-bottom: clamp(6rem, 12vw, 10rem);
}
.final-cta--bold .final-cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.final-cta--bold .final-cta__plane {
    width: 85%;
    max-width: 1100px;
    height: auto;
    opacity: 0.9;
    transform: translateY(18%);
}
.final-cta--bold .final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}
.final-cta__headline {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.8vw, 3.75rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text-on-deep);
    margin: 0 0 2.5rem;
    text-wrap: balance;
}
.final-cta__actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.btn--white {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid #ffffff;
    padding: 0.95rem 1.75rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55);
}
.final-cta__email {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-on-deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.final-cta__email:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ── FOOTER ── */
.footer {
    background: var(--nav-bg);
    color: rgba(255,255,255,0.75);
    padding: clamp(3rem, 5vw, 4rem) 0 2rem;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.75rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.footer__nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer__nav a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

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

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.85);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer__social a:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal--delay   { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .two-col,
    .portfolio__item,
    .portfolio__item--reverse,
    .process__inner {
        grid-template-columns: 1fr;
    }

    .portfolio__item--reverse .portfolio__image-wrap,
    .portfolio__item--reverse .portfolio__content {
        order: unset;
    }

    .two-col--image-left .two-col__image { order: unset; }

    .solution__two-col,
    .services__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .stats-strip__grid {
        flex-direction: column;
        gap: 2.5rem;
    }

    .stats-strip__divider {
        width: 60px;
        height: 1px;
    }

    .process__inner {
        grid-template-columns: 1fr;
    }

    .midpage-cta__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav__links {
        display: none;
        flex-direction: column;
        gap: 1.25rem;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        padding: 2rem 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        text-align: center;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }

    .nav__links.open { display: flex; }

    .nav__hamburger { display: flex; }

    .nav__link { font-size: 1rem; color: rgba(255,255,255,0.85); }

    .hero__container { grid-template-columns: 1fr; gap: 3rem; }
    .hero__image { justify-content: center; order: -1; }
    .hero__image-frame { max-width: 100%; }
    .hero__img { object-position: center 20%; }
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { text-align: center; justify-content: center; }

    .logos-strip__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

    .footer__inner { flex-direction: column; }
    .footer__nav { gap: 1.25rem; }

    .solution__grid { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
}
