/* Indiott scope enquiry: the closing band on solution and guide pages, the block at the end of posts,
   and the sticky bar. Tokens from the theme. Component rules carry a .ind-scope-enq prefix so they
   outrank .ind-location p/h2/a (template-location.php) and Kadence's .single-content element rules. */

.ind-scope-enq [hidden], .ind-scopebar[hidden] { display: none !important; }

.ind-solution .ind-scope-enq, .ind-location .ind-scope-enq { background: var(--ink); color: var(--steel-300); padding-block: clamp(64px, 8vw, 104px); }
.ind-v2 .ind-scope-enq { background: var(--ink-deep); position: relative; }
.ind-v2 .ind-scope-enq::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--signal) 0 22%, rgba(238,97,36,0.15) 46%, transparent 72%); }

.ind-scope-enq .ind-scope-enq__in { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(36px, 5vw, 80px); align-items: start; }

/* intro */
.ind-scope-enq .ind-scope-enq__intro { padding-top: 8px; }
.ind-scope-enq .ind-kicker { color: var(--signal); margin: 0 0 10px; font-size: 12px; line-height: 1.4; letter-spacing: 0.12em; max-width: none; }
.ind-scope-enq .ind-scope-enq__intro h2 { color: var(--paper); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.028em; margin: 0 0 16px; max-width: 16ch; }
.ind-scope-enq .ind-scope-enq__lede { color: var(--steel-300); font-size: 17px; line-height: 1.6; max-width: 46ch; margin: 0 0 28px; }
.ind-scope-enq .ind-scope-enq__gets { list-style: none; margin: 0 0 28px; padding: 0; max-width: 46ch; }
.ind-scope-enq .ind-scope-enq__gets li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; margin: 0; padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.12); font-size: 15.5px; line-height: 1.5; color: var(--steel-300); max-width: none; }
.ind-scope-enq .ind-scope-enq__gets li::before { content: none; }
.ind-scope-enq .ind-scope-enq__gets li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.ind-scope-enq .ind-scope-enq__gets svg { width: 17px; height: 17px; color: var(--signal); margin-top: 3px; }
.ind-scope-enq .ind-scope-enq__call { font-size: 15px; line-height: 1.5; color: var(--steel-300); margin: 0; max-width: none; }
.ind-scope-enq .ind-scope-enq__call a { font-family: var(--font-mono); font-weight: 500; color: var(--paper); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); white-space: nowrap; }
.ind-scope-enq .ind-scope-enq__call a:hover { color: var(--signal); text-decoration-color: var(--signal); }

/* card */
.ind-scope-enq .ind-scope-enq__card { background: var(--card); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3.2vw, 40px); }
.ind-scope-enq .ind-scope-enq__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px;
  padding-bottom: 18px; border-bottom: 1px solid var(--steel-100); margin-bottom: 4px; }
.ind-scope-enq .ind-scope-enq__topic { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; max-width: none; }
.ind-scope-enq .ind-scope-enq__topic span { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-500); margin-bottom: 4px; }
.ind-scope-enq .ind-scope-enq__progress { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.4;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-700); max-width: none; }
.ind-scope-enq .ind-scope-enq__progress span { margin-right: 6px; }
.ind-scope-enq .ind-scope-enq__progress i { display: block; width: 28px; height: 3px; background: var(--steel-100); }
.ind-scope-enq .ind-scope-enq__progress i.is-on { background: var(--signal); }
html:not(.ind-scope-js) .ind-scope-enq .ind-scope-enq__progress { display: none; }
html:not(.ind-scope-js) .ind-scope-enq .ind-scope-enq__head:not(:has(.ind-scope-enq__topic)) { display: none; }

/* step 1: click answers */
.ind-scope-enq .ind-scope-enq__q { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.ind-scope-enq .ind-scope-enq__q legend { padding: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 11px; }
.ind-scope-enq .ind-scope-enq__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-scope-enq .ind-scope-enq__opt { position: relative; display: block; margin: 0; }
.ind-scope-enq .ind-scope-enq__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.ind-scope-enq .ind-scope-enq__opt span { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--steel-300);
  border-radius: var(--r); background: var(--paper); font-size: 14.5px; font-weight: 500; line-height: 1.2; color: var(--ink);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease); }
.ind-scope-enq .ind-scope-enq__opt:hover span { border-color: var(--steel-500); }
.ind-scope-enq .ind-scope-enq__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ind-scope-enq .ind-scope-enq__opt input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.ind-scope-enq .ind-scope-enq__q.is-missing .ind-scope-enq__opt span { border-color: var(--signal-press); }
.ind-scope-enq .ind-scope-enq__need { margin: 9px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--signal-press); max-width: none; }
.ind-scope-enq .ind-scope-enq__next { width: 100%; margin-top: 30px; text-align: center; }

/* step 2: contact */
.ind-scope-enq .ind-scope-enq__step[data-step="2"] { padding-top: 22px; }
.ind-scope-enq .ind-scope-enq__summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 20px; padding: 11px 14px;
  background: var(--paper); border: 1px solid var(--steel-100); font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; color: var(--steel-700); max-width: none; }
.ind-scope-enq .ind-scope-enq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
.ind-scope-enq .ind-scope-enq__f { display: block; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--steel-700); }
.ind-scope-enq .ind-scope-enq__f em { font-style: normal; font-weight: 400; color: var(--steel-500); margin-left: 4px; }
.ind-scope-enq .ind-scope-enq__f input, .ind-scope-enq .ind-scope-enq__f textarea { display: block; width: 100%; box-sizing: border-box; margin: 7px 0 0; padding: 12px 14px;
  border: 1px solid var(--steel-300); border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: none;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.4; }
.ind-scope-enq .ind-scope-enq__f textarea { resize: vertical; min-height: 88px; }
.ind-scope-enq .ind-scope-enq__f input:focus, .ind-scope-enq .ind-scope-enq__f textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); background: var(--paper); }
.ind-scope-enq .ind-scope-enq__f input.is-bad { border-color: var(--signal-press); }
.ind-scope-enq .ind-scope-enq__actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.ind-scope-enq .ind-scope-enq__actions .ind-btn { flex: 1; text-align: center; }
.ind-scope-enq .ind-scope-enq__link { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 12px 2px; cursor: pointer; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel-700); text-decoration: underline; text-decoration-color: var(--steel-300); text-underline-offset: 3px; }
.ind-scope-enq .ind-scope-enq__summary .ind-scope-enq__link { padding: 0; font-size: 12px; }
.ind-scope-enq .ind-scope-enq__link:hover, .ind-scope-enq .ind-scope-enq__link:focus { background: none; box-shadow: none; color: var(--signal-press); text-decoration-color: var(--signal); }
.ind-scope-enq .ind-btn--primary:hover { box-shadow: none; }
html:not(.ind-scope-js) .ind-scope-enq .ind-scope-enq__actions .ind-scope-enq__link,
html:not(.ind-scope-js) .ind-scope-enq .ind-scope-enq__next { display: none; }
.ind-scope-enq .ind-scope-enq__err { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--signal-press); max-width: none; }
.ind-scope-enq .ind-scope-enq__err a { color: var(--signal-press); }
.ind-scope-enq .ind-scope-enq__card .ind-quote-promise { margin: 16px 0 0; text-align: center; max-width: none; font-size: 12.5px; line-height: 1.4; }
.ind-scope-enq [data-scope-submit]:disabled { opacity: 0.7; cursor: progress; }

/* sent */
.ind-scope-enq .ind-scope-enq__ok { padding: clamp(8px, 2vw, 20px) 0; outline: none; }
.ind-scope-enq .ind-scope-enq__ok svg { width: 44px; height: 44px; color: var(--stock); margin-bottom: 14px; }
.ind-scope-enq .ind-scope-enq__ok h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink); }
.ind-scope-enq .ind-scope-enq__ok p { font-size: 16px; line-height: 1.6; color: var(--steel-700); margin: 0 0 10px; max-width: none; }
.ind-scope-enq .ind-scope-enq__ok [data-scope-email] { font-family: var(--font-mono); font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.ind-scope-enq .ind-scope-enq__ok a { font-family: var(--font-mono); color: var(--ink); }

/* posts: one column inside the article, the intro above the card */
.entry-content .ind-scope-enq--post, .ind-scope-enq--post { background: var(--ink); color: var(--steel-300); border-radius: var(--r);
  margin: 48px 0 8px; padding: clamp(24px, 4vw, 44px); scroll-margin-top: 90px; }
.ind-scope-enq--post .ind-scope-enq__in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
.ind-scope-enq--post .ind-scope-enq__intro { padding-top: 0; }
.ind-scope-enq--post .ind-scope-enq__intro h2 { font-size: clamp(26px, 3vw, 34px); max-width: none; margin-top: 0; }
.ind-scope-enq--post .ind-scope-enq__lede { max-width: 58ch; margin-bottom: 14px; }

@media (max-width: 960px) {
  .ind-scope-enq .ind-scope-enq__in { grid-template-columns: minmax(0, 1fr); }
  .ind-scope-enq--band .ind-scope-enq__intro h2, .ind-scope-enq--solution .ind-scope-enq__intro h2, .ind-scope-enq--guide .ind-scope-enq__intro h2 { max-width: 20ch; }
}
@media (max-width: 560px) {
  .ind-scope-enq .ind-scope-enq__grid { grid-template-columns: 1fr; }
  .ind-solution .ind-scope-enq .ind-scope-enq__card, .ind-location .ind-scope-enq .ind-scope-enq__card { margin-inline: -8px; }
  .ind-scope-enq .ind-scope-enq__opt span { padding: 10px 13px; font-size: 14px; }
  .ind-scope-enq .ind-scope-enq__actions { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .ind-scope-enq .ind-scope-enq__actions .ind-scope-enq__link { align-self: flex-start; }
  .ind-scope-enq--post { padding: 22px 16px; margin-inline: -4px; }
  .ind-scope-enq--post .ind-scope-enq__card { padding: 18px 16px; }
}

/* sticky bar */
.ind-scopebar { position: fixed; left: 0; right: 0; bottom: var(--gsa-cb-h, 0px); z-index: 850; background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.1); transform: translateY(calc(100% + 2px)); transition: transform 0.28s var(--ease); }
.ind-scopebar.is-on { transform: none; }
.ind-scopebar__in { display: flex; align-items: center; gap: 14px; min-height: 64px; padding-block: 10px; }
.ind-scopebar__txt { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 1.35; color: var(--steel-300); max-width: none; }
.ind-scopebar__topic { color: var(--paper); font-weight: 600; margin-right: 6px; }
.ind-scopebar .ind-btn { flex: none; padding: 13px 20px; }
.ind-scopebar .ind-btn--primary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.ind-scopebar__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; background: none; border: 0; color: var(--steel-500); cursor: pointer; }
.ind-scopebar__x svg { width: 18px; height: 18px; }
.ind-scopebar__x:hover { color: var(--paper); background: none; }
body.ind-scopebar-on .ind-qtray-btn { bottom: calc(84px + var(--gsa-cb-h, 0px)); }
@media (max-width: 720px) {
  .ind-scopebar__sub { display: none; }
  .ind-scopebar__txt { font-size: 14px; }
  .ind-scopebar .ind-btn { padding: 13px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-scopebar, .ind-scope-enq .ind-scope-enq__opt span { transition: none; }
}
