/* HeadBucks Freight & Logistics
   Editorial-industrial aesthetic.
   Brand: #45C4E7 (cyan) / #213C78 (navy)
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brand-cyan:      #45C4E7;
    --brand-cyan-soft: #7fd6ee;
    --brand-cyan-pale: #e6f6fb;
    --brand-navy:      #213C78;
    --brand-navy-dk:   #16295a;
    --brand-navy-deep: #0b1733;

    --paper: #ffffff;
    --bone:  #f2f4f8;
    --bone-2:#e9edf3;

    --ink:    #0b1733;
    --ink-2:  #1c2230;
    --muted:  #5a6478;
    --faint:  #8f98a8;

    --rule:   rgba(11, 23, 51, .12);
    --rule-2: rgba(11, 23, 51, .22);
    --rule-3: rgba(11, 23, 51, .35);

    --sans: 'Archivo', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, "SFMono-Regular", Consolas, monospace;

    --r-sm: 2px;
    --r-md: 3px;

    --container: 1360px;

    --ease: cubic-bezier(.16, 1, .3, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--paper);
    letter-spacing: -.005em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(rgba(11, 23, 51, .055) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: .55;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

h1, h2, h3, h4 {
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1;
    color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Utilities                                                            */
/* ------------------------------------------------------------------ */

.wrap {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.mono {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
}
.mono--sm { font-size: 9.5px; letter-spacing: .2em; }
.mono--signal { color: var(--brand-cyan); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--paper);
    z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

.progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px; width: 0%;
    background: var(--brand-cyan);
    z-index: 400;
    transition: width .1s linear;
}

/* ------------------------------------------------------------------ */
/* Top status strip                                                     */
/* ------------------------------------------------------------------ */

.strip {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 210;
    height: 30px;
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
    transition: transform .5s var(--ease), opacity .4s;
}
.strip.is-hidden { transform: translateY(-100%); opacity: 0; }

.strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}
.strip__left, .strip__right { display: flex; align-items: center; gap: 22px; }
.strip__dot { color: #22c55e; }
.strip__sep { opacity: .35; }
.strip a { transition: color .3s; }
.strip a:hover { color: #fff; }
.strip .mono { font-size: 10px; }

@media (max-width: 820px) { .strip { display: none; } }

/* ------------------------------------------------------------------ */
/* Header / Nav                                                         */
/* ------------------------------------------------------------------ */

.site-header {
    position: fixed;
    top: 30px; left: 0; right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--rule);
    transition: top .5s var(--ease), background .4s;
}
.site-header.is-solid { top: 0; background: rgba(255, 255, 255, .97); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 70px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
    width: auto;
    height: auto;
    max-height: 44px;
    max-width: 220px;
}

.nav__list { display: flex; align-items: center; gap: 2px; }

.nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    position: relative;
    transition: color .3s;
}
.nav__link .nav__num {
    font-size: 9px;
    letter-spacing: .14em;
    color: var(--faint);
    transition: color .3s;
}
.nav__link::before {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 3px;
    height: 1px;
    background: var(--brand-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover .nav__num { color: var(--brand-cyan); }
.nav__link:hover::before { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }
.nav__link.is-active::before { transform: scaleX(1); }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: 12px;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background .35s, transform .4s var(--ease);
}
.nav__cta:hover { background: var(--brand-cyan); color: var(--ink); transform: translateY(-1px); }
.nav__cta i { font-size: 11px; }

.burger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--rule-2);
    position: relative;
}
.burger i {
    position: absolute;
    left: 50%; top: 50%;
    width: 16px; height: 1.5px;
    background: var(--ink);
    transform: translateX(-50%);
    transition: .4s var(--ease);
}
.burger i:nth-child(1) { top: 13px; }
.burger i:nth-child(2) { top: 19px; }
.burger i:nth-child(3) { top: 25px; }
.burger.is-open i:nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
.burger.is-open i:nth-child(3) { top: 19px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 900px) {
    /* Remove backdrop-filter on mobile so fixed-position children of the
       header behave relative to the viewport, not the header box.
       This is what was breaking the menu. */
    .site-header {
        top: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, .98);
    }

    .burger {
        display: block;
        position: relative;
        z-index: 220;
    }

    .nav__list {
        position: fixed;
        inset: 0;
        background: var(--paper);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 60px 30px 40px;
        clip-path: circle(0% at calc(100% - 40px) 40px);
        transition: clip-path .7s var(--ease);
        pointer-events: none;
        z-index: 210;
    }
    .nav__list.is-open {
        clip-path: circle(150% at calc(100% - 40px) 40px);
        pointer-events: auto;
    }

    .nav__link {
        font-size: 1.3rem;
        font-weight: 600;
        padding: 16px 8px;
        opacity: 0;
        transform: translateY(16px);
        transition: .5s var(--ease);
    }
    .nav__link .nav__num { font-size: 11px; }
    .nav__list.is-open .nav__link { opacity: 1; transform: none; }
    .nav__list.is-open .nav__link:nth-child(1) { transition-delay: .08s; }
    .nav__list.is-open .nav__link:nth-child(2) { transition-delay: .14s; }
    .nav__list.is-open .nav__link:nth-child(3) { transition-delay: .2s; }
    .nav__list.is-open .nav__link:nth-child(4) { transition-delay: .26s; }
    .nav__list.is-open .nav__link:nth-child(5) { transition-delay: .32s; }

    .nav__cta {
        margin: 22px 8px 0;
        opacity: 0;
        transition: .5s var(--ease) .38s;
        justify-content: center;
        font-size: 11.5px;
        padding: 14px 22px;
    }
    .nav__list.is-open .nav__cta { opacity: 1; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 14px 22px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .4s var(--ease), background .35s, color .35s, border-color .35s;
    cursor: pointer;
    white-space: nowrap;
}
.btn i { font-size: 12px; }
.btn--primary {
    background: var(--brand-cyan);
    color: var(--ink);
}
.btn--primary:hover { background: var(--brand-cyan-soft); transform: translateY(-2px); }

.btn--ghost {
    border-color: currentColor;
    color: var(--paper);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

.section--paper .btn--ghost,
.section--bone .btn--ghost,
.page-hero--404 .btn--ghost,
.article .btn--ghost {
    color: var(--ink);
}
.section--paper .btn--ghost:hover,
.section--bone .btn--ghost:hover,
.article .btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------------ */
/* Section heads                                                        */
/* ------------------------------------------------------------------ */

.section { padding: 110px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--bone  { background: var(--bone); }
.section--dark  { background: var(--brand-navy-deep); color: rgba(255,255,255,.72); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.shead {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: end;
    padding-bottom: 36px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--rule-2);
}
.shead__left { max-width: 680px; }
.shead__right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
    text-align: right;
    color: var(--muted);
}
.shead__right p { max-width: 380px; font-size: 14px; line-height: 1.55; }

.smark {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    color: var(--muted);
}
.smark__bar { width: 38px; height: 1px; background: var(--ink); }
.smark__num { color: var(--brand-cyan); font-weight: 600; }

.shead h2 {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    letter-spacing: -.04em;
    line-height: 1;
}
.shead h2 em { font-style: normal; color: var(--brand-cyan); }

.shead--light { border-bottom-color: rgba(255,255,255,.14); }
.shead--light .smark { color: rgba(255,255,255,.55); }
.shead--light .smark__bar { background: #fff; }
.shead--light .smark__num { color: var(--brand-cyan); }
.shead--light .shead__right { color: rgba(255,255,255,.6); }
.shead--light .shead__right p { color: rgba(255,255,255,.55); }

/* Mobile: stack shead columns (headline on top, meta underneath) */
@media (max-width: 900px) {
    .shead {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: start;
        padding-bottom: 26px;
        margin-bottom: 42px;
    }
    .shead__left { max-width: 100%; }
    .shead__right {
        align-items: flex-start;
        text-align: left;
    }
    .shead__right p { max-width: 100%; }
}

.ruler {
    height: 8px;
    margin: 34px 0;
    background-image: repeating-linear-gradient(90deg,
        var(--rule-2) 0, var(--rule-2) 1px,
        transparent 1px, transparent 12px);
    position: relative;
}
.ruler::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--rule-2);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    padding-bottom: 40px;
    color: var(--paper);
    overflow: hidden;
}

.hero__slides, .hero__slide, .hero__scrim, .hero__grid {
    position: absolute;
    inset: 0;
}
.hero__slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 21s linear infinite;
}
.hero__slide--1 { background-image: url("../img/hero-bg-slide-1.jpg"); animation-delay: 0s; }
.hero__slide--2 { background-image: url("../img/hero-bg-slide-2.jpg"); animation-delay: 7s; }
.hero__slide--3 { background-image: url("../img/hero-bg-slide-3.jpg"); animation-delay: 14s; }

@keyframes heroFade {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    30%  { opacity: 1; }
    38%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Lighter scrim so the photography reads through */
.hero__scrim {
    background:
        linear-gradient(180deg, rgba(11,23,51,.32) 0%, rgba(11,23,51,.48) 55%, rgba(11,23,51,.70) 100%),
        linear-gradient(120deg, rgba(11,23,51,.58) 0%, rgba(33,60,120,.25) 55%, rgba(69,196,231,.08) 100%);
    z-index: 1;
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
    z-index: 2;
    pointer-events: none;
}
.hero__grid span { border-right: 1px solid rgba(255,255,255,.08); }
.hero__grid span:first-child { border-left: 1px solid rgba(255,255,255,.08); }

.hero__inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero__hud {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.7);
    margin-bottom: 52px;
}
.hero__hud span:last-child { text-align: right; }
.hero__hud .mono { font-size: 10px; }

.hero__content { max-width: 820px; }

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.82);
}
.hero__eyebrow-rule {
    flex: 1;
    max-width: 180px;
    height: 1px;
    background: rgba(255,255,255,.3);
    position: relative;
}
.hero__eyebrow-rule::after {
    content: '';
    position: absolute;
    right: 0; top: -2px;
    width: 5px; height: 5px;
    background: var(--brand-cyan);
    border-radius: 50%;
}

.hero__title {
    font-size: clamp(3rem, 8.4vw, 7.4rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .92;
    margin-bottom: 36px;
    color: var(--paper);
    text-shadow: 0 2px 24px rgba(11,23,51,.35);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero__line > span {
    display: inline-block;
    transform: translateY(110%);
    animation: heroRise 1.1s var(--ease) forwards;
}
.hero__line:nth-child(1) > span { animation-delay: .05s; }
.hero__line:nth-child(2) > span { animation-delay: .17s; }
.hero__line:nth-child(3) > span { animation-delay: .29s; }

@keyframes heroRise { to { transform: translateY(0); } }

.hero__lede {
    max-width: 560px;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 36px;
    padding-left: 20px;
    border-left: 2px solid var(--brand-cyan);
    text-shadow: 0 1px 12px rgba(11,23,51,.4);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.16);
    padding-top: 30px;
}
.hero__stat {
    padding-right: 26px;
    border-right: 1px solid rgba(255,255,255,.12);
}
.hero__stat:last-child { border-right: none; }
.hero__stat:not(:first-child) { padding-left: 26px; }
.hero__stat-value {
    font-family: var(--sans);
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: -.05em;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 10px;
    color: var(--paper);
}
.hero__stat-value i { font-style: normal; color: var(--brand-cyan); font-size: 1.5rem; }
.hero__stat-label { color: rgba(255,255,255,.7); }

@media (min-width: 769px) {
    .hero__content {
        margin-inline-start: 0;
        padding-inline-start: 10px;
    }
}

@media (max-width: 900px) {
    .hero { min-height: auto; padding-top: 130px; padding-bottom: 60px; }
    .hero__hud { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero__hud span:nth-child(3) { display: none; }
    .hero__hud span:nth-child(2) { text-align: right; }
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 26px; }
    .hero__stat { border-right: none; padding: 0 !important; }
    .hero__stat:nth-child(1),
    .hero__stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 22px !important; }
}

/* ------------------------------------------------------------------ */
/* Ticker                                                               */
/* ------------------------------------------------------------------ */

.ticker {
    background: var(--ink);
    color: rgba(255,255,255,.55);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--ink);
}
.ticker::before, .ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

.ticker__track {
    display: flex;
    gap: 44px;
    width: max-content;
    animation: ticker 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes ticker { to { transform: translateX(-50%); } }

.ticker__track span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 44px;
}
.ticker__track span::after {
    content: '';
    width: 4px; height: 4px;
    background: var(--brand-cyan);
    border-radius: 50%;
}
.ticker__track span.is-hot { color: #fff; }

/* ------------------------------------------------------------------ */
/* About grid                                                           */
/* ------------------------------------------------------------------ */

.about-in {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 70px;
    align-items: start;
}
.about-in--reverse { direction: rtl; }
.about-in--reverse > * { direction: ltr; }

.about-in__media { position: relative; }
.about-in__media img {
    width: 100%;
    height: auto;
    border-radius: var(--r-sm);
}
.about-in__caption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 10px;
}

.about-in__copy .mono--signal { margin-bottom: 14px; display: block; }
.about-in__copy h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    letter-spacing: -.04em;
    line-height: 1.02;
    margin-bottom: 22px;
}
.about-in__copy p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    margin-bottom: 18px;
    max-width: 620px;
}

.about-list {
    margin: 34px 0 36px;
    border-top: 1px solid var(--rule);
}
.about-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    transition: padding-left .45s var(--ease);
}
.about-list li:hover { padding-left: 12px; }
.about-list__idx { color: var(--faint); }
.about-list__txt b { display: block; font-weight: 700; font-size: 15px; margin-bottom: 2px; color: var(--ink); }
.about-list__txt span { color: var(--muted); font-size: 13.5px; }
.about-list li > i {
    font-size: 13px;
    color: var(--brand-cyan);
    transition: transform .45s var(--ease);
}
.about-list li:hover > i { transform: translate(4px, -4px); }

@media (max-width: 900px) {
    .about-in { grid-template-columns: 1fr; gap: 44px; }
    .about-in--reverse { direction: ltr; }
}

/* ------------------------------------------------------------------ */
/* Services index rows                                                  */
/* ------------------------------------------------------------------ */

.svc-section { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.svc-list { border-top: 1px solid var(--rule-2); }

.svc-row {
    display: grid;
    grid-template-columns: 64px 1.5fr 2fr 66px 40px;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: padding-left .5s var(--ease), padding-right .5s var(--ease);
    overflow: hidden;
}
.svc-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform .5s var(--ease);
    z-index: 0;
}
.svc-row > * { position: relative; z-index: 1; transition: color .4s; }
.svc-row:hover { padding-left: 24px; padding-right: 24px; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover .svc-row__num { color: var(--brand-cyan); }
.svc-row:hover .svc-row__title { color: var(--paper); }
.svc-row:hover .svc-row__desc { color: rgba(255,255,255,.62); }
.svc-row:hover .svc-row__icon { border-color: rgba(255,255,255,.3); }
.svc-row:hover .svc-row__icon i { color: var(--paper); }
.svc-row:hover .svc-row__arrow { color: var(--brand-cyan); transform: translate(4px, -4px); }

.svc-row__num { color: var(--faint); }
.svc-row__title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -.02em;
    color: var(--ink);
}
.svc-row__desc { color: var(--ink-2); font-size: 14px; line-height: 1.5; max-width: 540px; }
.svc-row__icon {
    width: 48px; height: 48px;
    border: 1px solid var(--rule-2);
    display: grid; place-items: center;
    transition: border-color .4s;
}
.svc-row__icon i {
    font-size: 18px;
    color: var(--ink);
    transition: color .4s;
}
.svc-row__arrow {
    font-family: var(--mono);
    font-size: 16px;
    color: var(--faint);
    text-align: right;
    transition: color .4s, transform .5s var(--ease);
}

@media (max-width: 900px) {
    .svc-row {
        grid-template-columns: 48px 1fr 60px;
        gap: 16px;
        padding: 24px 0;
    }
    .svc-row__title { font-size: 1.35rem; }
    .svc-row__desc { grid-column: 2 / -1; grid-row: 2; margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
    .svc-row__icon { grid-row: 1; grid-column: 3; justify-self: end; }
    .svc-row__arrow { display: none; }
}

/* ------------------------------------------------------------------ */
/* Network (dark)                                                       */
/* ------------------------------------------------------------------ */

.network {
    background: var(--brand-navy-deep);
    color: rgba(255,255,255,.72);
    padding: 120px 0;
    position: relative;
}

.network__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: stretch;
}

.network__media { position: relative; }
.network__media img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: var(--r-sm);
}
.network__caption {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 10px;
    background: rgba(11,23,51,.75);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.75);
    font-size: 9.5px;
}

.network__legend { display: flex; flex-direction: column; gap: 0; }
.legend-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: padding-left .45s var(--ease);
}
.legend-row:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.legend-row:hover { padding-left: 12px; }
.legend-row__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex: none;
    background: rgba(255,255,255,.8);
}
.legend-row__dot--active { background: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(69,196,231,.18); }
.legend-row__body b {
    display: block;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}
.legend-row__body span { color: rgba(255,255,255,.6); font-size: 13.5px; }
.legend-row__coord { color: rgba(255,255,255,.45); text-align: right; }

.net-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    margin-top: 80px;
    padding-top: 44px;
}
.net-stat {
    padding-right: 26px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.net-stat:last-child { border-right: none; }
.net-stat:not(:first-child) { padding-left: 26px; }
.net-stat b {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    letter-spacing: -.05em;
    line-height: 1;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 12px;
}
.net-stat b i { font-style: normal; color: var(--brand-cyan); font-size: .5em; }
.net-stat .mono { color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.6; }

@media (max-width: 900px) {
    .network { padding: 90px 0; }
    .network__grid { grid-template-columns: 1fr; gap: 50px; }
    .network__media img { min-height: 320px; }
    .net-stats { grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 34px; margin-top: 50px; }
    .net-stat { border-right: none; padding: 0 !important; }
    .net-stat:nth-child(1), .net-stat:nth-child(2) {
        padding-bottom: 26px !important;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
}

/* ------------------------------------------------------------------ */
/* Testimonials                                                         */
/* ------------------------------------------------------------------ */

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule-2);
    border-bottom: 1px solid var(--rule-2);
}
.tst {
    padding: 46px 36px;
    border-right: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    transition: background .5s;
}
.tst:last-child { border-right: none; }
.tst:hover { background: var(--bone); }

.tst__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.tst__id { color: var(--faint); }
.tst__mark {
    width: 26px; height: 26px;
    border: 1px solid var(--rule-2);
    display: grid; place-items: center;
}
.tst__mark i { color: var(--brand-cyan); font-size: 11px; }

.tst__q {
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -.015em;
    color: var(--ink);
    flex: 1;
    margin-bottom: 32px;
    quotes: none;
}
.tst__q::before { content: '“'; color: var(--brand-cyan); margin-right: 2px; font-size: 1.2em; line-height: 0; }
.tst__q::after { content: '”'; color: var(--brand-cyan); margin-left: 2px; font-size: 1.2em; line-height: 0; }

.tst__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}
.tst__av {
    width: 38px; height: 38px;
    background: var(--ink);
    color: var(--paper);
    display: grid; place-items: center;
    font-size: 11px;
    font-weight: 600;
    flex: none;
}
.tst__who b { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.tst__who span { color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
    .testi-grid { grid-template-columns: 1fr; }
    .tst { border-right: none; border-bottom: 1px solid var(--rule); }
    .tst:last-child { border-bottom: none; }
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                  */
/* ------------------------------------------------------------------ */

.faq-section { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.faq-grid__title {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 22px;
}
.faq-grid__title em { font-style: normal; color: var(--brand-cyan); }
.faq-grid__intro { color: var(--muted); font-size: 14.5px; max-width: 400px; line-height: 1.65; }
.faq-grid__contact { color: var(--muted); line-height: 2; margin-top: 20px; }

.faq { border-top: 1px solid var(--rule-2); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 26px 0;
    cursor: pointer;
    list-style: none;
    transition: color .35s;
    text-align: left;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-cyan); }
.faq__num { color: var(--faint); }
.faq__question {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.015em;
    color: var(--ink);
}
.faq__item[open] .faq__question { color: var(--ink); }
.faq__toggle {
    width: 26px; height: 26px;
    border: 1px solid var(--rule-2);
    position: relative;
    flex: none;
    transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.faq__toggle::before, .faq__toggle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    background: var(--ink);
    transition: background .4s, transform .4s;
}
.faq__toggle::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__toggle::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__toggle { background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__toggle::before { background: var(--paper); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a { padding: 0 0 26px 32px; }
.faq__a p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 620px; }

@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; gap: 50px; }
    .faq__a { padding-left: 0; }
}

/* ------------------------------------------------------------------ */
/* Check list                                                           */
/* ------------------------------------------------------------------ */

.check-list { margin: 16px 0 24px; padding: 0; }
.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 7px 0;
    color: var(--ink-2);
}
.check-list li i {
    color: var(--brand-cyan);
    margin-top: 6px;
    font-size: 13px;
}

/* ------------------------------------------------------------------ */
/* Service cards                                                        */
/* ------------------------------------------------------------------ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.service-card {
    display: block;
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--rule);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease, border-color .3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -22px rgba(11,23,51,.24);
    border-color: var(--brand-cyan);
}
.service-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.service-card__num { color: var(--faint); }
.service-card__icon {
    width: 48px; height: 48px;
    background: var(--brand-cyan-pale);
    color: var(--brand-navy);
    display: grid; place-items: center;
    font-size: 18px;
}
.service-card__title { font-size: 1.15rem; margin-bottom: 10px; }
.service-card__text { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.service-card__link {
    color: var(--ink);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.service-card__link i { transition: transform .2s ease; }
.service-card:hover .service-card__link i { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* Page hero (inner pages)                                              */
/* ------------------------------------------------------------------ */

.page-hero {
    position: relative;
    padding: 160px 0 90px;
    background-size: cover;
    background-position: center;
    color: var(--paper);
    overflow: hidden;
}
/* Lighter scrim so the photography shows through */
.page-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11,23,51,.68) 0%, rgba(33,60,120,.48) 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__title {
    color: #fff;
    font-size: clamp(2.2rem, 5.4vw, 4rem);
    letter-spacing: -.045em;
    line-height: 1;
    margin-bottom: 20px;
    max-width: 22ch;
    text-shadow: 0 2px 18px rgba(11,23,51,.35);
}
.page-hero__lead {
    color: rgba(255,255,255,.9);
    font-size: 17px;
    max-width: 64ch;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(11,23,51,.35);
}
.page-hero--about    { background-image: url("../img/about-hero.jpg"); }
.page-hero--services { background-image: url("../img/services-hero.jpg"); }
.page-hero--contact  { background-image: url("../img/contact-hero.jpg"); }
.page-hero--blog     { background-image: url("../img/blog-hero.jpg"); }
.page-hero--404      { background-image: url("../img/og-default.jpg"); }

.page-hero .hero__actions { margin-top: 32px; margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Breadcrumbs                                                          */
/* ------------------------------------------------------------------ */

.breadcrumbs {
    background: var(--bone);
    border-bottom: 1px solid var(--rule);
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.breadcrumbs__item + .breadcrumbs__item::before {
    content: '/';
    margin-right: 10px;
    color: var(--rule-3);
}
.breadcrumbs__list a { text-decoration: none; transition: color .3s; }
.breadcrumbs__list a:hover { color: var(--brand-cyan); }

/* ------------------------------------------------------------------ */
/* Service detail (services page)                                       */
/* ------------------------------------------------------------------ */

.service-detail-list { display: grid; gap: 90px; }
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }

.service-detail__media { position: relative; }
.service-detail__media img {
    width: 100%;
    height: auto;
    border-radius: var(--r-sm);
}
.service-detail__caption {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 10px;
    background: rgba(11,23,51,.75);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,.78);
    font-size: 9.5px;
}

.service-detail__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.service-detail__icon {
    width: 56px; height: 56px;
    background: var(--brand-cyan-pale);
    color: var(--brand-navy);
    display: grid; place-items: center;
    font-size: 22px;
}
.service-detail__num { color: var(--faint); }
.service-detail__title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    letter-spacing: -.03em;
    margin-bottom: 18px;
}
.service-detail__body p { font-size: 15.5px; line-height: 1.65; margin-bottom: 8px; }

@media (max-width: 900px) {
    .service-detail { grid-template-columns: 1fr; gap: 30px; }
    .service-detail--reverse { direction: ltr; }
}

/* ------------------------------------------------------------------ */
/* Contact                                                              */
/* ------------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }

.c-list { border-top: 1px solid var(--rule-2); }
.c-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--rule);
    transition: padding-left .45s var(--ease);
}
.c-row:hover { padding-left: 10px; }
.c-row__num { color: var(--faint); }
.c-row small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 9.5px;
}
.c-row__val {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-2);
}
.c-row__val a { text-decoration: none; transition: color .3s; }
.c-row__val a:hover { color: var(--brand-cyan); }
.c-row__arrow {
    color: var(--faint);
    transition: color .35s, transform .45s var(--ease);
    font-size: 13px;
}
.c-row:hover .c-row__arrow { color: var(--brand-cyan); transform: translate(3px, -3px); }

.socials {
    display: flex;
    gap: 0;
    margin-top: 32px;
    border: 1px solid var(--rule-2);
    width: fit-content;
}
.socials a {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-right: 1px solid var(--rule-2);
    color: var(--ink);
    transition: background .35s, color .35s;
}
.socials a:last-child { border-right: none; }
.socials a:hover { background: var(--ink); color: var(--paper); }
.socials a i { font-size: 15px; }

.form-card {
    background: var(--bone);
    border: 1px solid var(--rule-2);
    padding: 42px;
    position: relative;
}
.form-card::before {
    content: 'HEADBUCKS · FORM 04-A';
    position: absolute;
    top: -1px; left: 22px;
    transform: translateY(-50%);
    background: var(--bone);
    padding: 0 10px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
.form-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 22px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--rule);
}
.form-head h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.form-head__id { color: var(--faint); }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.f-g { margin-bottom: 24px; position: relative; }
.f-g label {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 9.5px;
}
.f-g input, .f-g textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--rule-2);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    background: transparent;
    transition: border-color .35s;
    outline: none;
    border-radius: 0;
}
.f-g textarea { min-height: 110px; resize: vertical; }
.f-g input:focus, .f-g textarea:focus { border-bottom-color: var(--brand-cyan); }
.f-g input::placeholder, .f-g textarea::placeholder { color: var(--faint); }

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.form-foot__note { color: var(--muted); font-size: 9.5px; }

.hp {
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    overflow: hidden !important;
}

.alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid;
    font-size: 14px;
}
.alert--success { background: #e6f9ef; color: #1e6b43; border-color: #b6e9cd; }
.alert--error   { background: #fdecec; color: #8a2c2c; border-color: #f3bdbd; }
.alert a { color: inherit; font-weight: 600; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .form-card { padding: 30px 24px; }
    .f-row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Article / Blog                                                       */
/* ------------------------------------------------------------------ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .3s ease, border-color .3s;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -28px rgba(11,23,51,.22);
    border-color: var(--rule-2);
}
.article-card__media {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--bone);
}
.article-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.article-card:hover .article-card__media img { transform: scale(1.04); }
.article-card__cat {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 10px;
    background: rgba(11,23,51,.85);
    color: #fff;
    font-size: 9.5px;
    backdrop-filter: blur(4px);
}
.article-card__body { padding: 26px; }
.article-card__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 10px;
}
.article-card__title { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 12px; }
.article-card__title a { text-decoration: none; color: inherit; transition: color .3s; }
.article-card__title a:hover { color: var(--brand-navy); }
.article-card__text { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.article-card__more {
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
}
.article-card__more i { transition: transform .3s ease; }
.article-card:hover .article-card__more i { transform: translateX(3px); }

/* Full article */
.article__head {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(160deg, var(--brand-navy-deep), var(--brand-navy));
    color: var(--paper);
    overflow: hidden;
}
.article__head-scrim {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(69,196,231,.18), transparent 60%);
    pointer-events: none;
}
.article__head-inner { position: relative; z-index: 2; }
.article__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(255,255,255,.7);
    margin-bottom: 20px;
    font-size: 10px;
}
.article__cat {
    color: var(--brand-cyan);
    padding: 5px 10px;
    border: 1px solid rgba(69,196,231,.45);
}
.article__title {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    letter-spacing: -.04em;
    line-height: 1.02;
    margin-bottom: 22px;
    max-width: 26ch;
}
.article__lead {
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.6;
    max-width: 66ch;
}

.article__body {
    max-width: 780px;
    padding-block: 80px;
}
.article__body p { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 20px; }
.article__body h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    letter-spacing: -.025em;
    margin: 46px 0 18px;
    line-height: 1.15;
}
.article__body .check-list { margin: 8px 0 24px; }
.article__body .check-list li { font-size: 15.5px; }

.article__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 46px;
    padding-top: 34px;
    border-top: 1px solid var(--rule);
}

/* ------------------------------------------------------------------ */
/* Mission / Vision cards                                               */
/* ------------------------------------------------------------------ */

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
    background: var(--paper);
    padding: 44px 38px;
    border: 1px solid var(--rule);
}
.mv-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: var(--brand-cyan-pale);
    color: var(--brand-navy);
    font-size: 20px;
    margin-bottom: 22px;
}
.mv-card h3 { font-size: 1.4rem; letter-spacing: -.025em; margin-bottom: 16px; }
.mv-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

@media (max-width: 800px) { .mv-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Stats grid                                                           */
/* ------------------------------------------------------------------ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 34px;
}
.stat__value {
    font-family: var(--sans);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    letter-spacing: -.05em;
    line-height: 1;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 12px;
}
.stat__value span:first-child { color: var(--brand-cyan); }
.stat__label { color: rgba(255,255,255,.55); font-size: 10px; }

/* ------------------------------------------------------------------ */
/* CTA band                                                             */
/* ------------------------------------------------------------------ */

.cta-band {
    background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy));
    color: var(--paper);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg,
        rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px,
        transparent 1px, transparent 80px);
    pointer-events: none;
}
.cta-band__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.cta-band__copy .mono--signal { margin-bottom: 14px; display: block; }
.cta-band__title {
    color: #fff;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: 18px;
}
.cta-band__text { color: rgba(255,255,255,.75); font-size: 16px; max-width: 56ch; line-height: 1.6; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 800px) {
    .cta-band__inner { grid-template-columns: 1fr; gap: 30px; }
    .cta-band__actions { justify-content: flex-start; }
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.site-footer {
    background: var(--brand-navy-deep);
    color: rgba(255,255,255,.62);
    padding: 84px 0 0;
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 56px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-footer__brand .brand img {
    max-height: 110px;
    filter: brightness(0) invert(1);
}
.site-footer__brand p {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
    max-width: 300px;
}
.site-footer__social {
    display: flex;
    gap: 0;
    margin-top: 26px;
    border: 1px solid rgba(255,255,255,.14);
    width: fit-content;
}
.site-footer__social a {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-right: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.72);
    transition: background .35s, color .35s;
}
.site-footer__social a:last-child { border-right: none; }
.site-footer__social a:hover { background: var(--brand-cyan); color: var(--ink); }

.site-footer__h { color: var(--brand-cyan); margin-bottom: 22px; font-weight: 600; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .35s, transform .35s var(--ease);
    display: inline-block;
}
.site-footer__links a:hover { color: #fff; transform: translateX(4px); }

.site-footer__text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
    margin-bottom: 16px;
}
.site-footer__text a { color: inherit; text-decoration: none; transition: color .3s; }
.site-footer__text a:hover { color: var(--brand-cyan); }

.site-footer__bottom { padding: 26px 0; }
.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 10px;
    color: rgba(255,255,255,.42);
}
.site-footer__credit a {
    color: var(--brand-cyan);
    text-decoration: none;
    transition: color .3s;
}
.site-footer__credit a:hover { color: #fff; }

@media (max-width: 900px) {
    .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
    .site-footer__top { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Reveal                                                               */
/* ------------------------------------------------------------------ */

.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
}
.rv.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Mobile typography scale                                              */
/* Everything a touch larger for comfortable mobile reading             */
/* ------------------------------------------------------------------ */

@media (max-width: 900px) {
    body { font-size: 17px; line-height: 1.68; }

    .mono { font-size: 11.5px; letter-spacing: .14em; }
    .mono--sm { font-size: 10.5px; letter-spacing: .18em; }

    .section { padding: 80px 0; }

    .shead h2 { font-size: clamp(1.65rem, 6.6vw, 2.4rem); }
    .shead__right p { font-size: 15.5px; }
    .shead__right .mono { font-size: 11.5px; }
    .smark__label, .smark__num { font-size: 11.5px; }

    .hero__hud .mono { font-size: 11px; }
    .hero__eyebrow .mono--sm { font-size: 10.5px; }
    .hero__lede { font-size: 17.5px; line-height: 1.6; }
    .hero__stat-label { font-size: 11px; }
    .hero__stat-value { font-size: 2.2rem; }
    .hero__stat-value i { font-size: 1.3rem; }
    .hero__title { text-shadow: 0 2px 20px rgba(11,23,51,.45); }

    .page-hero__lead { font-size: 17.5px; }

    .btn { font-size: 12px; padding: 15px 22px; letter-spacing: .12em; }

    .about-in__copy p { font-size: 17px; line-height: 1.7; }
    .about-in__copy h2 { font-size: clamp(1.6rem, 6.2vw, 2.2rem); }
    .about-list__txt b { font-size: 16.5px; }
    .about-list__txt span { font-size: 15.5px; }

    .svc-row__num { font-size: 11.5px; }
    .svc-row__title { font-size: 1.35rem; }

    .legend-row__body b { font-size: 1.05rem; }
    .legend-row__body span { font-size: 15.5px; }
    .legend-row__coord { font-size: 11.5px; }

    .net-stat .mono { font-size: 11.5px; line-height: 1.65; }

    .tst__q { font-size: 1.15rem; line-height: 1.6; }
    .tst__who b { font-size: 15px; }
    .tst__who span { font-size: 13.5px; }
    .tst__id { font-size: 11px; }

    .faq-grid__title { font-size: clamp(1.7rem, 6.4vw, 2.4rem); }
    .faq-grid__intro { font-size: 16.5px; }
    .faq-grid__contact { font-size: 11.5px; }
    .faq__question { font-size: 1.15rem; }
    .faq__num { font-size: 11.5px; }
    .faq__a p { font-size: 16.5px; line-height: 1.7; }

    .check-list li { font-size: 16.5px; }

    .service-card__title { font-size: 1.3rem; }
    .service-card__text { font-size: 15.5px; }
    .service-card__num { font-size: 11.5px; }
    .service-card__link { font-size: 11px; }

    .service-detail__title { font-size: clamp(1.5rem, 5.6vw, 2rem); }
    .service-detail__body p { font-size: 17px; line-height: 1.7; }

    .breadcrumbs__list { font-size: 11px; letter-spacing: .14em; }

    .c-row__num { font-size: 11.5px; }
    .c-row small { font-size: 11px; }
    .c-row__val { font-size: 16.5px; line-height: 1.7; }

    .form-head h3 { font-size: 1.5rem; }
    .form-head__id { font-size: 11px; }
    .f-g label { font-size: 11px; }
    .f-g input, .f-g textarea { font-size: 16.5px; padding: 12px 0; }
    .form-foot__note { font-size: 11px; }

    .article-card__title { font-size: 1.35rem; line-height: 1.3; }
    .article-card__text { font-size: 15.5px; line-height: 1.65; }
    .article-card__meta { font-size: 11px; }
    .article-card__more { font-size: 11px; }
    .article-card__cat { font-size: 10.5px; }

    .article__meta { font-size: 11px; }
    .article__lead { font-size: 17.5px; }
    .article__body p { font-size: 17.5px; line-height: 1.75; }
    .article__body h2 { font-size: clamp(1.4rem, 5.6vw, 1.9rem); }
    .article__body .check-list li { font-size: 17px; }

    .mv-card h3 { font-size: 1.5rem; }
    .mv-card p { font-size: 17px; line-height: 1.7; }

    .stat__label { font-size: 11.5px; }

    .cta-band__copy .mono--signal { font-size: 11.5px; }
    .cta-band__title { font-size: clamp(1.7rem, 6.4vw, 2.4rem); }
    .cta-band__text { font-size: 17px; }

    .site-footer__h { font-size: 11.5px; }
    .site-footer__links a { font-size: 16px; }
    .site-footer__text { font-size: 15.5px; line-height: 1.85; }
    .site-footer__brand p { font-size: 15.5px; }
    .site-footer__bottom-inner { font-size: 11px; }

    .ticker__track span { font-size: 12px; }
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                       */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .hero__slide { opacity: .55; animation: none !important; }
    .hero__slide--1 { opacity: .55; }
    .hero__slide--2, .hero__slide--3 { opacity: 0; }
    .hero__line > span { transform: none; animation: none; }
    .rv { opacity: 1; transform: none; }
    .ticker__track { animation: none; }
}

/* ------------------------------------------------------------------ */
/* Mobile overflow fix — grid blowout + button wrapping                 */
/* ------------------------------------------------------------------ */

/* Grid children default to min-width:auto — which means they cannot
   shrink smaller than their content. Combined with a nowrap button,
   that pushes the grid track past the viewport. Setting min-width:0
   lets them shrink as they should. */
.service-detail-list > *,
.service-detail > *,
.service-detail__body,
.service-detail__media,
.service-detail__head,
.faq-grid > *,
.cta-band__inner > *,
.about-in > *,
.network__grid > *,
.shead > *,
.blog-grid > *,
.articles-grid > *,
.services-grid > *,
.portfolio-grid > *,
.testi-grid > *,
.values-grid > *,
.mv-grid > *,
.stats-band > *,
.stats-grid > *,
.hero__stats > *,
.net-stats > *,
.contact-grid > *,
.site-footer__top > *,
.hero__inner > * {
    min-width: 0;
}

/* Long text should wrap instead of pushing the layout. */
.service-detail__body p,
.service-detail__title,
.service-detail__num,
.check-list li,
.faq__a p,
.article__body p,
.article__body h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* The icon inside each list item must not shrink — the text should. */
.check-list li i { flex-shrink: 0; }
.check-list li { min-width: 0; }

/* On mobile, buttons are allowed to wrap onto two lines. On desktop
   they stay on one line. */
@media (max-width: 900px) {
    .btn {
        white-space: normal;
        max-width: 100%;
        text-align: center;
        justify-content: center;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
}

/* Belt-and-braces — clamp horizontal overflow at the html level too. */
html {
    overflow-x: hidden;
    max-width: 100%;
}