/* TIERS Digital Systems - scoped division styling */
.tiers-digital-systems-page {
  --tds-ink: #0b0e0b;
  --tds-ink-2: #121712;
  --tds-olive: #596b38;
  --tds-olive-2: #73864a;
  --tds-olive-soft: #dfe6d2;
  --tds-stone: #f4f5ef;
  --tds-stone-2: #e9ebdf;
  --tds-line: rgba(18, 23, 18, .14);
  --tds-muted: #5f665f;
  --tds-white: #fff;
  --tds-radius: 20px;
}

.tiers-digital-systems-page .entry-title,
.tiers-digital-systems-page .ast-single-post-order,
.tiers-digital-systems-page .entry-header { display: none !important; }
.tiers-digital-systems-page .site-content .ast-container,
.tiers-digital-systems-page .site-content > .ast-container,
.tiers-digital-systems-page .content-area,
.tiers-digital-systems-page .site-main,
.tiers-digital-systems-page article.page,
.tiers-digital-systems-page .entry-content { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
.tiers-digital-systems-page .entry-content > * { max-width: none !important; }

.tds-site { background: var(--tds-stone); color: var(--tds-ink); font-family: inherit; overflow: hidden; }
.tds-site *, .tds-site *::before, .tds-site *::after { box-sizing: border-box; }
.tds-site a { text-decoration: none; }
.tds-shell { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }

.tds-subnav { position: sticky; top: 72px; z-index: 40; background: rgba(11,14,11,.96); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.admin-bar .tds-subnav { top: 104px; }
.tds-subnav-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tds-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.tds-brand-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 28px; padding: 0 8px; background: var(--tds-olive); color: white; font-size: 12px; letter-spacing: .12em; border-radius: 4px; }
.tds-nav-links { display: flex; align-items: center; gap: 15px; }
.tds-nav-links a { color: rgba(255,255,255,.76) !important; font-size: 12px; font-weight: 650; white-space: nowrap; }
.tds-nav-links a:hover, .tds-nav-links a:focus { color: white !important; }
.tds-nav-links .tds-nav-cta { color: white !important; border: 1px solid rgba(255,255,255,.24); padding: 10px 14px; border-radius: 999px; }
.tds-nav-toggle { display: none; background: transparent; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 12px; font: inherit; }

.tds-hero { position: relative; padding: clamp(72px, 10vw, 132px) 0 clamp(68px, 9vw, 112px); background:
  radial-gradient(circle at 82% 18%, rgba(115,134,74,.22), transparent 30%),
  linear-gradient(135deg, #0a0d0a 0%, #101610 60%, #0b0e0b 100%); color: white; }
.tds-hero::before { content: ""; position: absolute; inset: 0; opacity: .15; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, transparent, black 55%, transparent); }
.tds-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 84px); }
.tds-eyebrow, .tds-kicker { text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: 12px; }
.tds-eyebrow { color: #c8d6ac; margin-bottom: 24px; }
.tds-kicker { color: var(--tds-olive); margin-bottom: 14px; }
.tds-hero h1 { color: white; font-size: clamp(44px, 6vw, 76px); line-height: .99; letter-spacing: -.055em; margin: 0 0 26px; max-width: 850px; }
.tds-hero h1 em { color: #b4c98a; font-style: normal; }
.tds-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.65; color: rgba(255,255,255,.74); max-width: 760px; margin: 0; }
.tds-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.tds-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 0 20px; border-radius: 999px; background: var(--tds-olive-2); color: white !important; font-weight: 750; font-size: 14px; transition: transform .2s ease, background .2s ease; }
.tds-btn:hover, .tds-btn:focus { transform: translateY(-2px); background: #829958; }
.tds-btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,.2); color: white !important; }
.tds-btn-secondary:hover, .tds-btn-secondary:focus { background: rgba(255,255,255,.06); }
.tds-btn-dark { background: var(--tds-ink); }
.tds-btn-dark:hover, .tds-btn-dark:focus { background: #202820; }
.tds-trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; color: rgba(255,255,255,.6); font-size: 12px; }
.tds-trust-row span::before { content: "✓"; color: #b4c98a; margin-right: 7px; font-weight: 800; }

.tds-system-card { position: relative; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; background: rgba(255,255,255,.055); box-shadow: 0 28px 80px rgba(0,0,0,.28); padding: 22px; backdrop-filter: blur(14px); }
.tds-system-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .14em; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 16px; }
.tds-live-dot { color: #b8ca98; }
.tds-live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #b8ca98; margin-right: 6px; box-shadow: 0 0 0 5px rgba(184,202,152,.08); }
.tds-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 20px 0 10px; }
.tds-flow div { min-height: 114px; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(0,0,0,.13); display: flex; flex-direction: column; justify-content: center; }
.tds-flow div:nth-of-type(3), .tds-flow div:nth-of-type(4) { grid-row: 2; }
.tds-flow i:nth-of-type(2) { grid-row: 2; grid-column: 2; }
.tds-flow b { color: #a8bc80; font-size: 10px; letter-spacing: .12em; margin-bottom: 10px; }
.tds-flow span { color: white; font-size: 17px; font-weight: 750; }
.tds-flow small { color: rgba(255,255,255,.48); margin-top: 3px; }
.tds-flow i { color: rgba(255,255,255,.28); font-style: normal; }
.tds-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 10px; }
.tds-metrics div { background: #0b0f0b; border-radius: 12px; padding: 13px; }
.tds-metrics small { display: block; color: rgba(255,255,255,.4); font-size: 10px; }
.tds-metrics strong { display: block; color: #d9e3c7; font-size: 13px; margin-top: 2px; }

.tds-section { padding: clamp(68px, 8vw, 108px) 0; background: var(--tds-stone); }
.tds-section h2, .tds-cta h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.045em; margin: 0; color: var(--tds-ink); }
.tds-section h3 { color: var(--tds-ink); }
.tds-section p { color: var(--tds-muted); font-size: 17px; line-height: 1.72; }
.tds-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.tds-split > div:last-child p:first-child { margin-top: 0; }
.tds-section-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.tds-section-head > p { margin: 0; }
.tds-dark { background: var(--tds-ink); color: white; }
.tds-dark h2, .tds-dark h3 { color: white; }
.tds-dark p { color: rgba(255,255,255,.62); }
.tds-dark .tds-kicker { color: #a9bd81; }

.tds-journey-shell { margin-top: 48px; }
.tds-journey { display: grid; grid-template-columns: repeat(6,1fr); overflow: hidden; border: 1px solid var(--tds-line); border-radius: 16px; background: rgba(255,255,255,.28); }
.tds-journey div { min-height: 138px; padding: 22px 18px; border-right: 1px solid var(--tds-line); }
.tds-journey div:first-child { border-left: 0; }
.tds-journey div:last-child { border-right: 0; }
.tds-journey span, .tds-principles span, .tds-process-grid span, .tds-service-list span { color: var(--tds-olive); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.tds-journey strong { display: block; margin-top: 28px; font-size: 17px; }
.tds-journey small { display: block; color: var(--tds-muted); margin-top: 4px; }

.tds-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.tds-cap-card { position: relative; min-height: 292px; padding: 28px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.035); color: white !important; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.tds-cap-card:hover, .tds-cap-card:focus { transform: translateY(-4px); border-color: rgba(180,201,138,.45); background: rgba(255,255,255,.055); }
.tds-card-num { display: block; color: #a9bd81; font-size: 11px; font-weight: 800; letter-spacing: .14em; margin-bottom: 46px; }
.tds-cap-card h3 { color: white; font-size: 22px; line-height: 1.15; margin: 0 0 14px; }
.tds-cap-card p { font-size: 15px; line-height: 1.65; margin: 0 0 22px; }
.tds-card-link { position: absolute; bottom: 26px; left: 28px; color: #c7d5aa; font-weight: 700; font-size: 13px; }

.tds-principles { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--tds-line); margin-top: 46px; }
.tds-principles > div { padding: 30px 24px 10px 0; border-right: 1px solid var(--tds-line); }
.tds-principles > div + div { padding-left: 24px; }
.tds-principles > div:last-child { border-right: 0; }
.tds-principles h3 { margin: 32px 0 10px; font-size: 20px; }
.tds-principles p { font-size: 15px; margin: 0; }

.tds-industries { background: #e9ece0; }
.tds-industries .tds-split { align-items: center; }
.tds-pill-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; align-content: start; }
.tds-pill-list span { display: flex; min-height: 46px; padding: 11px 14px; align-items: center; border: 1px solid rgba(11,14,11,.13); border-radius: 12px; background: rgba(255,255,255,.52); font-size: 13px; font-weight: 680; line-height: 1.3; }
.tds-pill-list span:last-child { grid-column: 1 / -1; width: fit-content; min-width: 48%; }

.tds-engagements { background: #f7f8f3; }
.tds-model-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tds-model-grid > div { padding: 32px; border-radius: var(--tds-radius); background: white; border: 1px solid var(--tds-line); box-shadow: 0 10px 30px rgba(11,14,11,.035); }
.tds-model-grid span { font-size: 10px; letter-spacing: .16em; font-weight: 800; color: var(--tds-olive); }
.tds-model-grid h3 { font-size: 24px; margin: 34px 0 12px; }
.tds-model-grid p { font-size: 15px; margin: 0; }

.tds-process { background: var(--tds-stone-2); }
.tds-process-grid, .tds-service-list { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--tds-line); border-left: 1px solid var(--tds-line); }
.tds-process-grid > div, .tds-service-list > div { min-height: 230px; padding: 28px; border-right: 1px solid var(--tds-line); border-bottom: 1px solid var(--tds-line); }
.tds-process-grid h3, .tds-service-list h3 { margin: 36px 0 10px; font-size: 21px; }
.tds-process-grid p, .tds-service-list p { font-size: 15px; margin: 0; }
.tds-dark .tds-service-list { border-color: rgba(255,255,255,.12); }
.tds-dark .tds-service-list > div { border-color: rgba(255,255,255,.12); }
.tds-dark .tds-service-list span { color: #a9bd81; }
.tds-dark .tds-service-list h3 { color: white; }

.tds-outcomes { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.tds-outcomes > div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 22px; border: 1px solid var(--tds-line); border-radius: 15px; background: rgba(255,255,255,.44); }
.tds-outcomes span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--tds-olive-soft); color: var(--tds-olive); font-weight: 900; }
.tds-outcomes p { font-size: 15px; margin: 2px 0 0; }
.tds-note { padding: 18px; border-left: 3px solid var(--tds-olive); background: rgba(89,107,56,.07); font-size: 14px !important; }

.tds-cta { padding: clamp(64px, 8vw, 100px) 0; background: #172018; color: white; }
.tds-cta h2 { color: white; max-width: 820px; }
.tds-cta p { color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.7; max-width: 740px; }
.tds-cta .tds-kicker { color: #afc489; }
.tds-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }

.tds-consult-hero { padding: clamp(70px, 9vw, 115px) 0; background: linear-gradient(145deg,#0a0d0a,#121812); color: white; }
.tds-consult-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(46px, 7vw, 88px); align-items: start; }
.tds-consult-hero h1 { font-size: clamp(44px, 5.5vw, 70px); line-height: 1; letter-spacing: -.05em; color: white; margin: 0 0 24px; }
.tds-consult-list { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.13); }
.tds-consult-list > div { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.tds-consult-list span { color: #a8bc80; font-size: 11px; font-weight: 800; }
.tds-consult-list p { color: rgba(255,255,255,.67); margin: 0; font-size: 14px; line-height: 1.5; }
.tds-consult-list strong { color: white; }
.tds-form-panel { background: white; color: var(--tds-ink); padding: clamp(28px, 4vw, 44px); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.26); }
.tds-form-head > span { color: var(--tds-olive); letter-spacing: .14em; font-size: 10px; font-weight: 800; }
.tds-form-head h2 { color: var(--tds-ink); font-size: 34px; line-height: 1.08; letter-spacing: -.035em; margin: 12px 0; }
.tds-form-head p { color: var(--tds-muted); font-size: 13px; line-height: 1.55; }
.tds-contact-fallback { display: grid; gap: 12px; padding-top: 20px; }
.tds-contact-fallback > p { background: var(--tds-stone); border-radius: 12px; padding: 16px; color: var(--tds-muted); font-size: 14px; line-height: 1.6; }
.tds-contact-fallback > a:not(.tds-btn) { color: var(--tds-ink); font-weight: 750; }

.tds-legal { padding: 18px 0; background: #0a0c0a; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.07); }
.tds-legal p { font-size: 11px; line-height: 1.65; margin: 0; }
.tds-legal strong { color: rgba(255,255,255,.75); }

.tds-site a:focus-visible, .tds-site button:focus-visible { outline: 3px solid #c2d39d; outline-offset: 3px; }

@media (max-width: 1060px) {
  .tds-subnav { top: 76px; }
  .admin-bar .tds-subnav { top: 108px; }
  .tds-nav-toggle { display: inline-flex; }
  .tds-nav-links { display: none; position: absolute; left: 22px; right: 22px; top: 62px; flex-direction: column; align-items: stretch; background: #111611; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
  .tds-nav-links.is-open { display: flex; }
  .tds-nav-links a { padding: 8px 6px; }
  .tds-hero-grid, .tds-consult-grid { grid-template-columns: 1fr; }
  .tds-system-card { max-width: 700px; }
  .tds-card-grid { grid-template-columns: repeat(2,1fr); }
  .tds-journey { grid-template-columns: repeat(3,1fr); }
  .tds-principles { grid-template-columns: repeat(2,1fr); }
  .tds-principles > div:nth-child(2) { border-right: 0; }
  .tds-process-grid, .tds-service-list { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 782px) {
  .admin-bar .tds-subnav { top: 122px; }
}

@media (max-width: 760px) {
  .tds-subnav { top: 76px; }
  .admin-bar .tds-subnav { top: 122px; }
  .tds-shell { width: min(100% - 30px, 1180px); }
  .tds-subnav-inner { min-height: 62px; }
  .tds-brand { font-size: 14px; }
  .tds-brand-mark { min-width: 48px; height: 25px; font-size: 10px; }
  .tds-hero { padding-top: 70px; }
  .tds-hero h1, .tds-consult-hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .tds-actions { flex-direction: column; align-items: stretch; }
  .tds-actions .tds-btn { width: 100%; }
  .tds-trust-row { display: grid; grid-template-columns: 1fr 1fr; }
  .tds-flow { grid-template-columns: 1fr; }
  .tds-flow i { display: none; }
  .tds-flow div:nth-of-type(3), .tds-flow div:nth-of-type(4) { grid-row: auto; }
  .tds-metrics { grid-template-columns: 1fr; }
  .tds-split, .tds-section-head, .tds-cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .tds-section-head { align-items: start; }
  .tds-journey, .tds-card-grid, .tds-model-grid, .tds-process-grid, .tds-service-list, .tds-outcomes, .tds-principles, .tds-pill-list { grid-template-columns: 1fr; }
  .tds-journey div { border-left: 0; border-right: 0; border-bottom: 1px solid var(--tds-line); }
  .tds-journey div:last-child { border-bottom: 0; }
  .tds-pill-list span:last-child { grid-column: auto; width: auto; min-width: 0; }
  .tds-principles > div { border-right: 0; border-bottom: 1px solid var(--tds-line); padding: 26px 0 !important; }
  .tds-cap-card { min-height: 270px; }
  .tds-cta .tds-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tds-site *, .tds-site *::before, .tds-site *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* ========================================================================
   1.1.0 — TIERSGroup.com integration layer
   ======================================================================== */

/* Keep the parent site visually present, but remove evidence-specific chrome
   that would conflict with the Digital Systems division experience. */
body.tiers-digital-systems-page .tiers-capability-bar,
body.tiers-digital-systems-page .tiers-footer-cta {
  display: none !important;
}

body.tiers-digital-systems-page .tiers-page-hero {
  display: none !important;
}

body.tiers-digital-systems-page .tiers-page,
body.tiers-digital-systems-page .tiers-page__content,
body.tiers-digital-systems-page .tiers-main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tiers-digital-systems-page .tiers-page__content > * {
  max-width: none !important;
  margin-inline: 0;
}

/* Primary navigation: identify Digital Systems as a distinct TIERS division
   without making it feel like a separate brand. */
body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a {
  margin-left: 3px;
  border: 1px solid rgba(174, 185, 149, .24);
  background: rgba(85, 107, 47, .12);
  color: #eef1e5 !important;
}

body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a::before {
  display: none;
}

body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a:hover,
body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a:focus-visible,
body.tiers-digital-systems-page .tiers-menu > .tds-menu-item > a {
  border-color: rgba(174, 185, 149, .52);
  background: rgba(85, 107, 47, .3);
  color: #fff !important;
}

/* Parent-company homepage division feature. */
.tds-home-division {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0;
  background:
    radial-gradient(circle at 80% 14%, rgba(174,185,149,.16), transparent 28%),
    linear-gradient(135deg, #11150f 0%, #1a2117 58%, #222d1b 100%);
  color: #fff;
}

.tds-home-division::after {
  position: absolute;
  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: 52px 52px;
  content: "";
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(to left, #000 0, transparent 75%);
}

.tds-home-division__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .72fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.tds-home-division__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #b8c79e;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tds-home-division h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #fff !important;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.01;
  letter-spacing: -.045em;
}

.tds-home-division h2 em {
  color: #b8c98f;
  font-style: normal;
}

.tds-home-division__copy > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.72;
}

.tds-home-division__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.tds-home-division__button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 19px;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  background: #657b3f;
  color: #fff !important;
  font-size: .88rem;
  font-weight: 760;
  text-decoration: none !important;
}

.tds-home-division__button:hover,
.tds-home-division__button:focus-visible {
  background: #768e49;
  color: #fff !important;
  transform: translateY(-1px);
}

.tds-home-division__textlink {
  color: #dbe4cb !important;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none !important;
}

.tds-home-division__stack {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(7,9,7,.48);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

.tds-home-division__stack > div {
  display: grid;
  min-height: 96px;
  padding: 20px 22px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.tds-home-division__stack > div:last-child {
  border-bottom: 0;
}

.tds-home-division__stack span {
  grid-row: 1 / span 2;
  color: #9fb277;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.tds-home-division__stack strong {
  color: #fff;
  font-size: 1.05rem;
}

.tds-home-division__stack small {
  margin-top: 2px;
  color: rgba(255,255,255,.48);
  font-size: .76rem;
}

/* Bring the division footer handoff back into the parent-company footer cleanly. */
body.tiers-digital-systems-page .tiers-footer__meaning::after {
  display: block;
  margin-top: 10px;
  color: rgba(217,221,197,.66);
  content: "TIERS Digital Systems · Websites · CRM · Automation";
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .06em;
}

@media (max-width: 1180px) {
  body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a {
    margin-left: 0;
  }
}

@media (max-width: 1060px) {
  .tds-home-division__inner {
    grid-template-columns: 1fr;
  }

  .tds-home-division__stack {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .tds-home-division__inner {
    width: min(100% - 30px, 1180px);
  }

  .tds-home-division__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tds-home-division__button,
  .tds-home-division__textlink {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ========================================================================
   1.1.1 — full-width integration and header correction
   ======================================================================== */

/* The TIERS page template intentionally constrains ordinary page children to
   --tiers-content (790px). Digital Systems is a division-level experience, so
   its shortcode root must opt out of that article-width rule explicitly. */
body.tiers-site.tiers-digital-systems-page article.tiers-page,
body.tiers-site.tiers-digital-systems-page article.tiers-page > .tiers-page__content,
body.tiers-site.tiers-digital-systems-page article.tiers-page > .tiers-page__content > .tds-site {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.tiers-site.tiers-digital-systems-page article.tiers-page > .tiers-page__content > .tds-site {
  display: block !important;
  overflow: visible;
}

/* Match the parent site's 1240px visual grid. */
body.tiers-site.tiers-digital-systems-page .tds-shell {
  width: min(calc(100% - 48px), var(--tiers-container, 1240px));
}

/* Primary TIERS header: keep the new division visible without turning it into
   a second CTA or allowing the label to wrap and distort the toolbar. */
body.tiers-has-digital-systems .tiers-header__navigation {
  gap: 20px;
}

body.tiers-has-digital-systems .tiers-header__actions {
  gap: 12px;
}

body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a {
  margin-left: 2px;
  padding-inline: 10px;
  border: 0;
  background: transparent;
  color: var(--tiers-sage-light, #d9ddc5) !important;
  white-space: nowrap;
}

body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a span {
  white-space: nowrap;
}

body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a::before {
  display: block;
}

body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a:hover,
body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a:focus-visible,
body.tiers-digital-systems-page .tiers-menu > .tds-menu-item > a {
  border: 0;
  background: transparent;
  color: #fff !important;
}

/* At intermediate desktop widths, tighten the established header instead of
   wrapping a single navigation item. The theme switches to its mobile drawer
   at 1080px, so these rules only affect the desktop header. */
@media (min-width: 1081px) and (max-width: 1360px) {
  body.tiers-has-digital-systems .tiers-header__navigation {
    gap: 12px;
  }

  body.tiers-has-digital-systems .tiers-header__actions {
    gap: 9px;
  }

  body.tiers-has-digital-systems .tiers-menu > li > a {
    padding-inline: 8px;
    font-size: .84rem;
  }

  body.tiers-has-digital-systems .tiers-phone-link {
    font-size: .79rem;
  }
}

/* The subnav top offset is updated by tds.js from the live sticky-header
   bottom, which accommodates the WP admin bar and the Release 1 shrinking
   header without overlap or a visible gap. */
body.tiers-digital-systems-page .tds-subnav {
  top: var(--tds-sticky-top, 88px);
}

body.admin-bar.tiers-digital-systems-page .tds-subnav {
  top: var(--tds-sticky-top, 120px);
}

@media (max-width: 1080px) {
  body.tiers-digital-systems-page .tds-subnav {
    top: var(--tds-sticky-top, 76px);
  }

  body.admin-bar.tiers-digital-systems-page .tds-subnav {
    top: var(--tds-sticky-top, 108px);
  }

  body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a {
    margin-left: 0;
    padding-inline: 8px;
    white-space: normal;
  }

  body.tiers-has-digital-systems .tiers-menu > .tds-menu-item > a span {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  body.tiers-site.tiers-digital-systems-page .tds-shell {
    width: min(calc(100% - 30px), var(--tiers-container, 1240px));
  }
}


/* ========================================================================
   1.1.2 — visual refinement and audience expansion
   ======================================================================== */

/* Keep the division navigation compact now that Digital Systems is fully
   integrated into the parent TIERS header. The brand link already serves as
   the overview link, so only capability destinations remain in the subnav. */
@media (min-width: 1061px) and (max-width: 1260px) {
  .tds-nav-links { gap: 11px; }
  .tds-nav-links a { font-size: 11px; }
  .tds-nav-links .tds-nav-cta { padding-inline: 11px; }
}
