/* XPONEX: Typography: Transducer (body/nav), Ethnocentric (hero accent) */
:root {
    --color-bg: #0d0d0d;
    --color-bg-elevated: #1a1a1a;
    --color-red: #c31919;
    --color-red-dark: #710f10;
    --color-white: #ffffff;
    --color-text: #e5e5e5;
    --color-text-muted: #a3a3a3;
    --color-hero-surface: #e7ebf2;
    --color-hero-text: #0d0d0d;
    --color-hero-muted: #4a5260;
    --color-nav-surface: #141820;
    --font-transducer: 'transducer', sans-serif;
    --font-transducer-hairline: 'transducer', sans-serif;
    --font-transducer-extended: 'transducer-extended', sans-serif;
    --font-ethnocentric: 'ethnocentric', sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-transducer);
    background: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
}

/* ---- Header ---- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background-color: var(--color-nav-surface);
    background-image:
        linear-gradient(180deg, rgba(195, 25, 25, 0.22) 0%, rgba(195, 25, 25, 0.04) 38%, transparent 70%),
        url('../img/bg/nav-tech.svg');
    background-size: 100% 100%, cover;
    background-position: center top;
    border-bottom: 1px solid rgba(195, 25, 25, 0.38);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.42);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: block;
}

.logo img {
    display: block;
    height: 64px;
    width: auto;
}

.main-nav > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2rem;
}

.main-nav > ul > li {
    flex-shrink: 0;
}

.main-nav a {
    font-family: var(--font-transducer-hairline);
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    position: relative;
    padding-bottom: 1rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 6px;
    background-image: url('../img/nav.png');
    background-size: 120px 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 120px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-transducer);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    transition: none;
    pointer-events: none;
}

.btn:hover::before {
    left: 140%;
    transition: left 0.5s ease;
}

.btn-primary {
    background: linear-gradient(180deg, #c31919 0%, #710f10 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #d41f1f 0%, #8a1212 100%);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.btn-black {
    background: #0d0d0d;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-black:hover {
    background: #1a1a1a;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-header {
    padding: 0.6rem 1.1rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.main-nav-cta {
    display: none;
}

.main-nav-cta .btn {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-bottom: 0.6rem;
}

.main-nav-cta .btn::after {
    display: none;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .header-inner {
        gap: 0.75rem;
    }

    .logo img {
        height: 52px;
    }

    .main-nav > ul {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    .btn-header {
        padding: 0.55rem 0.75rem;
        font-size: 0.7rem;
    }
}

/* ---- Hero ---- */
/* Hero locked to 1920×1100 so background renders in that proportion and overlay aligns */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 1100;
    display: flex;
    align-items: center;
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: var(--color-bg);
    margin-top: -3rem;
}

/* Laptop screen overlay: positioned from your points on 1920×1100 image
   Bounding box: left 1090, top 260, width 692, height 496 (px)
   Clip-path: quad (1162,320) (1782,260) (1710,756) (1090,700) */
.hero-laptop-screen {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    left: 56.77%;
    top: 23.64%;
    width: 36.04%;
    height: 45.09%;
    overflow: hidden;
    clip-path: polygon(10.4% 12.1%, 100% 0%, 89.6% 100%, 0% 88.7%);
}

.hero-laptop-gallery {
    position: absolute;
    inset: 0;
}

.hero-laptop-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-laptop-slide--active {
    opacity: 1;
    z-index: 1;
}

.hero-laptop-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    margin: 0 0 1.25rem;
    line-height: 1.05;
}

/* MODERN INNOVATION: Ethnocentric Light Italic */
.hero-title-accent {
    display: block;
    font-family: var(--font-ethnocentric);
    font-size: clamp(3rem, 6.5vw, 5rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* FOR LOCAL BUSINESS: Transducer Extended Bold Italic */
.hero-title-main {
    display: block;
    font-family: var(--font-transducer-extended);
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 600;
    font-style: italic;
    color: #0d0d0d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-tagline {
    margin: 0 0 1.5rem;
    font-family: var(--font-transducer);
    font-size: 1.25rem;
    line-height: 1.5;
    color: #0d0d0d;
    max-width: 480px;
}

.hero-features {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem 1rem;
    font-family: var(--font-transducer);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-features li {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    border-left: 3px solid var(--color-red);
}

.hero-features .hero-feature-keyword {
    color: var(--color-red);
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 0 8px rgba(195, 25, 25, 0.7), 0 0 16px rgba(195, 25, 25, 0.5), 0 0 24px rgba(195, 25, 25, 0.3);
}

.hero-features .hero-feature-icon {
    color: var(--color-white);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    vertical-align: middle;
}

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

.hero-cta .btn {
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
}

.hero-visual {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Laptop: prevent hero text from sitting under nav */
@media (min-width: 901px) and (max-width: 1280px) {
    .hero {
        margin-top: 0;
    }
    .hero-inner {
        padding-top: 11rem;
    }
    .hero-title-accent {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    .hero-title-main {
        font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    }
}

/* ---- Section Divider ---- */
.section-divider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-55%);
    text-align: center;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}

.section-divider img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

/* ---- Our Capabilities ---- */
.capabilities {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-bg);
    padding: 4rem 2rem 5rem;
}

.capabilities::before,
.capabilities::after {
    display: none !important;
}

.capabilities-heading {
    font-family: var(--font-transducer-extended);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.04em;
    margin: 0 0 3rem;
}

.capabilities-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.capability-card {
    position: relative;
    height: 280px;
    border: 2px solid var(--color-red);
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 0 20px rgba(195, 25, 25, 0.25), 0 0 40px rgba(195, 25, 25, 0.1);
    background-color: var(--color-bg-elevated);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.capability-card:hover {
    border-color: #e82a2a;
    box-shadow: 0 0 28px rgba(195, 25, 25, 0.45), 0 0 56px rgba(195, 25, 25, 0.2), 0 4px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.capability-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    z-index: 0;
}

.capability-card-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    z-index: 0;
    opacity: 0.5;
}

.capability-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    z-index: 1;
}

.capability-card-content {
    position: relative;
    z-index: 4;
    width: 58%;
    max-width: 58%;
    height: 100%;
    padding: 1.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.capability-title {
    font-family: var(--font-transducer-extended);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-white);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.capability-desc {
    font-family: var(--font-transducer);
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--color-text);
    margin: 0 0 0.75rem;
}

.capability-btn {
    padding: 0.7rem 1.35rem;
    font-size: 0.95rem;
    margin-top: auto;
    align-self: flex-start;
}

.capability-device {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.capability-device img {
    display: block;
    height: auto;
}

.capability-device--monitor {
    right: -20%;
    top: 45%;
    transform: translateY(-50%);
    width: 85%;
}

.capability-device--monitor img {
    width: 100%;
    filter: drop-shadow(0 0 24px rgba(195, 25, 25, 0.35)) drop-shadow(0 0 48px rgba(195, 25, 25, 0.15));
}

.capability-device--phone {
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    width: 56%;
}

.capability-device--phone img {
    width: 100%;
    filter: drop-shadow(0 0 24px rgba(195, 25, 25, 0.35)) drop-shadow(0 0 48px rgba(195, 25, 25, 0.15));
}

/* ---- Process Improvement & Automation ---- */
.process-automation {
    position: relative;
    background-color: #0d0d0d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4.5rem 2rem 5rem;
    overflow: hidden;
}

.process-automation::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.82) 100%),
        radial-gradient(ellipse 80% 50% at 15% 0%, rgba(195, 25, 25, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 85% 100%, rgba(195, 25, 25, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.process-automation-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.process-automation-heading {
    font-family: var(--font-transducer-extended);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.04em;
    margin: 0 0 1.25rem;
}

.process-automation-heading-accent {
    font-family: var(--font-ethnocentric);
    font-weight: 300;
    font-style: italic;
    color: #c31919;
}

.process-automation-intro,
.process-automation-outro {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.65;
    text-align: center;
    color: var(--color-text);
}

.process-automation-intro {
    margin-bottom: 3rem;
}

.process-automation-outro {
    margin: 2.5rem auto 2rem;
    color: var(--color-text-muted);
}

.process-automation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.process-automation-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 100%;
    padding: 2rem 1.75rem;
    background: var(--color-bg-elevated);
    border: 2px solid rgba(195, 25, 25, 0.45);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(195, 25, 25, 0.12);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.process-automation-card:hover {
    border-color: #c31919;
    box-shadow: 0 0 28px rgba(195, 25, 25, 0.28);
    transform: translateY(-4px);
}

.process-automation-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    background: rgba(195, 25, 25, 0.15);
    color: #c31919;
    font-size: 1.35rem;
}

.process-automation-card-title {
    margin: 0 0 0.85rem;
    font-family: var(--font-transducer-extended);
    font-size: 1.2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.process-automation-card-body {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.process-automation-cta {
    text-align: center;
}

/* ---- Section divider (hr image) between capabilities and what makes us ---- */
.section-divider.section-divider--img {
    position: relative;
    transform: none;
    width: 100%;
    height: 24px;
    border: none;
    margin: 0;
    padding: 0;
    display: block;
    background: url('../img/hr.png') center center no-repeat;
    background-size: contain;
}

/* ---- What Makes Us Xponex ---- */
.what-makes-us {
    position: relative;
    background-color: #0d0d0d;
    padding: 4rem 2rem 5rem;
    overflow: hidden;
}

/* Scroll-reveal panels: Shape-1 left, Shape-2 right; fixed height so they don't move when accordion opens */
.what-makes-us-reveal {
    position: absolute;
    top: 0;
    height: 110vh;
    width: 38vw;
    pointer-events: none;
    z-index: 2;
    will-change: transform;
    transition: transform 0.15s ease-out;
    background-color: #0d0d0d;
    background-size: contain;
    background-position: left 25%;
    background-repeat: no-repeat;
    background-image: url('../img/shape-1.png');
}

/* Left panel: right edge starts at 50% */
.what-makes-us-reveal--left {
    left: auto;
    right: 50%;
    transform: translateX(0);
}

/* Right panel: left edge starts at 50% */
.what-makes-us-reveal--right {
    left: 50%;
    right: auto;
    margin-left: 0;
    background-position: right 25%;
    background-image: url('../img/shape-2.png');
    transform: translateX(0);
}

.what-makes-us-heading {
    position: relative;
    z-index: 1;
    font-family: var(--font-transducer-extended);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.04em;
    margin: 0 0 3rem;
}

.what-makes-us-heading-logo {
    display: inline-block;
    vertical-align: middle;
    height: 1.5em;
    width: auto;
}

.what-makes-us-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.what-makes-us-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.what-makes-us-item {
    border: 2px solid rgba(195, 25, 25, 0.6);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    box-shadow: 0 0 16px rgba(195, 25, 25, 0.15);
}

.what-makes-us-item--open {
    border-color: var(--color-red);
    box-shadow: 0 0 20px rgba(195, 25, 25, 0.25);
}

.what-makes-us-trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-transducer-extended);
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.what-makes-us-trigger:hover {
    background: rgba(195, 25, 25, 0.15);
}

.what-makes-us-trigger:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

.what-makes-us-icon {
    color: var(--color-red);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.what-makes-us-trigger span {
    flex: 1;
}

.what-makes-us-chevron {
    color: var(--color-red);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.what-makes-us-item--open .what-makes-us-chevron {
    transform: rotate(180deg);
}

.what-makes-us-panel {
    overflow: hidden;
    transition: height 0.3s ease;
}

.what-makes-us-panel[hidden] {
    display: block;
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.what-makes-us-item--open .what-makes-us-panel {
    height: auto;
    opacity: 1;
    visibility: visible;
}

.what-makes-us-panel p {
    margin: 0;
    padding: 0 1.25rem 1.25rem 3.15rem;
    font-family: var(--font-transducer);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

.what-makes-us-footer {
    margin: 2.5rem 0 0;
    font-family: var(--font-ethnocentric);
    font-weight: 300;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-text-muted);
    text-align: center;
}

.what-makes-us-footer-highlight {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-family: var(--font-ethnocentric);
    font-weight: 300;
    font-style: italic;
    color: var(--color-white);
    background: rgba(195, 25, 25, 0.35);
    border: 1px solid var(--color-red);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(195, 25, 25, 0.2);
}

/* ---- We Are Real ---- */
.we-are-real {
    position: relative;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
    background-size: 8px 8px;
    background-position: 0 0, 0 4px, 4px -4px, -4px 0;
    padding: 5rem 2rem 5.5rem;
    overflow: hidden;
    border-top: 1px solid rgba(195, 25, 25, 0.25);
    border-bottom: 1px solid rgba(195, 25, 25, 0.25);
}

.we-are-real::before,
.we-are-real::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(90deg, transparent 0%, #c31919 18%, #ff4d4d 50%, #c31919 82%, transparent 100%);
    box-shadow: 0 0 18px rgba(195, 25, 25, 0.55);
}

.we-are-real::before {
    top: 0;
}

.we-are-real::after {
    bottom: 0;
}

.we-are-real-glow {
    position: absolute;
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.we-are-real-glow--tl {
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(195, 25, 25, 0.28) 0%, transparent 70%);
}

.we-are-real-glow--br {
    right: -10%;
    bottom: -18%;
    background: radial-gradient(circle, rgba(195, 25, 25, 0.18) 0%, transparent 68%);
}

.we-are-real-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.we-are-real-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.25rem;
}

.we-are-real-eyebrow {
    margin: 0 0 0.85rem;
    font-family: var(--font-transducer);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.we-are-real-heading {
    margin: 0 0 1.35rem;
    line-height: 0.95;
}

.we-are-real-heading-line {
    display: block;
    font-family: var(--font-transducer-extended);
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white);
}

.we-are-real-heading-accent {
    display: inline-block;
    margin-top: 0.15em;
    font-family: var(--font-ethnocentric);
    font-size: clamp(2.6rem, 7vw, 4.75rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-red);
    text-shadow: 0 0 28px rgba(195, 25, 25, 0.45);
    position: relative;
}

.we-are-real-heading-accent::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.18em;
    width: 42%;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #c31919, transparent);
}

.we-are-real-pillars {
    list-style: none;
    margin: 1.75rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.5rem;
}

.we-are-real-pillars li {
    position: relative;
    font-family: var(--font-transducer-extended);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
}

.we-are-real-pillars li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.9rem;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-red);
    box-shadow: 0 0 10px rgba(195, 25, 25, 0.8);
    transform: translateY(-50%);
}

.we-are-real-pillars span {
    display: inline-block;
    padding-bottom: 0.15em;
    background-image: linear-gradient(var(--color-red), var(--color-red));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size 0.35s ease;
}

.we-are-real-pillars li:hover span {
    background-size: 100% 2px;
}

.we-are-real-intro {
    margin: 0 auto;
    max-width: 640px;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.7;
    color: var(--color-text);
}

.we-are-real-stage {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
    align-items: stretch;
}

.we-are-real-panel {
    position: relative;
    border: 1px solid rgba(195, 25, 25, 0.35);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 12px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.we-are-real-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.we-are-real-panel--people {
    grid-column: 1;
    grid-row: 1;
    transition-delay: 0.05s;
}

.we-are-real-panel--close {
    grid-column: 1;
    grid-row: 2;
    transition-delay: 0.18s;
}

.we-are-real-panel--office {
    grid-column: 2;
    grid-row: 1 / span 2;
    transition-delay: 0.12s;
    min-height: 100%;
}

.we-are-real-panel:hover {
    border-color: rgba(232, 42, 42, 0.75);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 28px rgba(195, 25, 25, 0.28),
        0 18px 48px rgba(0, 0, 0, 0.4);
}

.we-are-real-panel-media {
    position: relative;
    overflow: hidden;
}

.we-are-real-panel-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
    z-index: 1;
}

.we-are-real-panel-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.we-are-real-panel:hover .we-are-real-panel-media img {
    transform: scale(1.07);
}

.we-are-real-panel--people .we-are-real-panel-media,
.we-are-real-panel--close .we-are-real-panel-media {
    aspect-ratio: 16 / 11;
}

.we-are-real-panel--office .we-are-real-panel-media {
    position: absolute;
    inset: 0;
}

.we-are-real-panel--office .we-are-real-panel-media::after {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%),
        linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.92) 100%);
}

.we-are-real-panel-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.25rem 1.35rem 1.4rem;
}

.we-are-real-panel--office .we-are-real-panel-copy {
    max-width: 28rem;
    padding: 1.75rem 1.75rem 1.9rem;
}

.we-are-real-panel-title {
    margin: 0 0 0.45rem;
    font-family: var(--font-transducer-extended);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white);
}

.we-are-real-panel-body {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(229, 229, 229, 0.9);
}

.we-are-real-address {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--color-white);
    background: rgba(195, 25, 25, 0.22);
    border: 1px solid rgba(195, 25, 25, 0.55);
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(195, 25, 25, 0.18);
    backdrop-filter: blur(6px);
}

.we-are-real-address i {
    margin-top: 0.15rem;
    color: var(--color-red);
}

@media (max-width: 900px) {
    .we-are-real {
        padding: 4rem 1.5rem 4.5rem;
    }

    .we-are-real-stage {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .we-are-real-panel--people,
    .we-are-real-panel--office,
    .we-are-real-panel--close {
        grid-column: auto;
        grid-row: auto;
    }

    .we-are-real-panel--office {
        order: -1;
        min-height: 420px;
    }

    .we-are-real-panel--office .we-are-real-panel-media {
        position: absolute;
    }

    .we-are-real-panel--office .we-are-real-panel-copy {
        max-width: none;
    }

    .we-are-real-pillars li:not(:last-child)::after {
        display: none;
    }

    .we-are-real-pillars {
        gap: 0.5rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .we-are-real {
        padding: 3.5rem 1rem 4rem;
    }

    .we-are-real-panel-copy {
        padding: 1rem 1.05rem 1.15rem;
    }

    .we-are-real-panel--office {
        min-height: 360px;
    }

    .we-are-real-panel--office .we-are-real-panel-copy {
        padding: 1.15rem;
    }

    .we-are-real-address {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .we-are-real-panel {
        opacity: 1;
        transform: none;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .we-are-real-panel-media img,
    .we-are-real-panel:hover .we-are-real-panel-media img {
        transform: none;
        transition: none;
    }
}

/* ---- Client logos: Trusted by Growing Businesses ---- */
.client-logos {
    position: relative;
    background-color: #f8f8f8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4.5rem 0 5rem;
    overflow: hidden;
    border-top: 1px solid rgba(195, 25, 25, 0.12);
    border-bottom: 1px solid rgba(195, 25, 25, 0.12);
}

.client-logos-accent {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1;
    pointer-events: none;
}

.client-logos-accent--top {
    top: 0;
    background: linear-gradient(90deg, transparent 0%, #c31919 20%, #c31919 50%, #c31919 80%, transparent 100%);
    opacity: 0.85;
}

.client-logos-accent--bottom {
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(195, 25, 25, 0.35) 50%, transparent 100%);
}

.client-logos-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.75rem;
}

.client-logos-heading-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 720px;
}

.client-logos-heading {
    font-family: var(--font-transducer-extended);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    font-style: italic;
    color: #0d0d0d;
    text-transform: none;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0;
}

.client-logos-heading-accent {
    font-family: var(--font-ethnocentric);
    font-weight: 300;
    font-style: italic;
    color: #c31919;
}

.client-logos-heading-rule {
    width: min(220px, 40vw);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #c31919 35%, #c31919 65%, transparent);
    box-shadow: 0 0 18px rgba(195, 25, 25, 0.25);
}

.client-logos-carousel {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
    mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}

.client-logos-track {
    display: flex;
    align-items: center;
    gap: clamp(1.75rem, 3.5vw, 3rem);
    width: max-content;
    animation: client-logos-scroll 45s linear infinite;
}

.client-logos-carousel:hover .client-logos-track {
    animation-play-state: paused;
}

@keyframes client-logos-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 220px;
    height: 110px;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(195, 25, 25, 0.14);
    border-radius: 10px;
    box-shadow:
        0 2px 8px rgba(13, 13, 13, 0.04),
        0 8px 24px rgba(195, 25, 25, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.client-logo:hover {
    border-color: rgba(195, 25, 25, 0.35);
    box-shadow:
        0 4px 12px rgba(13, 13, 13, 0.06),
        0 12px 32px rgba(195, 25, 25, 0.12);
    transform: translateY(-2px);
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .client-logos {
        padding: 3.5rem 0 4rem;
    }

    .client-logo {
        width: 180px;
        height: 96px;
    }

    .client-logo img {
        max-width: 150px;
        max-height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-logos-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1.5rem;
    }

    .client-logos-carousel {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .client-logo[aria-hidden="true"] {
        display: none;
    }
}

.client-logo-placeholder {
    font-family: var(--font-transducer-extended);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
}

/* ---- Reviews / Testimonials ---- */
.reviews {
    background-color: var(--color-bg);
    padding: 4rem 2rem 5rem;
}

.reviews-heading {
    font-family: var(--font-transducer-extended);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.04em;
    margin: 0 0 3rem;
}

.reviews-heading-carousel {
    position: relative;
    display: block;
    min-height: clamp(2.8em, 10vw, 3.6em);
}

.reviews-heading-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.reviews-heading-slide--active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-heading-carousel {
        min-height: 0;
    }

    .reviews-heading-slide {
        position: static;
        display: none;
        opacity: 1;
    }

    .reviews-heading-slide--active {
        display: block;
    }
}

.reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-widget {
    min-height: 200px;
}

.reviews-footnote {
    margin: -1rem 0 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    font-style: italic;
    opacity: 0.85;
}

/* ---- Mobile Hero Right Panel (hidden on desktop) ---- */
.hero-mobile-right {
    display: none;
    width: 100%;
    min-height: 50vh;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: var(--color-bg);
}

/* ---- Hamburger Toggle ---- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Responsive: Tablet ---- */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .btn-header-desktop {
        display: none;
    }

    .main-nav-cta {
        display: list-item;
        width: 100%;
        margin-top: 0.5rem;
    }

    .main-nav-cta .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
        font-size: 0.85rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-nav-surface);
        background-image:
            linear-gradient(180deg, rgba(195, 25, 25, 0.22) 0%, rgba(195, 25, 25, 0.04) 38%, transparent 70%),
            url('../img/bg/nav-tech.svg');
        background-size: 100% 100%, cover;
        background-position: center top;
        padding: 6rem 2rem 2rem;
        transition: right 0.35s ease;
        z-index: 105;
        overflow-y: auto;
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .main-nav a {
        font-size: 1.1rem;
        padding-bottom: 0.5rem;
    }

    .main-nav a::after {
        display: none;
    }

    .hero {
        aspect-ratio: auto;
        min-height: 60vh;
        background-size: cover;
        background-position: left center;
    }

    .hero-mobile-right {
        display: block;
    }

    .hero-laptop-screen {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 5rem 1.5rem 3rem;
    }

    .hero-content {
        max-width: none;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .capabilities-inner {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-automation-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .capability-device--monitor {
        right: -5%;
        width: 58%;
    }

    .capability-device--phone {
        right: -5%;
        width: 50%;
    }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 640px) {
    .site-header {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 44px;
    }

    .hero {
        min-height: 50vh;
    }

    .hero-inner {
        padding: 4.5rem 1rem 2rem;
    }

    .hero-title-accent {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }

    .hero-title-main {
        font-size: clamp(1.25rem, 6vw, 2rem);
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .capabilities {
        padding: 2.5rem 1rem 3rem;
    }

    .capabilities-heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 2rem;
    }
}

/* Mobile nav overlay backdrop */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 104;
}

.nav-overlay.is-visible {
    display: block;
}

/* ---- Inner pages: sticky header (homepage keeps absolute over hero) ---- */
.site-header--inner {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.site-main--inner {
    padding-bottom: 3rem;
}

/* ---- Site footer ---- */
.site-footer {
    background: var(--color-bg-elevated);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 2rem 0;
    margin-top: 0;
}

.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem 2rem;
    align-items: start;
}

.site-footer-brand {
    max-width: 320px;
}

.site-footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.site-footer-logo img {
    display: block;
    height: 52px;
    width: auto;
}

.site-footer-tagline {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.site-footer-heading {
    margin: 0 0 1rem;
    font-family: var(--font-transducer-extended);
    font-size: 0.85rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-red);
}

.site-footer-links,
.site-footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-links li,
.site-footer-contact li {
    margin-bottom: 0.65rem;
}

.site-footer-links a {
    font-family: var(--font-transducer);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-links a:hover {
    color: var(--color-white);
}

.site-footer-contact {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
}

.site-footer-contact a {
    color: var(--color-text);
    text-decoration: none;
}

.site-footer-contact a:hover {
    color: var(--color-white);
}

.site-footer-icon {
    color: var(--color-red);
    width: 1.25rem;
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.site-footer-contact li {
    display: flex;
    align-items: flex-start;
}

.site-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--color-white);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer-social a:hover {
    background: rgba(195, 25, 25, 0.25);
    border-color: var(--color-red);
    color: var(--color-white);
}

.site-footer-bottom {
    max-width: 1280px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-copy {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
}

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

    .site-footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
    }
}

/* ---- Inner page hero ---- */
.page-hero {
    position: relative;
    padding: 6.5rem 2rem 4.25rem;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-hero-surface);
    background-image: url('../img/bg/hero-inner-tech.svg');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(195, 25, 25, 0.12);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 52% 75% at 92% 8%, rgba(195, 25, 25, 0.12) 0%, transparent 58%),
        radial-gradient(ellipse 42% 65% at 4% 96%, rgba(113, 15, 16, 0.08) 0%, transparent 52%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4.5rem;
    background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero-eyebrow {
    margin: 0 0 0.75rem;
    font-family: var(--font-transducer);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-hero-muted);
}

.page-hero-title {
    margin: 0;
    line-height: 1.1;
}

.page-hero-title-accent {
    font-family: var(--font-ethnocentric);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ---- Services page ---- */
.services-split {
    padding: 3rem 2rem;
    background: var(--color-bg);
}

.services-split--flip {
    background: var(--color-bg-elevated);
}

.services-split-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.services-split--flip .services-split-inner {
    direction: rtl;
}

.services-split--flip .services-split-inner > * {
    direction: ltr;
}

.services-split-media--full {
    grid-column: 1 / -1;
}

.services-split-inner--column {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.services-split--stack .services-split-text--center {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.services-split-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.services-kicker {
    margin: 0 0 0.5rem;
    font-family: var(--font-transducer);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.services-kicker--on-dark {
    color: rgba(255, 255, 255, 0.85);
}

.services-h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-transducer-extended);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
}

.services-h2--on-dark {
    color: var(--color-white);
}

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

.services-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.services-prose--center .btn {
    margin-top: 0.5rem;
}

.web-audit-cta {
    position: relative;
    padding: 4.5rem 2rem;
    background: var(--color-bg-elevated);
    border-top: 1px solid rgba(195, 25, 25, 0.28);
    border-bottom: 1px solid rgba(195, 25, 25, 0.28);
    overflow: hidden;
    text-align: center;
}

.web-audit-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(195, 25, 25, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 100%, rgba(195, 25, 25, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.web-audit-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.web-audit-cta .services-h2 {
    margin-bottom: 1.25rem;
}

.web-audit-cta-lead {
    margin: 0 0 1rem;
    font-family: var(--font-transducer);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-white);
}

.web-audit-cta-body {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

@media (max-width: 640px) {
    .web-audit-cta {
        padding: 3.5rem 1.25rem;
    }
}

.services-h3 {
    margin: 0 0 1rem;
    font-family: var(--font-transducer-extended);
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
}

.services-prose {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
}

.services-prose--on-dark {
    color: rgba(255, 255, 255, 0.92);
}

.services-prose--center {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0 2rem;
}

.services-band {
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.services-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.75) 55%, rgba(13, 13, 13, 0.55) 100%);
}

.services-band-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.services-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.services-checklist {
    background: linear-gradient(180deg, rgba(195, 25, 25, 0.35) 0%, rgba(113, 15, 16, 0.5) 100%);
    border: 1px solid rgba(195, 25, 25, 0.5);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
}

.services-checkitem {
    margin: 0 0 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 1rem;
    color: var(--color-white);
}

.services-checkitem:last-child {
    margin-bottom: 0;
}

.services-checkitem .fa-check {
    color: var(--color-white);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.services-checkitem--inline {
    margin-bottom: 0.5rem;
}

.services-clients {
    padding: 4rem 2rem;
    background: var(--color-bg-elevated);
}

.services-clients-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}

.services-client-cell img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .services-split-inner,
    .services-band-grid,
    .services-two-col {
        grid-template-columns: 1fr;
    }

    .services-split--flip .services-split-inner {
        direction: ltr;
    }

    .services-client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 5rem 1.25rem 3.25rem;
    }

    .page-hero::after {
        height: 3rem;
    }

    .services-split {
        padding: 2rem 1.25rem;
    }

    .services-client-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- About page ---- */
.about-page .services-h2 {
    color: var(--color-red);
}

.about-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0 0;
    text-align: left;
}

.about-mosaic-cell {
    border-radius: 6px;
    overflow: hidden;
    min-height: 200px;
    background: var(--color-bg);
}

.about-mosaic-cell img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

.about-mosaic-cell--tall {
    grid-row: span 2;
    min-height: 0;
}

.about-mosaic-cell--tall img {
    min-height: 420px;
}

.about-mosaic-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 0;
    background: transparent;
}

.about-mosaic-stack img {
    flex: 1;
    min-height: 180px;
    border-radius: 6px;
}

.about-team-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin: 2rem 0 0;
    text-align: left;
}

.about-team-cell {
    border-radius: 6px;
    overflow: hidden;
    min-height: 160px;
    background: var(--color-bg);
}

.about-team-cell img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.about-team-cell--1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    min-height: 0;
}

.about-team-cell--1 img {
    min-height: 380px;
}

.about-team-cell--2 {
    grid-column: 3 / span 4;
    grid-row: 1;
}

.about-team-cell--3 {
    grid-column: 3 / span 2;
    grid-row: 2;
}

.about-team-cell--4 {
    grid-column: 5 / span 2;
    grid-row: 2;
}

.about-team-grid > .about-team-cell:nth-child(5) {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.about-team-grid > .about-team-cell:nth-child(6) {
    grid-column: 3 / span 2;
    grid-row: 3;
}

.about-team-grid > .about-team-cell:nth-child(7) {
    grid-column: 5 / span 2;
    grid-row: 3;
}

.about-team-cell--r4a {
    grid-column: 1 / span 3;
    grid-row: 4;
}

.about-team-cell--r4b {
    grid-column: 4 / span 3;
    grid-row: 4;
}

.about-causes-photos {
    margin: 2rem 0 0;
}

.about-causes-row {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.about-causes-row--3 {
    grid-template-columns: repeat(3, 1fr);
}

.about-causes-row--2 {
    grid-template-columns: repeat(2, 1fr);
}

.about-charity-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.about-charity-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.about-dialog {
    max-width: 640px;
    width: calc(100% - 2rem);
    padding: 0;
    border: 1px solid rgba(195, 25, 25, 0.45);
    border-radius: 8px;
    background: var(--color-bg-elevated);
    color: var(--color-text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.about-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.about-dialog-inner {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    max-height: min(85vh, 720px);
    overflow-y: auto;
}

.about-dialog-close-wrap {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    margin: 0;
}

.about-dialog-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: var(--color-white);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.about-dialog-close:hover {
    background: rgba(195, 25, 25, 0.25);
    border-color: var(--color-red);
}

.about-dialog-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-dialog-body {
    text-align: left;
}

.about-dialog-body .services-prose:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .about-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-mosaic-cell--tall {
        grid-row: span 1;
    }

    .about-mosaic-cell--tall img {
        min-height: 240px;
    }

    .about-team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-team-cell--1,
    .about-team-cell--2,
    .about-team-cell--3,
    .about-team-cell--4,
    .about-team-grid > .about-team-cell:nth-child(5),
    .about-team-grid > .about-team-cell:nth-child(6),
    .about-team-grid > .about-team-cell:nth-child(7),
    .about-team-cell--r4a,
    .about-team-cell--r4b {
        grid-column: auto;
        grid-row: auto;
    }

    .about-team-cell--1 img {
        min-height: 280px;
    }

    .about-causes-row--3 {
        grid-template-columns: 1fr 1fr;
    }

    .about-charity-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-mosaic {
        grid-template-columns: 1fr;
    }

    .about-causes-row--3,
    .about-causes-row--2 {
        grid-template-columns: 1fr;
    }
}

/* ---- Main nav: Capabilities dropdown ---- */
.main-nav-dropdown {
    position: relative;
}

.main-nav-dropdown-trigger {
    cursor: pointer;
}

.main-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0.65rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 280px;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.main-nav-sub a {
    display: block;
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    padding-bottom: 0.55rem;
}

.main-nav-sub a::after {
    display: none;
}

@media (min-width: 901px) {
    .main-nav-sub {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 50%;
        transform: translateX(-50%);
        z-index: 110;
    }

    .main-nav-dropdown:hover .main-nav-sub,
    .main-nav-dropdown:focus-within .main-nav-sub {
        display: flex;
    }
}

@media (max-width: 900px) {
    .main-nav-sub {
        display: flex;
        position: static;
        transform: none;
        min-width: 0;
        margin: 0.75rem 0 0 0.5rem;
        padding: 0.5rem 0;
        border: none;
        border-left: 2px solid rgba(195, 25, 25, 0.45);
        border-radius: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
    }

    .main-nav-dropdown {
        width: 100%;
    }
}

/* ---- Capability / service detail pages ---- */
.cap-section-head {
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.cap-section-head .services-h2 {
    margin-bottom: 0;
}

.cap-centered-block {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cap-prose-lead {
    margin: 0 auto 2rem;
    max-width: 52rem;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: var(--color-text);
    text-align: center;
}

.cap-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.cap-card-grid--process {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}

.cap-card-grid--process .cap-card-body {
    text-align: center;
}

.cap-card {
    border: 1px solid rgba(195, 25, 25, 0.35);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-elevated);
}

.cap-card-top {
    padding: 1rem 1.25rem;
    text-align: center;
    font-family: var(--font-transducer-extended);
    font-size: 0.9rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
    background: linear-gradient(180deg, var(--color-red) 0%, var(--color-red-dark) 100%);
}

.cap-card-body {
    padding: 1.25rem 1.35rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.cap-icon-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.cap-icon-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.35rem 1.25rem;
    background: var(--color-bg);
}

.cap-icon-card-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.75rem;
    font-family: var(--font-transducer-extended);
    font-size: 0.9rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.cap-icon-card-title img {
    width: 28px;
    height: auto;
    flex-shrink: 0;
}

.cap-icon-card .services-prose {
    margin: 0;
    font-size: 0.92rem;
}

.cap-split-aside {
    padding: 3rem 2rem;
    background: var(--color-bg);
}

.cap-split-aside-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.cap-essentials-band {
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cap-essentials-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(13, 13, 13, 0.94) 0%, rgba(13, 13, 13, 0.82) 50%, rgba(13, 13, 13, 0.65) 100%);
}

.cap-essentials-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.cap-service-checklist {
    background: linear-gradient(180deg, rgba(195, 25, 25, 0.35) 0%, rgba(113, 15, 16, 0.5) 100%);
    border: 1px solid rgba(195, 25, 25, 0.5);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
}

.cap-service-checklist p {
    margin: 0 0 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 1rem;
    color: var(--color-white);
}

.cap-service-checklist p:last-child {
    margin-bottom: 0;
}

.cap-service-checklist .fa-check {
    color: var(--color-white);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.cap-check-columns {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem 3rem;
    max-width: 720px;
    margin: 1rem auto 0;
    text-align: left;
}

.cap-check-columns .services-checkitem {
    color: var(--color-text);
    margin-bottom: 0.65rem;
}

.cap-check-columns .services-checkitem .fa-check {
    color: var(--color-red);
}

.cap-check-columns--wide {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.services-split-text .cap-check-columns {
    margin: 1.25rem 0 1.5rem;
    max-width: none;
}

/* ---- App development: what we build ---- */
.app-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0.5rem auto 0;
}

.app-type-card {
    padding: 1.5rem 1.35rem 1.6rem;
    border: 1px solid rgba(195, 25, 25, 0.35);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 18px rgba(195, 25, 25, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.app-type-card:hover {
    border-color: rgba(232, 42, 42, 0.7);
    box-shadow: 0 0 24px rgba(195, 25, 25, 0.22);
    transform: translateY(-3px);
}

.app-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(195, 25, 25, 0.35) 0%, rgba(113, 15, 16, 0.45) 100%);
    border: 1px solid rgba(195, 25, 25, 0.5);
    color: var(--color-white);
    font-size: 1.05rem;
}

.app-type-title {
    margin: 0 0 0.55rem;
    font-family: var(--font-transducer-extended);
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white);
}

.app-type-body {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-text);
}

@media (max-width: 900px) {
    .app-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .app-type-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

@media (max-width: 900px) {
    .cap-split-aside-inner,
    .cap-essentials-inner,
    .cap-icon-feature-grid {
        grid-template-columns: 1fr;
    }

    .cap-check-columns {
        grid-template-columns: 1fr;
    }

    .cap-card-grid--process {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cap-card-grid--process {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

/* ---- Fractional professional page ---- */
.frac-hero {
    padding: 5.5rem 2rem 3.5rem;
}

.frac-hero-title {
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1;
}

.frac-hero-prefix,
.frac-hero-suffix {
    font-family: var(--font-transducer-extended);
    font-size: clamp(1.35rem, 3.2vw, 2.15rem);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-hero-text);
}

.frac-hero-rotator {
    position: relative;
    display: block;
    width: 100%;
    min-height: 1.15em;
    font-family: var(--font-ethnocentric);
    font-size: clamp(2.35rem, 7.2vw, 4.75rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
}

.frac-hero-word {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(0.28em);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.frac-hero-word--active {
    opacity: 1;
    transform: translateY(0);
    z-index: 1;
}

.frac-hero-sub {
    margin: 0 auto 1.5rem;
    max-width: 46rem;
    font-family: var(--font-transducer);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.6;
    color: #2f3640;
}

.frac-role-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.frac-role-pills li {
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(195, 25, 25, 0.35);
    border-radius: 999px;
    font-family: var(--font-transducer);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #3a424f;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.frac-role-pills li.is-active {
    color: var(--color-white);
    border-color: var(--color-red);
    background: var(--color-red);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.frac-cost-band {
    position: relative;
    padding: 4rem 2rem;
    background: var(--color-bg-elevated);
    border-top: 1px solid rgba(195, 25, 25, 0.28);
    border-bottom: 1px solid rgba(195, 25, 25, 0.28);
    overflow: hidden;
    text-align: center;
}

.frac-cost-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(195, 25, 25, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 15% 100%, rgba(195, 25, 25, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.frac-cost-band-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.frac-cost-lead {
    margin: 0 0 1rem;
    font-family: var(--font-transducer);
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-white);
}

.frac-compare {
    padding: 3.5rem 2rem;
    background: var(--color-bg);
}

.frac-compare-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.frac-compare-card {
    padding: 2rem 1.75rem 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
}

.frac-compare-card--xpo {
    border-color: rgba(195, 25, 25, 0.55);
    background: linear-gradient(180deg, rgba(195, 25, 25, 0.18) 0%, rgba(13, 13, 13, 0.7) 100%);
    box-shadow: 0 0 28px rgba(195, 25, 25, 0.12);
}

.frac-compare-kicker {
    margin: 0 0 0.45rem;
    font-family: var(--font-transducer);
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.frac-compare-title {
    margin: 0 0 1.25rem;
    font-family: var(--font-transducer-extended);
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-white);
}

.frac-compare-card--xpo .frac-compare-title {
    color: var(--color-red);
}

.frac-compare-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.frac-compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0 0 0.85rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
}

.frac-compare-list li:last-child {
    margin-bottom: 0;
}

.frac-compare-list .fa-xmark {
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.frac-compare-list .fa-check {
    color: var(--color-red);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

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

@media (max-width: 900px) {
    .frac-compare-inner {
        grid-template-columns: 1fr;
        max-width: 560px;
    }
}

@media (max-width: 640px) {
    .frac-hero {
        padding: 4.5rem 1.25rem 2.5rem;
    }

    .frac-cost-band,
    .frac-compare {
        padding: 2.75rem 1.25rem;
    }
}

/* ---- Our Work page ---- */
.our-work-featured {
    padding: 3.5rem 2rem 4rem;
    background: var(--color-bg);
}

.our-work-featured-inner,
.our-work-clients-inner,
.our-work-cta-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.our-work-featured-intro,
.our-work-clients-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.our-work-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, 22vw);
    gap: 1rem;
}

.our-work-gallery-item {
    position: relative;
    display: block;
    min-height: 180px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(195, 25, 25, 0.2);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(195, 25, 25, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.our-work-gallery-item:hover {
    transform: translateY(-3px);
    border-color: rgba(195, 25, 25, 0.55);
    box-shadow: 0 8px 28px rgba(195, 25, 25, 0.22);
}

.our-work-gallery-item--tall {
    grid-column: span 3;
    grid-row: span 1;
}

.our-work-gallery-item--hero {
    grid-column: span 6;
    grid-row: span 2;
}

.our-work-gallery-item--wide {
    grid-column: span 6;
    grid-row: span 1;
}

.our-work-gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 13, 13, 0.92) 55%);
}

.our-work-gallery-name {
    font-family: var(--font-transducer-extended);
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.our-work-gallery-link {
    color: #c31919;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.our-work-clients {
    padding: 4rem 2rem 4.5rem;
    background: var(--color-bg-elevated);
    border-top: 1px solid rgba(195, 25, 25, 0.12);
    border-bottom: 1px solid rgba(195, 25, 25, 0.12);
}

.our-work-client-list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3;
    column-gap: 2.5rem;
}

.our-work-client-list li {
    break-inside: avoid;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-transducer);
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-text);
}

.our-work-cta {
    padding: 4rem 2rem;
    background: var(--color-bg);
    text-align: center;
}

.our-work-cta-heading {
    margin: 0 0 0.85rem;
    font-family: var(--font-transducer-extended);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    font-style: italic;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.our-work-cta-copy {
    max-width: 640px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (max-width: 900px) {
    .our-work-gallery {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(160px, 28vw);
    }

    .our-work-gallery-item--tall {
        grid-column: span 3;
    }

    .our-work-gallery-item--hero,
    .our-work-gallery-item--wide {
        grid-column: span 6;
        grid-row: span 1;
    }

    .our-work-client-list {
        columns: 2;
        column-gap: 1.75rem;
    }
}

@media (max-width: 640px) {
    .our-work-featured,
    .our-work-clients,
    .our-work-cta {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .our-work-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .our-work-gallery-item--tall,
    .our-work-gallery-item--hero,
    .our-work-gallery-item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .our-work-client-list {
        columns: 1;
    }
}



