:root {
    --bg: #ffffff;
    --bg-soft: #f4f5f7;
    --panel: #ffffff;
    --panel-2: #eef0f3;
    --text: #1b2230;
    --light-red: #D9261C;
    --mid-red: #6E0F1C;
    --dark-red: #B71C1C;
    --muted: #5b6472;
    --muted-2: #8b93a1;
    --line: rgba(20, 26, 38, 0.09);
    --shadow: 0 24px 60px -28px rgba(20, 26, 38, .22);
    --shadow-sm: 0 12px 30px -18px rgba(20, 26, 38, .16);
    --radius-xl: 52px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --display: 'Inter', sans-serif;
    --body: 'Inter', sans-serif;
    --mono: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

@media(max-width:700px) {
    .wrap {
        padding: 0 22px;
    }


}

.hero-inner {
    margin-left: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-inner {
        position: relative;
        left: 24%;
        transform: translateX(-50%);
        width: 90%;
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.16;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-red);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    background: #f1f1f1;
    padding: 7px 16px 7px 12px;
    border-radius: 5px;
}

.eyebrow-1 {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-red);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    background: #bd565600;
    padding: 7px 16px 7px 12px;
    border-radius: 5px;
}

.eyebrow-2 {
    font-family: var(--mono);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    background: #bd565600;
    padding: 7px 16px 7px 12px;
    border-radius: 5px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mid-red);
    display: inline-block;
}

/* ---------- buttons, all pill-shaped ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 999px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    white-space: nowrap;
}

.btn-solid {
    background: linear-gradient(135deg, var(--mid-red), var(--dark-red));
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 14px 30px -14px rgba(185, 128, 60, 0.55);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -16px rgba(185, 128, 60, 0.6);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(20, 26, 38, 0.02);
}

.btn-ghost:hover {
    border-color: var(--mid-red);
    background: var(--dark-red);
    transform: translateY(-2px);
}


/* ---------- header / floating pill nav ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.navpill {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}


.navbar {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.navbar {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.navlinks {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.navlinks a {
    color: var(--muted);
    padding: 9px 16px;
    border-radius: 8px;
    transition: color .2s, background .2s;
    font-weight: 500;
}

.navlinks a:hover {
    color: var(--text);
    background: rgba(20, 26, 38, 0.05);
}

.navlinks a.active {
    color: #fbfbfb;
    background: var(--dark-red);
}

.navtoggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
}

@media(max-width:880px) {
    .navlinks {
        display: none;
    }

    .navtoggle {
        display: block;
    }
}


/* ---------- hero (image slideshow) ---------- */
.hero {
    position: relative;
    height: 92vh;
    min-height: 620px;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slides .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 22s infinite;
    transform: scale(1.05);
}

.hero-slides .slide span {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    animation: kenburns 22s infinite;
}

.hero-slides .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slides .slide:nth-child(2) {
    animation-delay: 5.5s;
}

.hero-slides .slide:nth-child(3) {
    animation-delay: 11s;
}

.hero-slides .slide:nth-child(4) {
    animation-delay: 16.5s;
}

@keyframes slideshow {
    0% {
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    23% {
        opacity: 1;
    }

    27% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.12);
    }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.45) 0%, rgba(10, 13, 18, 0.5) 40%, rgba(10, 13, 18, 0.88) 92%, var(--bg) 100%),
        linear-gradient(90deg, rgba(10, 13, 18, 0.68) 0%, rgba(10, 13, 18, 0.1) 55%);
}

.hero-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
    margin-left: 120px;
    margin-right: auto;
}

.hero h1 {
    font-size: clamp(36px, 5.6vw, 62px);
    margin-bottom: 22px;
    color: #ffffff;
}

.hero h1 .accent {
    color: var(--mid-red);
}

.hero p.lead {
    font-size: 17px;
    color: #e7e9ed;
    max-width: 490px;
    margin-bottom: 34px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    right: 32px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

/* floating watch strip that overlaps the hero's rounded bottom edge */
.watch-float {
    position: relative;
    margin-top: -64px;
    z-index: 5;
}

.watch-card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--line);
    overflow: hidden;
}

.watch-item {
    flex: 1;
    min-width: 170px;
    padding: 26px 28px;
    position: relative;
}

.watch-item+.watch-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--line);
}

.watch-label {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3f9d6f;
    box-shadow: 0 0 0 4px rgba(63, 157, 111, 0.16);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.watch-value {
    font-family: var(--mono);
    font-size: 21px;
    font-weight: 700;
}

/* ---------- page header (non-home hero, static image) ---------- */
.pagehead {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    border-radius: 0 0 28px 28px;
}

.hero-scrim {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(10, 12, 16, .94) 0%,
            rgba(10, 12, 16, .68) 35%,
            rgba(10, 12, 16, .12) 100%);
}

.pagehead-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 72px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.pagehead-copy {
    max-width: 760px;
}


.pagehead h1 {
    max-width: 780px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.pagehead p {
    max-width: 590px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.75;
}

.pagehead-meta {
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;

    color: rgba(255, 255, 255, .7);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    white-space: nowrap;
}

.pagehead-meta div {
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}

@media(max-width: 800px) {

    .pagehead {
        min-height: 620px;
    }

    .pagehead-inner {
        display: block;
        padding-bottom: 55px;
    }

    .pagehead h1 {
        font-size: clamp(42px, 10vw, 62px);
    }

    .pagehead-meta {
        margin-top: 35px;
    }

}

/* ---------- stacked smooth sheets ---------- */
.sheet {
    position: relative;
    padding: 110px 0 100px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.sheet.tone-a {
    background: var(--bg);
}

.sheet.tone-b {
    background: var(--bg-soft);
    margin-top: -52px;
}

.sheet.tone-a.stacked {
    margin-top: -52px;
}

.sheet:first-of-type {
    margin-top: 0;
}

@media(max-width:700px) {
    .sheet {
        padding: 80px 0 70px;
    }
}

.section-head {
    max-width: 640px;
    margin-bottom: 52px;
}

.section-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
}

.section-head p {
    color: var(--muted);
    margin-top: 16px;
    font-size: 16px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ---------- rounded cards (no boxy hard borders) ---------- */
.card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

/* about / stats */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-grid h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    margin-bottom: 20px;
}

.about-grid p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    min-height: 380px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 380px;
}

.mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px;
    margin: 26px 0 30px;
}

.mini-stats>div {
    border-left: 2px solid #a22c2c;
    padding-left: 14px;
}

.mini-num {
    display: block;
    font-family: var(--display);
    font-size: 23px;
    font-weight: 700;
    color: var(--mid-red);
}

.mini-cap {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px 26px;
}

.stat-card .num {
    font-family: var(--mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--mid-red);
}

.stat-card .cap {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

@media(max-width:900px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:620px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 38px 32px;
}

.service-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--dark-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.service-card .icon.badge-pill {
    width: auto;
    display: inline-flex;
    padding: 0 16px;
    height: 36px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--dark-red);
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 20px;
}

.service-card .link {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--mid-red);
}

/* process timeline (services page) */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    position: relative;
}

@media(max-width:900px) {
    .timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .timeline {
        grid-template-columns: 1fr;
    }
}

.timeline-item {
    padding: 30px 26px;
    position: relative;
}

.timeline-item .step-num {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--mid-red);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--mid-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.timeline-item h4 {
    font-size: 15.5px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.timeline-item p {
    color: var(--muted);
    font-size: 13.5px;
}

/* client trust strip (home) */
.client-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.client-chip {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 11px 20px;
    border-radius: 999px;
    transition: color .2s, border-color .2s, background .2s;
}

.client-chip:hover {
    color: var(--mid-red);
    border-color: var(--mid-red);
    background: var(--dark-red);
}

/* client roster (clients page) — medium cards, single unified grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media(max-width:900px) {
    .client-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
}

.client-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
}

.client-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    padding: 6px;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.client-mono {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    color: #2a1f10;
    letter-spacing: 0.01em;
}

.client-card .name {
    font-size: 15.5px;
    font-weight: 600;
}

.client-card .sector {
    font-size: 12px;
    color: var(--muted-2);
    margin-top: 3px;
}

.t-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}





/* testimonials — rectangular cards, horizontal scroll */


.t-scroll::-webkit-scrollbar {
    height: 8px;
}

.t-scroll::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 99px;
}

.t-scroll::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 99px;
}

.t-card {
    flex: 0 0 auto;
    width: min(420px, 82vw);
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    padding: 34px 34px 30px;
    display: flex;
    flex-direction: column;
}

.t-card .quote-mark {
    font-family: var(--display);
    color: #a22c2c;
    font-size: 34px;
    line-height: 1;
    margin-bottom: 14px;
}

.t-card p.quote {
    color: var(--muted);
    font-size: 14.5px;
    flex: 1;
    margin-bottom: 20px;
}

.t-card .who {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
}

.t-card .role {
    color: var(--muted-2);
    font-size: 12px;
    margin-top: 2px;
}

/* CTA band */
.band {
    background: linear-gradient(120deg, var(--panel-2), var(--panel));
    border-radius: var(--radius-lg);
    padding: 56px 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.band h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    max-width: 520px;
}

.band p {
    color: var(--muted);
    margin-top: 10px;
    max-width: 460px;
    font-size: 14.5px;
}

/* footer */
footer {
    background: var(--panel-2);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: -52px;
    padding: 90px 0 30px;
    position: relative;
    border-top: 1px solid var(--line);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 44px;
    margin-bottom: 56px;
}

@media(max-width:860px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

.foot-col h4 {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}

.foot-col p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
    max-width: 280px;
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.foot-col ul a {
    color: var(--muted);
    font-size: 14px;
    transition: color .2s;
}

.foot-col ul a:hover {
    color: var(--mid-red);
}

.newsletter {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    background: #ffffff;
}

.newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--body);
    outline: none;
}

.newsletter button {
    background: linear-gradient(135deg, #a22c2c, var(--mid-red));
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.foot-bottom {
    border-top: 1px solid var(--line);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.foot-bottom .legal {
    color: var(--muted-2);
    font-size: 12px;
    font-family: var(--mono);
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
    transition: border-color .2s, color .2s, background .2s;
}

.socials a:hover {
    border-color: var(--mid-red);
    color: var(--mid-red);
    background: var(--dark-red);
}

::selection {
    background: #a22c2c;
    color: #ffffff;
}

/* ---------- team section ---------- */
/* ---------- team section ---------- */

.team-section {
    padding: 100px 0 110px;
    background: var(--mid-red);
}

.team-section .section-head {
    color: #ffffff;
    margin-bottom: 55px;
}

.team-section .section-head h2 {
    color: #ffffff;
}

.team-section .section-head p {
    color: rgba(255, 255, 255, 0.8);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-grid .team-member:nth-child(4) {
    grid-column: 1;
}

.team-grid .team-member:nth-child(5) {
    grid-column: 3;
}

.team-member {
    background: #ffffff;
    text-align: center;
    padding: 18px 24px 30px;
    border-radius: 4px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.team-member img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    object-position: center top;
    background: #f4f5f7;
    border-radius: 12px;
    display: block;
    margin-bottom: 22px;
}

.team-member h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--mid-red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Social icons */
.team-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.team-socials a {
    color: var(--text);
    font-size: 14px;
    transition: color .2s ease;
}

.team-socials a:hover {
    color: var(--mid-red);
}

@media(max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* The last two cards are positioned for the three-column desktop grid.
       Reset that placement once the layout has fewer columns so CSS Grid
       does not create a third, off-screen column. */
    .team-grid .team-member:nth-child(4),
    .team-grid .team-member:nth-child(5) {
        grid-column: auto;
    }
}

@media(max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .team-member {
        min-width: 0;
    }

    .team-member img {
        height: 405px;
    }
}

/* ---------- rounded cards (no boxy hard borders) ---------- */
.card {
    background: var(--panel);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

/* about / stats */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

@media(max-width:900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-grid h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    margin-bottom: 20px;
}

.about-grid p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    min-height: 380px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 380px;
}

.mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px;
    margin: 26px 0 30px;
}

.mini-stats>div {
    border-left: 2px solid var(--light-red);
    padding-left: 14px;
}

.mini-num {
    display: block;
    font-family: var(--display);
    font-size: 23px;
    font-weight: 700;
    color: var(--mid-red);
}

.mini-cap {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px 26px;
}

.stat-card .num {
    font-family: var(--mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--mid-red);
}

.stat-card .cap {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

@media(max-width:900px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:620px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 38px 32px;
}

.service-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--dark-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 20px;
}

.service-card .link {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--mid-red);
}

/* process timeline (services page) */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    position: relative;
}

@media(max-width:900px) {
    .timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .timeline {
        grid-template-columns: 1fr;
    }
}

.timeline-item {
    padding: 30px 26px;
    position: relative;
}

.timeline-item .step-num {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--mid-red);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--mid-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.timeline-item h4 {
    font-size: 15.5px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.timeline-item p {
    color: var(--muted);
    font-size: 13.5px;
}

/* client trust strip (home) */
.client-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.client-chip {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 11px 20px;
    border-radius: 999px;
    transition: color .2s, border-color .2s, background .2s;
}

.client-chip:hover {
    color: var(--mid-red);
    border-color: var(--mid-red);
    background: var(--dark-red);
}

/* client roster (clients page) — medium cards, single unified grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media(max-width:900px) {
    .client-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
}

.client-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
}

.client-mono {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    color: #2a1f10;
    letter-spacing: 0.01em;
}

.client-card .name {
    font-size: 15.5px;
    font-weight: 600;
}

.client-card .sector {
    font-size: 12px;
    color: var(--muted-2);
    margin-top: 3px;
}

.client-sort {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.client-sort label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.client-sort select {
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.client-sort select:focus {
    border-color: var(--mid-red);
}

.client-info {
    min-width: 0;
}

.client-rating {
    display: flex;
    gap: 2px;
    margin-top: 7px;
    line-height: 1;
}

.client-rating span {
    font-size: 13px;
    color: #d6d6d6;
}

.client-rating span.filled {
    color: #d4a72c;
}

@media(max-width:560px) {
    .client-sort {
        justify-content: flex-start;
    }
}

/* testimonials — rectangular cards, horizontal scroll */
.t-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 6px 6px 22px;
    -webkit-overflow-scrolling: touch;
}

.t-scroll::-webkit-scrollbar {
    height: 8px;
}

.t-scroll::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 99px;
}

.t-scroll::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 99px;
}

.t-card {
    flex: 0 0 auto;
    width: min(420px, 82vw);
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    padding: 34px 34px 30px;
    display: flex;
    flex-direction: column;
}

.t-card .quote-mark {
    font-family: var(--display);
    color: var(--light-red);
    font-size: 34px;
    line-height: 1;
    margin-bottom: 14px;
}

.t-card p.quote {
    color: var(--muted);
    font-size: 14.5px;
    flex: 1;
    margin-bottom: 20px;
}

.t-card .who {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
}

.t-card .role {
    color: var(--muted-2);
    font-size: 12px;
    margin-top: 2px;
}

/* CTA band */
.band {
    background: linear-gradient(120deg, var(--panel-2), var(--panel));
    border-radius: var(--radius-lg);
    padding: 56px 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.band h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    max-width: 520px;
}

.band p {
    color: var(--muted);
    margin-top: 10px;
    max-width: 460px;
    font-size: 14.5px;
}

/* footer */
footer {
    background: var(--panel-2);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: -52px;
    padding: 90px 0 30px;
    position: relative;
    border-top: 1px solid var(--line);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 44px;
    margin-bottom: 56px;
}

@media(max-width:860px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

.foot-col h4 {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}

.foot-col p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
    max-width: 280px;
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.foot-col ul a {
    color: var(--muted);
    font-size: 14px;
    transition: color .2s;
}

.foot-col ul a:hover {
    color: var(--mid-red);
}

.newsletter {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    background: #ffffff;
}

.newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--body);
    outline: none;
}

.newsletter button {
    background: linear-gradient(135deg, var(--light-red), var(--mid-red));
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.foot-bottom {
    border-top: 1px solid var(--line);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.foot-bottom .legal {
    color: var(--muted-2);
    font-size: 12px;
    font-family: var(--mono);
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
    transition: border-color .2s, color .2s, background .2s;
}

.socials a:hover {
    border-color: var(--mid-red);
    color: var(--mid-red);
    background: var(--dark-red);
}

::selection {
    background: var(--light-red);
    color: #ffffff;
}

/* ---------- services showcase ---------- */

.services-showcase {
    padding: 110px 0 120px;
    background: var(--bg-soft);
}

.services-showcase .section-head {
    margin-bottom: 58px;
}

.services-showcase .section-head h2 {
    max-width: 650px;
}

.service-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-showcase-card {
    background: var(--panel);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .35s ease, box-shadow .35s ease;
}

.service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

/* Image */
.service-showcase-image {
    height: 250px;
    overflow: hidden;
}

.service-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f4f5f7;
    transition: transform .5s ease;
}

.service-showcase-card:hover .service-showcase-image img {
    transform: scale(1.06);
}

/* Content */
.service-showcase-content {
    padding: 28px 28px 32px;
}

.service-number {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--brass);
    margin-bottom: 12px;
}

.service-showcase-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-showcase-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Responsive */
@media(max-width: 900px) {
    .service-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .service-showcase-grid {
        grid-template-columns: 1fr;
    }

    .service-showcase-image {
        height: 260px;
    }
}

/* ---------- contact form ---------- */
.contact-block {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

@media(max-width:900px) {
    .contact-block {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.contact-intro {
    position: static;
    top: 110px;
}

.contact-intro h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    margin-bottom: 14px;
}

.contact-intro p {
    color: var(--muted);
    font-size: 15.5px;
    max-width: 420px;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    font-family: var(--mono);
    font-size: 14.5px;
    font-weight: 600;
}

.contact-direct a {
    color: var(--dark-red);
    transition: color .2s;
}

.contact-direct a:hover {
    color: var(--light-red);
}

.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media(max-width:560px) {
    .contact-form {
        padding: 28px 24px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width:560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.form-group input,
.form-group textarea {
    font-family: var(--body);
    font-size: 14.5px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    outline: none;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-2);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--mid-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(113, 33, 33, 0.12);
}

.contact-form .btn {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: var(--mono);
}

.form-alert {
    font-family: var(--body);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
}

.form-alert.success {
    background: rgba(34, 139, 84, 0.1);
    color: #1c6b41;
    border: 1px solid rgba(34, 139, 84, 0.25);
}

.form-alert.error {
    background: rgba(171, 59, 59, 0.08);
    color: var(--mid-red);
    border: 1px solid rgba(171, 59, 59, 0.25);
}

/* =========================
   MOBILE HAMBURGER MENU
   ========================= */

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #111;
    padding: 5px;
}

/* MOBILE ONLY */
@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        z-index: 1001;
    }

    .navlinks {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0 15px;
        gap: 5px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;

        /* Animation */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-10px);
        pointer-events: none;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.35s ease,
            padding 0.35s ease;
    }

    .navlinks.active {
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding: 15px;
    }

    .navlinks a {
        padding: 12px;
        text-align: center;
    }

    .assessment-btn {
        display: none;
    }
}

/* Operations section - mobile */
@media (max-width: 768px) {

    #operations .service-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    #operations .service-card {
        padding: 24px !important;
    }

    #operations .section-head h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    #operations .section-head p {
        font-size: 15px;
        line-height: 1.6;
    }

    #operations .service-card h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    #operations .service-card p {
        font-size: 15px;
        line-height: 1.6;
    }

    #operations .icon {
        margin-bottom: 12px;
    }
}