/* =========================================================================
   Downs ICT — v2 design (light, local, human)
   Site-wide stylesheet. Hand-editable, no build step.
   (styles.css is the previous dark design, kept for reference only.)
   Sections: 1 Tokens  2 Base  3 Layout  4 Header  5 Buttons  6 Hero
             7 Trust strip  8 Services  9 Steps  10 Why  11 Reviews
             12 Cases  13 Partners  14 Posts  15 CTA  16 Footer
             17 Mobile call bar  18 Reveal
             19 Inner-page components  20 Motion
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Logo colours */
  --blue: #00a6dd;
  --coral: #d94f5c;
  --gold: #b8892f;
  /* Accessible shades for text and buttons (WCAG AA on white) */
  --blue-700: #0b6f9c;     /* 5.3:1 on white */
  --coral-700: #c0404b;    /* 5.0:1 with white text */
  --coral-800: #a8343f;
  --gold-700: #8a6420;

  --ink: #14233b;          /* headings */
  --text: #3a4659;         /* body */
  --muted: #5f6b7d;        /* secondary, 5.4:1 on white */
  --line: #e6e2d9;
  --bg: #fbfaf7;           /* warm white */
  --surface: #ffffff;
  --sand: #f3efe6;
  --blue-tint: #e9f5fb;
  --coral-tint: #fbecec;
  --navy: #13233d;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20,35,59,.05), 0 8px 24px rgba(20,35,59,.06);
  --maxw: 1160px;
  --gutter: clamp(16px, 5vw, 40px);
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue-700); }
a:hover { color: var(--coral-700); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; 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: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- 3. Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--surface); }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-700); margin-bottom: .75rem; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 4. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: none; gap: 4px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { background: var(--sand); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--coral-700); }
.nav-cta { display: none; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 10px 18px; font-size: .95rem; }
.nav-phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu.open { display: grid; gap: 4px; }
.mobile-menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}
@media (min-width: 960px) and (max-width: 1139px) { .nav-phone { display: none; } .nav-links a { padding: 8px 10px; } }

/* ---------- 5. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; line-height: 1.2; }
.btn-primary { background: var(--coral-700); color: #fff; }
.btn-primary:hover { background: var(--coral-800); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 6. Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero h1 .hl { color: var(--coral-700); }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-rating { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--muted); }
.hero-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.hero-rating b { color: var(--ink); }

.portrait { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.portrait-frame { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--blue-tint), var(--sand)); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .95rem; padding: 24px; border: 2px dashed #c9d9e3; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame svg { width: 72px; height: 72px; margin: 0 auto 12px; color: #9fb9c9; }
.portrait-card { position: absolute; left: -12px; bottom: 24px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; max-width: 260px; }
.portrait-card b { display: block; color: var(--ink); }
.portrait-card span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }
.portrait::before { content: ""; position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; border-radius: 50%; border: 14px solid var(--blue); opacity: .18; z-index: -1; }
@media (max-width: 520px) { .portrait-card { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ---------- 7. Trust strip ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.trust li { padding: 22px 12px; text-align: center; font-size: .92rem; color: var(--muted); line-height: 1.35; }
.trust li b { display: block; font-size: 1.15rem; color: var(--ink); margin-bottom: 2px; }
@media (min-width: 860px) { .trust ul { grid-template-columns: repeat(4, 1fr); } .trust li + li { border-left: 1px solid var(--line); } }
@media (max-width: 859px) { .trust li:nth-child(even) { border-left: 1px solid var(--line); } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- 8. Services ---------- */
.tile { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; height: 100%; }
.tile:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.tile .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.tile .ic svg { width: 24px; height: 24px; }
.ic--blue { background: var(--blue-tint); color: var(--blue-700); }
.ic--coral { background: var(--coral-tint); color: var(--coral-700); }
.ic--gold { background: #f7efdc; color: var(--gold-700); }
.tile h3 { margin-bottom: .35em; }
.tile p { margin: 0 0 14px; font-size: 1rem; }
.tile .more { font-weight: 700; color: var(--blue-700); font-size: .95rem; }
.tile:hover .more { color: var(--coral-700); }
.also { margin-top: 28px; font-size: 1rem; color: var(--muted); }
.also a { font-weight: 600; }

/* ---------- 9. Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step p { margin: 0; font-size: 1rem; }

/* ---------- 10. Why / Marc ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks b { color: var(--ink); }
.creds { display: grid; gap: 12px; }
.cred { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.cred .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.cred .ic svg { width: 22px; height: 22px; }
.cred b { display: block; color: var(--ink); line-height: 1.3; }
.cred span { font-size: .92rem; color: var(--muted); }

/* ---------- 11. Reviews ---------- */
.quote { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 20px; font-size: 1.05rem; color: var(--ink); flex: 1; }
.quote figcaption { font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.review-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 12. Case studies ---------- */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.case .tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.case .result { font-size: 1.25rem; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 14px; }
.case p { font-size: 1rem; }
.case p:last-child { margin-bottom: 0; }

/* ---------- 13. Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--muted); font-weight: 600; font-size: .98rem; }
.partners span { white-space: nowrap; }
.clearcall { margin-top: 32px; display: grid; gap: 16px; align-items: center; background: var(--blue-tint); border-radius: var(--radius); padding: 26px 28px; }
.clearcall p { margin: 0; font-size: 1rem; }
.clearcall h3 { margin-bottom: .3em; }
@media (min-width: 800px) { .clearcall { grid-template-columns: 1fr auto; } }

/* ---------- 14. Posts ---------- */
.posts li { border-top: 1px solid var(--line); }
.posts li:last-child { border-bottom: 1px solid var(--line); }
.posts a { display: grid; gap: 4px; padding: 20px 4px; text-decoration: none; color: var(--ink); }
.posts a:hover h3 { color: var(--coral-700); }
.posts h3 { margin: 0; font-size: 1.15rem; transition: color .15s ease; }
.posts .meta { font-size: .88rem; color: var(--muted); }
@media (min-width: 760px) { .posts a { grid-template-columns: 180px 1fr; align-items: baseline; gap: 24px; } }

/* ---------- 15. CTA ---------- */
.cta { background: var(--navy); color: #d9e2ee; border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: grid; gap: 24px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta .hero-actions { margin: 0; }
.cta .phone-big { color: #fff; font-weight: 800; font-size: 1.4rem; text-decoration: none; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.3fr 1fr; } .cta .hero-actions { justify-content: flex-end; } }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--sand); padding: 64px 0 28px; font-size: .97rem; margin-top: clamp(56px, 9vw, 104px); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer .f-links li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--coral-700); text-decoration: underline; }
.f-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.f-areas { color: var(--muted); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: var(--muted); }

/* ---------- 17. Mobile call bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20,35,59,.06); }
.callbar .btn { padding: 12px 10px; font-size: .97rem; }
@media (min-width: 960px) { .callbar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 76px; } }

/* ---------- 18. Reveal (used by main.js) ---------- */
.js .reveal.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.will-reveal.in { opacity: 1; transform: none; }

/* ---------- 19. Inner-page components ---------- */
/* Token aliases: a few pages use the old token names in inline styles. */
:root {
  --ink-900: var(--ink); --ink-700: var(--text); --ink-500: var(--muted);
  --surface-alt: var(--sand); --surface-tint: var(--blue-tint);
  --font-head: var(--font); --font-body: var(--font);
  --cyan-700: var(--blue-700); --cyan-500: var(--blue); --cyan-400: #7fd0f0;
  --coral-500: var(--coral); --navy-800: var(--navy); --navy-900: #0d1a2e;
  --radius-lg: 24px;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section--tint { background: var(--sand); }
.section--navy { background: var(--navy); color: #d9e2ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: #b4c2d6; }
.section--navy .eyebrow, .panel:not(.panel--light) .eyebrow, .cta-band .eyebrow { color: #7fd0f0; }
.section--navy a:not(.btn), .panel:not(.panel--light) a:not(.btn) { color: #7fd0f0; }
.section--navy a:not(.btn):hover, .panel:not(.panel--light) a:not(.btn):hover { color: #fff; }
@media (min-width: 640px) and (max-width: 979px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .split.reverse > :first-child { order: 2; } }

/* Page hero */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 24ch; }
.page-hero .lead { max-width: 62ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--coral-700); }
.badge-pill { display: inline-block; background: var(--blue-tint); color: var(--blue-700); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; color: var(--muted); font-size: .92rem; margin-top: 12px; }
.article-meta .cat { color: var(--coral-700); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; }

/* Buttons from the old design, restyled for light backgrounds */
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-cyan { background: var(--blue-700); color: #fff; }
.btn-cyan:hover { background: var(--ink); color: #fff; }
.section--navy .btn-ghost, .panel:not(.panel--light) .btn-ghost, .cta-band .btn-ghost, .section--navy .btn-outline, .panel:not(.panel--light) .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.section--navy .btn-ghost:hover, .panel:not(.panel--light) .btn-ghost:hover, .cta-band .btn-ghost:hover, .section--navy .btn-outline:hover, .panel:not(.panel--light) .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-cyan { background: var(--coral-700); color: #fff; }
.cta-band .btn-cyan:hover { background: var(--coral-800); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; display: flex; flex-direction: column; transition: border-color .2s ease, transform .25s var(--ease), box-shadow .25s ease; }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.card .num { font-weight: 800; color: var(--blue-700); font-size: .85rem; letter-spacing: .1em; margin: 0; }
.card .kicker { font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: .3rem 0; }
.card h3 { margin: .2rem 0 .5rem; }
.card p { font-size: 1rem; }
.card .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue-700); margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.card .media { margin: -26px -26px 20px; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 3; }
.media { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media:hover img, .card:hover .media img { transform: scale(1.04); }
.steps .card::before { counter-increment: step; content: "Step " counter(step); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-700); margin-bottom: 8px; }

.feature { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; }
.feature .num { color: #7fd0f0; font-weight: 800; letter-spacing: .1em; font-size: .85rem; margin: 0 0 .4rem; }
.feature p { color: #b4c2d6; font-size: 1rem; margin: 0; }
.section:not(.section--navy) .feature { background: var(--surface); border-color: var(--line); }
.section:not(.section--navy) .feature .num { color: var(--blue-700); }
.section:not(.section--navy) .feature p { color: var(--text); }

.check-list { display: grid; gap: 12px; margin: 20px 0; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6f9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

.panel { background: var(--navy); color: #d9e2ee; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.panel h2, .panel h3 { color: #fff; }
.panel .lead { color: #b4c2d6; }
.panel--light { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.panel--light h2, .panel--light h3 { color: var(--ink); }
.panel--light .lead { color: var(--muted); }

.statband { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
@media (min-width: 720px) { .statband { grid-template-columns: repeat(4, 1fr); } }
.statband .s b { display: block; font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: #7fd0f0; line-height: 1.1; }
.statband .s span { color: #b4c2d6; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.panel--light .statband .s b { color: var(--coral-700); }
.panel--light .statband .s span { color: var(--muted); }

.logos { display: flex; flex-wrap: wrap; gap: 10px; }
.logos .lg { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--text); font-size: .92rem; }
.section--navy .logos .lg { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e6edf6; }

/* Old-markup case studies (case-top / case-body) */
.case:has(.case-top) { padding: 0; overflow: hidden; }
.case-top { background: var(--blue-tint); color: var(--blue-700); padding: 12px 24px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.case-body { padding: 22px 24px; margin: 0; }
.case-body dt { font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-700); margin-top: 14px; }
.case-body dt:first-child { margin-top: 0; }
.case-body dd { margin: 4px 0 0; font-size: 1rem; }
.case:has(.case-top) .result { font-size: 1.05rem; padding: 14px 24px; margin: 0; border-top: 1px solid var(--line); background: var(--sand); }

/* Blog cards */
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .2s ease; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.post .thumb { display: block; aspect-ratio: 16 / 7; position: relative; background: linear-gradient(120deg, var(--blue-tint), var(--sand) 60%, var(--coral-tint)); background-size: 200% 200%; transition: background-position .6s var(--ease); }
.post:hover .thumb { background-position: 100% 100%; }
.post .thumb[data-cat]::after { content: attr(data-cat); position: absolute; left: 16px; bottom: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.post .p-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post .p-meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.post h2, .post h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
.post h2 a, .post h3 a { color: inherit; text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { color: var(--coral-700); }

/* CTA band (inner pages) */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #d9e2ee; border-radius: 24px; padding: clamp(36px, 6vw, 64px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 54ch; margin-left: auto; margin-right: auto; }
.cta-band > * { position: relative; z-index: 1; }

/* Prose (blog posts, legal pages) */
.prose { max-width: 740px; margin-left: auto; margin-right: auto; }
.prose > * { margin-bottom: 1.25rem; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.prose h3 { margin-top: 1.6rem; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose ol li::marker { color: var(--blue-700); font-weight: 700; }
.prose blockquote { margin: 1.6rem 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--coral); font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.prose strong { color: var(--ink); }
.prose a { text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); color: var(--ink); font-size: .88rem; }
.prose tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--blue); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--coral-700); border-bottom: 2px solid var(--coral-700); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Pricing */
.price { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s ease; }
.price:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price--featured { border: 2px solid var(--coral-700); }
.price .flag { position: absolute; top: -13px; left: 24px; background: var(--coral-700); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price .amount { font-weight: 800; font-size: 2rem; color: var(--ink); line-height: 1.1; margin: 8px 0 2px; }
.price .amount small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.price dl { margin: 18px 0 22px; display: grid; gap: 8px; font-size: .95rem; }
.price dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.price dt { color: var(--muted); }
.price dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.price .btn { margin-top: auto; }

/* Contact card */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.f-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.f-contact svg { width: 18px; height: 18px; flex: none; color: var(--blue-700); margin-top: 5px; }

/* 404 */
.hero .hero-sub { margin-bottom: 1rem; }

/* ---------- 20. Motion ---------- */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
h1, h2, h3 { text-wrap: balance; }
h1 { letter-spacing: -.03em; }

/* Smooth cross-fade between pages (browsers that support it) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Reading progress line under the header */
@supports (animation-timeline: scroll()) {
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--coral), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* Header tightens once the page is scrolled */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.nav { transition: height .25s var(--ease); }
.brand img { transition: height .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,35,59,.08); background: rgba(255,255,255,.96); }
.site-header.scrolled .nav { height: 60px; }
.site-header.scrolled .brand img { height: 32px; }

/* Nav links: underline slides in */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a:hover { background: transparent; }
.nav-toggle span { transition: transform .25s var(--ease), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu.open { animation: menu-in .28s var(--ease) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* Buttons */
.btn { transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { box-shadow: 0 6px 18px rgba(192,64,75,.22); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(192,64,75,.32); }

/* Tiles and links: icon and arrow respond on hover */
.tile { transition: border-color .2s ease, transform .25s var(--ease), box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); }
.tile .ic, .card .ic, .cred .ic { transition: transform .35s var(--ease); }
.tile:hover .ic, .card:hover .ic, .cred:hover .ic { transform: scale(1.1) rotate(-4deg); }
.tile .more { display: inline-block; transition: transform .25s var(--ease), color .2s ease; }
.tile:hover .more { transform: translateX(4px); }
.cred { transition: transform .25s var(--ease), border-color .2s ease; }
.cred:hover { transform: translateX(4px); border-color: var(--blue); }
.quote, .case, .step { transition: transform .25s var(--ease), box-shadow .25s ease; }
.quote:hover, .case:hover, .step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.posts a { transition: padding-left .25s var(--ease); }
.posts a:hover { padding-left: 12px; }

/* Hero: soft drifting colour, staggered entrance */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero::before, .hero::after, .page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.hero::before, .page-hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: rgba(0,166,221,.20); animation: drift-a 16s ease-in-out infinite alternate; }
.hero::after, .page-hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: rgba(217,79,92,.13); animation: drift-b 20s ease-in-out infinite alternate; }
.hero > .wrap { position: relative; z-index: 1; }
@keyframes drift-a { to { transform: translate(-70px, 60px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(90px, -50px) scale(1.15); } }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.hero-grid > div:first-child > *, .page-hero .wrap > * { animation: rise .7s var(--ease) both; }
.hero-grid > div:first-child > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.hero-grid > div:first-child > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .16s; }
.hero-grid > div:first-child > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: .24s; }
.hero-grid > div:first-child > :nth-child(5), .page-hero .wrap > :nth-child(5) { animation-delay: .32s; }
.hero-grid > div:first-child > :nth-child(n+6), .page-hero .wrap > :nth-child(n+6) { animation-delay: .4s; }

/* Headline highlight: underline draws in */
.hero h1 .hl { background: linear-gradient(var(--coral-tint), var(--coral-tint)) no-repeat 0 88% / 0% .32em; animation: underline .9s var(--ease) .55s forwards; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes underline { to { background-size: 100% .32em; } }

/* Portrait: scales in, signal arcs (from the logo) draw behind it, card floats */
.portrait::before { display: none; }
.portrait-frame { animation: pop .8s var(--ease) .15s both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(16px); } }
.signal { position: absolute; right: -104px; top: -96px; width: 200px; height: 200px; z-index: -1; overflow: visible; }
.signal path { fill: none; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
.signal path:nth-child(1) { stroke: var(--gold); animation-delay: .5s; }
.signal path:nth-child(2) { stroke: var(--coral); animation-delay: .7s; }
.signal path:nth-child(3) { stroke: var(--blue); animation-delay: .9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.portrait-card { animation: rise .7s var(--ease) .6s both, bob 5s ease-in-out 1.4s 3 alternate; }
@keyframes bob { to { translate: 0 -6px; } }

/* Trust strip: items step in */
.trust li { animation: rise .6s var(--ease) both; }
.trust li:nth-child(1) { animation-delay: .45s; } .trust li:nth-child(2) { animation-delay: .53s; }
.trust li:nth-child(3) { animation-delay: .61s; } .trust li:nth-child(4) { animation-delay: .69s; }

/* Sections flow into each other as rounded panels */
.section--sand, .section--tint, .section--navy { border-radius: clamp(24px, 4vw, 44px); margin: 0 clamp(8px, 1.5vw, 20px); }

/* Steps: a line links the three steps and draws in on scroll */
@media (min-width: 980px) {
  .steps { position: relative; }
  .steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 48px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--coral), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .2s; z-index: 0; }
  .steps.in-view::before { transform: scaleX(1); }
  .steps > * { position: relative; z-index: 1; }
}
.step::before { transition: background .3s ease, transform .35s var(--ease); }
.step:hover::before { background: var(--coral-700); transform: scale(1.1); }

/* CTA blocks: slow glow */
.cta, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta::before, .cta-band::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; top: -200px; border-radius: 50%; background: rgba(0,166,221,.35); filter: blur(80px); animation: drift-a 14s ease-in-out infinite alternate; }
.cta::after, .cta-band::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; left: -120px; bottom: -220px; border-radius: 50%; background: rgba(217,79,92,.30); filter: blur(80px); animation: drift-b 18s ease-in-out infinite alternate; }

/* Scroll reveal: crisper easing, optional directions */
.js .reveal.will-reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.will-reveal.in { opacity: 1; transform: none; }
.js .section-head.will-reveal { transform: translateY(18px); }

/* Mobile call bar slides up */
.callbar { animation: bar-in .5s var(--ease) .8s both; }
@keyframes bar-in { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .page-hero::before, .page-hero::after, .cta::before, .cta::after, .cta-band::before, .cta-band::after { animation: none; }
  .signal path { stroke-dashoffset: 0; animation: none; }
  .hero h1 .hl { background-size: 100% .32em; animation: none; }
  .js .reveal.will-reveal { opacity: 1; transform: none; }
  .steps::before { transform: scaleX(1); }
  @view-transition { navigation: none; }
}
@media (max-width: 899px) { .signal { right: -70px; top: -84px; width: 160px; height: 160px; } .portrait { margin-top: 28px; } }

/* Hero card (no-photo version of the hero visual) */
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 2px 4px rgba(20,35,59,.04), 0 24px 60px rgba(20,35,59,.10); animation: pop .8s var(--ease) .15s both; }
.hero-panel h2 { font-size: 1.25rem; margin-bottom: 20px; }
.hero-panel .checks li { font-size: 1rem; line-height: 1.5; animation: rise .6s var(--ease) both; }
.hero-panel .checks li:nth-child(1) { animation-delay: .45s; } .hero-panel .checks li:nth-child(2) { animation-delay: .55s; }
.hero-panel .checks li:nth-child(3) { animation-delay: .65s; } .hero-panel .checks li:nth-child(4) { animation-delay: .75s; }
.hero-person { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); line-height: 1.4; animation: rise .6s var(--ease) .85s both; }
.hero-person b { display: block; color: var(--ink); font-size: 1rem; }
.hero-person .av { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .02em; }

/* Coloured panels that sit back to back get a gap, so their rounded corners don't collide */
.section--sand + .section--navy, .section--tint + .section--navy, .section--navy + .section--sand, .section--navy + .section--tint { margin-top: clamp(8px, 1.5vw, 20px); }
/* Case cards: equal heights with content aligned from the top */
.grid > .case { height: 100%; }

/* Logo wall (partners, vendors, customers) */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 96px; display: grid; place-items: center; padding: 18px 22px; transition: transform .25s var(--ease), box-shadow .25s ease, border-color .2s ease; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.logo-tile img { max-height: 46px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo-tile--dark { background: #0d1a2e; border-color: rgba(255,255,255,.16); }
.logo-tile--text { text-align: center; line-height: 1.25; color: var(--muted); font-size: .85rem; }
.logo-tile--text b { display: block; color: var(--ink); font-size: 1.15rem; }
.section--navy .logo-tile { border-color: rgba(255,255,255,.16); }

/* Footer social links */
.f-social { display: flex; gap: 10px; margin-top: 16px; }
.f-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: transform .2s var(--ease), background .2s ease, color .2s ease; }
.f-social a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); text-decoration: none; }
.f-social svg { width: 18px; height: 18px; }

/* Section labels on sand panels: one shade darker to keep 4.5:1 contrast */
.section--sand .eyebrow, .section--tint .eyebrow { color: var(--coral-800); }

/* Location pages: at-a-glance facts and area list */
.glance { margin: 0; display: grid; gap: 14px; }
.glance div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 0; color: var(--ink); font-weight: 600; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { background: var(--blue-tint); color: var(--blue-700); font-weight: 600; font-size: .92rem; padding: 6px 14px; border-radius: 999px; }
