/* ==========================================================================
   Klinsheet – site styles
   Brand: Klinsheet orange on warm charcoal. Font: Plus Jakarta Sans.
   ========================================================================== */

:root {
  --orange: #F26A1B;
  --orange-600: #D4570D;
  --orange-700: #B04609;
  --orange-50: #FFF4EC;
  --orange-100: #FFE4D1;
  --green: #5E9B2E;
  --blue: #1B7DA6;

  --ink: #1B1512;
  --ink-2: #3B332E;
  --muted: #6B615A;
  --line: #ECE5DF;
  --bg: #FFFFFF;
  --cream: #FBF7F3;
  --dark: #120E0C;
  --dark-2: #1D1714;
  --dark-line: rgba(255, 255, 255, .1);
  --on-dark: #F5EFEA;
  --on-dark-muted: #B9AEA6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(27, 21, 18, .06), 0 2px 8px rgba(27, 21, 18, .04);
  --shadow: 0 12px 32px -12px rgba(27, 21, 18, .18);
  --shadow-lg: 0 30px 60px -20px rgba(27, 21, 18, .28);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.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: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(242, 106, 27, .7); }
.btn-primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--orange-600); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-dark { color: var(--orange); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { margin-bottom: .4em; }
.section-lead { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Header ---------- */
/* The frosted blur lives on ::before, NOT on the header itself: a backdrop-filter on the header
   would become the containing block for the fixed mobile menu and trap it inside the 72px bar. */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
body.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .3); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { width: 140px; }
.site-nav { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: space-between; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font-weight: 600; font-size: .93rem; color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-current { color: var(--orange-600); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s; }
.menu-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav-toggle { display: none; }

.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 90vw); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.mega-sm { width: 340px; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink-2); }
.mega-item:hover { background: var(--cream); color: var(--ink-2); }
.mega-item strong { display: block; color: var(--ink); font-size: .93rem; }
.mega-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.mega-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--orange-50); color: var(--orange-600); }
.mega-all { background: var(--cream); }

@media (max-width: 1079px) {
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--header-h)); z-index: 999; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .mega, .mega-sm {
    position: static; transform: none; width: auto; padding: 0 0 12px; border: 0; box-shadow: none;
    display: none; opacity: 1; visibility: visible;
  }
  .has-menu.is-open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item small { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin: 20px 0 0; gap: 10px; }
  .nav-actions .btn { width: 100%; }
  .nav-actions .btn-ghost { border-color: var(--line); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-600); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.breadcrumbs.on-dark, .breadcrumbs.on-dark a { color: var(--on-dark-muted); }
.breadcrumbs.on-dark [aria-current] { color: #fff; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: 0; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(242, 106, 27, .55), rgba(242, 106, 27, .12) 55%, transparent 75%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 24px; min-height: min(760px, calc(100svh - var(--header-h))); }
.hero-copy { padding-block: 64px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border: 1px solid var(--dark-line); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font-size: .85rem; font-weight: 600; color: var(--on-dark);
}
.hero-badge span { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { display: block; color: var(--orange); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark-muted); max-width: 560px; margin-bottom: 32px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: .92rem; color: var(--on-dark); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--orange); }

.hero-media { position: relative; align-self: end; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.hero-media img.hero-person {
  width: 100%; max-width: 520px; max-height: min(740px, calc(100svh - var(--header-h) - 20px)); object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 14%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent 0%, #000 14%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg); font-size: .82rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: .88rem; }
.float-chip small { color: var(--muted); }
.float-chip .chip-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E9F5E1; color: var(--green); }
.float-chip .chip-icon.orange { background: var(--orange-50); color: var(--orange-600); }
.chip-1 { top: 22%; right: 0; }
.chip-2 { bottom: 16%; left: -2%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 899px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-block: 48px 8px; }
  .hero-media { max-width: 440px; margin-inline: auto; }
  .hero::before { right: -30%; top: 35%; width: 130%; height: 80%; }
  .chip-1 { right: -4px; }
  .chip-2 { left: -4px; }
}
@media (max-width: 479px) {
  .hero .btn-row .btn { width: 100%; }
  .float-chip { font-size: .75rem; padding: 8px 10px; }
  .float-chip .chip-icon { width: 28px; height: 28px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--cream); padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 88px); }
.page-hero::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 106, 27, .16), transparent);
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.page-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.page-hero-media img { border-radius: var(--radius-lg); }
.page-hero.simple .page-hero-grid { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 899px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Clients marquee ---------- */
.clients { padding-block: 40px; border-bottom: 1px solid var(--line); background: #fff; }
.clients-title { text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { list-style: none; display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 40px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-card { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--orange-50), #fff); padding: clamp(16px, 3vw, 32px); }
.media-card.dark { background: radial-gradient(circle at 70% 30%, rgba(242,106,27,.35), transparent 60%), var(--dark); }
.tick-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--orange-50); color: var(--orange-600); margin-top: 2px; }
.tick-list.on-dark li { color: var(--on-dark); }
.tick-list.on-dark .icon { background: rgba(242, 106, 27, .18); color: var(--orange); }
.tick-list.cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 599px) { .tick-list.cols { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink-2); }
.service-card h3, .service-card h2 { font-size: 1.15rem; margin: 18px 0 8px; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); transition: background .25s, color .25s; }
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--orange); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--orange-600); }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .card-link .icon { transform: translateX(4px); }

.services-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.services-layout .sticky-media { position: sticky; top: calc(var(--header-h) + 24px); }
.services-layout .service-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 999px) { .services-layout { grid-template-columns: 1fr; } .services-layout .sticky-media { position: static; } }
@media (max-width: 599px) { .services-layout .service-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.step-media { background: var(--dark); aspect-ratio: 685 / 452; }
.step-media img { width: 100%; height: 100%; object-fit: cover; }
.step-body { padding: 22px; }
.step-num { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 10px; }
.step-num .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--orange-50); }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
.steps-section { background: var(--cream); }
@media (max-width: 1079px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }

/* ---------- App band ---------- */
.app-band { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding-block: clamp(64px, 8vw, 100px); isolation: isolate; }
.app-band::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(242,106,27,.42), transparent); }
.app-band-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.app-band h2 { color: #fff; }
.app-band p { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 560px; }
.app-band-media img { margin-inline: auto; max-width: 520px; width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); }
@media (max-width: 899px) { .app-band-inner { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat-num em { font-style: normal; color: var(--orange); }
.stat p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 799px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Feature / value cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .f-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 16px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.section-cream .feature { background: #fff; }
.feature-grid.on-dark .feature { background: var(--dark-2); border-color: var(--dark-line); }
.feature-grid.on-dark h3 { color: #fff; }
.feature-grid.on-dark p { color: var(--on-dark-muted); }

/* Verification checklist (service pages) */
.verify-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.verify-item { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.verify-item .icon { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: #E9F5E1; color: var(--green); margin-top: 2px; }
.verify-item h3 { font-size: 1rem; margin-bottom: 4px; }
.verify-item p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- HR solution cards ---------- */
.hr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hr-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); transition: transform .25s, box-shadow .25s; }
.hr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink-2); }
.hr-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hr-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.hr-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
@media (max-width: 899px) { .hr-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 220 / 330; }
.industry img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.industry:hover img { transform: scale(1.05); }
.industry figcaption { position: absolute; inset: auto 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(18,14,12,.85)); color: #fff; font-weight: 700; font-size: .95rem; }
@media (max-width: 999px) {
  .industries { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .industry { scroll-snap-align: start; }
}
@media (max-width: 599px) { .industries { grid-auto-columns: 62%; } }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial .icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 20px; flex: 1; color: var(--ink-2); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange-100); color: var(--orange-700); font-weight: 800; }
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption span { color: var(--muted); }
@media (max-width: 899px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight { display: flex; flex-direction: column; text-decoration: none; color: var(--ink-2); }
.insight img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; margin-bottom: 18px; transition: transform .3s; }
.insight:hover img { transform: translateY(-4px); }
.insight h3 { font-size: 1.12rem; }
.insight:hover h3 { color: var(--orange-600); }
.insight p { color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .insights { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .insight img { aspect-ratio: 16 / 9; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 899px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.help-card { margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark); }
.help-card h3 { color: #fff; }
.help-card p { color: var(--on-dark-muted); font-size: .95rem; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: var(--orange-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .faq summary h2 { font-size: 1.03rem; margin: 0; letter-spacing: -.005em; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--orange-50); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--orange-600); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
@media (max-width: 899px) { .faq-aside { position: static; } }

/* ---------- Prose (long-form SEO content) ---------- */
.prose { max-width: 760px; font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.callout { padding: 22px 24px; border-radius: var(--radius); border-left: 4px solid var(--orange); background: var(--orange-50); margin: 28px 0; }
.callout p:last-child { margin: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark); }
.side-card h2, .side-card h3 { color: #fff; font-size: 1.2rem; }
.side-card p { color: var(--on-dark-muted); font-size: .95rem; }
.side-card .btn { width: 100%; }
.side-links { list-style: none; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--dark-line); display: grid; gap: 8px; }
.side-links a { color: var(--on-dark); text-decoration: none; font-size: .93rem; display: flex; align-items: center; gap: 8px; }
.side-links a:hover { color: var(--orange); }
.side-links .icon { width: 16px; height: 16px; color: var(--orange); }
@media (max-width: 999px) { .content-grid { grid-template-columns: 1fr; } .side-card { position: static; } }

/* ---------- Turnaround strip ---------- */
.info-strip { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-strip .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); }
.info-strip h3 { margin-bottom: 4px; }
.info-strip p { margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,106,27,.15); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-success { background: #E9F5E1; color: #2F5E12; }
.alert-error { background: #FDECEA; color: #8A1C12; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-card .icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); }
.contact-card h2, .contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { font-weight: 600; }

/* ---------- Mission ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--dark-2); border: 1px solid var(--dark-line); }
.mv-card h3 { color: #fff; font-size: 1.4rem; }
.mv-card .tag { color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.mv-card p { color: var(--on-dark-muted); }
@media (max-width: 799px) { .mv-grid { grid-template-columns: 1fr; } }
.dark-section { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.dark-section::before { content: ""; position: absolute; z-index: -1; left: -15%; bottom: -40%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(242,106,27,.28), transparent); }
.dark-section h2 { color: #fff; }
.dark-section .section-lead { color: var(--on-dark-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-top: 56px; font-size: .94rem; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--orange), #E2540A); margin-bottom: 56px; }
.footer-cta-title { margin: 0; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.footer-cta-sub { margin: 4px 0 0; color: rgba(255,255,255,.88); font-weight: 600; }
.footer-cta .btn-primary { background: var(--dark); box-shadow: none; }
.footer-cta .btn-primary:hover { background: #000; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 999px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { width: 150px; margin-bottom: 18px; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a, .footer-contact a, .footer-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--orange); }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--dark-line); color: var(--on-dark); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--dark-line); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom .icon { width: 14px; height: 14px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Overflow guards ---------- */
.split > *, .content-grid > *, .faq-layout > *, .services-layout > *, .page-hero-grid > *, .hero-inner > * { min-width: 0; }
@media (max-width: 599px) { .btn { white-space: normal; text-align: center; } }
.service-card.service-card-cta { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.service-card.service-card-cta h3, .service-card.service-card-cta h2 { color: #fff; }
.service-card.service-card-cta p { color: var(--on-dark-muted); }
.service-card.service-card-cta .service-icon { background: var(--orange); color: #fff; }
.service-card.service-card-cta .card-link { color: var(--orange); }
.service-card.service-card-cta:hover { color: var(--on-dark); }

/* ---------- Request a check page ---------- */
.request-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.request-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.request-grid > * { min-width: 0; }
.request-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.request-intro h1 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 999px) { .request-grid { grid-template-columns: 1fr; } .request-intro { position: static; } .mini-steps { display: none; } }
.mini-steps { list-style: none; display: grid; gap: 18px; margin: 8px 0 28px; }
.mini-steps li { display: flex; gap: 14px; }
.mini-num { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: .9rem; }
.mini-steps strong { color: var(--ink); }
.mini-steps p { margin: 2px 0 0; color: var(--muted); font-size: .94rem; }
.request-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .93rem; }
.request-contact p { margin: 0; width: 100%; color: var(--muted); }
.request-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
.request-contact a:hover { color: var(--orange-600); }
.request-contact .icon { width: 18px; height: 18px; color: var(--orange); }

.request-card { scroll-margin-top: calc(var(--header-h) + 16px); }
.form-title { font-size: 1.5rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 12px; font-weight: 800; color: var(--ink); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 479px) { .check-grid { grid-template-columns: 1fr; } }
.check-tile { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.check-tile:hover { border-color: var(--orange-100); }
.check-tile input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1.5px solid #CFC5BD; border-radius: 6px; background: #fff; color: transparent; transition: background .15s, border-color .15s; }
.check-box .icon { width: 14px; height: 14px; stroke-width: 3; }
.check-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.check-label .icon { width: 18px; height: 18px; color: var(--orange-600); }
.check-tile:has(input:checked) { border-color: var(--orange); background: var(--orange-50); }
.check-tile input:checked + .check-box { background: var(--orange); border-color: var(--orange); color: #fff; }
.check-tile input:focus-visible + .check-box { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-error { color: #B42318; font-size: .88rem; font-weight: 600; margin: 8px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin-bottom: 20px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.btn-block { width: 100%; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success h2 { font-size: 1.6rem; }
.form-success p { color: var(--muted); max-width: 460px; margin-inline: auto; }
.success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E9F5E1; color: var(--green); margin-bottom: 16px; }
.success-icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }

@media (max-width: 999px) { .request-hero .mini-steps { display: none; } }

/* ---------- Multi-state picker ---------- */
.field-label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field-label small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.state-picker { position: relative; }
.state-toggle {
  display: none; width: 100%; min-height: 48px; padding: 12px 14px; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; text-align: left; cursor: pointer;
}
.state-toggle [data-state-summary] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.state-toggle.is-empty [data-state-summary] { color: #8A8079; }
.state-toggle .chev { width: 18px; height: 18px; transition: transform .2s; }
.state-toggle[aria-expanded="true"] { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,106,27,.15); }
.state-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.state-panel { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.js .state-toggle { display: flex; }
.js .state-panel { display: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); box-shadow: var(--shadow-lg); }
.js .state-picker.is-open .state-panel { display: block; }
.state-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.state-search .icon { width: 18px; height: 18px; color: var(--muted); }
.state-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; min-height: 32px; background: transparent; }
.state-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-height: 260px; overflow-y: auto; padding: 8px; overscroll-behavior: contain; }
@media (max-width: 599px) { .state-list { grid-template-columns: 1fr 1fr; } }
.state-opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: .92rem; cursor: pointer; }
.state-opt:hover { background: var(--cream); }
.state-opt input { width: 17px; height: 17px; accent-color: var(--orange); flex: none; }
.state-opt:has(input:checked) { background: var(--orange-50); font-weight: 600; color: var(--ink); }
.state-opt-all { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 4px; font-weight: 600; }
.state-empty { grid-column: 1 / -1; margin: 8px; color: var(--muted); font-size: .9rem; }
.state-foot { display: none; justify-content: space-between; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.js .state-foot { display: flex; }
.state-foot .btn { min-height: 38px; padding: 6px 18px; }
.link-btn { background: none; border: 0; padding: 6px 4px; color: var(--muted); font-weight: 600; cursor: pointer; }
.link-btn:hover { color: var(--orange-600); }
.state-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.state-chips:empty { display: none; }
.state-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--orange-50); border: 1px solid var(--orange-100); color: var(--ink); font-size: .85rem; font-weight: 600; }
.state-chip button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--orange-700); cursor: pointer; }
.state-chip button:hover { background: var(--orange-100); }
.state-chip .icon { width: 14px; height: 14px; }
.state-anchor { position: relative; }
.state-picker { position: static; }
.field .state-opt input { width: 17px; height: 17px; min-height: 0; padding: 0; border: 0; border-radius: 4px; box-shadow: none; }
.field .state-search input { width: auto; min-height: 32px; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.field .state-search input:focus { box-shadow: none; }
.state-search:focus-within { background: var(--cream); }
