/* ==========================================================================
   Additions to the Tejstack dark-glass design (site.css): features the
   static design did not have - spam trap, form messages, newsletter, social,
   cookie consent. Uses the same tokens (--line, --ember, --mono ...).
   ========================================================================== */

/* ---------- bot trap (never visible) ---------- */
.nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile-wrap { margin: 4px 0 0; min-height: 65px; }

/* ---------- article extras ---------- */
.article-body img { max-width: 100%; height: auto; border-radius: 14px; }

/* ---------- server-side form messages ---------- */
.apply-errors { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255, 107, 94, .45); background: rgba(255, 107, 94, .08); color: #ffb3a8; font-size: var(--fs-sm); display: grid; gap: 4px; }
.apply-errors p { margin: 0; }
.apply-done { display: grid; justify-items: start; gap: 14px; padding: clamp(28px, 4vw, 44px); border-radius: var(--rc); border: 1px solid var(--line2); background: linear-gradient(135deg, rgba(255, 90, 31, .1), rgba(120, 160, 255, .06)); }
.apply-done-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--ember), var(--ember2)); color: #fff; font-size: 1.3rem; box-shadow: 0 8px 26px -8px rgba(255, 90, 31, .7); }
.apply-done h3 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.apply-done p { color: var(--muted); max-width: 52ch; line-height: 1.6; }

/* ---------- contact hero ---------- */
.contact-hero { padding-bottom: clamp(40px, 6vw, 72px); }
.contact-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.contact-hero h1 span { display: block; margin-inline: auto; text-wrap: balance; }
.contact-hero h1 .grad2 { max-width: 20ch; }
.contact-hero .lede { max-width: 600px; }
.contact-hero .actions { flex-wrap: wrap; justify-content: center; }
.contact-chips { list-style: none; margin: clamp(32px, 5vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(100%, 780px); text-align: left; }
.contact-chips li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(8, 16, 38, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s, transform .25s var(--e); }
.contact-chips li:hover { border-color: var(--line2); transform: translateY(-2px); }
.contact-chips .chip-apply { padding: 0; border-color: rgba(255, 138, 61, .35); background: linear-gradient(135deg, rgba(255, 90, 31, .16), rgba(255, 138, 61, .05)); }
.contact-chips .chip-apply:hover { border-color: var(--ember2); }
.contact-chips .chip-apply > a { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; }
.contact-chips .chip-apply > a > span:last-child { display: grid; gap: 2px; }
.contact-chips strong { font-weight: 500; font-size: var(--fs-body); color: var(--text); }
.contact-chips .chip-apply:hover strong { color: var(--ember2); }
@media (max-width: 620px) { .contact-chips { grid-template-columns: minmax(0, 1fr); } }
.chip-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ember2); background: rgba(255, 90, 31, .12); border: 1px solid rgba(255, 138, 61, .25); }
.contact-chips span:last-child { display: grid; gap: 2px; min-width: 0; }
.contact-chips small { font: 500 var(--fs-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
#consultation .sec-head, .sec.centered .sec-head { text-align: center; justify-items: center; margin-inline: auto; }
#consultation .sec-head .lede, .sec.centered .sec-head .lede { margin-inline: auto; }
.sec.centered .faq { margin-inline: auto; text-align: left; }

.sec.centered .sec-head .actions { justify-content: center; }
.sec.centered .partners { max-width: 1000px; margin-inline: auto; }

/* services page */
.hero-compact { padding-bottom: clamp(36px, 5vw, 60px); }
.hero-compact h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.hero-compact h1 br { display: none; }
.hero-compact h1 span { display: block; max-width: 28ch; margin-inline: auto; text-wrap: balance; }
.hero-compact .lede { max-width: 680px; text-wrap: balance; }
#practices { padding-top: 0; padding-bottom: clamp(24px, 4vw, 48px); }
.svc-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1040px; margin: 0 auto; }
.svc-nav a { padding: .7rem 1.25rem; border-radius: 999px; border: 1px solid var(--line2); background: rgba(8, 16, 38, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: var(--fs-sm); color: var(--text); transition: color .2s, border-color .2s, background .2s, transform .25s var(--e); }
.svc-nav a:hover { color: #fff; border-color: var(--ember2); background: rgba(255, 90, 31, .14); transform: translateY(-2px); }
#numbers { padding-top: 0; }
#advantage .path-card h3 { font-size: var(--fs-lede); line-height: 1.3; }
@media (min-width: 961px) { #advantage .path-card h3 { min-height: 2.6em; } }
.ix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
@media (max-width: 760px) { .ix-grid { grid-template-columns: minmax(0, 1fr); } }
.ix-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding-top: 70px; overflow: hidden; border: 1px solid var(--line); background: #0a1530; transition: border-color .35s, box-shadow .35s; }
.ix-card:hover { border-color: rgba(255, 138, 61, .45); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); transform: none; background: #0a1530; }
.ix-img { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
.ix-img img { filter: none; }
.ix-img::after { background: linear-gradient(180deg, rgba(4, 10, 24, 0) 0%, rgba(4, 10, 24, 0) 40%, rgba(4, 10, 24, .82) 66%, rgba(4, 10, 24, .96) 100%); }
.ix-card:hover .ix-img img { transform: scale(1.04); filter: none; }
.ix-tag { position: absolute; left: 18px; top: 18px; z-index: 2; padding: .35rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(4, 10, 24, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 var(--fs-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember2); }
.ix-body { flex: none; gap: 10px; padding: clamp(22px, 2.6vw, 30px); }
.ix-body h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.02em; font-weight: 400; }
.ix-body p { color: rgba(234, 240, 255, .78); }
.ix-body .bul { margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--e), opacity .35s, margin .35s; }
.ix-card:hover .bul, .ix-card:focus-within .bul { max-height: 260px; opacity: 1; margin: 6px 0 2px; }
@media (hover: none) { .ix-body .bul { max-height: none; opacity: 1; margin: 6px 0 2px; } }
.ix-foot { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; }
.ix-foot .link-arrow { margin-left: auto; white-space: nowrap; font-size: var(--fs-sm); }
.ix-stat strong { font-size: var(--fs-lede); }
.ix-stat em { white-space: nowrap; }
.svc-row { scroll-margin-top: 80px; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row .sec-head .lede { max-width: 720px; }
#lifecycle .steps , #hiring .steps { counter-reset: none; }
#lifecycle .step , #hiring .step { gap: 14px; align-content: start; text-align: left; transition: border-color .3s, background .3s; }
#lifecycle .step:hover , #hiring .step:hover { border-color: var(--line2); background: rgba(120, 160, 255, .07); }
#lifecycle .step .chip-ico , #hiring .step .chip-ico { margin-bottom: 4px; }
#lifecycle .step , #hiring .step { position: relative; padding: clamp(24px, 2.6vw, 32px); overflow: hidden; }
#lifecycle .step::before , #hiring .step::before { content: ''; position: absolute; left: clamp(24px, 2.6vw, 32px); top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ember), var(--ember2)); transition: width .35s var(--e); }
#lifecycle .step:hover::before , #hiring .step:hover::before { width: 88px; }
#lifecycle .steps , #hiring .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; gap: 20px; }
#lifecycle .step p , #hiring .step p { max-width: 52ch; }
#lifecycle .step p , #hiring .step p { line-height: 1.65; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 620px) { #lifecycle .steps, #hiring .steps { grid-template-columns: minmax(0, 1fr); } }

/* about page */
.about-hero { padding-bottom: clamp(48px, 7vw, 88px); }
.about-hero h1 { margin-bottom: 22px; }
.about-hero .lede { max-width: 680px; font-size: var(--fs-lede); text-wrap: balance; }
.about-hero .lede-2 { margin-top: 14px; max-width: 640px; font-size: var(--fs-body); color: var(--faint); line-height: 1.7; }
.about-hero .actions { margin-top: 34px; justify-content: center; flex-wrap: wrap; }
#people h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 22px; text-wrap: balance; }
#people .lede { font-size: var(--fs-body); line-height: 1.75; max-width: 54ch; }
#people .split-img { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line); }
.tm-card { transition: border-color .3s, transform .3s var(--e), background .3s; }
.tm-card:hover { transform: translateY(-4px); border-color: var(--line2); background: rgba(120, 160, 255, .07); }
.tm-card figcaption { display: flex !important; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.tm-avatar { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font: 500 1rem var(--sans); color: #fff; background: linear-gradient(135deg, var(--ember), var(--ember2)); }
.tm-card figcaption .tm-who { display: grid; gap: 2px; min-width: 0; color: var(--text); font-size: var(--fs-body); }
.tm-card figcaption .tm-who > span { color: var(--muted); font-size: var(--fs-sm); }
.tm-card figcaption .tm-avatar { color: #fff; font-size: 1rem; }

/* engagement pathway cards */
.path-grid { align-items: stretch; }
.path-card { display: flex; flex-direction: column; gap: 14px; text-align: left; transition: border-color .3s, transform .3s var(--e), background .3s; }
.path-card:hover { transform: translateY(-4px); border-color: var(--line2); background: rgba(120, 160, 255, .07); }
.path-card.featured { border-color: rgba(255, 138, 61, .35); background: linear-gradient(160deg, rgba(255, 90, 31, .14), rgba(120, 160, 255, .04) 65%); }
.path-card.featured:hover { border-color: var(--ember2); }
.path-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.path-card p { flex: 1; }
.path-card .link-arrow { margin-top: 10px; padding-top: 18px; align-self: stretch; justify-content: space-between; border-bottom: 0; border-top: 1px solid var(--line); }
.path-card .link-arrow:hover { gap: .45rem; }
.contact-chips a, .contact-chips em { font-style: normal; font-size: var(--fs-body); color: var(--text); overflow-wrap: anywhere; }
.contact-chips a:hover { color: var(--ember2); }

/* ---------- footer: newsletter + social + cookie link ---------- */
.foot-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px); border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(255, 90, 31, .10), rgba(255, 90, 31, 0) 60%); }
.foot-kicker { display: block; margin-bottom: 10px; font: 500 var(--fs-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember2); }
.foot-news h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; max-width: 22ch; }
.foot-news-form { display: grid; gap: 8px; margin: 0; }
.foot-cta { color: var(--ember2) !important; opacity: 1 !important; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 18px clamp(24px, 4vw, 52px); border-top: 1px solid var(--line); }
.foot-bar .foot-copy { color: var(--faint); font-size: var(--fs-xs); line-height: 1.5; margin: 0; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-legal li, .foot-legal li + li { margin: 0; }
.foot .foot-legal a, .foot .foot-legal .foot-link-btn { display: inline-block; padding: 4px 0; font-size: var(--fs-xs); line-height: 1.35; color: var(--muted); opacity: 1; transform: none; }
.foot .foot-legal a:hover, .foot .foot-legal .foot-link-btn:hover { color: var(--ember2); transform: none; }
.foot-cols a { white-space: nowrap; }
@media (min-width: 961px) { .foot-cols { grid-template-columns: repeat(3, max-content); justify-content: space-between; } }
.nl-field { display: flex; gap: 8px; padding: 5px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(4, 10, 24, .5); transition: border-color .2s, box-shadow .2s; }
.nl-field:focus-within { border-color: var(--ember2); box-shadow: 0 0 0 3px rgba(255, 138, 61, .18); }
.nl-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 400 var(--fs-body) var(--sans); padding: .6rem .8rem; outline: none; }
.nl-field input::placeholder { color: var(--faint); }
.nl-btn { display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 7px; padding: .6rem 1.1rem; background: linear-gradient(135deg, var(--ember), var(--ember2)); color: #fff; font: 500 var(--fs-xs) var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: transform .25s var(--e), box-shadow .25s; box-shadow: 0 8px 26px -10px rgba(255, 90, 31, .8); }
.nl-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(255, 90, 31, .9); }
.nl-btn:disabled { opacity: .65; cursor: progress; transform: none; }
.nl-btn.is-loading { opacity: .75; }
.nl-note { color: var(--faint); font-size: var(--fs-xs); line-height: 1.5; }
.nl-note a { color: var(--muted); border-bottom: 1px solid var(--line2); }
.nl-note a:hover { color: var(--ember2); border-color: var(--ember2); }
.nl-status { min-height: 1.3em; font-size: var(--fs-sm); color: var(--muted); }
.nl-status.is-ok { color: #6ee7a8; }
.nl-status.is-error { color: #ff8a7a; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); color: var(--muted); transition: color .2s, border-color .2s, background .2s, transform .25s var(--e); }
.foot-social a:hover { color: #fff; border-color: var(--ember2); background: rgba(255, 90, 31, .14); transform: translateY(-2px); }
.foot-link-btn { background: none; border: 0; padding: 5px 0; font: inherit; font-size: var(--fs-body); line-height: 1.35; color: var(--text); opacity: .92; cursor: pointer; text-align: left; transition: color .2s, opacity .2s, transform .25s var(--e); }
.foot-link-btn:hover { color: var(--ember2); opacity: 1; transform: translateX(4px); }
@media (max-width: 860px) {
  .foot-news { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nl-field { flex-direction: column; }
  .nl-btn { justify-content: center; padding: .8rem 1rem; }
}

/* ==========================================================================
   Cookie consent (dark glass)
   ========================================================================== */
#cookieConsent[hidden], #cookieConsent [hidden] { display: none !important; }
#cookieConsent:has(.cc-modal:not([hidden])) .cc-banner { visibility: hidden; }

.cc-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 300; width: min(430px, calc(100vw - 32px));
  padding: 20px 22px 18px; border-radius: var(--rc);
  border: 1px solid var(--line2); background: rgba(7, 15, 36, .9);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .7);
  animation: ccIn .45s var(--e);
}
@keyframes ccIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cc-banner { animation: none; } }
.cc-banner__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cc-banner__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 90, 31, .14); color: var(--ember2); flex: none; }
.cc-banner__title { font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; color: var(--text); margin: 0; }
.cc-banner__text { font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.cc-banner__text a { color: var(--text); border-bottom: 1px solid var(--line2); }
.cc-banner__text a:hover { color: var(--ember2); border-color: var(--ember2); }
.cc-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.cc-btn { font: 500 var(--fs-xs) var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: .75rem 1.05rem; border-radius: var(--r); border: 1px solid var(--line2); cursor: pointer; color: var(--text); background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s, transform .25s var(--e), box-shadow .25s; }
.cc-btn:hover { background: rgba(255, 255, 255, .09); border-color: var(--text); transform: translateY(-1px); }
.cc-btn--primary { background: linear-gradient(135deg, var(--ember), var(--ember2)); border-color: transparent; color: #fff; box-shadow: 0 8px 26px -10px rgba(255, 90, 31, .8); }
.cc-btn--primary:hover { background: linear-gradient(135deg, var(--ember), var(--ember2)); border-color: transparent; box-shadow: 0 10px 30px -8px rgba(255, 90, 31, .95); }
.cc-btn--outline { background: transparent; }
.cc-btn--link { border-color: transparent; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding-inline: .5rem; }
.cc-btn--link:hover { background: transparent; border-color: transparent; color: var(--ember2); transform: none; }

.cc-modal { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-modal__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 16, .72); backdrop-filter: blur(4px); }
.cc-modal__panel { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: var(--rc); border: 1px solid var(--line2); background: #07102a; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .85); outline: none; }
.cc-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cc-modal__head h2 { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.cc-modal__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s; }
.cc-modal__close:hover { border-color: var(--ember2); color: var(--ember2); }
.cc-modal__body { padding: 18px 24px; overflow-y: auto; }
.cc-modal__intro { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.cc-modal__foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 16px 24px; border-top: 1px solid var(--line); }
.cc-cat { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; background: rgba(120, 160, 255, .04); }
.cc-cat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cc-cat__name { font-size: 1rem; font-weight: 500; color: var(--text); margin: 0 0 4px; }
.cc-cat__desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; margin: 0; }
.cc-cat__always { font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6ee7a8; background: rgba(110, 231, 168, .12); padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.cc-switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; cursor: pointer; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.cc-switch__track { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .16); transition: background .2s; }
.cc-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); transition: transform .2s; }
.cc-switch input:checked + .cc-switch__track { background: var(--ember); }
.cc-switch input:checked + .cc-switch__track::after { transform: translateX(20px); }
.cc-switch input:focus-visible + .cc-switch__track { outline: 2px solid var(--ember2); outline-offset: 3px; }

@media (max-width: 575.98px) {
  .cc-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--rc) var(--rc) 0 0; padding: 18px 18px calc(16px + env(safe-area-inset-bottom)); }
  .cc-banner__actions .cc-btn--primary, .cc-banner__actions .cc-btn--outline { flex: 1 1 calc(50% - 4px); text-align: center; padding-inline: .5rem; white-space: nowrap; }
  .cc-banner__actions .cc-btn--link { flex: 1 1 100%; text-align: center; }
  .cc-modal { align-items: flex-end; padding: 0; }
  .cc-modal__panel { border-radius: var(--rc) var(--rc) 0 0; max-height: 92vh; }
  .cc-modal__foot .cc-btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- Insights page ---------- */
.feat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); text-align: left; }
.feat-img { min-height: 380px; }
.feat-img img, .feat:hover .feat-img img { filter: none; }
.feat-img::after { background: linear-gradient(90deg, rgba(4, 10, 24, 0) 60%, rgba(4, 10, 24, .55) 100%); }
.feat-body h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.feat-body .meta { padding-top: 14px; border-top: 1px solid var(--line); }


.ar-grid { gap: 22px; text-align: left; }
.ar-img img, .ar-card:hover .ar-img img { filter: none; }
.ar-card:hover .ar-img img { transform: scale(1.05); }
.ar-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 10, 24, .35) 0%, rgba(4, 10, 24, 0) 35%); pointer-events: none; }
.ar-tag { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(4, 10, 24, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 400 var(--fs-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember2); }
.ar-body { grid-template-rows: auto 1fr auto; gap: 10px; }
.ar-body h3 { font-size: 1.15rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.ar-foot .go { margin-left: auto; white-space: nowrap; }
@media (max-width: 960px) { .feat-img { min-height: 0; } }
.feat-body .meta, .ar-foot .meta { gap: 4px 1.3em; }
.feat-body .meta > span + span::before, .ar-foot .meta > span + span::before { display: none; }
.feat-body .meta > span:first-child { color: var(--ember2); }
.ar-foot .meta { flex: 1 1 auto; min-width: 0; }
.ar-foot .meta > span:first-child { color: var(--muted); }

/* ---------- Careers page ---------- */
#culture .path-card h3, #benefits .path-card h3 { font-size: var(--fs-lede); line-height: 1.3; }
@media (min-width: 961px) { #benefits .path-card h3 { min-height: 2.6em; } }
#culture .path-top, #benefits .path-top { justify-content: flex-start; }

#pathways .track { text-align: left; gap: 12px; padding: clamp(26px, 3vw, 40px); }
#pathways .track h3 { font-size: var(--fs-h3); min-height: 2.5em; }
.stages { position: relative; gap: 0; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.stages::before { content: ''; position: absolute; left: 6px; top: 34px; bottom: 28px; width: 1px; background: linear-gradient(180deg, var(--ember2), rgba(255, 138, 61, .15)); }
.stages li { position: relative; gap: 4px; padding: 0 0 22px 32px; border-radius: 0; background: none; }
.stages li:last-child { padding-bottom: 0; }
.stages li::before { content: ''; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: #0a1530; border: 2px solid var(--ember2); box-shadow: 0 0 0 4px rgba(255, 138, 61, .12); }
.stages li:last-child::before { background: var(--ember2); }
.stages strong { font-size: var(--fs-lede); font-weight: 500; }

/* Insights listing: two wide cards per row */
.ar-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ar-wide .ar-img { aspect-ratio: 16 / 8; }
.ar-wide .ar-tag { white-space: nowrap; }
.ar-wide .ar-body { padding: clamp(24px, 2.6vw, 34px); gap: 12px; }
.ar-wide .ar-body h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 400; -webkit-line-clamp: 3; }
.ar-wide .ar-body p { font-size: var(--fs-body); line-height: 1.6; -webkit-line-clamp: 3; }
.ar-wide .ar-foot { flex-wrap: nowrap; margin-top: 10px; padding-top: 16px; }
.ar-wide .ar-foot .meta { flex: 1 1 auto; min-width: 0; }
@media (max-width: 760px) { .ar-wide { grid-template-columns: minmax(0, 1fr); } .ar-wide .ar-foot { flex-wrap: wrap; } }

/* ---------- Article detail ---------- */
.art-hero .hero-in, .art-hero { text-align: center; }
.art-hero h1 span { max-width: 26ch; }
.art-hero .lede { max-width: 700px; }
.art-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(120, 160, 255, .05); color: var(--muted); font: 500 var(--fs-xs) var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: color .25s, border-color .25s; }
.art-back:hover { color: var(--ember2); border-color: var(--line2); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin-top: 26px; }
.art-author { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(120, 160, 255, .05); font-size: var(--fs-sm); }
.art-author .tm-avatar { width: 30px; height: 30px; font-size: .85rem; }
.art-author strong { font-weight: 500; color: var(--text); }
.art-pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(120, 160, 255, .05); color: var(--muted); font: 400 var(--fs-xs) var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.art-pill-hot { color: var(--ember2); border-color: rgba(255, 138, 61, .3); background: rgba(255, 90, 31, .08); }

.art-cover { max-width: 1040px; margin-inline: auto; aspect-ratio: 21 / 9; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.art-cover img { filter: none; }
.art-cover .ind-banner-shade { background: linear-gradient(180deg, rgba(4, 10, 24, 0) 60%, rgba(4, 10, 24, .35) 100%); }
.svc-show:has(.art-cover) { padding-bottom: clamp(28px, 4vw, 48px); }

.article { max-width: 740px; }
.article-body { font-size: 1.04rem; line-height: 1.8; }
.article-body > p:first-child { font-size: var(--fs-lede); line-height: 1.6; color: var(--text); font-weight: 300; }
.article-body h2 { margin-top: 2.6em; padding-top: 1.5em; border-top: 1px solid var(--line); }
.article-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article-body h3 { padding-left: 14px; border-left: 2px solid var(--ember); line-height: 1.35; }
.article-body strong { color: var(--text); }
.article-body ul li::before { box-shadow: 0 0 0 4px rgba(255, 138, 61, .15); }
.article-body blockquote, .article-body .callout { border-radius: 14px; }
.article-body blockquote { padding: 18px clamp(18px, 3vw, 28px); border-left: 3px solid var(--ember); background: linear-gradient(135deg, rgba(255, 90, 31, .1), rgba(120, 160, 255, .04)); }

.article-share { gap: 12px; margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; }
.article-share span { margin-right: 6px; }
.article-share a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(120, 160, 255, .05); }
.article-share a:hover { border-color: var(--line2); background: rgba(255, 138, 61, .08); }

#more { padding-top: clamp(40px, 6vw, 72px); }
#more .actions { margin-top: clamp(28px, 4vw, 44px); justify-content: center; }
@media (max-width: 620px) { .art-cover { aspect-ratio: 16 / 10; } .art-meta { gap: 8px; } }

/* ==========================================================================
   Restraint pass (design critique 1 + 2)
   1. Motion: one entrance moment (the hero); everything else only fades in.
      Cards no longer lift or zoom on hover - they only change border colour.
   2. Labels: buttons, captions, meta and data labels are sentence case in the
      body font. All-caps mono stays only on category tags (.cs-cat, .ix-tag,
      .ar-tag), where it carries information.
   ========================================================================== */

/* ---- 1. motion ---- */
.reveal { transform: none; transition: opacity .6s var(--e); }
.hero .reveal { transform: translateY(20px); transition: opacity .9s var(--e), transform .9s var(--e); }
.hero .reveal.in { transform: none; }

.btn:hover, .nl-btn:hover, .cc-btn:hover, .foot-social a:hover,
.path-card:hover, .tm-card:hover, .contact-chips li:hover, .svc-nav a:hover { transform: none; }
.foot li a:hover, .foot-link-btn:hover { transform: none; }
.menu a:hover { transform: none; }

.cs:hover img, .ind-card:hover img, .pr-card:hover .pr-img img, .feat:hover .feat-img img,
.ar-card:hover .ar-img img, .ix-card:hover .ix-img img { transform: none; }
.cs:hover .cs-go { transform: none; }

/* ---- 2. labels ---- */
.btn, .nl-btn, .cc-btn { font-family: var(--sans); font-weight: 500; font-size: var(--fs-sm); letter-spacing: 0; text-transform: none; }
.cap { font: 400 var(--fs-sm) var(--sans); letter-spacing: 0; text-transform: none; }
.meta { font: 400 var(--fs-sm) var(--sans); letter-spacing: 0; text-transform: none; }
.svc-stat em, .ix-stat em { font: 400 var(--fs-sm) var(--sans); letter-spacing: 0; text-transform: none; }
.art-pill, .art-back, .article-share, .art-author { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.art-pill, .art-back { font-size: var(--fs-sm); }
.article-share { font-size: var(--fs-sm); font-weight: 400; }
.ar-filter button { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: var(--fs-sm); }
.contact-chips small { text-transform: none; letter-spacing: 0; }

/* ==========================================================================
   Polish pass (impeccable): contrast, browser surfaces, glyph icons
   ========================================================================== */
::selection { background: rgba(255, 138, 61, .38); color: #fff; }
html { scrollbar-color: rgba(150, 180, 255, .35) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(150, 180, 255, .28); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 138, 61, .55); }
input, textarea, select { caret-color: var(--ember2); accent-color: var(--ember); }

.arr { display: inline-block; flex: none; width: .72em; height: .72em; vertical-align: baseline; transition: transform .3s var(--e); }
a:hover > .arr, .btn:hover .arr, .link-arrow:hover .arr { transform: translate(2px, -2px); }
.cs-go .arr { width: 16px; height: 16px; }

/* quote box: full border + tint instead of a bar down one side */
.article-body blockquote { border: 1px solid rgba(255, 138, 61, .3); border-left-width: 1px; }
.article-body h3 { padding-left: 0; border-left: 0; }

/* ==========================================================================
   UX pass (ui-ux-pro-max): focus not obscured, touch targets, tap delay
   ========================================================================== */
/* the sticky header must never hide an anchor target or a focused control */
html { scroll-padding-top: calc(var(--hh) + 16px); }
.svc-row, .ix-card, .legal section { scroll-margin-top: 0; }

a, button, summary, label, input, select, textarea { touch-action: manipulation; }

/* buttons that are busy after a form submit */
button[aria-busy="true"], .btn[aria-busy="true"] { opacity: .65; pointer-events: none; cursor: progress; }

/* touch screens: comfortable 44px hit areas with 8px between them */
@media (pointer: coarse) {
  .foot-cols a, .foot-legal a, .foot-legal .foot-link-btn, .foot-cta, .contact-mail,
  .site-header .brand, .foot-brand .brand, .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .foot-cols ul, .foot-cols li { gap: 0; }
  .foot-cols li + li { margin-top: 2px; }
  .nl-btn, .apply-form .btn, .field input, .field select { min-height: 44px; }
  .svc-nav a, .contact-chips a { min-height: 44px; display: inline-flex; align-items: center; }
}
/* underlined links keep their look; an invisible pseudo-element enlarges the hit area */
@media (pointer: coarse) {
  .head-cta, .link-arrow { position: relative; }
  .head-cta::after, .link-arrow::after { content: ''; position: absolute; inset: -12px -8px; }
}

/* ---------- About page refinements ---------- */
#people .split-img img { filter: none; }
#people .split-img::after { background: linear-gradient(180deg, rgba(4, 10, 24, 0) 65%, rgba(4, 10, 24, .35) 100%); }
#people .lede { font-size: var(--fs-lede); line-height: 1.7; color: var(--muted); }

#principles .pr-img { aspect-ratio: 16 / 9; }
#principles .pr-img img { filter: none; }
#principles .pr-img::after { background: linear-gradient(180deg, rgba(4, 10, 24, .4) 0%, rgba(4, 10, 24, 0) 35%); }
#principles .pr-card:hover .pr-img img { transform: none; filter: none; }
#principles .pr-body { text-align: left; gap: 10px; padding: clamp(24px, 3vw, 34px); }
#principles .pr-body h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; }
#principles .pr-body p { font-size: var(--fs-body); line-height: 1.65; }

#leadership .quote { min-height: 380px; display: grid; align-items: center; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8), 0 0 0 1px var(--line); }
#leadership .quote img { filter: none; }
#leadership .quote-shade { background: linear-gradient(90deg, rgba(4, 10, 24, .94) 0%, rgba(4, 10, 24, .82) 42%, rgba(4, 10, 24, .15) 100%); }
#leadership .quote-body { max-width: 760px; }
#leadership .quote blockquote { font-size: clamp(1.35rem, 2.6vw, 2.05rem); line-height: 1.38; text-wrap: balance; }
#leadership .quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 420px; }
#leadership .quote .tm-who { display: grid; gap: 2px; }
#leadership .quote .tm-who strong { color: var(--text); }
@media (max-width: 760px) {
  #leadership .quote-shade { background: linear-gradient(180deg, rgba(4, 10, 24, .75), rgba(4, 10, 24, .92)); }
}

/* ---- Contact page refinements ---- */
.contact-chips { width: min(100%, 860px); gap: 16px; }
.contact-chips li { padding: 20px 22px; }
.contact-chips .chip-apply > a { padding: 20px 22px; }
.contact-chips strong { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.contact-chips .chip-apply:hover strong { color: var(--ember2); }
.contact-chips span:last-child a { display: block; }
.contact-hero .actions { margin-bottom: 0; }

#consultation .sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.contact-grid { grid-template-columns: minmax(0, 860px); }
#contactForm {
  position: relative; gap: 22px; overflow: hidden;
  padding: clamp(26px, 4.4vw, 48px);
  background: linear-gradient(180deg, rgba(120,160,255,.07), rgba(120,160,255,.025));
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.85), 0 0 0 1px var(--line);
  border-color: transparent;
}
#contactForm::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember2), transparent); opacity: .7;
}
#contactForm .field label { font-size: var(--fs-sm); color: var(--text); letter-spacing: 0; }
#contactForm .field input, #contactForm .field textarea {
  padding: .95rem 1.1rem; border-radius: 12px; background: rgba(4,10,24,.62);
  border-color: rgba(160,185,240,.22);
}
#contactForm .field input { min-height: 52px; }
#contactForm .field input:hover, #contactForm .field textarea:hover { border-color: rgba(160,185,240,.42); }
#contactForm .field input:focus, #contactForm .field textarea:focus { border-color: var(--ember2); background: rgba(4,10,24,.8); }
#contactForm .field textarea { min-height: 170px; }
#contactForm .field.invalid input, #contactForm .field.invalid textarea { box-shadow: 0 0 0 3px rgba(255,107,94,.16); }
#contactForm .apply-actions { justify-content: flex-end; padding-top: 6px; }
#contactForm .apply-actions .btn { min-width: 220px; justify-content: center; }
@media (max-width: 620px) { #contactForm .apply-actions .btn { width: 100%; min-width: 0; } }

#numbers { padding-top: clamp(24px, 4vw, 48px); }
#numbers .stat-cell .num { font-variant-numeric: tabular-nums; }

.faq-item[open] summary::after { background: rgba(255,138,61,.16); border-color: var(--ember2); color: var(--ember2); }
.faq-item summary:hover { color: var(--text); }
.faq-item p { padding-top: 2px; }

/* ---- Services page refinements ---- */
#practices { position: sticky; top: 66px; z-index: 30; padding-block: 10px; margin-block: 0; background: linear-gradient(180deg, rgba(4,10,24,.82), rgba(4,10,24,.66)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.svc-nav { max-width: 1100px; }
.svc-nav a { padding: .55rem 1.1rem; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; color: var(--muted); }
.svc-nav a:hover { color: var(--text); border-color: var(--line2); background: rgba(255,255,255,.04); }
.svc-nav a.active { color: var(--text); border-color: rgba(255,138,61,.55); background: rgba(255,90,31,.14); }
.svc-nav a.active:hover { border-color: var(--ember2); }
@media (max-width: 760px) {
  #practices { top: 58px; padding-block: 8px; }
  .svc-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-inline: 16px; gap: 6px; }
  .svc-nav::-webkit-scrollbar { display: none; }
  .svc-nav a { flex: none; white-space: nowrap; }
}
.svc-row { scroll-margin-top: 70px; counter-increment: svc; }
#practices ~ .svc-row:first-of-type { }
.svc-row .sec-head h2::before {
  content: counter(svc, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font: 500 var(--fs-xs) var(--mono); letter-spacing: .14em; color: var(--ember2);
}
main { counter-reset: svc step; }
.feats li { position: relative; padding-left: 26px; }
.feats li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--ember), var(--ember2)); opacity: .5; transition: opacity .3s; }
.feats li:hover::before { opacity: 1; }
.svc-text .link-arrow { padding: .7rem 1.2rem; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; background: rgba(255,255,255,.03); transition: border-color .25s, background .25s, color .25s; }
.svc-text .link-arrow:hover { border-color: var(--ember2); background: rgba(255,90,31,.12); color: var(--text); }
.svc-panel > img { filter: saturate(.85) brightness(.55); }
.svc-panel { box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
#lifecycle .step { counter-increment: step; }
#lifecycle .step .chip-ico::after { content: counter(step, decimal-leading-zero); position: absolute; top: clamp(24px, 2.6vw, 32px); right: clamp(24px, 2.6vw, 32px); font: 500 var(--fs-xs) var(--mono); letter-spacing: .12em; color: var(--faint); }
#practices.is-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
#practices { transition: opacity .25s, visibility .25s; }

/* Services: nav pills and links share the button radius; no index numbers */
.svc-nav a, .svc-text .link-arrow { border-radius: var(--r); }
.svc-row .sec-head h2::before { content: none; display: none; }
#lifecycle .step .chip-ico::after { content: none; display: none; }

/* Services: nav bar as a complete rounded block */
#practices { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding-block: 10px; }
.svc-nav {
  width: fit-content; max-width: 100%; margin-inline: auto; padding: 8px;
  border: 1px solid var(--line2); border-radius: calc(var(--r) + 6px);
  background: rgba(6, 13, 30, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.8);
}
@media (max-width: 760px) { .svc-nav { width: auto; margin-inline: 12px; padding: 6px; } }

/* ---- Industries page refinements ---- */
.ix-card { border-radius: var(--rc); cursor: pointer; }
.ix-card:focus-within { border-color: var(--ember2); box-shadow: 0 0 0 3px rgba(255,138,61,.22); }
.ix-foot .link-arrow { position: static; padding: .6rem 1rem; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r); background: rgba(4,10,24,.7); transition: border-color .25s, background .25s, color .25s; }
.ix-foot .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ix-card:hover .ix-foot .link-arrow { border-color: var(--ember2); background: rgba(255,90,31,.16); color: var(--text); }
.ix-card:hover .ix-foot .link-arrow .arr { transform: translate(2px,-2px); }
.ix-foot .link-arrow:focus-visible { outline: none; }
.ix-stat strong { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.ix-body p { max-width: 52ch; }

#advantage .path-card { position: relative; overflow: hidden; gap: 12px; }
#advantage .path-card::before { content: ''; position: absolute; left: clamp(24px, 2.6vw, 32px); top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ember), var(--ember2)); transition: width .35s var(--e); }
#advantage .path-card:hover::before { width: 88px; }
#advantage .path-card p { line-height: 1.65; }
@media (max-width: 760px) {
  .ix-card { min-height: 0; padding-top: 150px; }
  .ix-img::after { background: linear-gradient(180deg, rgba(4,10,24,0) 0%, rgba(4,10,24,.55) 30%, rgba(4,10,24,.92) 52%, rgba(4,10,24,.97) 100%); }
}

/* ---- Home page refinements ---- */
.hero:not(.hero-sm) { position: relative; }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(20px, 4vw, 40px); width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255,255,255,.3); border-radius: 14px; display: block; transition: border-color .25s; }
.scroll-cue:hover { border-color: var(--ember2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ember2); animation: cue 1.8s var(--e) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; opacity: 1; } }
@media (max-height: 640px), (max-width: 480px) { .scroll-cue { display: none; } }
.scroll-cue::after { content: ""; position: absolute; inset: -10px; }

#cases .sec-head.row, #industries .sec-head.row { align-items: flex-end; }
#cases .sec-head.row .link-arrow, #industries .sec-head.row .link-arrow { margin-bottom: 10px; }

.cs-shade { background: linear-gradient(180deg, rgba(4,10,24,.3) 0%, rgba(4,10,24,.05) 24%, rgba(4,10,24,.72) 52%, rgba(4,10,24,.96) 100%), linear-gradient(135deg, rgba(28,63,154,.2), rgba(255,90,31,.06)); }
.cs-cat { color: #ffa066; }
.cs-body h3 { text-wrap: balance; }
.ind-shade { background: linear-gradient(180deg, rgba(4,10,24,.45) 0%, rgba(4,10,24,.04) 22%, rgba(4,10,24,.8) 50%, rgba(4,10,24,.97) 100%), linear-gradient(135deg, rgba(28,63,154,.24), rgba(255,90,31,.07)); }
.ind-body { padding: 24px; }
.ind-body h3 { text-wrap: balance; }
.ind-card:focus-visible, .cs:focus-visible { outline: 2px solid var(--ember2); outline-offset: 3px; }

/* ---- Service detail page refinements ---- */
.svc-hero .back-link { text-transform: none; letter-spacing: 0; font: 500 var(--fs-sm) var(--sans); }
.svc-show { padding-bottom: clamp(24px, 4vw, 48px); }
.svc-panel.wide { max-width: 1100px; margin-inline: auto; box-shadow: 0 50px 100px -60px rgba(0,0,0,.9); }
.svc-panel.wide > img { filter: saturate(.85) brightness(.6); }

#overview .rs-card, #offerings .rs-card, #results .rs-card, #engine .step {
  position: relative; overflow: hidden; text-align: left; transition: border-color .3s, background .3s;
}
#overview .rs-card::before, #offerings .rs-card::before, #results .rs-card::before, #engine .step::before {
  content: ''; position: absolute; left: clamp(24px, 3vw, 34px); top: 0; width: 44px; height: 3px;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ember), var(--ember2)); transition: width .35s var(--e);
}
#overview .rs-card:hover::before, #offerings .rs-card:hover::before, #results .rs-card:hover::before, #engine .step:hover::before { width: 88px; }
#overview .rs-card:hover, #offerings .rs-card:hover, #results .rs-card:hover, #engine .step:hover { border-color: var(--line2); background: rgba(120,160,255,.07); }
#overview .rs-card, #offerings .rs-card, #results .rs-card { padding-top: clamp(30px, 3.4vw, 40px); }
#engine .step { padding: clamp(30px, 3vw, 38px) clamp(22px, 2.6vw, 30px) clamp(24px, 2.6vw, 30px); }
#overview .rs-card h3, #offerings .rs-card h3, #results .rs-card h3 { text-wrap: balance; }
#engine .step h3 { font-size: var(--fs-lede); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
#overview .rs-card p, #offerings .rs-card p, #engine .step p, #results .rs-card p { line-height: 1.65; }
#offerings .rs-grid, #overview .rs-grid, #results .rs-grid { align-items: stretch; }
#results .case-res { padding-top: 18px; }
#results .case-res strong { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
#practices .partners .pt { font-size: var(--fs-lede); min-height: 96px; }
#practices .partners .pt[aria-current="page"] { position: relative; }
#practices .partners .pt[aria-current="page"]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember2); box-shadow: 0 0 0 4px rgba(255,138,61,.18); }
#practices .actions { margin-top: clamp(28px, 4vw, 44px); justify-content: center; flex-wrap: wrap; }

/* ---- Industry detail page refinements ---- */
.ind-hero .back-link { text-transform: none; letter-spacing: 0; font: 500 var(--fs-sm) var(--sans); }
.ind-banner { max-width: 1100px; margin-inline: auto; margin-bottom: 18px; box-shadow: 0 50px 100px -60px rgba(0,0,0,.9); }
.ind-banner img { filter: saturate(.9) brightness(.8); }
.ind-banner-shade { background: radial-gradient(60% 90% at 14% 55%, rgba(255,90,31,.2), transparent 70%), radial-gradient(50% 80% at 0% 0%, rgba(40,90,220,.28), transparent 70%), linear-gradient(180deg, rgba(4,10,24,.1) 0%, rgba(4,10,24,.5) 100%); }
.svc-show .ind-stats { max-width: 1100px; margin-inline: auto; }
.ind-stats .num { font-size: clamp(1.5rem, 2.4vw, 2rem); font-variant-numeric: tabular-nums; }

#focus .rs-card, #imperative .track { position: relative; overflow: hidden; text-align: left; transition: border-color .3s, background .3s; }
#focus .rs-card::before, #imperative .track::before { content: ''; position: absolute; left: clamp(24px, 3vw, 36px); top: 0; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ember), var(--ember2)); transition: width .35s var(--e); }
#focus .rs-card:hover::before, #imperative .track:hover::before { width: 88px; }
#focus .rs-card:hover, #imperative .track:hover { border-color: var(--line2); background: rgba(120,160,255,.07); }
#focus .rs-card { padding-top: clamp(30px, 3.4vw, 40px); }
#focus .rs-card h3, #imperative .track h3 { text-wrap: balance; }
#focus .rs-card p { line-height: 1.65; }
#focus .rs-card .link-arrow { margin-top: 10px; padding-top: 18px; align-self: stretch; justify-content: space-between; border-bottom: 0; border-top: 1px solid var(--line); }
#focus .rs-card .link-arrow:hover { gap: .45rem; }

#imperative .track { padding-top: clamp(32px, 3.4vw, 44px); }
#imperative .track-run::before { background: linear-gradient(90deg, #5b8cff, #8fb4ff); }
#imperative .track-run .cs-cat { color: #9db8ff; }
#imperative .track-reinvent { border-color: rgba(255,138,61,.28); background: linear-gradient(160deg, rgba(255,90,31,.08), rgba(120,160,255,.03)); }
#imperative .track .bul { margin-top: 6px; }
#imperative .track .bul li { line-height: 1.55; }

#results .spotlight { box-shadow: 0 40px 90px -50px rgba(0,0,0,.85); text-align: left; }
.spotlight-results .case-res strong { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

#blueprint .playbook { position: relative; overflow: hidden; }
#blueprint .playbook::before { content: ''; position: absolute; left: clamp(28px, 5vw, 56px); top: 0; width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--ember), var(--ember2)); }

#sectors .ind-partners .pt { font-size: var(--fs-body); min-height: 84px; line-height: 1.3; }
#sectors .ind-partners .pt[aria-current="page"] { position: relative; }
#sectors .ind-partners .pt[aria-current="page"]::after { content: ""; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember2); box-shadow: 0 0 0 4px rgba(255,138,61,.18); }
#sectors .actions { margin-top: clamp(28px, 4vw, 44px); justify-content: center; flex-wrap: wrap; }

/* Detail pages: breathing room between the final buttons and the footer */
.svc-show ~ #practices, .svc-show ~ #sectors { padding-bottom: clamp(80px, 10vw, 140px); }

/* ---- Insights page refinements ---- */
.feat { cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.feat-link { color: inherit; text-decoration: none; }
.feat-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feat .btn, .feat .feat-img { position: relative; z-index: 2; }
.feat:hover, .feat:focus-within { border-color: rgba(255,138,61,.4); box-shadow: 0 40px 90px -50px rgba(0,0,0,.85); }
.feat:hover .feat-link { color: var(--ember2); }
.feat-link:focus-visible { outline: none; }
.feat:focus-within { box-shadow: 0 0 0 3px rgba(255,138,61,.22); }

.ar-card { transition: border-color .3s, box-shadow .3s; }
.ar-card:hover { border-color: rgba(255,138,61,.4); box-shadow: 0 30px 70px -40px rgba(0,0,0,.85); }
.ar-card:hover h3 { color: var(--ember2); }
.ar-card h3 { transition: color .25s; }
.ar-card:focus-visible { outline: 2px solid var(--ember2); outline-offset: 3px; }
.ar-card:hover .ar-foot .go .arr { transform: translate(2px,-2px); }

.sec.contact { padding-bottom: clamp(72px, 9vw, 130px); }

/* ---- Header: visible navigation + search ---- */
.head-actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.primary-nav, .search-btn { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu { align-content: center; gap: 28px; }
.menu-search { display: flex; align-items: center; width: min(86vw, 420px); border: 1px solid var(--line2); border-radius: var(--r); background: rgba(255,255,255,.04); }
.menu-search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; background: none; border: 0; color: var(--text); font: 400 var(--fs-body) var(--sans); }
.menu-search input:focus { outline: none; }
.menu-search:focus-within { border-color: var(--ember2); box-shadow: 0 0 0 3px rgba(255,138,61,.18); }
.menu-search button { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); cursor: pointer; }

@media (min-width: 1025px) {
  .site-header { column-gap: clamp(20px, 3vw, 44px); }
  .menu-btn { display: none; }
  .primary-nav { display: block; justify-self: center; }
  .primary-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
  .primary-nav li { position: relative; }
  .primary-nav > ul > li > a { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 66px; padding: 0 14px; font-size: var(--fs-sm); color: var(--muted); transition: color .2s; }
  .primary-nav > ul > li > a:hover, .primary-nav > ul > li:focus-within > a, .primary-nav > ul > li:hover > a { color: var(--text); }
  .primary-nav > ul > li > a[aria-current="page"] { color: var(--text); }
  .primary-nav > ul > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; border-radius: 2px; background: var(--ember2); }
  .primary-nav .caret { opacity: .7; transition: transform .25s var(--e); }
  .primary-nav li:hover .caret, .primary-nav li:focus-within .caret { transform: rotate(180deg); }

  .primary-nav .drop {
    position: absolute; top: 100%; left: 50%; min-width: 280px; padding: 10px;
    border: 1px solid var(--line2); border-radius: 14px;
    background: rgba(6,13,30,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.9);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity .2s, transform .25s var(--e), visibility .2s;
  }
  .primary-nav .drop-wide { min-width: 560px; }
  .primary-nav li:hover > .drop, .primary-nav li:focus-within > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .primary-nav .drop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .primary-nav .drop-wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-nav .drop a { display: block; padding: 10px 14px; border-radius: 9px; font-size: var(--fs-sm); line-height: 1.35; color: var(--muted); transition: background .2s, color .2s; }
  .primary-nav .drop a:hover, .primary-nav .drop a:focus-visible { background: rgba(255,255,255,.06); color: var(--text); outline: none; }
  .primary-nav .drop-all { margin-bottom: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); border-radius: 9px 9px 0 0; color: var(--ember2); font-weight: 500; }

  .search-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: 50%; background: none; color: var(--text); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
  .search-btn:hover, .search-btn[aria-expanded="true"] { background: rgba(255,255,255,.07); border-color: var(--line2); color: var(--ember2); }
}

/* Search panel */
.search-panel { position: fixed; top: 66px; left: 0; right: 0; z-index: 95; padding: 18px clamp(16px, 3vw, 28px) 22px; border-bottom: 1px solid var(--line); background: rgba(4,10,24,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); animation: spIn .25s var(--e); }
.search-panel[hidden] { display: none; }
@keyframes spIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-form { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; padding: 0 8px 0 18px; border: 1px solid var(--line2); border-radius: 14px; background: rgba(255,255,255,.04); color: var(--muted); }
.search-form:focus-within { border-color: var(--ember2); box-shadow: 0 0 0 3px rgba(255,138,61,.18); }
.search-form input { flex: 1; min-width: 0; height: 56px; background: none; border: 0; color: var(--text); font: 400 var(--fs-lede) var(--sans); }
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: var(--faint); }
.search-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.search-close:hover { color: var(--text); background: rgba(255,255,255,.07); }
.search-suggest { list-style: none; margin: 10px auto 0; padding: 0; max-width: 760px; display: grid; gap: 2px; }
.search-suggest:empty { display: none; }
.search-suggest a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 18px; border-radius: 10px; color: var(--text); font-size: var(--fs-body); }
.search-suggest a:hover, .search-suggest a:focus-visible, .search-suggest a.is-active { background: rgba(255,255,255,.06); outline: none; }
.search-suggest em { flex: none; font: 400 var(--fs-xs) var(--sans); font-style: normal; color: var(--faint); }
.search-suggest .none { padding: 12px 18px; color: var(--muted); font-size: var(--fs-sm); }

/* Search results page */
.search-hero { padding-bottom: 24px; }
.search-page-form { display: flex; gap: 12px; width: min(100%, 720px); margin-top: 28px; }
.search-page-form input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(4,10,24,.6); color: var(--text); font: 400 var(--fs-body) var(--sans); }
.search-page-form input:focus { outline: none; border-color: var(--ember2); box-shadow: 0 0 0 3px rgba(255,138,61,.18); }
@media (max-width: 560px) { .search-page-form { flex-direction: column; } }
.search-results { max-width: 860px; margin-inline: auto; padding-top: 24px; }
.search-note { color: var(--muted); margin-bottom: 28px; }
.search-results .actions { justify-content: flex-start; flex-wrap: wrap; }
.search-group { margin-bottom: 36px; }
.search-group h2 { font-size: var(--fs-lede); font-weight: 400; letter-spacing: -.01em; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.search-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.search-group a { display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--rc); border: 1px solid var(--line); background: rgba(120,160,255,.04); transition: border-color .25s, background .25s; }
.search-group a:hover, .search-group a:focus-visible { border-color: rgba(255,138,61,.45); background: rgba(120,160,255,.07); outline: none; }
.search-group a strong { font-weight: 500; font-size: var(--fs-body); }
.search-group a span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
@media (min-width: 1025px) {
  .primary-nav .drop { min-width: 360px; }
  .primary-nav .drop-wide { min-width: 600px; }
  .primary-nav .drop a { white-space: nowrap; }
}
.search-form input[type="search"]::-webkit-search-cancel-button, .menu-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-page-form { width: min(100%, 860px); }

/* Header nav: same colour as the "Connect to Outcomes" link */
@media (min-width: 1025px) {
  .primary-nav > ul > li > a { color: var(--text); }
  .primary-nav > ul > li > a:hover, .primary-nav > ul > li:hover > a, .primary-nav > ul > li:focus-within > a { color: var(--ember2); }
  .primary-nav > ul > li > a[aria-current="page"] { color: var(--text); }
  .primary-nav .caret { opacity: 1; }
  .primary-nav .drop a { color: var(--text); }
  .primary-nav .drop a:hover, .primary-nav .drop a:focus-visible { color: var(--ember2); }
  .primary-nav .drop-all { color: var(--ember2); }
}
