/* IntelliMinds Digital — AI Executive Guides (Knowledge Centre) art-direction layer.
   Visual only. Loads after styles.css + inner-refine.css. No content, link or behaviour changes. */

/* ============================================================
   1. Section rhythm — deliberate background sequence
   ============================================================ */
.kc-hero{
  background:
    radial-gradient(900px 460px at 82% 8%, rgba(11,143,140,.10), transparent 62%),
    radial-gradient(760px 420px at 8% 0%, rgba(43,120,184,.09), transparent 60%),
    linear-gradient(180deg,#F4F8FA 0%,#FBFCFD 100%);
  border-bottom:1px solid var(--border);
  padding:5.2rem 0 4.2rem;
  position:relative;
  overflow:hidden;
}
.kc-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(to right,rgba(11,31,54,.05) 1px,transparent 1px),
                   linear-gradient(to bottom,rgba(11,31,54,.05) 1px,transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 78% 70% at 50% 30%,#000 30%,transparent 100%);
          mask-image:radial-gradient(ellipse 78% 70% at 50% 30%,#000 30%,transparent 100%);
}
.kc-hero > .container{position:relative;z-index:1}

.kc-journey{background:#fff;padding:6rem 0}
.kc-feature{
  background:linear-gradient(180deg,#F1F7F8 0%,#F6FAFB 60%,#FFFFFF 100%);
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  padding:5.5rem 0;
}
.kc-library{background:#fff;padding:5.5rem 0}
.kc-archive{background:#F5F8FA;border-top:1px solid var(--border);padding:5rem 0}
.kc-final{background:#0B1F36;padding:5.5rem 0;position:relative;overflow:hidden}

/* ============================================================
   2. Hero — publication entrance
   ============================================================ */
.kc-hero__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:3rem 4rem;align-items:start}
.kc-hero__main{min-width:0}
.kc-hero .eyebrow{letter-spacing:.24em}
.kc-hero h1{
  font-size:clamp(2.4rem,4.6vw,3.9rem);line-height:1.02;letter-spacing:-.035em;
  max-width:14ch;margin:.7rem 0 0;
}
.kc-hero h1::after{
  content:"";display:block;width:84px;height:3px;margin-top:1.1rem;border-radius:2px;
  background:linear-gradient(90deg,var(--teal),rgba(43,120,184,.55));
}
.kc-hero .lede{max-width:44ch;font-size:1.16rem;line-height:1.6;color:var(--body);margin-top:1.2rem}

/* Editorial introduction */
.kc-lede{margin-top:2.2rem;max-width:70ch;border-top:1px solid var(--border);padding-top:1.6rem}
.kc-lede p{margin:0 0 1.1rem;color:var(--body);line-height:1.72;font-size:1rem;max-width:70ch}
.kc-lede p:first-child{
  font-family:'Space Grotesk',"Segoe UI",sans-serif;
  font-size:clamp(1.12rem,1.55vw,1.34rem);line-height:1.45;letter-spacing:-.015em;
  color:var(--ink);font-weight:600;max-width:34ch;
}
.kc-lede p:nth-child(2){
  border-left:2px solid rgba(11,143,140,.4);padding-left:1.1rem;
}
.kc-lede p:last-child{margin-bottom:0}

/* Search — the primary discovery tool */
.kc-search{margin-top:2rem}
.kc-search__label{
  display:block;font-size:.68rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;
  color:var(--teal);margin-bottom:.6rem;
}
.kc-hero .rs--hub .rs-field{max-width:none}
.kc-hero .rs-input{
  border:1px solid var(--border-strong);
  border-radius:14px;
  padding:1.15rem 3.2rem 1.15rem 3.3rem;
  font-size:1.02rem;
  box-shadow:0 14px 34px -26px rgba(11,31,54,.5);
  background:#fff;
}
.kc-hero .rs-input:focus{
  border-color:var(--teal);
  box-shadow:0 0 0 4px rgba(11,143,140,.14),0 14px 34px -26px rgba(11,31,54,.5);
}
.kc-hero .rs-field svg{stroke:var(--teal);opacity:.85}
.kc-hero .rs-status{color:var(--muted)}

/* Abstract knowledge visual */
.kc-hero__viz{position:relative;align-self:center}
.kc-hero__viz svg{width:100%;height:auto;max-width:440px;margin-left:auto;display:block;overflow:visible}
.kc-hero__viz .kc-doc{filter:drop-shadow(0 18px 30px rgba(11,31,54,.10))}
.kc-hero__viz .kc-doc--3{filter:drop-shadow(0 20px 34px rgba(11,31,54,.22))}

/* Library banner spans both columns */
.kc-banner{
  grid-column:1 / -1;margin-top:1rem;background:#fff;border:1px solid var(--border);
  border-left:3px solid var(--teal);border-radius:14px;padding:1.6rem 1.9rem;
  box-shadow:0 18px 40px -34px rgba(11,31,54,.5);
}
.kc-banner .lb-stat{font-size:3rem;color:var(--navy)}
.kc-banner .lb-title{font-family:'Space Grotesk',sans-serif;font-size:1.15rem;letter-spacing:-.02em}

@media(max-width:960px){
  .kc-hero{padding:3.6rem 0 3rem}
  .kc-hero__grid{grid-template-columns:1fr;gap:2.2rem}
  .kc-hero h1{max-width:none}
  .kc-hero__viz{order:3;max-width:420px}
  .kc-banner{order:4}
  .kc-lede{order:2}
}

/* ============================================================
   3. Learning journey
   ============================================================ */
.kc-journey .start-header{border-bottom:1px solid var(--border);padding-bottom:1.4rem;margin-bottom:2.8rem}
.kc-journey .start-header h2{font-size:clamp(1.7rem,2.6vw,2.15rem);letter-spacing:-.03em}
.kc-journey .start-header p{color:var(--body);max-width:56ch}

.kc-journey .roadmap{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.6rem 2rem;counter-reset:step}
.kc-journey .roadmap-step{
  background:transparent;border:0;border-radius:0;box-shadow:none;
  padding:2.9rem 1.4rem 0 0;position:relative;gap:.6rem;
  transition:transform .25s ease;
}
.kc-journey .roadmap-step::before{
  content:"";position:absolute;left:0;right:-2rem;top:1.12rem;height:1px;
  background:linear-gradient(90deg,rgba(11,143,140,.55),rgba(43,120,184,.18));
}
.kc-journey .roadmap-step:nth-child(4n)::before{right:0;background:linear-gradient(90deg,rgba(11,143,140,.55),rgba(11,143,140,0))}
.kc-journey .roadmap-step::after{
  display:flex;content:counter(step,decimal-leading-zero);counter-increment:step;
  position:absolute;left:0;top:0;transform:none;right:auto;
  width:2.25rem;height:2.25rem;border-radius:50%;
  background:#fff;border:1px solid rgba(11,143,140,.45);color:var(--teal);
  font-family:'Space Grotesk',sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.02em;
  align-items:center;justify-content:center;z-index:2;transition:all .22s ease;
}
.kc-journey .roadmap-step .step-num{display:none}
.kc-journey .roadmap-step h3{font-size:1.02rem;line-height:1.34;letter-spacing:-.015em;transition:color .18s ease}
.kc-journey .roadmap-step .step-cta{margin-top:.35rem;font-size:.78rem;letter-spacing:.02em;opacity:.75;transition:opacity .18s ease,transform .18s ease;display:inline-block}
.kc-journey .roadmap-step:hover{transform:none}
.kc-journey .roadmap-step:hover::after{background:var(--navy);border-color:var(--navy);color:#fff}
.kc-journey .roadmap-step:hover h3{color:var(--teal)}
.kc-journey .roadmap-step:hover .step-cta{opacity:1;transform:translateX(3px)}
.kc-journey .roadmap-step:focus-visible{outline:2px solid var(--teal);outline-offset:6px}

@media(max-width:1000px){
  .kc-journey .roadmap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kc-journey .roadmap-step:nth-child(4n)::before{right:-2rem;background:linear-gradient(90deg,rgba(11,143,140,.55),rgba(43,120,184,.18))}
  .kc-journey .roadmap-step:nth-child(2n)::before{right:0;background:linear-gradient(90deg,rgba(11,143,140,.55),rgba(11,143,140,0))}
}
@media(max-width:620px){
  .kc-journey{padding:4rem 0}
  .kc-journey .roadmap{grid-template-columns:1fr;gap:0}
  .kc-journey .roadmap-step{padding:0 0 2rem 3.4rem}
  .kc-journey .roadmap-step::before{left:1.1rem;right:auto;top:2.4rem;bottom:-.4rem;width:1px;height:auto;
    background:linear-gradient(180deg,rgba(11,143,140,.45),rgba(43,120,184,.12))}
  .kc-journey .roadmap-step:last-child::before{display:none}
  .kc-journey .roadmap-step::after{top:.1rem}
}

/* ============================================================
   4. Featured guide — hero moment
   ============================================================ */
.kc-feature .hub-section-title{margin-bottom:1.6rem}
.kc-feature .exec-featured{
  position:relative;grid-template-columns:1.05fr 1fr;border-radius:20px;
  border:1px solid rgba(11,143,140,.22);
  box-shadow:0 40px 80px -50px rgba(11,31,54,.55);
  margin-bottom:0;overflow:visible;background:#fff;
}
.kc-feature .exec-featured::before{
  content:"";position:absolute;inset:-14px -14px -18px;border-radius:28px;z-index:0;
  background:radial-gradient(60% 70% at 20% 40%,rgba(11,143,140,.16),transparent 70%);
  filter:blur(6px);pointer-events:none;
}
.kc-feature .exec-featured > *{position:relative;z-index:1}
.kc-feature .exec-featured .exec-card__image{
  min-height:420px;border-radius:20px 0 0 20px;overflow:hidden;
}
.kc-feature .exec-featured .exec-card__image::after{
  background:linear-gradient(120deg,rgba(11,31,54,.30) 0%,rgba(11,31,54,0) 55%,rgba(11,31,54,.45) 100%);
}
.kc-feature .exec-featured .exec-card__body{padding:2.6rem 2.8rem;gap:.9rem}
.kc-feature .exec-featured h3{font-size:clamp(1.6rem,2.5vw,2.15rem);line-height:1.12;letter-spacing:-.03em}
.kc-feature .exec-featured .exec-card__summary{font-size:1.02rem;line-height:1.65;max-width:52ch}
.kc-feature .exec-featured .exec-card__footer{padding-top:1.2rem;margin-top:.6rem}
.kc-feature .exec-featured .exec-card__cta{
  display:inline-flex;align-items:center;gap:.5rem;background:var(--navy);color:#fff;
  padding:.7rem 1.2rem;border-radius:999px;font-size:.85rem;text-decoration:none;
  transition:background .18s ease,transform .18s ease;
}
.kc-feature .exec-featured .exec-card__cta:hover{background:var(--teal);text-decoration:none;transform:translateX(2px)}
@media(max-width:820px){
  .kc-feature{padding:4rem 0}
  .kc-feature .exec-featured{grid-template-columns:1fr}
  .kc-feature .exec-featured .exec-card__image{min-height:230px;border-radius:20px 20px 0 0}
  .kc-feature .exec-featured .exec-card__body{padding:1.7rem}
}

/* ============================================================
   5. Filters — editorial navigation
   ============================================================ */
.kc-library-lede{color:var(--body);max-width:62ch;margin:.2rem 0 2rem;font-size:1rem}
.kc-filter-label{
  display:block;font-size:.66rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;
  color:var(--muted);margin-bottom:.7rem;
}
.kc-filter-bar{gap:.5rem;margin-bottom:2.4rem;padding-bottom:1.4rem;border-bottom:1px solid var(--border)}
.kc-filter-bar .filter-chip{
  border:1px solid var(--border);background:#fff;color:var(--body);
  padding:.5rem 1.05rem;font-size:.83rem;font-weight:600;letter-spacing:.01em;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.kc-filter-bar .filter-chip:hover{border-color:rgba(11,143,140,.55);color:var(--teal);background:#F3FAFA}
.kc-filter-bar .filter-chip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.kc-filter-bar .filter-chip:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
@media(max-width:720px){
  .kc-filter-bar{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-right:-1rem;padding-right:1rem}
  .kc-filter-bar::-webkit-scrollbar{display:none}
  .kc-filter-bar .filter-chip{white-space:nowrap}
}

/* ============================================================
   6. Guide library — editorial grid
   ============================================================ */
.kc-library .exec-grid{gap:2.2rem 2rem}
.kc-library .exec-card{
  border:1px solid var(--border);border-radius:16px;box-shadow:none;background:#fff;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.kc-library .exec-card:hover{
  transform:translateY(-4px);
  border-color:rgba(11,143,140,.45);
  box-shadow:0 28px 54px -38px rgba(11,31,54,.5);
}
.kc-library .exec-card__image{aspect-ratio:16/10;overflow:hidden;background-color:var(--navy)}
.kc-library .exec-card__image{transition:transform .5s ease}
.kc-library .exec-card:hover .exec-card__image{transform:scale(1.03)}
.kc-library .exec-card__badge{transition:transform .5s ease;transform-origin:top left}
.kc-library .exec-card:hover .exec-card__badge{transform:scale(.971)}
.kc-library .exec-card__badge{
  background:rgba(255,255,255,.94);color:var(--navy);border:1px solid rgba(11,31,54,.06);
  font-size:.63rem;letter-spacing:.16em;box-shadow:none;
}
.kc-library .exec-card__body{padding:1.5rem 1.55rem 1.6rem;gap:.6rem}
.kc-library .exec-card__meta{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.kc-library .exec-card__body h3{font-size:1.22rem;line-height:1.26;letter-spacing:-.022em}
.kc-library .exec-card__summary{font-size:.93rem;line-height:1.62;color:var(--body)}
.kc-library .rs-tag{background:#F4F8FA;border-color:var(--border);color:#526074}
.kc-library .exec-card__cta{display:inline-flex;align-items:center;gap:.35rem;font-size:.83rem}
.kc-library .exec-card:hover .exec-card__cta{transform:translateX(2px)}
.kc-library .exec-card__cta{transition:transform .18s ease}
.kc-library .exec-card a:focus-visible{outline:2px solid var(--teal);outline-offset:3px}

/* Lead story — first card in the library reads as the editorial opener */
@media(min-width:900px){
  .kc-library .exec-grid > .exec-card:first-child{
    grid-column:1 / -1;flex-direction:row;align-items:stretch;
  }
  .kc-library .exec-grid > .exec-card:first-child .exec-card__image{
    flex:0 0 46%;aspect-ratio:auto;min-height:300px;
  }
  .kc-library .exec-grid > .exec-card:first-child .exec-card__body{padding:2.1rem 2.3rem;justify-content:center}
  .kc-library .exec-grid > .exec-card:first-child h3{font-size:1.75rem;line-height:1.15}
  .kc-library .exec-grid > .exec-card:first-child .exec-card__summary{font-size:1rem;max-width:56ch}
}

/* ============================================================
   7. Archive + LinkedIn
   ============================================================ */
.kc-archive .archive{margin-top:0;background:#fff;border-radius:16px;border-color:var(--border)}
.kc-archive .archive summary{padding:1.4rem 1.6rem}
.kc-archive .archive summary .archive-title > span:first-child{
  font-family:'Space Grotesk',sans-serif;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--teal);
}
.kc-archive .archive summary small{font-size:1.02rem;color:var(--ink);font-weight:600;margin-top:.35rem}
.kc-archive .archive-list{padding:0 1.6rem 1.4rem}

.kc-archive .linkedin-callout{
  margin-top:1.8rem;background:linear-gradient(135deg,#0B1F36 0%,#152B45 60%,#0D3B4E 100%);
  border:0;border-left:0;border-radius:16px;padding:2.2rem 2.4rem;color:#fff;position:relative;overflow:hidden;
}
.kc-archive .linkedin-callout::after{
  content:"";position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(11,143,140,.35),transparent 70%);pointer-events:none;
}
.kc-archive .linkedin-callout h3{color:#fff;font-size:1.35rem;letter-spacing:-.02em;margin-bottom:.7rem}
.kc-archive .linkedin-callout p{color:rgba(255,255,255,.78);max-width:64ch;font-size:.96rem}
.kc-archive .linkedin-callout a{
  display:inline-flex;align-items:center;gap:.5rem;color:#fff;background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.65rem 1.2rem;font-size:.88rem;
  transition:background .18s ease,border-color .18s ease;
}
.kc-archive .linkedin-callout a:hover{background:rgba(255,255,255,.18);border-color:#fff;text-decoration:none}

/* ============================================================
   8. Final CTA — knowledge to action
   ============================================================ */
.kc-final::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(to right,rgba(255,255,255,.05) 1px,transparent 1px),
                   linear-gradient(to bottom,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:radial-gradient(ellipse 70% 80% at 30% 20%,#000 20%,transparent 100%);
          mask-image:radial-gradient(ellipse 70% 80% at 30% 20%,#000 20%,transparent 100%);
}
.kc-final > .container{position:relative;z-index:1}
.kc-final .exec-cta{
  margin-top:0;background:transparent;border-radius:0;padding:0;
  grid-template-columns:1.6fr .8fr;gap:3rem;align-items:center;
}
.kc-final .exec-cta h2{font-size:clamp(1.9rem,3.2vw,2.6rem);letter-spacing:-.03em;color:#fff}
.kc-final .exec-cta > div:first-child > p{font-size:1.05rem;max-width:56ch;color:rgba(255,255,255,.78)}
.kc-final .exec-cta ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1.4rem;margin-bottom:1.8rem}
.kc-final .exec-cta ul li{
  position:relative;padding-left:1.35rem;color:rgba(255,255,255,.88);font-size:.95rem;
  border-top:1px solid rgba(255,255,255,.12);padding-top:.6rem;margin:0;
}
.kc-final .exec-cta ul li::before{
  content:"";position:absolute;left:0;top:1.05rem;width:6px;height:6px;border-radius:50%;background:var(--teal);
}
.kc-final .exec-cta .btn-primary{background:#fff;color:var(--navy);font-weight:700}
.kc-final .exec-cta .btn-primary:hover{background:#EAF6F6}
.kc-final .exec-cta .btn-ghost{border-color:rgba(255,255,255,.4)}
.kc-final .exec-cta > div:last-child{
  border-left:1px solid rgba(255,255,255,.16);padding-left:2.5rem;text-align:left !important;
}
.kc-final .exec-cta > div:last-child > div:first-child{
  font-family:'Space Grotesk',sans-serif;font-size:3.4rem !important;letter-spacing:-.04em;color:#fff;
}
.kc-final .exec-cta > div:last-child > div:last-child{color:rgba(255,255,255,.6)}
@media(max-width:780px){
  .kc-final .exec-cta{grid-template-columns:1fr;gap:2rem}
  .kc-final .exec-cta ul{grid-template-columns:1fr}
  .kc-final .exec-cta > div:last-child{border-left:0;border-top:1px solid rgba(255,255,255,.16);padding-left:0;padding-top:1.5rem}
  .kc-final .exec-cta .cta-actions{flex-direction:column;align-items:stretch}
  .kc-final .exec-cta .cta-actions .btn{text-align:center}
}

/* Topics footer strip inside the dark band */
.kc-final .topics-explore{margin-top:3.2rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.14)}
.kc-final .topics-explore h3{color:rgba(255,255,255,.65)}
.kc-final .topic-pill{
  background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.22);color:rgba(255,255,255,.9);
}
.kc-final .topic-pill:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}

/* ============================================================
   9. Motion
   ============================================================ */
@media(prefers-reduced-motion:reduce){
  .kc-library .exec-card,.kc-library .exec-card__image,
  .kc-journey .roadmap-step,.kc-journey .roadmap-step::after{transition:none !important}
  .kc-library .exec-card:hover{transform:none}
  .kc-library .exec-card:hover .exec-card__image{transform:none}
}
