/* =====================================================================
   DOMI PATTERNS · COMPONENTS
   Loaded on the frontend AND inside the block editor (so patterns
   preview faithfully).

   IMPORTANT — design principle for this file:
   Every visual style comes from a class hook prefixed `domi-`. Block
   patterns NEVER carry inline `style=""` on outer wp:group elements
   (that's what triggers Gutenberg's "block contains unexpected content"
   warning). All sectioning, backgrounds, padding, gradients, borders
   and decorative composition live in this stylesheet.
   ===================================================================== */

/* ============================ Section shell ============================ */
.domi-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  /* Allow patterns to bleed full-bleed if the page template uses
     entry-content max-width; we override that with .alignfull on
     the parent group, but most projects size .domi-section to its
     own constrained inner container via core's layout system. */
}

/* Section variants — each one ONLY changes background / padding;
   nothing reaches outside its own scope. */
.domi-section--hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 7vw, 96px); background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.domi-section--industries { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.domi-section--certs { background: var(--paper); padding-top: clamp(40px,5vw,64px); padding-bottom: clamp(40px,5vw,64px); }
.domi-section--home-products { background: #fff; border-top: 1px solid var(--line); }
.domi-section--counters {
  background:
    linear-gradient(rgba(14,26,48,.88), rgba(14,26,48,.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 16px),
    var(--navy-900);
  color: #fff;
}
.domi-section--brand-story { background: #fff; }
.domi-section--diffs { background: var(--paper); }
.domi-section--blog { background: #fff; border-top: 1px solid var(--line); }
.domi-section--cta-banner {
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(232,113,26,.18), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

/* Page-hero shell for solution sub-pages */
.domi-section--page-hero {
  background: var(--navy-700);
  color: #fff;
  padding-top: 56px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
.domi-section--page-hero::before {
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 90% 20%, rgba(232,113,26,.20), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 16px);
  pointer-events: none;
}
.domi-section--page-hero > * { position: relative; }

/* ============================ Typography ============================ */
.domi-h1, h1.domi-h1 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--navy-700);
  text-wrap: balance;
}
.domi-h1 em { font-style: normal; color: var(--accent); }
.domi-h2, h2.domi-h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy-700);
  text-wrap: balance;
}
.domi-h2--light, h2.domi-h2--light { color: #fff !important; }

.domi-lead, p.domi-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--steel-700);
  max-width: 56ch;
}
.domi-lead--light, p.domi-lead--light { color: var(--navy-100); }

.domi-eyebrow, p.domi-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.domi-section--counters .domi-eyebrow,
.domi-section--cta-banner .domi-eyebrow { color: var(--accent); }
.domi-eyebrow--navy, p.domi-eyebrow--navy { color: var(--navy-500); }

.domi-sec-intro-text, p.domi-sec-intro-text {
  color: var(--steel-700);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 50ch;
}

/* Section header (two-column eyebrow+H2 / intro) */
.domi-sec-head { margin-bottom: 48px !important; gap: 48px !important; }
.domi-sec-head .wp-block-column { min-width: 0; }
.domi-sec-intro { max-width: 720px; margin-bottom: 56px; }
.domi-sec-intro-center { text-align: center; margin-bottom: 32px; }

@media (max-width: 800px) {
  .domi-sec-head { gap: 16px !important; }
}

/* ============================ Hero ============================ */
.domi-hero-row .wp-block-column { min-width: 0; }
.domi-pills-row { gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.domi-pill, p.domi-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--navy-050); color: var(--navy-700);
  margin: 0;
}
.domi-pill--warn { background: var(--accent-050); color: var(--accent-600); }

.domi-buttons-mt { margin-top: 28px !important; }
.domi-buttons-mt.wp-block-buttons { gap: 14px; flex-wrap: wrap; }

.domi-kpi-row {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  gap: 36px;
}
.domi-section--counters .domi-kpi-row,
.domi-section--page-hero .domi-kpi-row { border-top-color: rgba(255,255,255,.10); }
.domi-kpi-row .wp-block-column { flex-basis: 0; flex-grow: 1; min-width: 100px; }
.domi-kpi-num, h3.domi-kpi-num {
  font-family: var(--f-head); font-size: 26px; font-weight: 700;
  color: var(--navy-700); line-height: 1; margin: 0;
}
.domi-section--page-hero .domi-kpi-num, .domi-section--counters .domi-kpi-num { color: #fff; }
.domi-kpi-label, p.domi-kpi-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel-500); margin: 4px 0 0;
}
.domi-section--page-hero .domi-kpi-label, .domi-section--counters .domi-kpi-label { color: var(--navy-200); }

/* Hero decorative right-column composition */
.domi-hero-visual { position: relative; }
.domi-hero-visual .ph {
  aspect-ratio: 5 / 4;
  min-height: 360px;
  border-radius: 16px;
}
.domi-hero-spec-card {
  position: absolute; right: -10px; bottom: -28px;
  width: 260px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; box-shadow: var(--sh-3);
}
.domi-hero-spec-kicker {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .14em; color: var(--accent);
  margin-bottom: 8px;
}
.domi-hero-spec-title {
  font-family: var(--f-head); font-weight: 700; font-size: 15px;
  color: var(--navy-700);
}
.domi-hero-spec-grid {
  display: grid; grid-template-columns: auto 1fr;
  gap: 4px 10px; margin-top: 12px;
  font-family: var(--f-mono); font-size: 11.5px;
}
.domi-hero-spec-grid .k { color: var(--steel-500); }
.domi-hero-spec-grid .v { color: var(--navy-700); }
.domi-hero-spec-grid .v.success { color: var(--success); }

.domi-hero-cert-chip {
  position: absolute; left: -12px; top: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; box-shadow: var(--sh-2);
  display: flex; gap: 10px; align-items: center;
}
.domi-hero-cert-chip .badge {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--accent-050); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 11px;
}
.domi-hero-cert-chip .title {
  font-family: var(--f-head); font-size: 12px;
  font-weight: 700; color: var(--navy-700);
}
.domi-hero-cert-chip .sub {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--steel-500); letter-spacing: .08em;
}

/* ============================ Icon-box / card primitives ============================ */
.domi-iconbox {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  padding: 28px !important;
  position: relative;
  overflow: hidden;
  transition: all .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.domi-iconbox::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.domi-iconbox:hover { border-color: var(--line-strong) !important; box-shadow: var(--sh-2); transform: translateY(-2px); }
.domi-iconbox:hover::before { transform: scaleX(1); }

.domi-ico, p.domi-ico {
  width: 48px; height: 48px;
  background: var(--navy-050); color: var(--navy-700);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 14px;
  margin: 0 0 6px;
}

.domi-iconbox-title, h3.domi-iconbox-title {
  font-family: var(--f-head); font-size: 18px;
  color: var(--navy-700); font-weight: 700;
  letter-spacing: -.01em; margin: 0;
}
.domi-iconbox-body, p.domi-iconbox-body {
  color: var(--steel-700); font-size: 14.5px;
  line-height: 1.6; margin: 0;
}
.domi-iconbox-link, p.domi-iconbox-link {
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600;
  color: var(--accent); letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: auto;
}
.domi-iconbox-link a { color: inherit; text-decoration: none; }
.domi-iconbox-link a:hover { color: var(--accent-600); }

/* ============================ Counters ============================ */
.domi-counter-row { margin-top: 0; gap: 32px; row-gap: 48px; }
.domi-counter-row .wp-block-column { min-width: 0; }
.domi-counter, h2.domi-counter {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(40px, 6vw, 72px); line-height: 1;
  letter-spacing: -.04em; color: #fff;
  margin: 0;
}
.domi-counter em { font-style: normal; color: var(--accent); }
.domi-counter-label, p.domi-counter-label {
  font-size: 13px;
  color: var(--navy-200);
  letter-spacing: .04em; line-height: 1.4;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.16);
}

/* ============================ Image cards (home products / blog) ============================ */
.domi-img-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
}
.domi-img-card > .wp-block-html .ph {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-height: 220px;
}
.domi-img-card .domi-card-body {
  padding: 22px !important;
  flex: 1;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
.domi-img-card--dark { background: var(--navy-700); border-color: var(--navy-600) !important; }
.domi-img-card--dark .domi-card-title { color: #fff; }
.domi-img-card--dark .domi-card-body-text { color: var(--navy-100); }

.domi-card-kicker, p.domi-card-kicker {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.domi-card-kicker--accent { color: var(--accent); }
.domi-img-card .domi-card-kicker { color: var(--accent); }

.domi-card-title, h3.domi-card-title {
  font-family: var(--f-head); font-size: 19px;
  font-weight: 700; color: var(--navy-700);
  letter-spacing: -.01em; margin: 0;
}
.domi-card-body-text, p.domi-card-body-text {
  color: var(--steel-700);
  font-size: 14.5px; line-height: 1.65;
  margin: 0;
}

.domi-blog-title, h3.domi-blog-title {
  font-family: var(--f-head); font-size: 19px;
  line-height: 1.3; font-weight: 700;
  color: var(--navy-700); margin: 0;
}
.domi-blog-title a { color: inherit; text-decoration: none; }
.domi-blog-title a:hover { color: var(--accent); }

.domi-author-line, p.domi-author-line {
  font-size: 13px; color: var(--steel-500);
  margin: 4px 0 0;
}
.domi-author-line strong { color: var(--navy-700); font-weight: 600; }

/* ============================ Mini-spec table ============================ */
.domi-spec {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
.domi-spec--dark { background: var(--navy-800); border-color: var(--navy-600); }
.domi-spec-row {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  gap: 12px;
}
.domi-spec--dark .domi-spec-row { border-bottom-color: var(--navy-600); }
.domi-spec-row:last-child { border-bottom: 0; }
.domi-spec-row .k, .domi-spec-row p.k {
  color: var(--steel-500);
  font-family: var(--f-mono);
  letter-spacing: .03em;
  font-size: 12.5px;
  margin: 0 !important;
}
.domi-spec--dark .domi-spec-row .k { color: var(--navy-300); }
.domi-spec-row .v, .domi-spec-row p.v {
  color: var(--navy-700);
  font-weight: 600;
  font-family: var(--f-mono);
  font-size: 14px;
  margin: 0 !important;
  text-align: right;
}
.domi-spec--dark .domi-spec-row .v { color: #fff; }
.domi-spec-row .v.v--accent { color: var(--accent) !important; }

/* ============================ Badge cert ============================ */
.domi-badge-row { gap: 14px !important; }
.domi-badge-row .wp-block-column { min-width: 0; flex-basis: calc(16.66% - 14px); }
.domi-badge-cert {
  background: #fff;
  border: 1px solid var(--line) !important;
  padding: 22px 18px !important;
  border-radius: var(--r-md) !important;
  text-align: center;
  min-height: 96px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 100%;
}
.domi-badge-cert-title, p.domi-badge-cert-title {
  font-family: var(--f-head); font-weight: 700; font-size: 15px;
  color: var(--navy-700); letter-spacing: .02em; margin: 0;
}
.domi-badge-cert-sub, p.domi-badge-cert-sub {
  font-family: var(--f-mono); font-weight: 500;
  font-size: 10px; letter-spacing: .14em;
  color: var(--steel-500); text-transform: uppercase;
  margin: 0;
}

/* ============================ Brand-story decoration ============================ */
.domi-brand-visual { position: relative; }
.domi-brand-visual .ph { aspect-ratio: 4 / 5; min-height: 420px; }
.domi-furnace-dial {
  position: absolute; left: -16px; bottom: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--sh-2);
  display: flex; gap: 14px; align-items: center;
}
.domi-furnace-dial .dial {
  width: 56px; height: 56px; border-radius: 999px;
  background: conic-gradient(var(--accent) 0 72%, var(--steel-200) 72% 100%);
  display: grid; place-items: center;
}
.domi-furnace-dial .dial-inner {
  width: 44px; height: 44px; background: #fff;
  border-radius: 999px; display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 12px;
  color: var(--navy-700);
}
.domi-furnace-dial .kicker {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  color: var(--steel-500);
}
.domi-furnace-dial .title {
  font-family: var(--f-head); font-weight: 700; font-size: 14px;
  color: var(--navy-700);
}

/* ============================ Check list ============================ */
.domi-checks.is-style-checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 24px 0 0; }
.domi-checks.is-style-checks li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
}
.domi-checks.is-style-checks li::before {
  content: "✓"; display: grid; place-items: center;
  width: 18px; height: 18px; margin-top: 3px;
  background: var(--success-100); color: var(--success);
  border-radius: 999px; font-size: 10px; font-weight: 700;
}

/* ============================ Timeline (RFQ) on CTA banner ============================ */
.domi-timeline-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column;
  gap: 18px;
}
.domi-section--cta-banner .domi-card-kicker { color: var(--accent); }
.domi-tl-row { gap: 16px !important; align-items: center !important; }
.domi-tl-row--border { padding-top: 18px !important; border-top: 1px solid rgba(255,255,255,.10); }
.domi-tl-when, h4.domi-tl-when {
  font-family: var(--f-head); font-size: 18px;
  font-weight: 700; color: var(--accent);
  width: 80px; flex-shrink: 0; margin: 0;
}
.domi-tl-body { gap: 4px; }
.domi-tl-title, p.domi-tl-title { color: #fff; font-weight: 600; margin: 0; }
.domi-tl-desc, p.domi-tl-desc { color: var(--navy-200); font-size: 13px; margin: 0; }

/* ============================ Buttons — appearance via block styles ============================ */
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14.5px;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  letter-spacing: .01em;
  transition: transform .12s ease, background .15s;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(232,113,26,.7);
}
.wp-block-button .wp-block-button__link:hover { background: var(--accent-600); transform: translateY(-1px); }
.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent; color: var(--navy-700);
  border: 1.5px solid var(--navy-200); box-shadow: none;
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
  background: var(--navy-050); border-color: var(--navy-300);
}
.wp-block-button.is-style-dark .wp-block-button__link {
  background: var(--navy-700); color: #fff; box-shadow: none;
}
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--navy-800); }
.wp-block-button.is-style-light .wp-block-button__link {
  background: #fff; color: var(--navy-700); box-shadow: none;
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--paper); }
.wp-block-button.is-style-text .wp-block-button__link {
  background: transparent !important; color: var(--navy-700) !important;
  padding: 0 !important; height: auto !important; box-shadow: none !important;
  font-weight: 600;
}
.wp-block-button.is-style-text .wp-block-button__link:hover { color: var(--accent) !important; }
.wp-block-button.is-style-text-accent .wp-block-button__link {
  background: transparent !important; color: var(--accent) !important;
  padding: 0 !important; height: auto !important; box-shadow: none !important;
  font-weight: 600;
}

/* ============================ Image placeholder ============================ */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(26,43,74,0.06) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--navy-050), #fff 70%);
  color: var(--navy-500);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
  min-height: 220px;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--navy-700), var(--navy-900));
  color: var(--navy-200); border-color: var(--navy-600);
}
.ph.tag::after {
  content: "PLACEHOLDER · " attr(data-label);
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; letter-spacing: .14em;
  color: var(--navy-500);
  background: rgba(255,255,255,.7);
  padding: 4px 8px; border-radius: 3px;
}
.ph.dark.tag::after { color: var(--navy-200); background: rgba(0,0,0,.4); }

/* ============================ Responsive ============================ */
@media (max-width: 900px) {
  .domi-badge-row .wp-block-column { flex-basis: calc(33.33% - 14px) !important; }
}
@media (max-width: 600px) {
  .domi-badge-row .wp-block-column { flex-basis: calc(50% - 14px) !important; }
  .domi-kpi-row .wp-block-column { flex-basis: 50% !important; }
}
@media (max-width: 720px) {
  .domi-hero-cert-chip { left: 0; top: 12px; }
  .domi-hero-spec-card { right: 0; bottom: -16px; }
}

/* ============================ Editor canvas tweaks ============================ */
.editor-styles-wrapper {
  background: var(--paper);
  font-family: var(--f-body);
}
.editor-styles-wrapper .domi-section--counters,
.editor-styles-wrapper .domi-section--cta-banner,
.editor-styles-wrapper .domi-section--page-hero {
  /* Ensure the dark backgrounds render in the editor too */
  color: #fff;
}

/* Prevent the editor from showing the wp:html validation warning being
   triggered on inline-styled image placeholders. We intentionally use
   wp:html only where there's NO editable text. */
.editor-styles-wrapper .ph { user-select: none; }


/* ============================ Page-hero breadcrumb ============================ */
.domi-breadcrumb, p.domi-breadcrumb {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--navy-200);
  margin: 0 0 22px;
}
.domi-breadcrumb a { color: var(--navy-100); text-decoration: none; }
.domi-breadcrumb a:hover { color: #fff; }
.domi-breadcrumb span { color: #fff; }

.domi-h1--light, h1.domi-h1--light { color: #fff !important; }

/* ============================ Pain-point quote H2 ============================ */
.domi-section--painpoint { background: #fff; }
.domi-narrow { margin-left: auto !important; margin-right: auto !important; }
.domi-h2--quote, h2.domi-h2--quote {
  font-size: clamp(24px, 2.6vw, 32px) !important;
  line-height: 1.25 !important;
  letter-spacing: -.015em !important;
  margin-top: 18px !important;
  text-wrap: pretty;
}

/* ============================ Solution sections (background) ============================ */
.domi-section--value-props { background: var(--paper); }
.domi-section--solution-products { background: #fff; }
.domi-section--case { background: var(--paper); }
.domi-section--solution-cta {
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(232,113,26,.18), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  text-align: center;
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 7vw, 96px);
}
.domi-h2--narrow { max-width: 22ch; margin-left: auto !important; margin-right: auto !important; }
.domi-lead--center { margin-left: auto; margin-right: auto; }

/* ============================ Card with kicker (value-props) ============================ */
.domi-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  padding: 32px !important;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  transition: all .2s;
}
.domi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong) !important;
}

/* ============================ Pull quote ============================ */
.domi-pull-quote {
  border-left: 3px solid var(--accent);
  padding-left: 24px !important;
  margin-top: 32px;
}
.domi-pull-quote-text, p.domi-pull-quote-text {
  font-family: var(--f-head);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--navy-700);
  font-weight: 600;
  margin: 0;
}
.domi-pull-quote-cite, p.domi-pull-quote-cite {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 13.5px;
  color: var(--steel-500);
  font-weight: 500;
  margin: 12px 0 0;
}

/* Bullet list (without checks) */
.domi-bullet-list { padding-left: 18px !important; color: var(--steel-700); font-size: 14px; line-height: 1.8; }

/* ============================ Product category grid ============================ */
.domi-section--product-category { background: var(--paper); }
.domi-filter-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 16px 0; margin-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.domi-filter-row .lbl {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--steel-500); text-transform: uppercase; margin-right: 4px;
}
.domi-filter-row .chip {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--steel-700); background: #fff;
  cursor: pointer;
}
.domi-filter-row .chip:hover { border-color: var(--navy-300); color: var(--navy-700); }
.domi-filter-row .chip.active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.domi-product-card {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  padding: 0 !important;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  transition: all .2s;
  position: relative;
}
.domi-product-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.domi-product-card > .wp-block-html .ph {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.domi-product-card-body {
  padding: 18px !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.domi-product-sku, p.domi-product-sku {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--steel-500); margin: 0;
}
.domi-product-title, h3.domi-product-title {
  font-size: 16px; line-height: 1.3; color: var(--navy-700);
  font-family: var(--f-head); font-weight: 700; margin: 0;
}
.domi-product-title a { color: inherit; text-decoration: none; }
.domi-product-title a:hover { color: var(--accent); }
.domi-product-micro, p.domi-product-micro {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--navy-700); margin: 0;
}
.domi-product-quote-row {
  margin-top: auto !important;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.domi-product-moq, p.domi-product-moq {
  font-family: var(--f-mono); font-size: 11px; color: var(--steel-500); margin: 0;
}
.domi-product-quote-link, p.domi-product-quote-link {
  color: var(--accent); font-weight: 600; font-size: 13px; margin: 0;
}
.domi-product-quote-link a { color: inherit; text-decoration: none; }
.domi-product-badge, p.domi-product-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  padding: 4px 8px; border-radius: 4px;
  background: #fff; color: var(--navy-700); border: 1px solid var(--line);
  margin: 0;
  z-index: 2;
}
.domi-product-badge.is-hot { background: var(--accent); color: #fff; border-color: var(--accent); }

.domi-custom-cta {
  margin-top: 64px !important;
  background: var(--navy-700) !important;
  border: 1px solid var(--navy-600) !important;
  border-radius: var(--r-lg) !important;
  padding: 36px 40px !important;
}
.domi-custom-cta .domi-card-kicker { color: var(--accent); }

/* ============================ Product single ============================ */
.domi-section--product-meta { background: #fff; padding-top: 24px; padding-bottom: 80px; }
.domi-section--product-tabs { background: var(--paper); }
.domi-product-kicker, p.domi-product-kicker {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .14em; color: var(--accent); margin: 0;
}
.domi-product-h1, h1.domi-product-h1 {
  font-size: clamp(28px, 3.4vw, 40px) !important;
  margin-top: 14px !important;
}
.domi-product-microbadges {
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: 12px !important;
}
.domi-mini-badge, p.domi-mini-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 6px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em;
  background: var(--navy-050); color: var(--navy-700);
  margin: 0;
}

.domi-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 14px; }
.domi-gallery .thumbs { display: grid; gap: 10px; }
.domi-gallery .thumbs .ph { min-height: 70px; cursor: pointer; }
.domi-gallery .thumbs .ph.active { outline: 2px solid var(--accent); outline-offset: -2px; }
.domi-gallery .main { min-height: 460px; }

/* Tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 0; flex-wrap: wrap; }
.tabs button {
  font-family: var(--f-body); font-size: 14.5px; font-weight: 600;
  color: var(--steel-500); padding: 14px 22px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: transparent; border: 0; cursor: pointer;
}
.tabs button.active { color: var(--navy-700); border-bottom-color: var(--accent); }
.tabpanel { padding: 32px 0; }
.tabpanel { display: none; }
.tabpanel.active { display: block; }

/* ============================ Forms ============================ */
.domi-form-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
}
.domi-form-card .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
}
.domi-form-card .form-row.single { grid-template-columns: 1fr; }
.domi-form-card .field label {
  display: block; font-size: 12px; color: var(--steel-500);
  font-family: var(--f-mono); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 6px;
}
.domi-form-card .field input,
.domi-form-card .field select,
.domi-form-card .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: 6px; background: var(--paper-3);
  font-family: var(--f-body); font-size: 15px; color: var(--navy-700);
  box-sizing: border-box;
}
.domi-form-card .field input:focus,
.domi-form-card .field select:focus,
.domi-form-card .field textarea:focus {
  outline: 0; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px var(--accent-050);
}
.domi-form-card .field textarea { resize: vertical; min-height: 100px; }
.domi-form-card .btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 6px;
  font-weight: 600; font-size: 14.5px; letter-spacing: .01em;
  background: var(--accent); color: #fff; cursor: pointer;
  width: 100%; justify-content: center;
  border: 0;
}
.domi-form-card .btn-ghost {
  background: transparent; color: var(--navy-700);
  border: 1.5px solid var(--navy-200); width: auto;
}
.domi-form-card .drop-zone {
  border: 2px dashed var(--navy-200); border-radius: 14px;
  background: var(--paper-3);
  padding: 32px; text-align: center;
  margin-bottom: 18px;
}
.domi-form-card .drop-zone .icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--accent-050); color: var(--accent);
  display: grid; place-items: center;
  font-size: 22px; margin: 0 auto 12px;
}
.domi-form-card .drop-zone .title { font-weight: 600; color: var(--navy-700); }
.domi-form-card .drop-zone .sub { font-size: 13px; color: var(--steel-500); margin-top: 4px; }
@media (max-width: 600px) { .domi-form-card .form-row { grid-template-columns: 1fr; } }

.domi-form-note, p.domi-form-note {
  margin-top: 18px; font-size: 12px; color: var(--steel-500);
}

.domi-section--inquiry { background: #fff; padding-top: 80px; padding-bottom: 80px; }
.domi-section--custom-rfq { background: var(--paper); padding-top: 96px; padding-bottom: 96px; }
.domi-section--contact { background: #fff; padding-top: 56px; padding-bottom: 96px; }

.domi-form-tabs {
  display: flex; gap: 6px; padding: 6px; background: var(--paper-3);
  border-radius: 10px; margin-bottom: 24px;
}
.domi-form-tabs button {
  flex: 1; padding: 12px 14px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--steel-500);
  text-align: center; line-height: 1.3; background: transparent;
  border: 0; cursor: pointer;
}
.domi-form-tabs button.active {
  background: #fff; color: var(--navy-700); box-shadow: var(--sh-1);
}
.domi-form-tabs button small {
  display: block; font-weight: 500; color: var(--steel-500);
  font-size: 11px; margin-top: 2px;
}
.domi-form-tabs button.active small { color: var(--accent); }

/* ============================ Info card (contact sidebar) ============================ */
.domi-info-card {
  padding: 22px !important;
  background: var(--paper-3) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  gap: 14px !important;
  align-items: flex-start !important;
  margin-bottom: 14px;
}
.domi-info-card-ico, p.domi-info-card-ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--navy-050); color: var(--navy-700);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; font-size: 13px;
  flex-shrink: 0; margin: 0;
}
.domi-info-card-title, h4.domi-info-card-title {
  font-size: 14.5px !important; color: var(--navy-700) !important;
  margin: 0 !important;
}
.domi-info-card-body, p.domi-info-card-body {
  font-size: 13.5px; color: var(--steel-700);
  margin: 4px 0 0;
}
.domi-info-card-accent, p.domi-info-card-accent {
  color: var(--navy-700);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 0;
}

/* ============================ Custom-fabrication timeline ============================ */
.domi-section--coil-timeline { background: var(--paper); }
.domi-tl-grid {
  position: relative;
  margin-top: 48px !important;
}
.domi-tl-grid::before {
  content: "";
  position: absolute; top: 32px; left: 8%; right: 8%;
  height: 2px; background: var(--line);
  z-index: 0;
}
.domi-tl-grid .wp-block-column { position: relative; z-index: 1; }
.domi-tl-node {
  text-align: center;
  background: var(--paper);
  padding: 0 8px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.domi-tl-node-dot, p.domi-tl-node-dot {
  width: 64px; height: 64px; border-radius: 999px;
  background: #fff; border: 2px solid var(--navy-200);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 700; color: var(--navy-700);
  font-size: 16px;
  margin: 0;
}
.domi-tl-node.is-active .domi-tl-node-dot {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.domi-tl-node-title, h4.domi-tl-node-title {
  font-size: 15px !important; margin: 14px 0 0 !important;
}
.domi-tl-node-body, p.domi-tl-node-body {
  font-size: 13px; color: var(--steel-700); margin: 4px 0 0;
}
.domi-tl-node-when, p.domi-tl-node-when {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--accent); letter-spacing: .08em;
  margin: 8px 0 0;
}
@media (max-width: 900px) {
  .domi-tl-grid::before { display: none; }
}
