/* =========================================================
   Harvest MSP - site styles
   Edit the variables below to change brand colors site-wide.
   ========================================================= */
:root {
  --ink: #0d1722;          /* darkest navy - hero / footer */
  --navy: #14263a;         /* panels on dark */
  --navy-2: #1c3550;
  --gold: #e0a33a;         /* harvest gold accent */
  --gold-dark: #b97f1c;
  --gold-soft: #fbf3e4;
  --text: #1d2733;
  --muted: #5a6777;
  --bg: #f3f6f9;           /* cool light slate - main page background */
  --surface: #e8eef4;      /* slightly deeper slate - alternating sections */
  --border: #dde4ec;
  /* Faint circuit-board texture (navy lines + nodes), tiles seamlessly */
  --on-dark: #e9eef4;
  --on-dark-muted: #a9b6c6;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(13, 23, 34, .06), 0 8px 24px rgba(13, 23, 34, .06);
  --container: 1160px;
  /* Headings: Plus Jakarta Sans. Body: Source Sans 3. Cards keep Inter. */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-card: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.btn, .site-nav a, .site-nav button, .eyebrow, .stat strong, .svc-table thead th, .post-meta { font-family: var(--font-head); }
.stat strong { font-weight: 700 !important; }
/* Cards keep their original Inter typography */
.card, .card h3, .card .more { font-family: var(--font-card); }
.card h3 { font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
/* When text does wrap, avoid leaving one or two words alone on the last line */
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 10px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #ebb556; color: var(--ink); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 23, 34, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 112px; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-contact { display: flex; align-items: center; gap: 22px; }
.header-contact a {
  display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); text-decoration: none;
  font-family: var(--font-head); font-size: .95rem; font-weight: 600; letter-spacing: .01em;
}
.header-contact a:hover { color: var(--gold); }
.header-contact svg {
  width: 30px; height: 30px; padding: 7px; flex: none; color: var(--gold);
  border: 1px solid rgba(224,163,58,.45); border-radius: 50%; background: rgba(224,163,58,.08);
}
.header-contact a + a { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.2rem; font-weight: 500; letter-spacing: .01em; }
.brand strong { font-weight: 800; color: var(--gold); }
.brand:hover { color: #fff; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-logo { height: 72px; width: auto; flex: none; }
.site-footer .brand-logo { height: 52px; }
@media (max-width: 600px) { .site-header .brand-logo { height: 50px; } }

/* ---------- Animated header logo ----------
   Built from crops of logo-dark.png, so it looks identical to the image when still.
   On page load: tile spins in, letters rise, MSP slides in, then a light sweep.
   Hover plays the sweep again (see main.js). Reduced-motion users see it still. */
.logo-anim { --k: .6857; display: block; position: relative; flex: none; width: calc(351px * var(--k)); height: calc(105px * var(--k)); }
@media (max-width: 600px) { .logo-anim { --k: .4762; } }
.la-inner { position: absolute; left: 0; top: 0; width: 351px; height: 105px; transform: scale(var(--k)); transform-origin: 0 0; }
.la-pc { position: absolute; background: url(../img/logo-dark.png) no-repeat; }
.la-tile { left: 0; top: 0; width: 104px; height: 105px; background-position: 0 0; transform-origin: 52px 53px; }
.la-L { top: 0; height: 70px; }
.la-L1 { left: 112px; width: 46px; background-position: -112px 0; }
.la-L2 { left: 158px; width: 38px; background-position: -158px 0; }
.la-L3 { left: 196px; width: 23px; background-position: -196px 0; }
.la-L4 { left: 219px; width: 34px; background-position: -219px 0; }
.la-L5 { left: 253px; width: 33px; background-position: -253px 0; }
.la-L6 { left: 286px; width: 27px; background-position: -286px 0; }
.la-L7 { left: 313px; width: 32px; background-position: -313px 0; }
.la-msp { left: 112px; top: 70px; width: 90px; height: 35px; background-position: -112px -70px; }
.la-flash { position: absolute; left: 52px; top: 53px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255,236,170,.9), rgba(224,163,58,0) 70%); }
.la-shine { position: absolute; top: 0; height: 105px; pointer-events: none; background-size: 300% 100%; background-position: 120% 0; background-repeat: no-repeat; }
.la-s-tile { left: 0; width: 104px; mix-blend-mode: overlay;
  -webkit-mask: url(../img/logo-dark.png) no-repeat 0 0 / 351px 105px; mask: url(../img/logo-dark.png) no-repeat 0 0 / 351px 105px;
  background-image: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 43%, #fff 50%, rgba(255,255,255,.35) 57%, transparent 65%); }
.la-s-text { left: 112px; width: 233px;
  -webkit-mask: url(../img/logo-dark.png) no-repeat -112px 0 / 351px 105px; mask: url(../img/logo-dark.png) no-repeat -112px 0 / 351px 105px;
  background-image: linear-gradient(110deg, transparent 38%, rgba(224,163,58,.35) 45%, #f0be5a 50%, rgba(224,163,58,.35) 55%, transparent 62%); }

.logo-anim .la-tile { animation: la-tile-in .9s cubic-bezier(.2,.9,.25,1.25) both; }
.logo-anim .la-L { animation: la-letter-in .55s cubic-bezier(.2,.8,.3,1) both; }
.logo-anim .la-L1 { animation-delay: .45s; } .logo-anim .la-L2 { animation-delay: .52s; } .logo-anim .la-L3 { animation-delay: .59s; }
.logo-anim .la-L4 { animation-delay: .66s; } .logo-anim .la-L5 { animation-delay: .73s; } .logo-anim .la-L6 { animation-delay: .80s; }
.logo-anim .la-L7 { animation-delay: .87s; }
.logo-anim .la-msp { animation: la-msp-in .6s ease-out 1.15s both; }
.logo-anim .la-flash { animation: la-flash 1.1s ease-out .55s both; }
.logo-anim .la-s-tile { animation: la-shine .9s ease-in-out 1.85s both; }
.logo-anim .la-s-text { animation: la-shine 1.1s ease-in-out 2.15s both; }
.logo-anim.hover-shine .la-s-tile { animation: la-shine-hover .8s ease-in-out both; }
.logo-anim.hover-shine .la-s-text { animation: la-shine-hover 1s ease-in-out .3s both; }

@keyframes la-tile-in { 0% { opacity: 0; transform: scale(.3) rotate(-120deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes la-letter-in { from { opacity: 0; transform: translateY(34px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes la-msp-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes la-flash { 0% { opacity: 0; transform: scale(1); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(22); } }
@keyframes la-shine { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@keyframes la-shine-hover { from { background-position: 120% 0; } to { background-position: -20% 0; } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .sub-toggle {
  color: var(--on-dark); text-decoration: none; font-size: .97rem; font-weight: 500;
  padding: 10px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.site-nav a:hover, .sub-toggle:hover { color: #fff; background: rgba(255,255,255,.06); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .nav-cta { color: var(--ink); background: var(--gold); padding: .65em 1.15em; font-weight: 650; }
.site-nav .nav-cta:hover { color: var(--ink); background: #ebb556; }
.sub-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px;
  box-shadow: 0 18px 40px rgba(13,23,34,.22); display: none;
}
.sub a { color: var(--text); display: block; padding: 10px 12px; }
.sub a:hover { background: var(--surface); color: var(--ink); }
.sub a[aria-current="page"] { color: var(--gold-dark); }
.has-sub.open .sub { display: block; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 961px) {
  .has-sub:hover .sub { display: block; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
}

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .header-inner { min-height: 84px; }
  .header-right { flex-direction: row; align-items: center; gap: 12px; }
  .header-contact { gap: 10px; }
  .header-contact a + a { padding-left: 0; border-left: 0; }
  .header-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-contact svg { width: 40px; height: 40px; padding: 10px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08); display: none;
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .sub-toggle { width: 100%; justify-content: space-between; padding: 12px 8px; font-size: 1.05rem; }
  .sub { position: static; box-shadow: none; background: rgba(255,255,255,.04); margin-top: 4px; }
  .sub a { color: var(--on-dark); }
  .sub a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .site-nav .nav-cta { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(224,163,58,.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(64,120,180,.22), transparent 60%),
    var(--ink);
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  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: 44px 44px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: var(--on-dark-muted); max-width: 62ch; margin-bottom: 1.8em; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-phone { margin-top: 22px; color: var(--on-dark-muted); font-size: .98rem; }
.hero-phone a { color: #fff; font-weight: 600; text-decoration: none; }
.hero-phone a:hover { color: var(--gold); }

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero-card h2 { font-size: 1.05rem; color: #fff; margin-bottom: 18px; font-weight: 650; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark); }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 2px; }
/* Check lists placed on white or light-gray sections */
.check-list.on-light li { color: var(--text); }
.check-list.on-light strong { color: var(--ink); }
.check-list.on-light svg { color: var(--gold-dark); }

/* Rotating keyword in the home page headline */
.rotator {
  display: inline-block; position: relative; vertical-align: top;
  height: 1.2em; line-height: 1.2; overflow: hidden; color: var(--gold); white-space: nowrap;
}
.rotator::after {
  content: ""; position: absolute; left: 0; bottom: .02em; height: .09em; width: 100%;
  background: linear-gradient(90deg, var(--gold), #f6d68f); border-radius: 4px;
  transform-origin: left; transform: scaleX(0);
}
.rotator.sweep::after { animation: rotator-sweep 2.8s ease-in-out; }
.rotator-word { display: block; }
.rotator-word:not(:first-child) { display: none; }          /* no-JS fallback: first word only */
.rotator.ready .rotator-word {
  display: block; position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(105%);
  transition: transform .55s cubic-bezier(.2,.75,.2,1), opacity .45s;
}
.rotator.ready .rotator-word.is-active { opacity: 1; transform: none; }
.rotator.ready .rotator-word.is-leaving { opacity: 0; transform: translateY(-105%); }
@keyframes rotator-sweep {
  0% { transform: scaleX(0); }
  25%, 80% { transform: scaleX(1); }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,163,58,.16), transparent 65%); pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); max-width: 22ch; }
.page-hero p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Stats strip ---------- */
.stats { background: var(--navy); color: var(--on-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,.07); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 1.9rem; color: var(--gold); font-weight: 800; line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--on-dark-muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { max-width: 1040px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head .eyebrow { color: var(--gold-dark); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); border-color: #d5dce5; box-shadow: 0 2px 4px rgba(13,23,34,.06), 0 16px 36px rgba(13,23,34,.1); color: inherit; }
.card p { color: var(--muted); font-size: 1rem; }
.card .more { margin-top: auto; font-weight: 650; color: var(--gold-dark); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark); margin-bottom: 18px; flex: none;
}
.icon svg { width: 24px; height: 24px; }

/* Home page "What we do" service cards */
.card.svc {
  position: relative; overflow: hidden; padding: 30px 28px 22px; border-radius: 14px;
  border: 1px solid #d3dbe5;
  box-shadow: 0 1px 0 rgba(13,23,34,.04), 0 12px 28px -14px rgba(13,23,34,.22);
  background:
    linear-gradient(#fff, #fff) padding-box;
}
/* gold accent bar across the top - grows on hover */
.card.svc::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f3cf86);
  transform: scaleX(.22); transform-origin: left; transition: transform .35s ease;
}
/* subtle dot-grid detail in the top-right corner */
.card.svc::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 96px; height: 96px; pointer-events: none;
  background-image: radial-gradient(#cfd8e3 1.2px, transparent 1.6px); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(circle at top right, #000 10%, transparent 72%);
  mask-image: radial-gradient(circle at top right, #000 10%, transparent 72%);
  opacity: .9;
}
.card.svc:hover { border-color: #c9a25a; }
.card.svc:hover::before { transform: scaleX(1); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; position: relative; z-index: 1; }
.card.svc .icon {
  margin: 0; width: 52px; height: 52px; border-radius: 12px;
  background: var(--ink); color: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft), 0 6px 14px -4px rgba(13,23,34,.45);
}
.card-num {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: #8a96a5;
  border: 1px solid #d3dbe5; border-radius: 999px; padding: 3px 10px; background: #fff;
}
.card.svc h3 { position: relative; padding-bottom: 12px; margin-bottom: 12px; }
.card.svc h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); border-radius: 2px; }
.card.svc .more {
  border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; width: 100%;
  justify-content: space-between;
}
.card.svc p { margin-bottom: 20px; }
.card.svc .arr {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #e3c88f; color: var(--gold-dark); transition: transform .25s, background .25s, color .25s;
}
.card.svc:hover .arr { transform: translateX(3px); background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Feature list (inner pages) */
.feature-list { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.feature {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.feature .icon { margin-bottom: 0; }
.feature h3 { margin-bottom: .35em; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-weight: 800; font-size: 1rem; color: var(--ink);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold);
}
.step::after { content: ""; position: absolute; top: 21px; left: 54px; right: -12px; height: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: 1rem; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.pill-list li { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: .95rem; font-weight: 500; }
.quote-panel { background: var(--ink); color: var(--on-dark); border-radius: 18px; padding: 40px; position: relative; overflow: hidden; }
.quote-panel h3 { color: #fff; font-size: 1.35rem; }
.quote-panel p { color: var(--on-dark-muted); }
.quote-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(224,163,58,.25), transparent 70%); }

/* Service comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.svc-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.svc-table th, .svc-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.svc-table thead th { background: var(--ink); color: #fff; font-weight: 650; font-size: .95rem; }
.svc-table tbody tr:last-child td, .svc-table tbody tr:last-child th { border-bottom: 0; }
.svc-table tbody th { width: 28%; color: var(--ink); font-weight: 650; }
.svc-table ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.svc-table li + li { margin-top: 6px; }

/* Callout / CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--ink) 100%); color: var(--on-dark); padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: var(--on-dark-muted); margin: 0; max-width: 760px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.note {
  background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px;
  padding: 18px 22px; color: var(--text); margin-top: 32px;
}
.note p:last-child { margin: 0; }

/* Downloads */
.download { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; }

/* Client downloads page (agent.html) */
.container.narrow { max-width: 860px; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dl-list li {
  display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #d3dbe5;
  border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow);
}
.dl-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.dl-icon svg { width: 24px; height: 24px; }
.dl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-text strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.dl-text small { color: var(--muted); font-size: .95rem; }
.dl-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: .65em 1.1em; }
.dl-btn svg { width: 18px; height: 18px; }
.dl-help { margin-top: 28px; color: var(--muted); }
@media (max-width: 600px) {
  .dl-list li { flex-wrap: wrap; }
  .dl-btn { width: 100%; justify-content: center; }
}

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-bottom: 64px; }
.post-meta { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.article { max-width: 760px; margin: 0 auto; padding: 56px 0; border-top: 1px solid var(--border); scroll-margin-top: 90px; }
.article:first-of-type { border-top: 0; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.article h3 { margin-top: 1.6em; }
.article p, .article li { color: #36424f; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tools li { background: var(--surface); border-radius: 6px; padding: 4px 10px; font-size: .92rem; }
.article-cta { background: var(--surface); border-radius: var(--radius); padding: 22px 26px; margin-top: 32px; }
.article-cta p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { margin: 0; width: 44px; height: 44px; }
.contact-item strong { display: block; color: var(--ink); }
.contact-item a { color: var(--text); text-decoration: none; }
.contact-item a:hover { color: var(--gold-dark); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #b4321f; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfd7e1; border-radius: 10px;
  background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(224,163,58,.25); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f6ee; color: #155c34; border: 1px solid #b9e3c9; }
.form-status.err { background: #fdecea; color: #8a1f12; border: 1px solid #f4c2bb; }
.form-fine { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* ==========================================================
   Visual details: banners, outlines and graphics
   ========================================================== */

/* Gold accent line under the dark banners */
.hero, .page-hero { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--gold-dark), var(--gold) 40%, rgba(224,163,58,0)) 1; }

/* Eyebrow labels get a short gold rule */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }

/* Inner page banners: network-hub graphic on the right */
.page-hero .container { position: relative; z-index: 1; }
.page-hero::before {
  content: ""; position: absolute; right: 5%; top: 50%; width: 360px; height: 360px; transform: translateY(-50%);
  pointer-events: none; opacity: .95;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Ccircle cx='200' cy='200' r='190' stroke='%23e0a33a' stroke-opacity='.3' stroke-dasharray='3 9'/%3E%3Ccircle cx='200' cy='200' r='140' stroke='%23ffffff' stroke-opacity='.12'/%3E%3Ccircle cx='200' cy='200' r='90' stroke='%23e0a33a' stroke-opacity='.35'/%3E%3Ccircle cx='200' cy='200' r='40' stroke='%23ffffff' stroke-opacity='.18'/%3E%3Cpath d='M200 10v100M200 290v100M10 200h100M290 200h100M66 66l70 70M264 264l70 70M334 66l-70 70M136 264l-70 70' stroke='%23ffffff' stroke-opacity='.1'/%3E%3Cg fill='%23e0a33a' fill-opacity='.85'%3E%3Ccircle cx='200' cy='60' r='5'/%3E%3Ccircle cx='340' cy='200' r='5'/%3E%3Ccircle cx='200' cy='340' r='5'/%3E%3Ccircle cx='60' cy='200' r='5'/%3E%3C/g%3E%3Cg fill='%239fb3c8' fill-opacity='.55'%3E%3Ccircle cx='101' cy='101' r='4'/%3E%3Ccircle cx='299' cy='101' r='4'/%3E%3Ccircle cx='299' cy='299' r='4'/%3E%3Ccircle cx='101' cy='299' r='4'/%3E%3C/g%3E%3Ccircle cx='200' cy='200' r='12' fill='%23e0a33a'/%3E%3Ccircle cx='200' cy='200' r='22' stroke='%23e0a33a' stroke-opacity='.5'/%3E%3C/svg%3E");
}

/* Service pages: a page-specific illustration replaces the generic graphic */
.page-hero.has-art::before { display: none; }
.hero-art { position: absolute; right: 6%; top: 50%; height: 84%; max-height: 300px; aspect-ratio: 380 / 300; transform: translateY(-50%); pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-art .sweep { transform-origin: 190px 150px; animation: spin 6s linear infinite; }
.hero-art .pulse-line { filter: drop-shadow(0 0 6px rgba(224,163,58,.7)); }

/* Banner art motion - every animation is a gentle loop */
.anim-art svg * { transform-box: fill-box; transform-origin: center; }
.hero-art .sweep { transform-box: view-box; }
.anim-art .ha-blink { animation: ha-blink 1.6s ease-in-out infinite; }
.anim-art .ha-blink.d2 { animation-delay: .8s; }
@keyframes ha-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
/* Monitoring: a bright pulse travels along the heartbeat, the alert bell rings */
.anim-art .ha-trace { stroke-dasharray: 12 88; stroke-dashoffset: 100; animation: ha-trace 2.4s linear infinite; filter: drop-shadow(0 0 6px rgba(255,230,160,.9)); }
@keyframes ha-trace { to { stroke-dashoffset: 0; } }
.anim-art .ha-bell { transform-origin: 50% 8%; animation: ha-bell 3.2s ease-in-out infinite; }
@keyframes ha-bell { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(16deg); } 70% { transform: rotate(-14deg); } 76% { transform: rotate(10deg); } 82% { transform: rotate(-6deg); } 88% { transform: rotate(0); } }
.anim-art .ha-ping { animation: ha-ping 3.2s ease-out infinite; }
@keyframes ha-ping { 0%, 58% { opacity: 0; transform: scale(.8); } 64% { opacity: .9; } 100% { opacity: 0; transform: scale(1.6); } }
/* Security: the outer boundary patrols, the shield sends out a pulse, threats flicker */
.anim-art .ha-march { animation: ha-march 1.6s linear infinite; }
@keyframes ha-march { to { stroke-dashoffset: -26; } }
.anim-art .ha-shield-pulse { opacity: 0; animation: ha-shield 3s ease-out infinite; }
@keyframes ha-shield { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
.anim-art .ha-incoming { animation: ha-incoming 1s linear infinite; }
@keyframes ha-incoming { to { stroke-dashoffset: -16; } }
.anim-art .ha-threat { animation: ha-threat 3s ease-in-out infinite; }
@keyframes ha-threat { 0%, 100% { opacity: 1; } 30% { opacity: .35; } }
.anim-art .ha-glow { animation: ha-glow 3s ease-in-out infinite; }
@keyframes ha-glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 8px rgba(224,163,58,.9)); } }
/* Backups: data moves up and down, the restore arrow turns, the check pops */
.anim-art .ha-up { animation: ha-up 1.8s ease-in-out infinite; }
@keyframes ha-up { 0%, 100% { transform: translateY(4px); opacity: .7; } 50% { transform: translateY(-6px); opacity: 1; } }
.anim-art .ha-down { animation: ha-down 1.8s ease-in-out infinite; }
@keyframes ha-down { 0%, 100% { transform: translateY(-4px); opacity: .7; } 50% { transform: translateY(6px); opacity: 1; } }
.anim-art .ha-flow { animation: ha-flow .9s linear infinite; }
@keyframes ha-flow { to { stroke-dashoffset: -18; } }
.anim-art .ha-restore { transform-box: view-box; transform-origin: 56px 218px; animation: ha-spin 4s linear infinite; }
@keyframes ha-spin { to { transform: rotate(360deg); } }
.anim-art .ha-pop { animation: ha-pop 2.6s ease-in-out infinite; }
@keyframes ha-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.15); } 90% { transform: scale(.97); } }
/* Service chart: checkmarks tick off one by one, bars grow, the pie turns */
.anim-art .ha-check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ha-check 6s ease-in-out infinite; }
.anim-art .ha-check.c2 { animation-delay: .5s; } .anim-art .ha-check.c3 { animation-delay: 1s; } .anim-art .ha-check.c4 { animation-delay: 1.5s; }
@keyframes ha-check { 0% { stroke-dashoffset: 1; } 12%, 80% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 1; } }
.anim-art .ha-bar { transform-origin: 50% 100%; animation: ha-bar 3.6s ease-in-out infinite; }
.anim-art .ha-bar.b2 { animation-delay: .25s; } .anim-art .ha-bar.b3 { animation-delay: .5s; }
@keyframes ha-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.anim-art .ha-pie { transform-box: view-box; transform-origin: 320px 218px; animation: ha-spin 9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .anim-art .ha-check { stroke-dashoffset: 0; } .anim-art .ha-trace, .anim-art .ha-shield-pulse { display: none; } }
/* Blog post banners */
.anim-art .bl-scan { animation: bl-scan 2.2s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px rgba(255,230,160,.9)); }
@keyframes bl-scan { from { transform: translateY(0); } to { transform: translateY(66px); } }
.anim-art .bl-strike { stroke-dasharray: 1; animation: bl-strike 4s ease-in-out infinite; }
@keyframes bl-strike { 0% { stroke-dashoffset: 1; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.anim-art .bl-float { animation: bl-float 3.4s ease-in-out infinite; }
@keyframes bl-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-6deg); } }
.anim-art .bl-flow { animation: ha-flow 1s linear infinite; }
.anim-art .bl-twinkle { animation: bl-twinkle 2.4s ease-in-out infinite; }
.anim-art .bl-twinkle.d2 { animation-delay: .8s; } .anim-art .bl-twinkle.d3 { animation-delay: 1.6s; }
@keyframes bl-twinkle { 0%, 100% { opacity: .2; transform: scale(.5); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
.anim-art .bl-alert { animation: bl-alert 1.8s ease-in-out infinite; }
@keyframes bl-alert { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.94); } }
.anim-art .bl-swing { transform-origin: 50% 0; animation: bl-swing 2.8s ease-in-out infinite alternate; }
@keyframes bl-swing { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.anim-art .bl-crawl { animation: bl-crawl 2.2s ease-in-out infinite; }
@keyframes bl-crawl { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-5px, 3px) rotate(-8deg); } 75% { transform: translate(3px, -2px) rotate(6deg); } }
.anim-art .bl-gear1 { transform-box: view-box; transform-origin: 165px 135px; animation: ha-spin 14s linear infinite; }
.anim-art .bl-gear2 { transform-box: view-box; transform-origin: 225px 91px; animation: ha-spin 8.5s linear infinite reverse; }
/* Blog page banner: lines of an article type themselves out, the pencil writes, a comment is being typed */
.anim-art .bl-type { transform-origin: 0 50%; animation: bl-type 6s ease-out infinite; }
.anim-art .bl-type.t2 { animation-delay: .6s; } .anim-art .bl-type.t3 { animation-delay: 1.2s; } .anim-art .bl-type.t4 { animation-delay: 1.8s; }
@keyframes bl-type { 0% { transform: scaleX(0); } 14%, 82% { transform: scaleX(1); opacity: 1; } 92%, 100% { transform: scaleX(1); opacity: 0; } }
.anim-art .bl-write { animation: bl-write 1.1s ease-in-out infinite alternate; }
@keyframes bl-write { from { transform: translate(-16px, 4px) rotate(-3deg); } to { transform: translate(6px, -2px) rotate(2deg); } }
.anim-art .bl-dot { animation: bl-dot 1.2s ease-in-out infinite; }
.anim-art .bl-dot.t2 { animation-delay: .2s; } .anim-art .bl-dot.t3 { animation-delay: .4s; }
@keyframes bl-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.anim-art .bl-sun { animation: bl-sun 3s ease-in-out infinite; }
@keyframes bl-sun { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); filter: drop-shadow(0 0 6px rgba(224,163,58,.9)); } }
/* Blog card graphics stay still until the card is hovered */
.post-thumb * { animation-play-state: paused !important; }
.post-card:hover .post-thumb *, .post-card:focus-visible .post-thumb * { animation-play-state: running !important; }

/* ---------- Blog: index cards and article pages ---------- */
.post-index { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
.post-card { display: flex; flex-direction: column; }
.post-card .more { margin-top: auto; }
.post-thumb { aspect-ratio: 16 / 9; margin: -4px 0 18px; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 60% 40%, rgba(224,163,58,.18), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--ink)); }
.post-thumb svg { height: 88%; width: auto; }
.post-hero h1 { max-width: 24ch; }
.post-hero .post-meta { color: var(--on-dark-muted); margin: 0; }
.article.single { padding: 0; border-top: 0; }
.article.single h2 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); margin-top: 1.8em; }
.article.single .lead-in { font-size: 1.2rem; color: var(--text); }
.article.single ol, .article.single ul:not(.tools) { padding-left: 1.3em; }
.article.single li + li { margin-top: 8px; }
.post-back { max-width: 760px; margin: 32px auto 0; }
.post-back a { font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.more-posts .post-list { margin-bottom: 0; }
@media (max-width: 760px) { .post-index { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .hero-art { right: 2%; } }
@media (max-width: 960px) { .hero-art { height: 220px; right: -20px; opacity: .55; } }
@media (max-width: 600px) { .hero-art { height: 170px; right: -60px; top: 34%; opacity: .25; } }

/* Home hero: live status badge and gold corner brackets on the card */
.hero-card { position: relative; }
.status-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; padding: 5px 12px 5px 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #c3ecd3; background: rgba(46,160,90,.14); border: 1px solid rgba(60,207,122,.35); border-radius: 999px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ccf7a; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60,207,122,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(60,207,122,0); } }

/* Stats strip icons */
.stat svg { width: 30px; height: 30px; color: var(--gold); margin: 0 auto 10px; opacity: .9; }

/* Home "Security that never clocks out" banner */
.feature-banner {
  position: relative; overflow: hidden; color: var(--on-dark); padding: 84px 0;
  background: radial-gradient(560px 420px at 18% 50%, rgba(224,163,58,.14), transparent 62%), linear-gradient(120deg, var(--ink), var(--navy));
}
.fb-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.fb-art svg { width: 100%; max-width: 340px; margin: 0 auto; }
.fb-art .spin { transform-origin: 160px 160px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fb-copy h2 { color: #fff; }
.fb-copy p { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 56ch; }
.fb-points { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.fb-points li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  font-family: var(--font-head); font-weight: 600; font-size: .97rem; color: #fff;
}
.fb-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* Process steps as outlined cards joined by gold connectors */
.step {
  background: #fff; border: 1px solid #d3dbe5; border-radius: 14px; padding: 80px 24px 22px;
  box-shadow: 0 1px 0 rgba(13,23,34,.04), 0 12px 28px -16px rgba(13,23,34,.22);
}
.step::before { top: 24px; left: 24px; box-shadow: 0 0 0 5px var(--gold-soft); }
.step::after { top: 45px; left: auto; right: -25px; width: 26px; background: var(--gold); }
.step p { margin-bottom: 0; }

/* Inner-page cards: gold top bar, navy icon tile */
.card { position: relative; overflow: hidden; }
.card:not(.svc) { border-color: #d3dbe5; }
.card:not(.svc)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f3cf86); }
.card:not(.svc) .icon, .feature .icon { background: var(--ink); color: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
.feature { border-color: #d3dbe5; border-left: 4px solid var(--gold); }

/* "Ask us about" pills */
.pill-list li { display: inline-flex; align-items: center; gap: 8px; border-color: #d3dbe5; box-shadow: 0 1px 2px rgba(13,23,34,.05); }
.pill-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* CTA band: gold top edge and ring graphic */
.cta-band { position: relative; overflow: hidden; border-top: 3px solid var(--gold); }
.cta-band::before {
  content: ""; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(224,163,58,.13) 0 1px, transparent 1px 34px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .page-hero::before { width: 280px; height: 280px; right: -30px; opacity: .6; }
}
@media (max-width: 880px) {
  .fb-inner { grid-template-columns: 1fr; gap: 32px; }
  .fb-art svg { max-width: 220px; }
  .feature-banner { padding: 64px 0; }
}
@media (max-width: 600px) {
  .page-hero::before { width: 220px; height: 220px; right: -70px; top: 30%; opacity: .35; }
}

/* ==========================================================
   Service chart page
   ========================================================== */
html { scroll-padding-top: 130px; }

/* Jump-to-service tiles under the banner */
.svc-jump { background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 10px 24px -20px rgba(13,23,34,.35); position: relative; z-index: 2; }
.svc-jump ul { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.svc-jump a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px;
  border: 1px solid #d3dbe5; border-radius: 12px; text-decoration: none; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; text-align: center;
  transition: border-color .2s, transform .2s, background .2s;
}
.svc-jump a:hover { border-color: var(--gold); background: var(--gold-soft); transform: translateY(-2px); color: var(--ink); }
.svc-jump svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--ink); color: var(--gold); }

/* Each service: graphic panel + details, alternating sides */
.svc-block { padding: 76px 0; }
.svc-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.svc-row.flip { grid-template-columns: 1.15fr .85fr; } /* keep the graphic column the same width on both sides */
.svc-row.flip .svc-visual { order: 2; }
.svc-visual {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 20px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(224,163,58,.3), rgba(224,163,58,.08) 38%, transparent 68%),
    linear-gradient(135deg, var(--navy-2), var(--navy) 55%, var(--ink));
  border: 1px solid rgba(255,255,255,.06); box-shadow: 0 26px 50px -26px rgba(13,23,34,.6);
}
/* Network graphic that fills the whole panel: orbits, connected nodes and chips */
.svc-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: center / cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 400' preserveAspectRatio='xMidYMid slice' fill='none'%3E%3Cg stroke='%23ffffff' stroke-opacity='.05'%3E%3Cpath d='M0 40h500M0 80h500M0 120h500M0 160h500M0 200h500M0 240h500M0 280h500M0 320h500M0 360h500M50 0v400M100 0v400M150 0v400M200 0v400M250 0v400M300 0v400M350 0v400M400 0v400M450 0v400'/%3E%3C/g%3E%3Cellipse cx='250' cy='185' rx='215' ry='150' stroke='%23e0a33a' stroke-opacity='.4' stroke-dasharray='4 8'/%3E%3Cellipse cx='250' cy='185' rx='150' ry='105' stroke='%23ffffff' stroke-opacity='.16'/%3E%3Ccircle cx='250' cy='185' r='120' stroke='%23e0a33a' stroke-opacity='.18'/%3E%3Cg stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.2'%3E%3Cpath d='M250 185 70 70M250 185 430 70M250 185 470 210M250 185 410 320M250 185 90 320M250 185 30 200M250 185 250 25M70 70h-40M430 70h40M410 320h50M90 320H40'/%3E%3C/g%3E%3Cg fill='%2314263a' stroke='%23e0a33a' stroke-opacity='.85' stroke-width='1.6'%3E%3Crect x='60' y='60' width='20' height='20' rx='4'/%3E%3Crect x='420' y='60' width='20' height='20' rx='4'/%3E%3Crect x='400' y='310' width='20' height='20' rx='4'/%3E%3Crect x='80' y='310' width='20' height='20' rx='4'/%3E%3C/g%3E%3Cg fill='%23e0a33a'%3E%3Ccircle cx='250' cy='25' r='5'/%3E%3Ccircle cx='470' cy='210' r='5'/%3E%3Ccircle cx='30' cy='200' r='5'/%3E%3Ccircle cx='100' cy='115' r='3.5'/%3E%3Ccircle cx='400' cy='255' r='3.5'/%3E%3Ccircle cx='365' cy='60' r='3'/%3E%3C/g%3E%3Cg fill='%239fb3c8' fill-opacity='.7'%3E%3Ccircle cx='160' cy='45' r='3'/%3E%3Ccircle cx='340' cy='330' r='3'/%3E%3Ccircle cx='135' cy='270' r='3'/%3E%3Ccircle cx='450' cy='140' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
.svc-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f3cf86); }
.svc-visual-icon {
  position: relative; z-index: 1; width: 152px; height: 152px; border-radius: 38px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(145deg, var(--navy-2), var(--ink)); color: var(--gold); border: 2px solid var(--gold);
  box-shadow: 0 0 0 14px rgba(224,163,58,.12), 0 0 0 32px rgba(224,163,58,.06), 0 0 60px 20px rgba(224,163,58,.18), 0 24px 44px rgba(0,0,0,.45);
}
.svc-visual-icon svg { width: 74px; height: 74px; }
.svc-visual-tag {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); background: rgba(224,163,58,.08); border: 1px solid rgba(224,163,58,.4); border-radius: 999px; padding: 5px 14px;
}
.svc-copy .eyebrow { color: var(--gold-dark); }
.svc-intro { font-size: 1.15rem; color: var(--muted); margin-bottom: 24px; }
.svc-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.svc-items li {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #d3dbe5; border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 1px 2px rgba(13,23,34,.04); transition: border-color .2s, transform .2s;
}
.svc-items li:hover { border-color: #e3c88f; transform: translateX(3px); }
.svc-items svg { width: 24px; height: 24px; flex: none; padding: 5px; margin-top: 1px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); }

/* PDF download + customer note */
.svc-summary-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.pdf-card {
  display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid #d3dbe5; border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 28px; box-shadow: var(--shadow);
}
.pdf-icon { width: 64px; height: 64px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold); box-shadow: 0 0 0 6px var(--gold-soft); }
.pdf-icon svg { width: 30px; height: 30px; }
.pdf-card h3 { margin-bottom: .3em; }
.pdf-card p { color: var(--muted); margin-bottom: 4px; }
.pdf-card .download { margin-top: 14px; }
.svc-summary .note { margin-top: 0; }

@media (max-width: 1024px) {
  .svc-jump ul { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 880px) {
  html { scroll-padding-top: 100px; }
  .svc-block { padding: 56px 0; }
  .svc-row, .svc-row.flip { grid-template-columns: 1fr; gap: 32px; }
  .svc-row.flip .svc-visual { order: 0; }
  .svc-visual { aspect-ratio: auto; min-height: 270px; }
  .svc-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-jump ul { display: flex; overflow-x: auto; padding: 14px 0; scroll-snap-type: x mandatory; }
  .svc-jump li { flex: 0 0 104px; scroll-snap-align: start; }
  .svc-visual-icon { width: 116px; height: 116px; border-radius: 30px; }
  .svc-visual-icon svg { width: 56px; height: 56px; }
  .pdf-card { flex-direction: column; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 880px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .post-list { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .grid-3, .grid-2, .grid-4, .post-list, .steps, .form-row { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .quote-panel { padding: 28px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; animation: none !important; }}
