/* Prosolve Software website
   Green is taken from the Prosolve logo (#44953c); --green-dark is the same hue darkened
   for text and buttons on white (5.3:1 contrast). RevUp Blaze colours (navy, plum, red)
   are used only for the signposts to www.revup.co.uk, so they read as "the other site". */

/* Manrope (variable, weights 200-800), SIL Open Font License 1.1, self-hosted. */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/manrope-latin-wght.woff2') format('woff2');
}

:root {
    --green: #44953c;
    --green-dark: #2e7528;
    --green-deeper: #235c1f;
    --green-bright: #8ddc7d;     /* green text on dark backgrounds */
    --green-tint: #eef6ec;
    --ink: #16201a;
    --muted: #4c5850;
    --line: #dce5dd;
    --surface: #ffffff;
    --surface-alt: #f4f8f3;
    --deep: #0b1a13;
    --focus: #ffb300;
    --radius: 14px;
    --shadow: 0 18px 50px -18px rgba(11, 26, 19, .4);
    --shadow-sm: 0 4px 16px -6px rgba(11, 26, 19, .22);
    --gradient: linear-gradient(160deg, #0b1a13 0%, #10291c 55%, #1a4029 100%);
    /* RevUp Blaze brand, for signposts only */
    --revup-gradient: linear-gradient(120deg, rgb(5, 23, 60) 0%, #1b0f4d 55%, #3a0647 100%);
    --revup-red: #d4091c;
    --revup-red-dark: #a8061a;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --wrap: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--surface);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 2px; }
a:hover { color: var(--green-deeper); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

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

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: #fff; color: var(--green-deeper); padding: 10px 16px; border-radius: 8px; font-weight: 700;
    box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 12px; }

/* Icons (inline SVG, Lucide-style strokes) */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 20px; height: 20px; }
.btn-primary { background: var(--green-dark); color: #fff; box-shadow: 0 8px 22px -10px rgba(46, 117, 40, .8); }
.btn-primary:hover { background: var(--green-deeper); color: #fff; }
.btn-outline { border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-revup { background: var(--revup-red); color: #fff; box-shadow: 0 8px 22px -10px rgba(212, 9, 28, .8); }
.btn-revup:hover { background: var(--revup-red-dark); color: #fff; }
.btn-lg { font-size: 1.1rem; padding: .95em 1.7em; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- RevUp Blaze strip (every page) ---------- */
.revup-strip { background: var(--revup-gradient); color: #fff; font-size: .95rem; }
.revup-strip .wrap { display: flex; align-items: center; justify-content: center; gap: .3em 1em; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.revup-strip a { color: #fff; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.revup-strip a:hover { color: #ffd0d5; }
.revup-strip .i { width: 16px; height: 16px; }
.revup-strip .strip-short { display: none; }
@media (max-width: 760px) {
    .revup-strip .strip-long { display: none; }
    .revup-strip .strip-short { display: inline; }
    .revup-strip .wrap { padding-top: 6px; padding-bottom: 6px; }
}

/* ---------- Header and navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line); box-shadow: 0 2px 18px rgba(11, 26, 19, .06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: 146px; }

.nav-toggle {
    display: none; margin-left: auto; padding: 8px; border: 1px solid var(--line);
    border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .i { width: 28px; height: 28px; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav a {
    display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.site-nav a:hover { background: var(--green-tint); color: var(--green-deeper); }
.site-nav a[aria-current="page"] { color: var(--green-dark); box-shadow: inset 0 -3px 0 var(--green); border-radius: 10px 10px 0 0; }
.site-nav .i { width: 16px; height: 16px; }
.site-nav .nav-revup { margin-left: 12px; }
.site-nav .nav-revup a { background: var(--revup-gradient); color: #fff; border-radius: 999px; padding: 8px 16px 8px 16px; gap: 8px; }
.site-nav .nav-revup img { height: 32px; width: auto; }
.site-nav .nav-revup a:hover { color: #fff; filter: brightness(1.25); }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px 20px 20px; box-shadow: 0 16px 30px rgba(11, 26, 19, .18); border-bottom: 1px solid var(--line); }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); border-radius: 0; }
    .site-nav .nav-revup { margin: 14px 0 0; }
    .site-nav .nav-revup a { justify-content: center; border-bottom: 0; }
    .brand img { width: 118px; }
    .site-header .wrap { min-height: 76px; }
    /* Without JavaScript the menu cannot be toggled, so show it in full. */
    .no-js .nav-toggle { display: none; }
    .no-js .site-header { position: static; }
    .no-js .site-header .wrap { flex-wrap: wrap; }
    .no-js .site-nav { display: block; position: static; width: 100%; padding: 0 0 10px; box-shadow: none; border: 0; }
}

/* ---------- Logo swoosh motif (decorative crescent + dot, echoing the logo) ---------- */
.swoosh { position: relative; isolation: isolate; overflow: hidden; }
.swoosh::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    right: -16%; bottom: 7%; width: 64%; height: 170%; border-radius: 50%;
    border: solid rgba(68, 149, 60, .3); border-width: 0 0 44px 0; transform: rotate(-16deg);
}
.swoosh::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    right: 7%; top: 14%; width: 26px; height: 26px; border-radius: 50%; background: rgba(68, 149, 60, .5);
}

/* ---------- Home hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--surface-alt) 100%); overflow: hidden; isolation: isolate; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 150px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.hero h1 .accent { color: var(--green-dark); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero-art { position: relative; margin-right: -12%; }
.hero-art img {
    width: 100%;
    /* closest-side fades fully to transparent before every edge, so no hard rectangle shows */
    -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
            mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
}

.stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.stats strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; letter-spacing: -.02em; }
.stats span { font-size: .92rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- RevUp Blaze signpost (home page) ---------- */
.signpost { position: relative; z-index: 2; margin-top: -96px; }
.signpost-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center;
    background: var(--revup-gradient); color: #fff; border-radius: 18px; padding: 30px 36px;
    box-shadow: 0 30px 60px -24px rgba(5, 23, 60, .65);
}
.signpost-card img { width: 230px; }
.signpost-card h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0 0 .3em; }
.signpost-card p { margin: 0; color: #e4e0f2; }
.signpost-card .btn { white-space: nowrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--gradient); color: #fff; }
.page-hero .wrap { padding-top: 60px; padding-bottom: 60px; }
.page-hero .eyebrow { color: var(--green-bright); }
.page-hero .eyebrow::before { background: var(--green-bright); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: .3em; max-width: 18em; }
.page-hero p { color: #d6e2d9; font-size: 1.15rem; max-width: 44em; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--gradient); color: #fff; }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-dark .section-head p, .section-dark p { color: #d6e2d9; }
.kicker { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.section-dark .kicker { color: var(--green-bright); }
.section-foot { margin-top: 40px; text-align: center; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.top { align-items: start; }

.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
    content: ""; position: absolute; left: 0; top: .22em; width: 22px; height: 22px; border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

.photo { border-radius: var(--radius); box-shadow: var(--shadow); }
figure { margin: 0; }
figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.section-dark figcaption { color: #b9c9bd; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.badge-icon {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; flex: none;
    background: linear-gradient(135deg, var(--green), var(--green-deeper)); color: #fff;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0 0 1em; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.section-dark .card { background: #13291e; border-color: rgba(255, 255, 255, .13); box-shadow: none; } /* opaque, so the swoosh never runs behind text */
.section-dark .card p { color: #cbd9ce; }

/* "Systems we've built" tiles */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.work-tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.work-tile:hover { border-color: #b7d3b3; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.work-tile .i { width: 30px; height: 30px; color: var(--green-dark); margin-bottom: 12px; stroke-width: 1.8; }
.work-tile h3 { font-size: 1.05rem; margin-bottom: .3em; }
.work-tile p { color: var(--muted); font-size: .95rem; margin: 0; line-height: 1.5; }
.work-tile.revup { background: var(--revup-gradient); border-color: transparent; color: #fff; }
.work-tile.revup .i { color: #ff8a96; }
.work-tile.revup p { color: #e4e0f2; }
.work-tile.revup a { color: #fff; font-weight: 700; }

/* Client names */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.clients li {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px;
    padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; min-height: 88px;
}
.clients strong { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.clients span { color: var(--muted); font-size: .88rem; }
.note { color: var(--muted); font-size: .95rem; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
    background: var(--green); color: #fff;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 54px; right: -14px; height: 2px; background: rgba(141, 220, 125, .35); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; }
.section:not(.section-dark) .steps p { color: var(--muted); }

/* Technology chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--green-tint); color: var(--green-deeper); font-weight: 700; font-size: .93rem; border: 1px solid #cfe3cb; }
.section-dark .chips li { background: rgba(255, 255, 255, .07); color: #e3efe5; border-color: rgba(255, 255, 255, .16); }

/* Inline RevUp panel (inner pages) */
.revup-panel {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 36px; align-items: center;
    background: var(--revup-gradient); color: #fff; border-radius: 18px; padding: 32px 36px; box-shadow: var(--shadow);
}
.revup-panel img { width: 220px; margin-bottom: 14px; }
.revup-panel h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .35em; }
.revup-panel p { color: #e4e0f2; margin: 0; }

/* Detailed service blocks */
.service-block { scroll-margin-top: 110px; }
.service-block + .service-block { border-top: 1px solid var(--line); }
.service-block h2 { display: flex; align-items: center; gap: 14px; }
.service-block h2 .badge-icon { margin: 0; }
.service-block .intro { font-size: 1.15rem; color: var(--muted); }
.subnav { position: sticky; top: 92px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.subnav a { display: block; padding: 14px; white-space: nowrap; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .95rem; }
.subnav a:hover { color: var(--green-dark); }

/* Case list (Our work page) */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-content: start; }
.case .badge-icon { grid-row: span 3; margin: 0; }
.case h3 { margin: 0 0 .2em; }
.case .sector { color: var(--green-dark); font-weight: 700; font-size: .9rem; margin: 0 0 .5em; }
.case p { color: var(--muted); margin: 0; }

/* Timeline (About page) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--green), #cfe3cb); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 42px; padding-bottom: 30px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 79px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--green); }
.timeline .year { font-weight: 800; font-size: 1.25rem; color: var(--green-dark); text-align: right; line-height: 1.4; }
.timeline h3 { margin-bottom: .25em; }
.timeline p { color: var(--muted); margin: 0; }

.old-logo { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.old-logo img { width: 150px; border-radius: 8px; image-rendering: auto; }
.old-logo figcaption { margin: 0; font-size: .97rem; }

.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); color: #fff; text-align: center; }
.cta-band .wrap { padding-top: 84px; padding-bottom: 84px; }
.cta-band h2 { max-width: 20em; margin-left: auto; margin-right: auto; }
.cta-band p { color: #d6e2d9; font-size: 1.15rem; max-width: 40em; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: #b00716; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
    width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
    border: 2px solid #c9d3cb; border-radius: 10px;
}
.field input:focus, .field textarea:focus { border-color: var(--green-dark); outline: 3px solid rgba(46, 117, 40, .2); outline-offset: 0; }
.field textarea { min-height: 160px; resize: vertical; }
.field .hint { font-size: .92rem; color: var(--muted); margin: 6px 0 0; }
.field .error { display: none; color: #b00716; font-size: .95rem; font-weight: 600; margin: 6px 0 0; }
.field.invalid input, .field.invalid textarea { border-color: #b00716; }
.field.invalid .error { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field .choice {
    display: flex; margin: 0; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid #c9d3cb; border-radius: 10px;
    cursor: pointer; font-weight: 600; line-height: 1.3;
}
.choice input { width: 20px; height: 20px; accent-color: var(--green-dark); margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--green-dark); background: var(--green-tint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .92rem; color: var(--muted); }

.alert { border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; }
.alert .i { margin-top: 2px; }
.alert p { margin: 0; }
.alert p + p { margin-top: .4em; }
.alert-success { background: #e8f6ee; border: 1px solid #9fd5b4; color: #0f5130; }
.alert-error { background: #fdecee; border: 1px solid #f2a9b1; color: #8a0414; }
.alert-info { background: #eef2fd; border: 1px solid #b7c6f3; color: #142d73; }
.alert-revup { background: #f3f0fa; border: 1px solid #cdc3e6; color: #1b0f4d; }
.alert[hidden] { display: none; }

.aside-card { background: var(--surface-alt); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card p:last-child { margin-bottom: 0; }
.aside-card.revup { background: var(--revup-gradient); color: #fff; }
.aside-card.revup p { color: #e4e0f2; }
.aside-card.revup img { width: 200px; margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .i { color: var(--green-dark); margin-top: 2px; }
.contact-list a { font-weight: 700; }
.contact-list small { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- Prose pages (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }

/* ---------- Error page ---------- */
.error-hero { background: var(--gradient); color: #fff; }
.error-hero .wrap { padding-top: 90px; padding-bottom: 110px; }
.error-hero .lead { color: #d6e2d9; font-size: 1.2rem; max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { background: #08130d; color: #c3cfc6; font-size: .97rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 16px; margin-bottom: 16px; }
.footer-logo img { width: 110px; }
.site-footer h2 { font-size: .95rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #9fb0a4; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .work-grid, .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .signpost-card { grid-template-columns: minmax(0, 1fr) auto; }
    .signpost-card img { grid-column: 1 / -1; width: 200px; }
}
@media (max-width: 1020px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .steps li:nth-child(2)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .hero .wrap, .split, .contact-grid, .cases { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .hero .wrap { padding-top: 40px; padding-bottom: 130px; gap: 8px; }
    .hero-art { order: -1; margin: -10px -10% 0; max-width: 520px; justify-self: center; }
    .work-grid, .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .signpost-card, .revup-panel { grid-template-columns: 1fr; padding: 28px; gap: 18px; }
    .signpost-card img { grid-column: auto; }
    .section { padding: 64px 0; }
    .swoosh::before { width: 120%; right: -40%; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .wrap { padding: 0 16px; }
    .cards, .cards.cols-2, .cards.cols-4, .two-col, .ticks.cols-2, .steps, .choice-row { grid-template-columns: 1fr; }
    .steps li::after { display: none; }
    .work-grid, .clients { grid-template-columns: 1fr; }
    .stats { gap: 12px; }
    .stats strong { font-size: 1.5rem; }
    .stats span { font-size: .85rem; }
    .form-card, .case { padding: 22px; }
    .case { grid-template-columns: 1fr; }
    .case .badge-icon { grid-row: auto; margin-bottom: 10px; }
    .hero-actions .btn, .signpost-card .btn, .revup-panel .btn { flex: 1 1 100%; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 7px; }
    .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 34px; }
    .timeline li::before { left: 0; }
    .timeline .year { text-align: left; }
    .old-logo { flex-direction: column; align-items: flex-start; }
    .facts { grid-template-columns: 1fr; gap: 2px; }
    .facts dd { margin-bottom: 10px; }
}
