/* ==========================================================================
   Rapid Datasuite — Inner page themes (scoped by [data-theme])
   Brand anchors: navy #062B63 · teal #00A878 · cyan #29B6E6
   Does not touch header/nav — page-local wrappers only.
   ========================================================================== */

/* ---------- Shared page chrome ---------- */
.page-wrap {
  position: relative;
}

.page-breadcrumb {
  position: relative;
  z-index: 1;
  padding: 0;
  /* Only bottom gap — do not shorthand-reset margin or .container loses margin-inline: auto */
  margin-bottom: 0.5rem; /* ~8px + font metrics ≈ 12–16px to eyebrow */
  line-height: 1.35;
  font-size: 0.88rem;
  color: var(--muted);
}

.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(102, 112, 133, 0.7);
}

.page-breadcrumb a {
  color: var(--navy);
  font-weight: 600;
}

.page-breadcrumb [aria-current="page"] {
  color: var(--muted);
}

.page-faq {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.page-faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.15rem 1.15rem 0.35rem;
  box-shadow: var(--shadow-sm);
}

.page-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1rem 0;
  list-style: none;
}

.page-faq summary::-webkit-details-marker {
  display: none;
}

.page-faq summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 800;
}

.page-faq details[open] summary::after {
  content: "–";
}

.page-faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.theme-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(0, 168, 120, 0.35);
}

.theme-timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
}

.theme-timeline li:last-child {
  padding-bottom: 0;
}

.theme-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 168, 120, 0.18);
}

.theme-timeline strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.theme-timeline p {
  margin: 0;
  color: var(--muted);
}

.theme-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.theme-bento > * {
  grid-column: span 4;
}

.theme-bento > *.span-6 {
  grid-column: span 6;
}

.theme-bento > *.span-8 {
  grid-column: span 8;
}

.theme-bento > *.span-12 {
  grid-column: span 12;
}

.theme-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.theme-compare__col {
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--border);
  background: var(--white);
}

.theme-compare__col h3 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.theme-compare__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.theme-compare__col li {
  padding-left: 1rem;
  border-left: 3px solid var(--border);
  color: var(--text);
  font-size: 0.98rem;
}

.theme-compare__col--accent {
  background: linear-gradient(165deg, rgba(0, 168, 120, 0.08), #fff 55%);
  border-color: rgba(0, 168, 120, 0.28);
}

.theme-compare__col--accent li {
  border-left-color: var(--teal);
}

.theme-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.theme-motif {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
}

/* ---------- Theme accent tokens ---------- */
[data-theme="pathways"] {
  --theme-accent: var(--navy);
  --theme-accent-soft: rgba(6, 43, 99, 0.1);
}
[data-theme="shopfloor"] {
  --theme-accent: var(--teal);
  --theme-accent-soft: rgba(0, 168, 120, 0.12);
}
[data-theme="toolkit"] {
  --theme-accent: #0a4d6e;
  --theme-accent-soft: rgba(41, 182, 230, 0.1);
}
[data-theme="productline"] {
  --theme-accent: var(--cyan);
  --theme-accent-soft: rgba(41, 182, 230, 0.14);
}
[data-theme="outcomes"] {
  --theme-accent: var(--navy-mid);
  --theme-accent-soft: rgba(8, 42, 74, 0.08);
}
[data-theme="directory"] {
  --theme-accent: var(--cyan);
  --theme-accent-soft: rgba(41, 182, 230, 0.12);
}
[data-theme="about"] {
  --theme-accent: var(--navy-deep);
  --theme-accent-soft: rgba(6, 43, 99, 0.12);
}
[data-theme="knowledge"] {
  --theme-accent: var(--teal-dark);
  --theme-accent-soft: rgba(0, 143, 102, 0.1);
}
[data-theme="consult"] {
  --theme-accent: var(--teal);
  --theme-accent-soft: rgba(0, 168, 120, 0.1);
}
[data-theme="erp-custom"] {
  --theme-accent: var(--navy);
  --theme-accent-soft: rgba(6, 43, 99, 0.14);
}
[data-theme="rapid-product"] {
  --theme-accent: var(--cyan);
  --theme-accent-soft: rgba(0, 168, 120, 0.1);
}
[data-theme="production"] {
  --theme-accent: var(--teal);
  --theme-accent-soft: rgba(0, 168, 120, 0.14);
}
[data-theme="inventory"] {
  --theme-accent: #1a8fb8;
  --theme-accent-soft: rgba(41, 182, 230, 0.12);
}
[data-theme="commercial"] {
  --theme-accent: var(--navy-mid);
  --theme-accent-soft: rgba(41, 182, 230, 0.08);
}
[data-theme="transform"] {
  --theme-accent: var(--teal-bright);
  --theme-accent-soft: rgba(0, 181, 138, 0.12);
}
[data-theme="connect"] {
  --theme-accent: var(--cyan);
  --theme-accent-soft: rgba(6, 43, 99, 0.08);
}
[data-theme="sectors"] {
  --theme-accent: var(--navy);
  --theme-accent-soft: rgba(0, 168, 120, 0.08);
}

[data-theme] .inner-hero .eyebrow {
  color: var(--theme-accent, var(--teal-dark));
}

[data-theme] .page-cta-band {
  background: linear-gradient(
    120deg,
    var(--navy-deep),
    color-mix(in srgb, var(--theme-accent, var(--navy-mid)) 55%, var(--navy-deep)),
    #0a4d6e
  );
}

[data-theme] .check-list li::before {
  background: var(--theme-accent, var(--teal));
  box-shadow: 0 0 0 4px var(--theme-accent-soft, rgba(0, 168, 120, 0.15));
}

/* ==========================================================================
   1) pathways — navy solid hero · bento pathways (solutions)
   ========================================================================== */
[data-theme="pathways"] .inner-hero {
  background: linear-gradient(145deg, #062b63 0%, #0a3d7a 48%, #083556 100%);
  border-bottom: 0;
  color: #fff;
}

[data-theme="pathways"] .inner-hero::before {
  background-image:
    radial-gradient(circle at 85% 20%, rgba(0, 168, 120, 0.28), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: none;
  opacity: 1;
}

[data-theme="pathways"] .inner-hero h1,
[data-theme="pathways"] .inner-hero .eyebrow {
  color: #fff;
}

[data-theme="pathways"] .inner-hero__support {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="pathways"] .page-breadcrumb,
[data-theme="pathways"] .page-breadcrumb a,
[data-theme="pathways"] .page-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.78);
}

[data-theme="pathways"] .page-breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="pathways"] .inner-hero .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

[data-theme="pathways"] .content-card {
  border-top: 3px solid var(--navy);
}

[data-theme="pathways"] .page-section--soft {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(6, 43, 99, 0.06), transparent),
    var(--bg);
}

/* ==========================================================================
   2) shopfloor — teal wash · timeline (manufacturing)
   ========================================================================== */
[data-theme="shopfloor"] .inner-hero {
  background:
    linear-gradient(120deg, rgba(0, 168, 120, 0.18), rgba(41, 182, 230, 0.08) 40%, #f3faf7 100%),
    #e8f7f1;
  border-bottom: 1px solid rgba(0, 168, 120, 0.2);
}

[data-theme="shopfloor"] .inner-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%2300a878' stroke-opacity='0.12' stroke-width='1' d='M0 40h80M40 0v80'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%2300a878' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
}

[data-theme="shopfloor"] .inner-hero h1 {
  color: #064a38;
}

[data-theme="shopfloor"] .flow-chips span {
  background: rgba(0, 168, 120, 0.1);
  border-color: rgba(0, 168, 120, 0.25);
  color: var(--teal-dark);
}

[data-theme="shopfloor"] .problem__list li::before {
  background: var(--teal);
}

/* ==========================================================================
   3) toolkit — soft grid · bento catalog (capabilities)
   ========================================================================== */
[data-theme="toolkit"] .inner-hero {
  background:
    linear-gradient(180deg, #eef4fa 0%, #f8fbfd 70%, #fff 100%);
  border-bottom: 1px solid var(--border);
}

[data-theme="toolkit"] .inner-hero::before {
  background-image:
    linear-gradient(rgba(6, 43, 99, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 43, 99, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
}

[data-theme="toolkit"] .cap-primary__item,
[data-theme="toolkit"] .content-card {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid rgba(6, 43, 99, 0.12);
}

[data-theme="toolkit"] .cap-primary__item:hover,
[data-theme="toolkit"] .content-card:hover {
  border-color: rgba(41, 182, 230, 0.55);
  background: linear-gradient(180deg, #fff, #f3faff);
}

[data-theme="toolkit"] .page-section--soft {
  background:
    linear-gradient(rgba(6, 43, 99, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 43, 99, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px, 36px 36px, auto;
}

/* ==========================================================================
   4) productline — glass band (products)
   ========================================================================== */
[data-theme="productline"] .inner-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(234, 248, 255, 0.9)),
    linear-gradient(160deg, #062b63 0%, #0a4d6e 55%, #00a878 140%);
  border-bottom: 0;
}

[data-theme="productline"] .inner-hero::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(41, 182, 230, 0.35), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(0, 168, 120, 0.3), transparent 35%);
  mask-image: none;
  opacity: 1;
}

[data-theme="productline"] .inner-hero__copy {
  position: relative;
  padding: 0.875rem 1.6rem 1.5rem; /* top matches breadcrumb→eyebrow rhythm */
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-md);
}

/* Match glass card inset so breadcrumb shares the same left edge as copy.
   Spacing into the card comes from copy padding-top (avoid double gap). */
[data-theme="productline"] .page-breadcrumb {
  padding-inline: 1.6rem;
  margin-bottom: 0;
  box-sizing: border-box;
}

[data-theme="productline"] .product--featured {
  border-color: rgba(41, 182, 230, 0.45);
  background: linear-gradient(165deg, rgba(41, 182, 230, 0.1), #fff 50%);
}

/* ==========================================================================
   5) outcomes — editorial split (case-studies)
   ========================================================================== */
[data-theme="outcomes"] .inner-hero {
  background: linear-gradient(105deg, #f4f7fb 0%, #f4f7fb 52%, #dce8f4 52%, #c5d9ec 100%);
  border-bottom: 1px solid var(--border);
}

[data-theme="outcomes"] .inner-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 120 L120 0' stroke='%23062b63' stroke-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  mask-image: none;
}

[data-theme="outcomes"] .case-detail,
[data-theme="outcomes"] .content-card {
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: none;
}

[data-theme="outcomes"] .page-section--soft {
  background: linear-gradient(180deg, #f0f4f8, #fff);
}

/* ==========================================================================
   6) directory — cyan grid (clients)
   ========================================================================== */
[data-theme="directory"] .inner-hero {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(41, 182, 230, 0.22), transparent 55%),
    linear-gradient(180deg, #e8f6fc 0%, #f7fbfd 60%, #fff 100%);
}

[data-theme="directory"] .inner-hero::before {
  background-image:
    linear-gradient(rgba(41, 182, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 182, 230, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

[data-theme="directory"] .client-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

[data-theme="directory"] .client-stats li {
  background: #fff;
  border: 1px solid rgba(41, 182, 230, 0.25);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
}

[data-theme="directory"] .client-stats strong {
  display: block;
  font-size: 1.75rem;
  color: #0a6d8f;
}

[data-theme="directory"] .client-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   7) about — navy deep timeline (company)
   ========================================================================== */
[data-theme="about"] .inner-hero {
  background: linear-gradient(160deg, #082a4a 0%, #062b63 55%, #0a3d7a 100%);
  border-bottom: 0;
  color: #fff;
}

[data-theme="about"] .inner-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='48' fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100px 100px;
  mask-image: none;
  opacity: 1;
}

[data-theme="about"] .inner-hero h1,
[data-theme="about"] .inner-hero .eyebrow {
  color: #fff;
}

[data-theme="about"] .inner-hero__support {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="about"] .page-breadcrumb,
[data-theme="about"] .page-breadcrumb a,
[data-theme="about"] .page-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="about"] .inner-hero .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="about"] .theme-timeline {
  border-left-color: rgba(6, 43, 99, 0.25);
}

[data-theme="about"] .theme-timeline li::before {
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(6, 43, 99, 0.15);
}

/* ==========================================================================
   8) knowledge — teal editorial (resources)
   ========================================================================== */
[data-theme="knowledge"] .inner-hero {
  background: linear-gradient(180deg, #e6f5ef 0%, #f7fbf9 55%, #fff 100%);
  border-bottom: 1px solid rgba(0, 143, 102, 0.15);
}

[data-theme="knowledge"] .inner-hero::before {
  background: linear-gradient(90deg, transparent 0 12%, rgba(0, 168, 120, 0.08) 12% 13%, transparent 13%);
  mask-image: none;
}

[data-theme="knowledge"] .resource-card {
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

[data-theme="knowledge"] .resource-card h2 {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   9) consult — split diagonal (contact)
   ========================================================================== */
[data-theme="consult"] .inner-hero {
  background:
    linear-gradient(118deg, #eaf8f3 0%, #eaf8f3 48%, #062b63 48.2%, #0a3d7a 100%);
  border-bottom: 0;
  min-height: 280px;
}

[data-theme="consult"] .inner-hero::before {
  display: none;
}

[data-theme="consult"] .inner-hero__copy {
  max-width: 560px;
}

[data-theme="consult"] .inner-hero h1 {
  color: var(--navy-deep);
}

[data-theme="consult"] .final-cta {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(0, 168, 120, 0.18), transparent),
    linear-gradient(165deg, #062b63, #082a4a);
}

/* ==========================================================================
   10) erp-custom — navy diagonal + comparison (custom-erp)
   ========================================================================== */
[data-theme="erp-custom"] .inner-hero {
  background:
    linear-gradient(135deg, transparent 0 55%, rgba(0, 168, 120, 0.12) 55%),
    linear-gradient(160deg, #062b63, #0a3d7a 60%, #0a4d6e);
  border-bottom: 0;
  color: #fff;
}

[data-theme="erp-custom"] .inner-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='%23fff' stroke-opacity='0.07'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  mask-image: none;
  opacity: 1;
}

[data-theme="erp-custom"] .inner-hero h1,
[data-theme="erp-custom"] .inner-hero .eyebrow {
  color: #fff;
}

[data-theme="erp-custom"] .inner-hero__support {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="erp-custom"] .page-breadcrumb,
[data-theme="erp-custom"] .page-breadcrumb a,
[data-theme="erp-custom"] .page-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="erp-custom"] .inner-hero .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   11) rapid-product — glass cyan (rapid-erp)
   ========================================================================== */
[data-theme="rapid-product"] .inner-hero {
  background:
    linear-gradient(160deg, #043a52 0%, #062b63 45%, #0a6d8f 100%);
  border-bottom: 0;
}

[data-theme="rapid-product"] .inner-hero::before {
  background:
    radial-gradient(circle at 70% 30%, rgba(41, 182, 230, 0.4), transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(0, 168, 120, 0.25), transparent 35%);
  mask-image: none;
  opacity: 1;
}

[data-theme="rapid-product"] .inner-hero__copy {
  position: relative;
  max-width: 720px;
  padding: 0.875rem 1.5rem 1.4rem; /* top matches breadcrumb→eyebrow rhythm */
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

[data-theme="rapid-product"] .inner-hero h1,
[data-theme="rapid-product"] .inner-hero .eyebrow {
  color: #fff;
}

[data-theme="rapid-product"] .inner-hero__support {
  color: rgba(255, 255, 255, 0.85);
}

/* Match glass card inset so breadcrumb shares the same left edge as copy.
   Spacing into the card comes from copy padding-top (avoid double gap). */
[data-theme="rapid-product"] .page-breadcrumb {
  padding-inline: 1.5rem;
  margin-bottom: 0;
  box-sizing: border-box;
}

[data-theme="rapid-product"] .page-breadcrumb,
[data-theme="rapid-product"] .page-breadcrumb a,
[data-theme="rapid-product"] .page-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="rapid-product"] .inner-hero .btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   12) production — teal process steps
   ========================================================================== */
[data-theme="production"] .inner-hero {
  background:
    linear-gradient(180deg, rgba(0, 168, 120, 0.16), transparent 55%),
    linear-gradient(135deg, #d8f3e9, #f5fbf8 50%, #fff);
  border-bottom: 1px solid rgba(0, 168, 120, 0.18);
}

[data-theme="production"] .inner-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Crect x='10' y='10' width='70' height='70' fill='none' stroke='%2300a878' stroke-opacity='0.12' stroke-width='1' rx='4'/%3E%3C/svg%3E");
  background-size: 90px 90px;
}

[data-theme="production"] .steps-row li {
  border-top: 3px solid var(--teal);
}

[data-theme="production"] .cap-secondary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

[data-theme="production"] .cap-secondary li {
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   13) inventory — cyan soft grid bento
   ========================================================================== */
[data-theme="inventory"] .inner-hero {
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(41, 182, 230, 0.2), transparent 50%),
    linear-gradient(180deg, #eaf6fb, #fff);
}

[data-theme="inventory"] .inner-hero::before {
  background-image:
    linear-gradient(rgba(26, 143, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 143, 184, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

[data-theme="inventory"] .content-card {
  background: linear-gradient(180deg, #f7fcfe, #fff);
  border-color: rgba(41, 182, 230, 0.22);
}

[data-theme="inventory"] .theme-bento .content-card:nth-child(1) {
  border-top: 3px solid var(--cyan);
}

/* ==========================================================================
   14) commercial — split editorial funnel (crm-sales)
   ========================================================================== */
[data-theme="commercial"] .inner-hero {
  background: linear-gradient(100deg, #f0f5fa 0 58%, #d5e8f5 58% 100%);
}

[data-theme="commercial"] .inner-hero::before {
  background: linear-gradient(100deg, transparent 58%, rgba(6, 43, 99, 0.05) 58%);
  mask-image: none;
}

[data-theme="commercial"] .content-card h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 2px;
  background: var(--cyan);
  vertical-align: middle;
}

[data-theme="commercial"] .page-section--soft {
  background: linear-gradient(180deg, #eef4f9, #f8fafc);
}

/* ==========================================================================
   15) transform — soft grid digital (automation)
   ========================================================================== */
[data-theme="transform"] .inner-hero {
  background:
    linear-gradient(145deg, rgba(0, 181, 138, 0.14), rgba(6, 43, 99, 0.06)),
    #f2faf7;
  border-bottom: 1px solid rgba(0, 181, 138, 0.2);
}

[data-theme="transform"] .inner-hero::before {
  background-image:
    radial-gradient(circle, rgba(0, 168, 120, 0.14) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

[data-theme="transform"] .content-card {
  position: relative;
  overflow: hidden;
}

[data-theme="transform"] .content-card::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 168, 120, 0.08);
}

/* ==========================================================================
   16) connect — node hub (integrations)
   ========================================================================== */
[data-theme="connect"] .inner-hero {
  background:
    radial-gradient(circle at 85% 30%, rgba(41, 182, 230, 0.25), transparent 35%),
    radial-gradient(circle at 15% 70%, rgba(6, 43, 99, 0.1), transparent 40%),
    linear-gradient(180deg, #eef3f8, #fff);
}

[data-theme="connect"] .inner-hero::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Ccircle cx='70' cy='70' r='6' fill='%2329b6e6' fill-opacity='0.35'/%3E%3Ccircle cx='20' cy='30' r='4' fill='%23062b63' fill-opacity='0.2'/%3E%3Ccircle cx='120' cy='40' r='4' fill='%2300a878' fill-opacity='0.25'/%3E%3Ccircle cx='30' cy='110' r='4' fill='%2329b6e6' fill-opacity='0.2'/%3E%3Cline x1='70' y1='70' x2='20' y2='30' stroke='%23062b63' stroke-opacity='0.12'/%3E%3Cline x1='70' y1='70' x2='120' y2='40' stroke='%23062b63' stroke-opacity='0.12'/%3E%3Cline x1='70' y1='70' x2='30' y2='110' stroke='%23062b63' stroke-opacity='0.12'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

[data-theme="connect"] .content-card {
  text-align: center;
  border-radius: 999px;
  padding: 1.35rem 1.2rem;
}

[data-theme="connect"] .content-grid--3 .content-card {
  border-radius: var(--radius);
  text-align: left;
}

[data-theme="connect"] .pill-row a {
  border-radius: 999px;
  border-color: rgba(41, 182, 230, 0.35);
}

/* ==========================================================================
   17) sectors — industry tiles (industries)
   ========================================================================== */
[data-theme="sectors"] .inner-hero {
  background:
    linear-gradient(165deg, #062b63 0%, #0a3d7a 40%, #0a5c6e 100%);
  border-bottom: 0;
  color: #fff;
}

[data-theme="sectors"] .inner-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: none;
  opacity: 1;
}

[data-theme="sectors"] .inner-hero h1,
[data-theme="sectors"] .inner-hero .eyebrow {
  color: #fff;
}

[data-theme="sectors"] .inner-hero__support {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="sectors"] .page-breadcrumb,
[data-theme="sectors"] .page-breadcrumb a,
[data-theme="sectors"] .page-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="sectors"] .inner-hero .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="sectors"] .industry-detail {
  border-top: 3px solid var(--teal);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

[data-theme="sectors"] .industry-detail:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

[data-theme="sectors"] .industry-detail-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .theme-bento > *,
  .theme-bento > *.span-6,
  .theme-bento > *.span-8 {
    grid-column: span 12;
  }

  .theme-compare,
  .theme-split,
  [data-theme="sectors"] .industry-detail-list,
  [data-theme="directory"] .client-stats,
  [data-theme="production"] .cap-secondary {
    grid-template-columns: 1fr;
  }

  [data-theme="consult"] .inner-hero,
  [data-theme="outcomes"] .inner-hero,
  [data-theme="commercial"] .inner-hero {
    background: linear-gradient(180deg, #eaf8f3, #f5f8fb);
  }

  [data-theme="pathways"] .inner-hero,
  [data-theme="about"] .inner-hero,
  [data-theme="erp-custom"] .inner-hero,
  [data-theme="rapid-product"] .inner-hero,
  [data-theme="sectors"] .inner-hero,
  [data-theme="productline"] .inner-hero {
    /* keep dark themes on mobile */
  }
}
