/* =========================================================
   The Virtual Dept — Site Stylesheet
   Brand colours (per brand guide): lime #BCDF2F, navy #043676, warm paper #F6F3EC
   Fonts: headings Playfair Display, body DM Sans
   Contrast note: navy-on-lime and lime-on-navy both pass AA/AAA comfortably.
   White text on lime fails contrast — never pair them.
   Dark navy sections use a subtle navy -> navy-deep gradient rather than a flat fill.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..800;1,400..800&family=DM+Sans:opsz,wght@9..40,400..700&display=swap');

:root {
  --navy: #043676;
  --navy-deep: #022349;
  --lime: #bcdf2f;
  --lime-dark: #a1c122;
  --offwhite: #f4f2ee;
  --paper-2: #ece9e2;
  --text-ink: #1c2420;
  --grey-900: #1c2733;
  --grey-600: #57625a;
  --grey-300: #dcdfd4;
  --grey-100: #f1f2ec;
  --white: #ffffff;

  --lime-tint: #f6faea;
  --navy-tint: #e9eef6;
  --navy-grad: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(4, 54, 118, 0.10);
  --shadow-lg: 0 20px 50px rgba(4, 54, 118, 0.16);
  --max: 1160px;
  --font: 'DM Sans', Arial, Helvetica, sans-serif;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-ink);
  background: var(--offwhite);
  line-height: 1.68;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--grey-300);
  position: sticky;
  top: 0;
  background: rgba(247,247,245,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.logo img { display: block; }
.logo span { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--grey-900);
  font-weight: 600;
  font-size: 0.94rem;
  font-family: var(--font);
}
.nav-links > li > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links > li > a.active::after,
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); }
.nav-links a:hover { color: var(--navy); text-decoration: none; }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: -14px;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--lime);
  box-shadow: var(--shadow-lg);
  min-width: 270px;
  gap: 0;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { padding: 0; }
.dropdown a::after { display: none; }
.dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--lime-tint); text-decoration: none; }

.nav-cta {
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(4,54,118,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(4,54,118,0.4); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--grey-300);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--grey-100); }
  .nav-cta { display: inline-block; }
  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 6px 0 0 14px;
    min-width: 0;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
}

/* ---------- Headings / display type ---------- */
h1, h2, h3, .footer-logo, .logo, .tier-price {
  font-family: var(--display);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 55%, #1b4f8a 85%, #2f6db0 100%);
  color: var(--white);
  padding: 96px 0 104px;
}
.hero::before, .hero::after { content: none; }
.hero .wrap { position: relative; z-index: 1; }

.hero-sub { padding: 58px 0 76px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--lime);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-family: var(--font);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 17ch;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 56ch;
  color: rgba(255,255,255,0.88);
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.crumb-light, .crumb-light a { color: rgba(255,255,255,0.7) !important; }

/* ---------- Buttons ---------- */
/* Primary CTA is always navy + white (safe, high contrast, matches existing
   brand materials). Lime is reserved for accents/backgrounds — never used
   as a button fill with white text, since that combination fails contrast. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font);
}
.btn::after { content: "\2192"; transition: transform 0.15s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn-primary { background: linear-gradient(120deg, var(--navy), var(--navy-deep)); color: var(--white); box-shadow: 0 10px 24px rgba(4,54,118,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(4,54,118,0.4); text-decoration: none; }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.14); text-decoration: none; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-2px); text-decoration: none; }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-2px); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-grey { background: var(--grey-100); }
/* Kept original class names used across the HTML to limit churn — both
   "teal/green" and "purple/navy" variants now resolve to the two tints the
   brand guide actually supports. */
.section-teal, .section-green { background: var(--lime-tint); }
.section-purple, .section-navy { background: var(--navy-tint); }

.kicker {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 12px;
  font-family: var(--font);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 18px;
  color: var(--navy);
  letter-spacing: -0.005em;
  font-weight: 700;
}

/* Lead magnet (email capture) block, used on blog.html */
.lead-magnet-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .lead-magnet-grid { grid-template-columns: 1fr; } }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form .field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; padding: 13px 16px; border-radius: 999px;
  border: 1px solid rgba(4,54,118,0.18); font: inherit; font-size: 0.95rem;
  background: var(--white); color: var(--navy);
}
.lead-form input[type="email"]:focus { outline: 2px solid var(--navy); outline-offset: 2px; }
.lead-form .success { display: none; margin-top: 2px; font-size: 0.9rem; color: var(--navy); font-weight: 600; }
.lead-form.sent .success { display: block; }
.lead-form.sent .field-row { display: none; }

h3 { font-size: 1.15rem; margin: 0 0 10px; color: var(--navy); font-weight: 700; }

.section-intro { max-width: 62ch; color: var(--grey-600); font-size: 1.06rem; margin-bottom: 46px; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-top: 4px solid var(--lime);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--navy-grad);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 18px; font-weight: 700;
  font-family: var(--display);
}

.card p { color: var(--grey-600); margin: 0; }
.card p:not(:last-child) { margin-bottom: 10px; }

.tier-card {
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 34px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  position: relative;
  background: linear-gradient(180deg, var(--navy-tint), var(--white) 40%);
}
.tier-card.featured::before {
  content: "Most requested";
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--navy-grad);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-family: var(--font);
}
.tier-card ul { padding-left: 20px; color: var(--grey-600); margin: 18px 0 26px; flex-grow: 1; }
.tier-card li { margin-bottom: 8px; }
.tier-icon { margin-bottom: 14px; border-radius: 10px; }
.tier-name { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); font-weight: 700; font-family: var(--font); }
.tier-price { font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 8px 0 4px; }
.tier-price small { font-size: 0.9rem; font-weight: 500; color: var(--grey-600); font-family: var(--font); }

/* ---------- Placeholder / notice callouts ---------- */
.placeholder-note {
  background: #fff8ea;
  border: 1px dashed #d8ae3f;
  color: #6b5210;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  margin: 18px 0 0;
  font-family: var(--font);
}
.placeholder-note-dark {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* ---------- Quote / testimonial ---------- */
.quote-card {
  background: linear-gradient(150deg, var(--navy), var(--navy-deep) 70%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 18px;
  font-family: var(--display);
  font-size: 6rem;
  color: rgba(188,223,47,0.3);
  line-height: 1;
}
.quote-card p.quote { position: relative; font-size: 1.18rem; font-style: italic; margin: 10px 0 18px; }
.quote-attrib { font-weight: 700; color: var(--lime); }
.quote-attrib small { display: block; font-weight: 400; color: rgba(255,255,255,0.75); font-family: var(--font); }

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-size: 2.3rem; font-weight: 700; color: var(--navy); }
.stat .label { color: var(--grey-600); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  color: var(--white);
  text-align: center;
  padding: 76px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lime), transparent 70%);
  opacity: 0.2;
  top: -180px; left: 50%;
  transform: translateX(-50%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 30px; }

/* ---------- Forms ---------- */
form.contact-form { display: grid; gap: 18px; max-width: 620px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); font-family: var(--font); }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(4,54,118,0.12); }
.form-submit { justify-self: start; border: none; }

/* ---------- Table (pricing comparison) ---------- */
table.compare { width: 100%; border-collapse: collapse; margin-top: 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.compare th, table.compare td {
  border: 1px solid var(--grey-300);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
}
table.compare th { background: var(--navy-grad); color: var(--white); font-family: var(--display); font-weight: 700; }
table.compare tr:nth-child(even) td { background: var(--grey-100); }

/* ---------- Blog (landscape cover cards) ---------- */
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-ink);
  background: var(--white);
  border: 1px solid var(--grey-300);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover, .post-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.post-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s ease;
}
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font);
}
/* legacy modifier classes kept for compatibility, remapped to the two-tone system */
.post-tag.tag-green, .post-tag.tag-teal { background: var(--lime); color: var(--navy); }
.post-tag.tag-grey { background: var(--navy-deep); color: var(--white); }
.post-card-body {
  position: relative;
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card h3 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}
.post-meta { color: var(--text-ink); opacity: .65; font-size: 0.85rem; margin: 10px 0 0; }
.post-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 0.85rem; font-weight: 700;
  color: var(--navy-deep);
}
.post-cta svg { width: 14px; height: 14px; transition: transform .2s ease; }
.post-card:hover .post-cta svg { transform: translateX(3px); }

article.post-body { max-width: 72ch; margin: 0 auto; }
article.post-body h2 { margin-top: 42px; }
article.post-body p { color: var(--text-ink); }
article.post-body ol.post-list { margin: 20px 0; padding-left: 0; list-style: none; counter-reset: post-list; }
article.post-body ol.post-list li { counter-increment: post-list; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--grey-300); color: var(--text-ink); }
article.post-body ol.post-list li:first-child { border-top: none; }
article.post-body ol.post-list li::before { content: counter(post-list); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--navy); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
article.post-body ol.post-list strong { color: var(--navy); }
article.post-body blockquote {
  border-left: 4px solid var(--lime);
  background: var(--lime-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  padding: 14px 20px;
  color: var(--navy);
  font-style: italic;
}
.post-highlight {
  background: var(--lime-tint);
  border: 1px solid rgba(4,54,118,0.15);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 30px 0;
}
.post-highlight p { margin: 0; color: var(--navy); }
.post-highlight strong { color: var(--navy); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--grey-600); margin-bottom: 18px; }
.breadcrumb a { color: var(--grey-600); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.trust-strip span {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
}
.trust-strip span::before {
  content: "\2713";
  color: var(--lime);
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,0.75);
  padding: 58px 0 26px;
  margin-top: 40px;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--lime);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  margin-top: 42px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 16px; font-family: var(--display); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-family: var(--font); }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: var(--lime); }
.footer-logo { color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-logo img { border-radius: 8px; }
.footer-logo span { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  font-family: var(--font);
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
}
@media (max-width: 640px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(247,247,245,0.94);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--grey-300);
    box-shadow: 0 -8px 24px rgba(4,54,118,0.12);
  }
  .mobile-cta a {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  body { padding-bottom: 74px; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* =========================================================
   Unified header / nav / footer (6 Oct 2026)
   Brings WorkWell, Case Studies, Careers and the 3 legacy
   service pages onto the same sticky pill-nav + footer used
   by index/services/about/contact/pricing, so there's one
   nav design site-wide instead of two. Token aliases below
   let these rules be a near-verbatim copy of the bespoke
   pages' own header/footer CSS.
   ========================================================= */
:root {
  --ink: var(--navy);
  --ink-2: var(--navy-deep);
  --ink-soft: #355480;
  --muted: var(--grey-600);
  --paper: var(--offwhite);
  --card: var(--white);
  --line: rgba(4,54,118,.14);
  --lime-ink: var(--lime-dark);
  --font-display: var(--display);
  --font-body: var(--font);
  --ease: cubic-bezier(.16,1,.3,1);
  --wrap: var(--max);
  --gut: clamp(1.25rem,4vw,3rem);
  --text-xs: clamp(.75rem,.72rem + .15vw,.8125rem);
  --text-sm: clamp(.875rem,.85rem + .12vw,.9375rem);
  --text-base: clamp(1rem,.97rem + .15vw,1.0625rem);
}

.header { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.header.scrolled { background: rgba(246,243,236,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.header .brand { display: flex; align-items: flex-start; gap: .6rem; text-decoration: none; }
.header .brand img { width: 40px; height: 40px; flex: none; border-radius: 8px; margin-top: -6px; }
.header .brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1; }
.header .brand-name .v { color: var(--lime-ink); font-weight: 400; opacity: .3; }
.header .brand-name .d { color: var(--ink); font-weight: 700; }
.header .brand-sub { display: block; font-family: var(--font-body); font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-ink); font-weight: 600; margin-top: .3rem; white-space: nowrap; }
.header nav.nav { display: flex; gap: 1.3rem; }
.header nav.nav a { font-size: var(--text-sm); text-decoration: none; color: var(--ink-soft); font-weight: 500; transition: color .2s; white-space: nowrap; }
.header nav.nav a:hover, .header nav.nav a.active { color: var(--ink); }
.header .menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
@media (max-width: 960px) {
  .header nav.nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 24px 1.25rem; }
  .header nav.nav.open { display: flex; }
  .header nav.nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-base); }
  .header .menu-btn { display: inline-flex; }
  .header .btn { display: none; }
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-1px); text-decoration: none; }

.footer { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 55%, #1b4f8a 85%, #2f6db0 100%); color: #AEB7C6; padding-block: 3.5rem 2.5rem; font-size: var(--text-sm); }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr .9fr .9fr; gap: 2rem; padding-bottom: 2.5rem; position: relative; }
.footer-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--lime) 0%, #4C8DF5 55%, rgba(76,141,245,.15) 100%); }
.footer .brand { color: var(--paper); display: flex; align-items: flex-start; gap: .7rem; text-decoration: none; }
.footer .brand img { width: 34px; height: 34px; flex: none; border-radius: 8px; margin-top: -6px; }
.footer .brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.footer .brand-name .v { color: var(--lime); opacity: .35; }
.footer .brand-name .d { color: var(--paper); }
.footer .brand-sub { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8792A4; margin-top: .3rem; }
.footer h4 { margin: 0 0 1rem; color: var(--paper); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { text-decoration: none; color: #AEB7C6; }
.footer a:hover { color: var(--paper); }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--text-xs); }
.footer .tag { margin-top: 1rem; max-width: 34ch; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
