/* ===== BASE ===== */
:root {
    --bg: #f7f7f5;
    --paper: #fff;
    --ink: #15181b;
    --muted: #697078;
    --line: #e4e6e8;
    --soft: #f1f3f4;
    --accent: #2457d6;
    --accent-soft: #eaf0ff;
    --max: 1120px;
    --radius: 18px;
    --shadow: 0 18px 60px rgba(20, 28, 40, .08);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
}

/* ===== NAV ===== */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(247, 247, 245, .9);
    border-bottom: 1px solid rgba(228, 230, 232, .85);
}
nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    font-weight: 800;
    letter-spacing: -.03em;
    font-size: 18px;
}
.brand span {
    color: var(--accent);
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 15px;
    color: #555d65;
}
.nav-links a:hover {
    color: var(--ink);
}
.nav-cta {
    padding: 10px 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink) !important;
}
.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
}

/* ===== HERO ===== */
.hero {
    padding: 92px 0 82px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 72px;
    align-items: center;
}
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
h1 {
    font-size: clamp(48px, 6.2vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0 0 25px;
    max-width: 780px;
}
.hero-lead {
    font-size: 22px;
    line-height: 1.45;
    color: #444c54;
    max-width: 690px;
    margin: 0 0 27px;
}
.hero-copy {
    color: var(--muted);
    max-width: 680px;
    font-size: 16px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: transform .15s ease;
    cursor: pointer;
}
.btn.primary {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn:hover {
    transform: translateY(-2px);
}
.photo-wrap {
    position: relative;
}
.photo {
    width: min(410px, 100%);
    margin-left: auto;
    border-radius: 28px;
    box-shadow: var(--shadow);
    object-fit: cover;
    object-position: center top;
}
.photo-accent {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 24px;
    background: var(--accent);
    right: -20px;
    bottom: -24px;
    z-index: -1;
}

/* ===== SECTIONS ===== */
section {
    padding: 88px 0;
}
.section-head {
    max-width: 760px;
    margin-bottom: 38px;
}
.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -.04em;
    margin: 0 0 15px;
}
.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

/* ===== CAPABILITIES ===== */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(20, 28, 40, .07);
}
.card h3 {
    font-size: 21px;
    letter-spacing: -.025em;
    margin: 10px 0 12px;
}
.card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.card li {
    color: #4f575f;
    font-size: 14px;
    padding: 6px 0;
    border-top: 1px solid var(--line);
}
.card li:first-child {
    border-top: 0;
}

/* ===== VALUE / APPROACH ===== */
.value {
    background: var(--ink);
    color: #fff;
}
.value-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}
.value .eyebrow {
    color: #8eafff;
}
.value h2 {
    color: #fff;
}
.statement {
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.25;
    letter-spacing: -.025em;
    margin: 0;
}
.statement strong {
    color: #fff;
}
.statement-detail {
    font-size: 18px;
    line-height: 1.5;
    color: #aeb6be;
    max-width: 520px;
    margin: 18px 0 0;
}
.steps {
    display: grid;
    gap: 0;
}
.step {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid #343a40;
}
.step:first-child {
    border-top: 0;
    padding-top: 0;
}
.step-num {
    width: 38px;
    height: 38px;
    border: 1px solid #505860;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}
.step h3 {
    margin: 0 0 5px;
    font-size: 17px;
}
.step p {
    margin: 0;
    color: #b9c0c7;
    font-size: 14px;
}

/* ===== WHO / FIT ===== */
.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.who-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}
.who-card h3 {
    margin: 0 0 15px;
    font-size: 20px;
}
.who-card ul {
    padding-left: 20px;
    margin: 0;
}
.who-card li {
    margin: 9px 0;
    color: #555e66;
}
.fit-note {
    margin-top: 22px;
    padding: 18px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: #30456e;
    font-size: 14px;
}

/* ===== TOOLS ===== */
.tools-section {
    border-top: 1px solid var(--line);
}
.tool-groups {
    display: grid;
    gap: 28px;
}
.tool-group h3 {
    font-size: 15px;
    margin: 0 0 12px;
    color: #3e464e;
}
.tools {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.tool {
    min-height: 84px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 7px;
    color: #4e565d;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}
.tool img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    filter: grayscale(1) brightness(.55);
}
.tool .fallback {
    width: 27px;
    height: 27px;
    border-radius: 6px;
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #3e464e;
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: center;
}
.about-photo {
    width: 100%;
    max-width: 360px;
    border-radius: 22px;
}
.about-copy p {
    color: var(--muted);
    font-size: 17px;
}
.about-copy p:first-of-type {
    color: #3e464e;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--accent-soft);
}
.contact-box {
    background: var(--paper);
    border: 1px solid #d9e2ff;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.contact-box h2 {
    margin-bottom: 8px;
}
.contact-box .btn {
    padding: 16px 32px;
    font-size: 16px;
    min-width: 155px;
    white-space: nowrap;
}
.contact-box p {
    color: var(--muted);
    margin: 0;
    max-width: 620px;
}
.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.contact-email {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: #c7cbd0;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* ===== FOOTER ===== */
footer {
    padding: 28px 0 42px;
    color: #858c92;
    font-size: 13px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
}
.footer-inner>a {
    text-align: center;
}
.footer-tagline {
    text-align: right;
}

/* ======================================================
   SELECTED WORK — AUTO-SCROLL MARQUEE (desktop default)
   ====================================================== */
.work-marquee {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

.work-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: scroll 60s linear infinite;
    padding: 6px 0 18px;
}

.work-track:hover {
    animation-play-state: paused;
}

.work-card {
    width: 380px;
    flex: 0 0 380px;
    min-height: 340px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(20, 28, 40, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(20, 28, 40, .08);
}

.work-category {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.work-card h3 {
    font-size: 24px;
    letter-spacing: -.035em;
    margin: 11px 0 13px;
    line-height: 1.15;
}

.work-card p {
    flex: 1;
    color: #555e66;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.work-result {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.work-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.tool-pill {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fafafa;
    color: #596169;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 10px));
    }
}

/* ======================================================
   MOBILE: touch-scrollable, pause auto-animation
   ====================================================== */
@media (hover: none) and (pointer: coarse), (max-width: 700px) {
    .work-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0 0 8px 0;
        scroll-padding: 0 20px; /* 👈 snap buffer on both sides */
    }

    .work-marquee::-webkit-scrollbar {
        display: none;
    }

    .work-track {
        animation: none;
        width: max-content;
        padding: 6px 20px 18px 20px; /* 👈 20px left + right padding */
        gap: 14px;
    }

    .work-card {
        scroll-snap-align: start;
        width: 290px;
        flex: 0 0 290px;
        min-height: 300px;
        padding: 24px;
    }

    .work-card h3 {
        font-size: 21px;
    }

    .work-card p {
        font-size: 13px;
    }

    .tool-pill {
        font-size: 10px;
        padding: 5px 8px;
    }
}

/* ======================================================
   RESPONSIVE (general)
   ====================================================== */
@media (max-width: 900px) {
    .contact-actions {
        align-items: center;
        text-align: center;
    }
    .nav-links {
        display: none;
    }
    .menu {
        display: block;
    }
    .hero-grid,
    .value-grid,
    .about {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .photo {
        margin: 0;
        max-width: 380px;
    }
    .photo-accent {
        right: 0;
    }
    .cap-grid,
    .who-grid {
        grid-template-columns: 1fr;
    }
    .tools {
        grid-template-columns: repeat(4, 1fr);
    }
    .contact-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px;
    }
}

@media (max-width: 700px) {
    section {
        padding: 64px 0;
    }
    .container {
        width: min(var(--max), calc(100% - 30px));
    }
    nav {
        height: 64px;
    }
    .hero {
        padding: 60px 0;
    }
    h1 {
        font-size: 47px;
    }
    .hero-lead {
        font-size: 19px;
    }
    .card,
    .who-card {
        padding: 24px;
    }
    .tools {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .footer-tagline {
        text-align: center;
    }
}

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

@media print {
    .nav-wrap,
    .hero-actions,
    footer {
        display: none;
    }
    body {
        background: #fff;
    }
    section {
        padding: 45px 0;
    }
    .value {
        background: #222;
        color: #fff;
    }
}

/* mobile nav open state (toggled via JS) */
.nav-links.open {
    position: absolute;
    top: 64px;
    left: 15px;
    right: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #e4e6e8;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    display: flex !important;
    gap: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
}
.nav-links.open a {
    padding: 6px 0;
}

/* ===== GOOGLE CALENDAR MODAL ===== */
body.modal-open {
    overflow: hidden;
}

.calendar-trigger {
    font-family: inherit;
}

.calendar-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 24px;
}

.calendar-modal.is-open {
    display: grid;
}

.calendar-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 24, 27, .68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.calendar-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 24px;
    box-shadow: 0 28px 90px rgba(10, 15, 24, .28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: calendarModalIn .18s ease-out;
}

.calendar-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.calendar-modal__header .eyebrow {
    margin-bottom: 6px;
}

.calendar-modal__header h2 {
    margin: 0;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.calendar-modal__close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--soft);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

.calendar-modal__close:hover {
    transform: translateY(-1px);
    background: #e9ebed;
}

.calendar-modal__close:focus-visible,
.calendar-trigger:focus-visible {
    outline: 3px solid rgba(36, 87, 214, .28);
    outline-offset: 3px;
}

.calendar-modal__frame-wrap {
    width: 100%;
    height: min(700px, calc(100vh - 155px));
    min-height: 520px;
    background: #fff;
    overflow: hidden;
}

.calendar-modal__frame-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    background: #fff;
}

@keyframes calendarModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 700px) {
    .calendar-modal {
        padding: 0;
    }

    .calendar-modal__dialog {
        width: 100%;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .calendar-modal__header {
        padding: 17px 16px 14px;
        gap: 16px;
    }

    .calendar-modal__header h2 {
        font-size: 22px;
    }

    .calendar-modal__close {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .calendar-modal__frame-wrap {
        flex: 1;
        height: auto;
        min-height: 0;
    }

    .calendar-modal__frame-wrap iframe {
        height: 100%;
        min-height: 100%;
    }
}

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

/* ===== SECTION CTA ===== */
.section-cta {
    margin-top: 24px;
    padding: 28px 30px;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 0 16px 45px rgba(20, 28, 40, .08);
}

.section-cta__eyebrow {
    color: #8eafff;
    margin-bottom: 8px;
}

.section-cta h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.section-cta p {
    margin: 0;
    max-width: 720px;
    color: #c1c7ce;
    font-size: 15px;
    line-height: 1.6;
}

.section-cta__button {
    flex-shrink: 0;
    background: #fff;
    color: var(--ink);
    border-color: #fff;
    min-width: 150px;
}

.section-cta__button:hover {
    background: #f4f4f2;
}

@media (max-width: 700px) {
    .section-cta {
        margin-top: 18px;
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .section-cta__button {
        width: 100%;
    }
}



/* ===== SIMPLE SECTION CTA OVERRIDE ===== */
.section-cta--simple {
    padding: 20px 24px;
    min-height: 82px;
}

.section-cta__label {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.025em;
    color: #fff;
}

.section-cta--simple .section-cta__button {
    min-width: 150px;
}

@media (max-width: 700px) {
    .section-cta--simple {
        padding: 20px;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .section-cta__label {
        font-size: 18px;
    }

    .section-cta--simple .section-cta__button {
        width: auto;
        min-width: 140px;
        margin-left: auto;
    }
}

@media (max-width: 430px) {
    .section-cta--simple {
        flex-direction: column;
        align-items: stretch;
    }

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

    .section-cta--simple .section-cta__button {
        width: 100%;
        margin-left: 0;
    }
}


/* ===== COMPACT CONTACT CTA ===== */
.mini-contact-box {
    margin-top: 24px;
    background: var(--paper);
    border: 1px solid #d9e2ff;
    border-radius: 24px;
    padding: 30px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.mini-contact-copy .eyebrow {
    margin-bottom: 7px;
}

.mini-contact-copy h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.mini-contact-box .btn {
    flex-shrink: 0;
    padding: 14px 24px;
    min-width: 150px;
}

@media (max-width: 700px) {
    .mini-contact-box {
        margin-top: 18px;
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .mini-contact-box .btn {
        width: 100%;
    }
}


/* ===== COMPACT CTA COPY SIMPLIFICATION ===== */
.mini-contact-copy h3 {
    margin: 0;
}


/* ===== COMPACT CTA WIDTH REFINEMENT ===== */
.mini-contact-box {
    width: min(620px, 100%);
    margin: 24px auto 0;
    padding: 22px 24px;
    gap: 20px;
}

.mini-contact-box .btn {
    min-width: 138px;
    padding: 13px 20px;
}

@media (max-width: 700px) {
    .mini-contact-box {
        width: min(520px, 100%);
        margin-top: 18px;
        padding: 20px;
    }
}

/* ===== SUBTLE SECTION SEPARATION ===== */
#fit {
    border-bottom: 1px solid var(--line);
}

.about-section {
    background: rgba(255, 255, 255, .38);
    border-bottom: 1px solid var(--line);
}

.tools-section {
    border-top: 0;
    background: var(--bg);
}

.about-copy strong {
    color: var(--ink);
    font-weight: 800;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .24);
}

.testimonials-head {
    margin-bottom: 30px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial-card {
    position: relative;
    min-height: 300px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card--featured {
    grid-column: 1 / -1;
    min-height: 260px;
    padding: 34px;
    border-color: #d9e2ff;
    background: #fbfcff;
}

.testimonial-quote-mark {
    position: absolute;
    top: 12px;
    right: 22px;
    font-size: 72px;
    line-height: 1;
    font-weight: 800;
    color: var(--accent-soft);
    pointer-events: none;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #3f474f;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
}

.testimonial-card--featured blockquote {
    max-width: 880px;
    color: var(--ink);
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.5;
    letter-spacing: -.02em;
}

.testimonial-meta {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.testimonial-headshot {
    width: 54px;
    height: 54px;
    min-width: 54px;
    max-width: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.testimonial-role {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.testimonial-logo {
    display: block;
    width: auto;
    max-width: 128px;
    max-height: 42px;
    object-fit: contain;
    object-position: right center;
    flex-shrink: 0;
}

.testimonial-logo--wattbuy {
    max-width: 115px;
    max-height: 42px;
}

.testimonial-logo--momentum {
    max-width: 130px;
    max-height: 38px;
}

.testimonial-logo--hadar {
    max-width: 150px;
    max-height: 52px;
}

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

    .testimonial-card--featured {
        grid-column: auto;
    }

    .testimonial-card {
        min-height: 0;
    }
    
    .testimonial-logo.testimonial-logo--hadar {
    display: none;
    }
}

@media (max-width: 700px) {
    .testimonial-card,
    .testimonial-card--featured {
        padding: 24px;
    }

    .testimonial-card--featured blockquote {
        font-size: 20px;
    }

    .testimonial-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .testimonial-person {
        width: 100%;
    }

    .testimonial-headshot {
        width: 50px;
        height: 50px;
        min-width: 50px;
        max-width: 50px;
        flex-basis: 50px;
    }

    .testimonial-logo {
        object-position: left center;
    }
    
    .testimonial-logo.testimonial-logo--hadar {
    display: none;
    }
}

/* ===== TESTIMONIAL ROTATING DESCRIPTOR ===== */
.client-description {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.rotating-word {
    display: inline-block;
    min-width: 190px;
    color: var(--accent);
    font-weight: 800;
    transition: opacity .3s ease, transform .3s ease;
}

.rotating-word.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
}

.rotating-word.is-entering {
    opacity: 0;
    transform: translateY(8px);
}

@media (max-width: 700px) {
    .client-description {
        font-size: 16px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .rotating-word {
        min-width: 165px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rotating-word {
        transition: none;
    }
}

