/*
Theme Name: Northbridge
Description: A dark, bold professional-services theme with a mega menu, hero carousel, photo-led sections, packages, FAQ and a booking form.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: northbridge
*/

:root {
  --dark: #2e2e38;
  --black: #1c1b23;
  --yellow: #ffe600;
  --soft: #ebebf3;
  --ink: #282832;
  --muted: #666675;
  --line: #747480;
  --font: "EYInterstate", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; color: inherit; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg.art { display: block; width: 100%; height: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h2, h3, h4 { font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(32px, 3.15vw, 54px); }
h3 { font-size: 25px; }
p { line-height: 1.75; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: 1650px; margin: 0 auto; padding: 0 5%; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: #111; padding: 12px 16px; z-index: 300; }
.skip-link:focus { left: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shared pieces ---------- */
.kicker { display: block; font-size: 14px; letter-spacing: 1.15px; font-weight: 800; text-transform: uppercase; color: var(--yellow); margin-bottom: 20px; }
.light-section .kicker, .services .kicker, .faq .kicker { color: #6b6200; }
.lead { font-size: 19px; max-width: 1120px; margin-top: 16px; }
.minor { font-size: 13px; color: #999; margin-top: 22px; }
.light-section .minor, .services .minor { color: #65656b; }
.note { display: block; font-size: 13px; color: #ddd; margin-top: 16px; }
.dark-section { background: var(--dark); color: #fff; }
.light-section { background: var(--soft); }

.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; padding: 15px 25px; font-size: 15px; font-weight: 700; line-height: 1.3; border: 1px solid currentColor; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--yellow); border-color: var(--yellow); color: #17171c; }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: #17171c; }
.btn--yellow:hover { background: #fff; border-color: #fff; }
.btn--light { color: #fff; border-color: #fff; background: rgba(41,41,51,.27); }
.btn--white { background: #fff; border-color: #fff; color: #1b1b22; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header { height: 87px; background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 80; display: flex; align-items: center; gap: 28px; padding: 0 30px 0 32px; box-shadow: 0 1px 0 rgba(255,255,255,.08); transition: height .25s; }
.site-header.slim { height: 75px; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { font-size: 26px; font-weight: 800; letter-spacing: -1px; line-height: 1; position: relative; padding-top: 14px; display: inline-block; }
.mark::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 8px; background: var(--yellow); transform: skewX(-30deg); transform-origin: left bottom; }

.main-nav { display: flex; align-self: stretch; flex: 1; }
.main-nav button { height: 100%; padding: 0 17px; color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; border-bottom: 4px solid transparent; }
.main-nav button:hover, .main-nav button[aria-expanded="true"] { background: #1b1b24; border-bottom-color: var(--yellow); }

.tools { display: flex; gap: 24px; align-items: center; margin-left: auto; white-space: nowrap; }
.tools button { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 14px; font-weight: 600; }
.tools button:hover { color: var(--yellow); }
.tools svg { width: 20px; height: 20px; }
.tools__cta { border: 1px solid var(--yellow); padding: 12px 15px; font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.tools__cta:hover { background: var(--yellow); color: #111; }
.nav-toggle { display: none; color: #fff; }
.nav-toggle svg { width: 24px; height: 24px; }

/* Mega menu: intro, link list, image */
.mega { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); color: #fff; padding: 32px 3.6% 50px; grid-template-columns: 24% 44% 26%; gap: 0 3%; align-items: start; box-shadow: 0 22px 38px rgba(0,0,0,.5); max-height: calc(100vh - 75px); overflow-y: auto; }
.mega.show { display: grid; animation: menu-in .22s ease-out; }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mega__intro h2 { font-size: 23px; font-weight: 500; margin: 6px 0 14px; }
.mega__intro p { font-size: 14px; line-height: 1.85; max-width: 300px; margin-bottom: 24px; }
.mega__intro .btn { padding: 12px 24px; font-size: 14px; }
.mega__links a { display: flex; justify-content: space-between; align-items: center; min-height: 43px; padding: 9px 10px; font-size: 14px; font-weight: 700; border-top: 1px solid #686873; }
.mega__links li:last-child a { border-bottom: 1px solid #686873; }
.mega__links a::after { content: "\203A"; font-weight: 400; color: #a6a6b3; }
.mega__links a:hover { color: var(--yellow); background: rgba(255,255,255,.04); }
.mega__feature { display: block; }
.mega__image { height: 245px; overflow: hidden; margin-bottom: 12px; }
.mega__image img { transition: transform .5s; }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature small { display: block; font-size: 12px; color: #c5c5d3; }
.mega__feature strong { display: block; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.mega__feature:hover strong { color: var(--yellow); }
.mega__collapse { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 10px 16px; }
.mega__collapse svg { width: 14px; height: 9px; }
.mega__collapse:hover { color: var(--yellow); }

.overlay { position: fixed; inset: 0; z-index: 100; background: var(--black); color: #fff; padding: 130px 10%; display: none; overflow-y: auto; }
.overlay.show { display: block; }
.overlay h2 { font-size: clamp(30px, 4vw, 64px); margin-bottom: 24px; }
.overlay h3 { font-size: 17px; font-weight: 700; margin: 32px 0 8px; }
.overlay form { max-width: 1000px; border-bottom: 2px solid var(--yellow); }
.overlay input { width: 100%; background: transparent; color: #fff; border: 0; font-size: 24px; padding: 20px 0; outline: none; }
.overlay input::placeholder { color: #9a9aa6; }
.overlay .close { position: absolute; color: #fff; top: 30px; right: 45px; font-size: 44px; line-height: 1; padding: 6px 10px; }
.overlay a { display: block; padding: 8px 0; }
.overlay a:hover { color: var(--yellow); }

/* ---------- Hero: full-width carousel ---------- */
.hero { position: relative; display: grid; min-height: 590px; background: #171720; color: #fff; overflow: hidden; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; padding: 70px 4.5% 135px; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.hero-slide.active { opacity: 1; visibility: visible; }
/* Hero photos, one per slide, loaded from Unsplash. To use your own, change the url() values.
   1: workers on a building site
   2: desk with a laptop and building plans
   3: crew working beside a concrete mixer and excavator */
.hero-photo { position: absolute; inset: 0; background: #23232d center 45% / cover no-repeat; }
.hero-photo--1 { background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=2000&q=85"); }
.hero-photo--2 { background-image: url("https://images.unsplash.com/photo-1764740109279-c7a8abd78821?w=2000&q=85"); background-position: center 40%; }
.hero-photo--3 { background-image: url("https://images.unsplash.com/photo-1647735282077-c12699af40be?w=2000&q=85"); background-position: center 60%; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,15,.9) 0, rgba(10,10,15,.68) 47%, rgba(10,10,15,.17) 100%), linear-gradient(0deg, rgba(3,3,7,.67), transparent 40%); }
.hero-text { position: relative; z-index: 2; max-width: 900px; }
.hero-text strong { color: var(--yellow); font-size: 14px; letter-spacing: 1.15px; font-weight: 800; text-transform: uppercase; }
.hero-text h1, .hero-text h2 { font-size: clamp(32px, 3.1vw, 50px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; margin: 12px 0 20px; }
.hero-text p { font-size: 16px; line-height: 1.75; border-left: 2px solid var(--yellow); padding-left: 20px; }
.hero-controls { position: absolute; z-index: 3; left: 4.5%; right: 4.5%; bottom: 36px; display: flex; justify-content: space-between; align-items: center; }
.hero-tabs { display: flex; gap: 48px; }
.hero-tabs button { color: #ccc; border-top: 3px solid transparent; padding: 12px 0; font-weight: 700; min-width: 60px; text-align: left; }
.hero-tabs button[aria-selected="true"] { border-color: var(--yellow); color: #fff; }
.circle { border-radius: 50%; background: var(--dark); color: #fff; width: 48px; height: 48px; font-size: 22px; margin-left: 7px; display: inline-grid; place-items: center; }
.circle:hover { background: var(--yellow); color: #111; }

/* ---------- Who we serve ---------- */
.audience { padding: 80px 0; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 43px; }
.audience-cover { display: block; height: 310px; position: relative; overflow: hidden; border-bottom: 4px solid transparent; }
.audience-cover.is-current { border-bottom-color: var(--yellow); }
.audience-cover::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(5,5,11,.81)); }
.audience-cover img { transition: transform .5s; }
.audience-cover:hover img { transform: scale(1.07); }
.audience-name { position: absolute; z-index: 2; bottom: 18px; left: 22px; right: 20px; font-size: 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.audience-name span { color: var(--yellow); }
.who-details { margin-top: 32px; background: var(--black); padding: 34px; }
.who-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.who-detail-heading .kicker { margin-bottom: 0; }
.category-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.category-tabs button { color: #fff; border: 1px solid #7f7f89; padding: 9px 13px; font-size: 12px; }
.category-tabs button[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: #121212; font-weight: 800; }
.who-panel h3 { font-size: 30px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 44px; margin-top: 23px; }
.detail-grid article { border-top: 1px solid #5a5a66; padding-top: 14px; }
.detail-grid h4 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.detail-grid p { font-size: 14px; color: #d1d1da; }
.muted-bottom { color: #d7d7dd; margin-top: 26px; }
.muted-bottom a { color: var(--yellow); }
.muted-bottom a:hover { text-decoration: underline; }

/* ---------- Business stages ---------- */
.challenges { padding: 93px 0; background: var(--black); color: #fff; }
.challenges .kicker { color: var(--yellow); }
.challenges .stage { background: var(--dark); color: #fff; }
.challenges .stage > span { color: #c4c4cd; }
.challenges h2 { max-width: 1000px; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 55px; }
.stage { background: #fff; padding: 32px 26px; border-top: 5px solid var(--yellow); min-height: 320px; display: flex; flex-direction: column; }
.stage > span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #6b6b76; }
.stage h3 { font-size: 22px; margin: 17px 0; }
.stage strong { font-size: 24px; }
.stage p { font-size: 14px; margin: 12px 0 22px; }
.stage a { font-size: 13px; font-weight: 800; margin-top: auto; }
.stage a:hover { text-decoration: underline; }

/* ---------- What we do and platforms ---------- */
.platform { padding: 100px 0; background: var(--soft); color: var(--ink); }
.platform .kicker { color: #6b6200; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
/* Columns may shrink below their content, so the moving logo line cannot stretch the section */
.platform-grid > * { min-width: 0; }
.platform-names { max-width: 100%; }
.platform-grid h2 { font-size: clamp(30px, 3vw, 48px); margin-bottom: 24px; }
.platform-grid > div > p { font-size: 17px; color: #4a4a55; }
.platform-side { background: #fff; padding: 38px; }
.platform-side h3 { font-size: 26px; }
.platform-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #6b6200; font-weight: 800; margin: 32px 0 12px; }
.platform-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; }
.platform-names .dup { display: none; }
@keyframes logo-run { to { transform: translateX(-50%); } }
.platform-names span { border: 1px solid #888; padding: 8px 12px; font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.platform-names b { font-weight: 400; }
/* Logos sit directly on the panel, with no tile behind them */
.platform-names .has-logo { background: none; border: 0; color: #282832; padding: 8px 0; min-width: 0; align-items: flex-start; }
.platform-names .has-logo img { width: 100%; height: 46px; object-fit: contain; object-position: left center; }
/* Compact logos (Gusto, ADP) are drawn smaller so they do not look bigger than the wide ones */
.platform-names .has-logo img[src*="gusto"], .platform-names .has-logo img[src*="adp"] { height: 32px; }
.platform-names .has-logo b { font-size: 12px; font-weight: 700; line-height: 1.2; }
.platform-side .fine { font-size: 12px; color: #5a5a64; margin-top: 26px; }

/* ---------- Services ---------- */
.services { background: var(--dark); padding: 95px 0 75px; }
.services-head { color: #fff; }
.services-head .kicker { color: var(--yellow); }
.services-head .lead { color: #dcdce4; }
.service-card { color: var(--ink); }
.services .service-card .minor { color: #65656b; }
.service-card .ticks { margin: 8px 0 0; }
.service-card .ticks li { padding-top: 3px; padding-bottom: 3px; }
.service-card .ticks li::before { top: 9px; }
.services-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.75fr); gap: 5%; align-items: start; }
/* The heading stays in view on the left while the cards scroll past on the right */
.services-head { position: sticky; top: 125px; }
.services-head h2 { font-size: clamp(30px, 2.9vw, 48px); }
.services-head .lead { font-size: 17px; }
.services-head .lead::after { content: ""; display: block; width: 56px; height: 4px; background: var(--yellow); margin-top: 26px; }
/* Each card pins under the header and the next card slides up over it.
   main.js lowers "top" for cards taller than the screen so their end is never hidden. */
.service-card { position: sticky; top: 112px; background: var(--soft); padding: 34px 40px 40px; margin-bottom: 26px; border-top: 5px solid var(--yellow); box-shadow: 0 -10px 30px rgba(0,0,0,.45); }
.service-card__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #6b6200; }
.service-card__top i { flex: 1; height: 1px; background: #c9c9d3; }
.service-card__top b { font-size: 15px; color: #6b6b76; }
.service-card__body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 44px; align-items: start; }
.service-card__text h3 { font-size: clamp(22px, 1.9vw, 30px); margin-bottom: 16px; }
.service-card__text p { font-size: 15px; }
.service-card__text p + p { margin-top: 12px; }
.service-card__text .btn { margin-top: 24px; }
.service-card__image { aspect-ratio: 1 / 1.05; overflow: hidden; }
.ticks { margin: 12px 0; }
.ticks li { position: relative; padding: 5px 0 5px 28px; font-size: 15px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 13px; height: 7px; border-left: 3px solid #17171c; border-bottom: 3px solid #17171c; transform: rotate(-45deg); }

/* ---------- What makes us different ---------- */
.why-us { position: relative; overflow: hidden; color: #fff; padding: 104px 0 118px; background: radial-gradient(ellipse 64% 48% at 94% 0%, rgba(255,230,0,.055), transparent 70%), linear-gradient(115deg, #1c1d28 0%, #252631 68%, #20212b 100%); }
/* Faint grid drawn over the background, fading out towards the bottom */
.why-us::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 96px 96px; -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%); mask-image: linear-gradient(to bottom, black, transparent 90%); }
.why-us__inner { position: relative; }
.why-us__top { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 62px; align-items: end; margin-bottom: 54px; }
.why-us__eyebrow { display: flex; align-items: center; gap: 14px; color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.why-us__eyebrow::before { content: ""; height: 3px; width: 34px; background: var(--yellow); }
.why-us h2 { font-size: clamp(38px, 4.55vw, 68px); font-weight: 600; letter-spacing: -2.1px; line-height: 1.13; margin: 22px 0 0; max-width: 820px; }
.why-us h2 span { color: var(--yellow); }
.why-us__intro { font-size: 17px; line-height: 1.85; color: #d1d2db; margin: 0 0 5px; padding-left: 23px; border-left: 2px solid var(--yellow); }
.why-us__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card { position: relative; min-height: 308px; padding: 32px 32px 29px; border: 1px solid rgba(255,255,255,.105); background: linear-gradient(145deg, rgba(255,255,255,.048), rgba(255,255,255,.015)); overflow: hidden; transition: transform .32s ease, border-color .32s ease, background .32s ease, box-shadow .32s ease; }
.why-card:hover, .why-card:focus-within { transform: translateY(-7px); background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)); border-color: rgba(255,230,0,.48); box-shadow: 0 26px 54px rgba(0,0,0,.22); }
.why-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--yellow); transition: width .35s ease; }
.why-card:hover::before { width: 100%; }
.why-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 29px; }
.why-card__icon { display: grid; place-items: center; width: 58px; height: 58px; background: rgba(255,230,0,.095); border: 1px solid rgba(255,230,0,.24); border-radius: 10px; color: var(--yellow); }
.why-card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card__num { font-size: 13px; letter-spacing: 2px; color: #8e909f; font-weight: 700; }
.why-card h3 { font-size: clamp(21px, 1.6vw, 25px); line-height: 1.31; letter-spacing: -.4px; font-weight: 600; margin: 0 0 15px; max-width: 340px; }
.why-card p { font-size: 15px; line-height: 1.8; color: #c8cad4; margin: 0; max-width: 380px; }
.why-card__corner { position: absolute; right: 28px; bottom: 26px; color: var(--yellow); font-size: 22px; font-weight: 300; opacity: 0; transform: translate(-7px, 7px); transition: opacity .3s, transform .3s; }
.why-card:hover .why-card__corner { opacity: 1; transform: none; }
.why-us__bottom { display: flex; align-items: center; gap: 24px; margin-top: 42px; }
.why-us__rule { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(255,230,0,.65), rgba(255,255,255,.07)); }
.why-us__note { font-size: 13px; color: #b4b5c1; letter-spacing: .3px; text-transform: uppercase; }
@media (max-width: 1080px) {
  .why-us { padding: 75px 0 90px; }
  .why-us__top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .why-us__intro { max-width: 760px; }
  .why-us__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why-us { padding: 65px 0 72px; }
  .why-us__top { margin-bottom: 32px; }
  .why-us__cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why-card { min-height: 258px; padding: 26px; }
  .why-card__head { margin-bottom: 24px; }
  .why-us h2 { letter-spacing: -1.2px; }
  .why-us__note { font-size: 12px; }
}

/* ---------- How we work ---------- */
.process { padding: 95px 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 45px; }
.process-grid article { background: #fff; padding: 34px; }
.process-num { color: #b1a000; font-size: 53px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.process-grid h3 { font-size: 23px; margin-bottom: 12px; }
.process-grid h4 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.process-grid p { font-size: 14px; }
.process .btn { margin-top: 22px; }

/* ---------- Packages ---------- */
.pricing { padding: 88px 0 100px; background: linear-gradient(180deg, #f4f4f9 0%, #ebecf4 100%); color: #292933; }
.pricing__intro { text-align: center; max-width: 960px; margin: 0 auto; }
.pricing__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2.1px; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 13px; color: #777328; }
.pricing__eyebrow::before, .pricing__eyebrow::after { content: ""; width: 32px; height: 2px; background: #dfc900; }
.pricing__intro h2 { font-size: clamp(31px, 3.5vw, 49px); line-height: 1.16; letter-spacing: -1.8px; font-weight: 600; margin: 22px 0 20px; }
.pricing__intro > p { font-size: 15px; line-height: 1.9; color: #626372; max-width: 850px; margin: 0 auto; }
/* Three tabs: Pricing (the four packages), Cleanup and Migration */
.pricing__tabs { display: flex; align-items: center; justify-content: center; gap: 42px; margin: 44px auto 46px; border-bottom: 1px solid #d0d1da; width: max-content; max-width: 100%; }
.pricing__tab { position: relative; padding: 14px 8px 18px; color: #777986; font-size: 15px; font-weight: 600; transition: color .2s; }
.pricing__tab::after { content: ""; height: 3px; background: #33333e; position: absolute; bottom: -2px; left: 0; right: 0; transform: scaleX(0); transition: transform .25s; }
.pricing__tab:hover, .pricing__tab[aria-selected="true"] { color: #252530; }
.pricing__tab[aria-selected="true"]::after { transform: scaleX(1); }
.pricing__panel { animation: pricing-enter .28s ease; }
.pricing__panel[hidden] { display: none; }
@keyframes pricing-enter { from { opacity: .4; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.pricing__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { min-height: 424px; background: #fff; border: 1px solid #dfe0e7; border-radius: 7px; padding: 29px 27px 24px; display: flex; flex-direction: column; position: relative; transition: transform .25s ease, box-shadow .25s, border-color .25s; overflow: hidden; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(29,29,45,.11); border-color: #aaaab5; }
.plan__brand { font-size: 10px; font-weight: 800; color: #858694; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 30px; }
.plan h3 { font-size: 25px; letter-spacing: -.8px; font-weight: 600; margin: 0 0 26px; }
.plan__from { font-size: 11px; color: #777887; margin: 0 0 5px; }
.plan__price { font-size: 24px; letter-spacing: -.6px; font-weight: 700; white-space: nowrap; margin: 0 0 27px; }
.plan__price small { font-size: 13px; color: #666773; font-weight: 500; }
.plan__text { font-size: 13px; line-height: 1.75; color: #484a59; margin: 0 0 30px; }
.plan__text strong { color: #292933; }
.plan__choose { border: 1px solid #33343f; background: #fff; color: #242530; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; margin-top: auto; transition: background .2s, color .2s; }
.plan__choose:hover, .plan__choose:focus-visible { background: #2e2e38; color: #fff; }
.plan__arrow { font-size: 20px; font-weight: 400; line-height: 1; }
.pricing__fine { font-size: 11.5px; line-height: 1.8; color: #777887; margin: 24px 0 0; }
.pricing__actions { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 31px; flex-wrap: wrap; }
.pricing__action { background: #2e2e38; color: #fff; border: 1px solid #2e2e38; display: inline-flex; justify-content: center; align-items: center; gap: 25px; min-height: 51px; padding: 0 23px; font-size: 13px; font-weight: 600; transition: all .2s; }
.pricing__action:hover { background: #16161c; }
.pricing__action--outline { background: transparent; color: #2e2e38; }
.pricing__action--outline:hover { background: #fff; }
/* Cleanup and Migration: a white description card beside a dark "how it is priced" card */
.pricing__info { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; }
.info-card { background: #fff; border: 1px solid #dee0e8; border-radius: 8px; padding: 37px 40px; box-shadow: 0 8px 30px rgba(20,20,35,.035); }
.info-card__tag { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; color: #7b7410; }
.info-card h3 { font-size: 27px; letter-spacing: -.7px; line-height: 1.2; font-weight: 700; margin: 18px 0 20px; }
.info-card p { color: #626372; font-size: 14px; line-height: 1.9; }
.info-card ul { padding: 0; list-style: none; margin: 24px 0 0; }
.info-card li { display: flex; align-items: flex-start; gap: 11px; padding: 13px 0; border-bottom: 1px solid #ececf0; font-size: 13px; line-height: 1.6; }
.info-card li::before { content: "\2713"; color: #625a00; background: #fff7b0; flex: none; font-weight: 800; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; }
.info-card li:last-child { border: 0; }
.info-card--note { background: #32323e; color: #fff; border: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.info-card--note p { color: #d4d4df; margin-top: 18px; }
.info-card--note .pricing__action { background: #fff; color: #20202b; border-color: #fff; align-self: flex-start; }
.info-card--note .pricing__action:hover { background: var(--yellow); border-color: var(--yellow); }
.info-card__label { font-size: 12px; letter-spacing: 1.3px; color: #b6b6c1; text-transform: uppercase; margin-bottom: 14px; }
.info-card__title { font-size: 37px; font-weight: 600; line-height: 1.16; letter-spacing: -1.3px; }
.info-card__title em { font-style: normal; color: var(--yellow); }
@media (max-width: 1080px) {
  .pricing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { min-height: 385px; }
  .pricing__intro h2 { font-size: 38px; }
}
@media (max-width: 680px) {
  .pricing { padding: 60px 0 75px; }
  .pricing__intro h2 { font-size: 31px; letter-spacing: -1px; }
  .pricing__intro > p { font-size: 13px; }
  .pricing__tabs { gap: 20px; margin: 32px auto 30px; }
  .pricing__tab { font-size: 13px; padding: 12px 4px 15px; }
  .pricing__grid, .pricing__info { grid-template-columns: minmax(0, 1fr); }
  .pricing__grid { gap: 14px; }
  .plan { min-height: 340px; }
  .info-card { padding: 29px 25px; }
  .info-card__title { font-size: 29px; }
  .pricing__actions { flex-direction: column; }
  .pricing__action { width: 100%; }
  .info-card--note .pricing__action { align-self: stretch; }
  .pricing__eyebrow { font-size: 10px; }
}

/* ---------- Guides ---------- */
.insights { padding: 94px 0; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 42px 0; }
.insight-card { background: var(--black); color: #fff; border-top: 5px solid var(--yellow); display: block; }
.insight-card__image { height: 280px; overflow: hidden; }
.insight-card__image img { transition: transform .5s; }
.insight-card:hover img { transform: scale(1.04); }
.insight-card__body { padding: 24px; }
.insight-card__body span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--yellow); }
.insight-card h3 { font-size: 25px; margin: 15px 0; }
.insight-card p { font-size: 14px; margin-bottom: 14px; color: #dcdce4; }
.insight-card b { font-size: 14px; }
.insight-card:hover b { text-decoration: underline; }

/* ---------- Questions ---------- */
.faq { background: #fff; padding: 100px 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 9%; }
.faq-layout .lead { font-size: 18px; }
.faq-items details { border-top: 1px solid #b8b8c1; }
.faq-items details:last-child { border-bottom: 1px solid #b8b8c1; }
.faq-items summary { cursor: pointer; display: flex; justify-content: space-between; gap: 15px; padding: 20px 0; font-weight: 700; list-style: none; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary span { font-size: 25px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-items details[open] summary span { transform: rotate(45deg); }
.faq-items details p { padding: 0 20px 20px 0; color: #50505b; font-size: 14px; }

/* ---------- Book a call ---------- */
.contact-intro { padding: 105px 0; }
.contact-layout { display: grid; grid-template-columns: 1.05fr .8fr; gap: 9%; }
.contact-layout .lead { font-size: 18px; }
.contact-steps { margin-top: 43px; }
.contact-steps > div { border-top: 1px solid #60606b; padding: 19px 0; }
.contact-steps > div > span { color: var(--yellow); font-weight: 800; }
.contact-steps h3 { font-size: 22px; margin: 8px 0; }
.contact-steps p { font-size: 14px; color: #ddd; }
.contact-form-wrap { background: var(--black); padding: 37px; align-self: start; }
.contact-form-wrap h3 { font-size: 29px; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 14px; }
.contact-form-wrap label { display: block; font-size: 12px; font-weight: 700; margin-top: 15px; }
.contact-form-wrap input, .contact-form-wrap textarea, .contact-form-wrap select { display: block; width: 100%; background: #30303b; border: 1px solid #6c6c7a; color: #fff; padding: 13px 12px; margin-top: 6px; border-radius: 0; font-size: 14px; }
.contact-form-wrap input::placeholder, .contact-form-wrap textarea::placeholder { color: #a9a9b5; }
.contact-form-wrap textarea { min-height: 95px; resize: vertical; }
.contact-form-wrap .btn { margin-top: 20px; width: 100%; }
.form-note { font-size: 12px; color: #aaa; margin-top: 12px; }

/* ---------- Discover more ---------- */
.discover { background: var(--black); color: #fff; padding: 110px 0; }
.discover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14%; }
.discover h2 { font-size: 43px; margin-bottom: 20px; }
.discover h3 { font-size: 19px; margin-bottom: 14px; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links a { font-size: 13px; border: 1px solid #888; padding: 4px 10px; }
.quick-links a:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Footer ---------- */
/* Dark footer: brand and booking button on the left, four link columns, legal line underneath */
.site-footer { background: var(--dark); color: #fff; border-top: 4px solid var(--yellow); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 48px 40px; padding-bottom: 60px; }
.footer-brand .mark { font-size: 30px; }
.footer-brand p { color: #d1d1da; font-size: 15px; line-height: 1.7; max-width: 34ch; margin: 22px 0 26px; }
.footer-brand small { display: block; font-size: 12px; color: #a9a9b5; margin-top: 12px; }
.footer-col h3 { font-size: 13px; font-weight: 800; letter-spacing: 1.15px; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-col li + li { margin-top: 11px; }
.footer-col a { font-size: 14px; color: #e4e4ea; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #55555f; padding: 22px 0 26px; font-size: 13px; color: #a9a9b5; }
.footer-bottom p { line-height: 1.6; }
.footer-bottom a { color: #fff; font-weight: 700; white-space: nowrap; }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--dark); color: #fff; padding: 80px 0 56px; }
.page-hero h1 { font-size: 46px; font-weight: 400; line-height: 1.15; color: var(--yellow); }
.entry { max-width: 780px; padding: 64px 0 96px; font-size: 18px; line-height: 1.7; }
.entry > * + * { margin-top: 1.2em; }
.entry h2 { font-size: 30px; margin-top: 1.6em; }
.entry a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.entry ul { list-style: disc; padding-left: 1.2em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-list { padding: 64px 0 96px; }
.card { position: relative; background: var(--soft); border-top: 5px solid var(--yellow); }
.card__media { height: 260px; overflow: hidden; }
.card__body { padding: 24px; }
.card h3 { font-size: 24px; margin-bottom: 14px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: 14px; }
.card__meta { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- Centred section headings ----------
   Label, heading and intro line are centred for: business challenges, services,
   what makes us different, how we work, packages, guides and questions. */
.challenges .wrap > .kicker, .challenges .wrap > h2, .challenges .wrap > .lead,
.audience .section-heading,
.process .wrap > .kicker, .process .wrap > h2,
.insights .wrap > .kicker, .insights .wrap > h2, .insights .wrap > .lead,
.faq-layout > div:first-child { text-align: center; }
.audience .section-heading h2, .audience .section-heading .lead,
.challenges .wrap > h2, .challenges .wrap > .lead,
.insights .wrap > .lead,
.faq-layout .lead { margin-left: auto; margin-right: auto; }
.faq-layout { grid-template-columns: 1fr; gap: 44px; }
.faq-items { width: 100%; max-width: 1000px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { height: 78px; padding: 0 15px; gap: 16px; }
  .main-nav button { padding: 0 9px; font-size: 13px; }
  .tools { gap: 12px; }
  .tools .txt { display: none; }
  .tools__cta { font-size: 12px; padding: 10px; }
  .audience-grid, .stages { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .platform-grid { gap: 5%; }
  .service-card__body { grid-template-columns: minmax(0, 1fr) 190px; gap: 30px; }
  .service-card { padding: 28px 28px 32px; }
}
/* Tablets and phones: the menu moves behind the menu button */
@media (max-width: 900px) {
  /* Services: heading on top (centred, no longer pinned), cards below still stack on scroll */
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .services-head { position: static; text-align: center; }
  .services-head .lead::after { margin-left: auto; margin-right: auto; }
  .services { padding: 70px 0 50px; }
  .site-header, .site-header.slim { height: 72px; }
  .nav-toggle { display: block; order: 3; flex-shrink: 0; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); flex-direction: column; align-self: auto; padding: 10px 0; max-height: calc(100vh - 72px); overflow-y: auto; }
  .main-nav.show { display: flex; }
  .main-nav button { min-height: 50px; height: auto; text-align: left; padding: 0 24px; font-size: 15px; border-bottom: 0; }
  .mega { grid-template-columns: 1fr; gap: 23px; padding: 24px 7% 52px; max-height: calc(100vh - 72px); }
  .mega__intro p { max-width: none; }
  .mega__feature { border-top: 1px solid #555; padding-top: 20px; }
  .mega__image { height: 200px; }
  .contact-layout, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .insight-grid, .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mega__image { height: 170px; }
  .mark { font-size: 22px; }
  .hero-tabs button { white-space: nowrap; }
  .hero-buttons { display: flex; flex-shrink: 0; }
  .wrap { padding-left: 6%; padding-right: 6%; }
  .lead { font-size: 17px; }
  /* On phones the hero is only as tall as the slide being shown, so short slides leave no empty space */
  .hero { display: block; min-height: 0; }
  .hero-slide { display: none; min-height: 440px; padding: 48px 6% 120px; }
  .hero-slide.active { display: flex; animation: hero-in .5s ease; }
  .hero-slide::after { background: rgba(10,10,15,.8); }
  .hero-text h1, .hero-text h2 { font-size: 30px; }
  .hero-text p { font-size: 15px; }
  .actions { flex-direction: column; align-items: flex-start; }
  .hero-controls { left: 6%; right: 6%; bottom: 24px; }
  .hero-tabs { gap: 17px; }
  .hero-tabs button { font-size: 14px; min-width: 0; }
  .circle { width: 37px; height: 37px; font-size: 17px; margin-left: 4px; }
  .stages, .platform-grid, .process-grid, .insight-grid, .faq-layout, .contact-layout, .discover-grid, .cards { grid-template-columns: 1fr; }
  .platform-grid, .faq-layout, .contact-layout, .discover-grid { gap: 36px; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .audience-cover { height: 230px; }
  .audience-name { font-size: 16px; left: 13px; right: 12px; }
  .who-details { padding: 20px; }
  .who-detail-heading { display: block; }
  .category-tabs { margin-top: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; }
  .platform-side { padding: 24px; }
  /* The "What we do" label, heading and intro are centred on phones */
  .platform-grid > div:first-child { text-align: center; }
  .platform-grid h2 { font-size: 26px; }
  /* Each group of logos is one line that moves sideways by itself, without stopping */
  .platform-names { overflow: hidden; }
  .platform-track { display: flex; flex-wrap: nowrap; gap: 0; width: max-content; animation: logo-run 32s linear infinite; }
  .platform-names .dup { display: flex; }
  /* The middle group (Construction) runs the other way, left to right */
  .platform-names:nth-of-type(4) .platform-track { animation-direction: reverse; }
  .platform-names .has-logo { flex: 0 0 140px; margin-right: 34px; }
  .platform-names .has-logo img { height: 38px; }
  .platform-names .has-logo img[src*="gusto"], .platform-names .has-logo img[src*="adp"] { height: 27px; }
  .platform-side h3 { text-align: center; font-size: 21px; }
  .service-card { padding: 22px 20px 26px; top: 88px; }
  .service-card__body { grid-template-columns: 1fr; gap: 20px; }
  .service-card__image { order: -1; aspect-ratio: 16 / 8; }
  .service-card__top { margin-bottom: 18px; }
  .contact-form-wrap { padding: 25px; }
  .discover { padding: 70px 0; }
  .discover h2 { font-size: 32px; }
  .site-footer { padding-top: 52px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 44px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .overlay { padding: 130px 6%; }
  .overlay input { font-size: 18px; }
  .overlay .close { right: 16px; }
  .page-hero h1 { font-size: 32px; }
}
/* Small phones */
@media (max-width: 520px) {
  .tools__cta { display: none; }
  #hero-prev, #hero-next { display: none; }
  .hero-tabs { gap: 14px; }
  .hero-tabs button { font-size: 13px; }
  .audience-cover { height: 180px; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { gap: 16px; }
  h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* With motion switched off on the device, the logo line is swiped by hand instead */
  .platform-names { overflow-x: auto; }
  .platform-names .dup { display: none; }
}
