body {
    font-family: var(--font-ui);
    color: var(--charcoal);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }

.wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 640px) {
    .wrap { padding: 0 20px; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================
   HERO
=================================================== */
.hero {
    padding: 88px 0 88px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -.01em;
    color: var(--charcoal-dark);
    max-width: 880px;
}
.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero-sub {
    margin-top: 26px;
    font-size: 19px;
    line-height: 1.6;
    color: #5B5B5B;
    max-width: 620px;
}

/* Response-time ticker — unique to this page, communicates urgency of on-demand work */
.hero-ticker {
    margin-top: 44px;
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    max-width: 600px;
    background: var(--white);
}

.ticker-label {
    /* background: var(--charcoal-dark); */
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex: none;
    font-weight: 600;
}

.ticker-items {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    overflow: hidden;
}

.ticker-item {
    flex: 1;
    padding: 14px 18px;
    border-left: 1px solid var(--rule);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    flex: none;
    animation: pulse 2.4s ease-in-out infinite;
}

.ticker-item:nth-child(2) .ticker-dot { animation-delay: .8s; }
.ticker-item:nth-child(3) .ticker-dot { animation-delay: 1.6s; }

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

.ticker-item span {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13px;
    color: var(--charcoal-dark);
    line-height: 1.25;
}

@media (max-width: 600px) {
    .hero-ticker { max-width: none; flex-direction: column; }
    .ticker-label { padding: 12px 16px; }
    .ticker-item { border-left: none; border-top: 1px solid var(--rule); }
    .ticker-items { flex-direction: column; width: 100%; }
}

.hero-rule {
    margin-top: 56px;
    height: 1px;
    background: var(--rule);
}

/* ===================================================
   MANIFEST INTRO
=================================================== */
.manifest-intro {
    padding: 0 0 56px;
}

.manifest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 800px) {
    .manifest-grid { grid-template-columns: 1fr; gap: 36px; }
}

.manifest-label {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange-dark);
    margin-bottom: 18px;
}

.manifest-intro h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.12;
    color: var(--charcoal-dark);
}

.manifest-copy p {
    font-size: 17px;
    line-height: 1.7;
    color: #4F4F4F;
}

/* ===================================================
   THE MANIFEST — job-ticket style checklist grid
=================================================== */
.manifest {
    padding: 24px 0 80px;
}

.manifest-board {
    border: 1px solid var(--rule);
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.manifest-board-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--rule);
    background: var(--gray-faint);
}

.manifest-board-head .title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--charcoal-dark);
    letter-spacing: .01em;
}

.work-with-us {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14px;
    color: var(--orange-dark);
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}
.work-with-us:hover {
    color: var(--orange);
    border-color: var(--orange);
}
.work-with-us svg { flex: none; transition: transform .2s ease; }
.work-with-us:hover svg { transform: translateX(2px); }

.manifest-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 880px) {
    .manifest-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .manifest-list { grid-template-columns: 1fr; }
}

.manifest-item {
    padding: 26px 26px 24px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    position: relative;
    transition: background .25s ease;
}

/* 8 items: 3-col layout — last in each row loses border-right */
.manifest-list .manifest-item:nth-child(3n) { border-right: none; }
@media (max-width: 880px) {
    .manifest-list .manifest-item:nth-child(3n) { border-right: 1px solid var(--rule); }
    .manifest-list .manifest-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
    .manifest-item { border-right: none !important; }
}

/* Last row — no bottom border */
/* .manifest-list .manifest-item:nth-last-child(-n+3) { border-bottom: none; } */
@media (max-width: 880px) {
    .manifest-list .manifest-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
    .manifest-list .manifest-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
    .manifest-list .manifest-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
    .manifest-list .manifest-item:last-child { border-bottom: none; }
}

.manifest-item:hover { background: var(--gray-faint); }

.manifest-item .code {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--orange-dark);
    letter-spacing: .06em;
    display: block;
    margin-bottom: 10px;
}

.manifest-item .name {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 16.5px;
    color: var(--charcoal-dark);
    line-height: 1.35;
}

.manifest-item .check {
    position: absolute;
    top: 24px;
    right: 22px;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--gray-mid);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================================
   DISPATCH CALLOUT — unique to this page
   A horizontal split bar communicating availability
=================================================== */
.dispatch {
    padding: 0 0 80px;
}

.dispatch-bar {
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--white);
}

@media (max-width: 720px) {
    .dispatch-bar { grid-template-columns: 1fr; }
}

.dispatch-cell {
    padding: 36px 32px;
    border-right: 1px solid var(--rule);
    position: relative;
}

.dispatch-cell:last-child { border-right: none; }

@media (max-width: 720px) {
    .dispatch-cell { border-right: none; border-bottom: 1px solid var(--rule); }
    .dispatch-cell:last-child { border-bottom: none; }
}

.dispatch-cell:first-child {
    background: var(--charcoal-dark);
}

.dispatch-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-mid);
    margin-bottom: 14px;
    display: block;
}

.dispatch-cell:not(:first-child) .dispatch-eyebrow {
    color: var(--orange-dark);
}

.dispatch-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -.01em;
}

.dispatch-cell:not(:first-child) .dispatch-value {
    color: var(--charcoal-dark);
}

.dispatch-desc {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--gray-mid);
}

.dispatch-cell:not(:first-child) .dispatch-desc {
    color: #7A7570;
}

/* ===================================================
   AUDIENCE BAND
=================================================== */
.audience {
    padding: 8px 0 120px;
}

.audience-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.audience-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/on-demand-solutions.avif');
    background-size: cover;
    background-position: center;
    background-color: var(--gray-light);
    z-index: 0;
}

.audience-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(34,34,34,.42) 0%, rgba(34,34,34,.18) 55%, rgba(34,34,34,.08) 100%);
    z-index: 1;
}

.audience-glass {
    position: relative;
    z-index: 2;
    margin: 40px;
    max-width: 540px;
    background: rgba(255,255,255,.46);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 14px;
    padding: 44px 44px;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 18px 50px rgba(34,34,34,.16);
}

@media (max-width: 760px) {
    .audience-glass { margin: 22px; padding: 30px 26px; max-width: none; }
    .audience-frame { min-height: 420px; }
}

.audience-glass h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    color: var(--charcoal-dark);
}
.audience-glass h3 span { color: var(--orange-dark); }

.audience-glass p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
    color: #3F3F3F;
}

.audience-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    text-decoration: none;
    background: var(--orange);
    padding: 13px 22px;
    border-radius: 3px;
    transition: background .2s ease;
}
.audience-cta:hover {
    background: var(--orange-dark);
}
.audience-cta svg { flex: none; }