@layer components, responsive;

@layer components {
  .inner-hero {
    position: relative;
    display: grid;
    min-height: 620px;
    align-items: center;
    overflow: hidden;
    background:
      radial-gradient(circle at 82% 30%, rgba(243, 186, 64, .28), transparent 28%),
      linear-gradient(120deg, #15005e 0%, #3d16c8 62%, #6842f5 100%);
  }

  .inner-hero--image {
    background-image: var(--inner-hero-image);
    background-position: center;
    background-size: cover;
  }

  .inner-hero__content { position: relative; z-index: 1; padding-block: 84px; }
  .inner-hero__content::before { position: absolute; z-index: -1; inset: 0 36% 0 -100vw; background: linear-gradient(90deg, rgba(10,0,48,.76), rgba(10,0,48,.12)); content: ""; }
  .inner-hero h1 { max-width: 760px; font-size: clamp(2.65rem, 4.4vw, 4.15rem); }
  .inner-hero__content > p:not(.eyebrow) { max-width: 690px; color: rgba(255,255,255,.88); font-size: 1.12rem; }

  .inner-proof { padding: 34px 0; background: white; }
  .inner-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .inner-proof__grid div { display: flex; align-items: center; gap: 14px; color: var(--purple-dark); font-weight: 600; }
  .inner-proof__grid strong { color: var(--purple-dark); font-size: 1.65rem; }

  .inner-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(55px,8vw,120px); }
  .inner-lede { color: var(--ink); font-size: 1.12rem; }
  .inner-intro .button { margin-top: 18px; }
  .signal-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .signal-card { display: grid; min-height: 132px; grid-template-columns: 46px 1fr; align-content: center; column-gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(27,0,129,.07); }
  .signal-card > span { display: grid; width: 42px; height: 42px; grid-row: 1 / 3; place-items: center; border-radius: 50%; background: var(--purple); color: white; font-weight: 700; }
  .signal-card h3 { margin: 0 0 5px; font-size: 1rem; }
  .signal-card p { margin: 0; font-size: .78rem; line-height: 1.45; }

  .inner-results { padding-block: 86px; }
  .outcome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .outcome-grid article { min-height: 210px; padding: 30px; border-radius: 22px; background: rgba(255,255,255,.11); }
  .outcome-grid strong { color: white; font-size: 2rem; }
  .outcome-grid h3 { margin-top: 28px; }
  .outcome-grid p { font-size: .85rem; }

  .inner-services { background: #fffbf4; }
  .inner-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .inner-card { min-height: 285px; padding: 34px; border: 1px solid rgba(27,0,129,.08); border-radius: 28px; background: white; box-shadow: var(--shadow); }
  .inner-card--featured { background: var(--yellow); }
  .inner-card__number { display: grid; width: 54px; height: 54px; margin-bottom: 35px; place-items: center; border-radius: 50%; background: var(--purple); color: white; font-weight: 700; }
  .inner-card--featured .inner-card__number { background: white; color: var(--purple); }

  .inner-process { background: var(--yellow); }
  .inner-process .eyebrow { color: var(--purple-dark); }
  .inner-process__list { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
  .inner-process__list::before { position: absolute; top: 30px; right: 4%; left: 4%; height: 2px; background: rgba(27,0,129,.35); content: ""; }
  .inner-process__list li { position: relative; text-align: center; }
  .inner-process__list span { position: relative; z-index: 1; display: grid; width: 60px; height: 60px; margin: 0 auto 25px; place-items: center; border-radius: 50%; background: var(--purple); color: white; }
  .inner-process__list h3 { font-size: 1.05rem; }
  .inner-process__list p { font-size: .76rem; line-height: 1.45; }

  .inner-narrative { background: var(--purple-dark); }
  .inner-narrative .section-heading h2, .inner-narrative .section-heading p { color: white; }
  .inner-narrative .eyebrow { color: var(--yellow); }
  .narrative-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .narrative-grid article { min-height: 290px; padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.08); }
  .narrative-grid span { color: var(--yellow); font-size: 2rem; font-weight: 700; }
  .narrative-grid h3 { margin-top: 44px; color: white; }
  .narrative-grid p { margin-bottom: 0; color: rgba(255,255,255,.82); }

  .focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .focus-grid div { display: flex; min-height: 92px; align-items: center; gap: 14px; padding: 22px; border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(27,0,129,.07); }
  .focus-grid span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--purple); color: white; }

  .tag-grid { display: grid; max-width: 980px; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-inline: auto; }
  .tag-grid div { display: grid; min-height: 110px; place-items: center; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--purple-dark); font-weight: 600; text-align: center; }
  .tag-grid span { color: var(--purple); font-size: 1.6rem; }

  .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .why-grid article { min-height: 205px; padding: 28px; border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(27,0,129,.08); }
  .why-grid article.is-featured { background: var(--purple); }
  .why-grid article.is-featured h3, .why-grid article.is-featured p, .why-grid article.is-featured span { color: white; }
  .why-grid span { color: var(--purple); font-weight: 700; }
  .why-grid h3 { margin-top: 26px; font-size: 1rem; }
  .why-grid p { font-size: .78rem; }

  .report-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
  .report-list li { padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--purple-dark); font-weight: 600; }
  .report-card { padding: 38px; border-radius: 28px; background: var(--purple); box-shadow: var(--shadow); color: white; }
  .report-card > div:first-child, .report-card p { display: flex; justify-content: space-between; gap: 20px; }
  .report-card > strong { display: block; margin: 25px 0; color: white; font-size: 1.7rem; }
  .report-card__chart { display: flex !important; height: 145px; align-items: end; gap: 12px; padding-top: 25px; border-bottom: 1px solid rgba(255,255,255,.35); }
  .report-card__chart i { width: 12%; border-radius: 5px 5px 0 0; background: rgba(255,255,255,.24); }
  .report-card__chart i:nth-child(1) { height: 25%; } .report-card__chart i:nth-child(2) { height: 42%; } .report-card__chart i:nth-child(3) { height: 36%; } .report-card__chart i:nth-child(4) { height: 68%; background: var(--yellow); } .report-card__chart i:nth-child(5) { height: 55%; } .report-card__chart i:nth-child(6) { height: 74%; } .report-card__chart i:nth-child(7) { height: 92%; }
  .report-card p { margin: 15px 0 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); color: white; font-size: .82rem; }
  .report-card b { color: white; }

  .company-timeline { background: var(--cream); }
  .company-timeline__list { position: relative; display: grid; max-width: 980px; gap: 0; margin: 0 auto; padding: 0; list-style: none; }
  .company-timeline__list::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--purple); content: ""; transform: translateX(-50%); }
  .company-timeline__list li { position: relative; width: calc(50% - 36px); min-height: 120px; padding: 28px; border-radius: 20px; background: white; box-shadow: var(--shadow); }
  .company-timeline__list li:nth-child(even) { margin-left: calc(50% + 36px); }
  .company-timeline__list li:not(:first-child) { margin-top: 24px; }
  .company-timeline__list li::after { position: absolute; top: 42px; width: 18px; height: 18px; border: 5px solid var(--cream); border-radius: 50%; background: var(--yellow); content: ""; }
  .company-timeline__list li:nth-child(odd)::after { right: -46px; }
  .company-timeline__list li:nth-child(even)::after { left: -46px; }
  .company-timeline__list strong { display: block; color: var(--purple); font-size: 1.9rem; }
  .company-timeline__list span { color: var(--purple-dark); font-weight: 600; }

  .inner-faq .accordion { max-width: 980px; }
  .inner-contact { padding-top: 90px; }
}

@layer responsive {
  @media (max-width: 1100px) {
    .inner-process__list { grid-template-columns: repeat(3, 1fr); gap: 35px 16px; }
    .inner-process__list::before { display: none; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 980px) {
    .inner-hero { min-height: 570px; }
    .inner-proof__grid { grid-template-columns: repeat(2, 1fr); }
    .inner-split { grid-template-columns: 1fr; gap: 45px; }
    .outcome-grid, .tag-grid { grid-template-columns: repeat(2, 1fr); }
    .narrative-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 640px) {
    .inner-hero { min-height: 640px; }
    .inner-hero__content { padding-block: 65px; }
    .inner-hero__content::before { inset: 0 -30px; background: rgba(10,0,48,.64); }
    .inner-proof__grid, .signal-list, .outcome-grid, .inner-card-grid, .focus-grid, .tag-grid, .why-grid, .narrative-grid { grid-template-columns: 1fr; }
    .inner-proof__grid { gap: 12px; }
    .inner-proof__grid div { min-height: 55px; }
    .inner-process__list { grid-template-columns: 1fr 1fr; }
    .inner-process__list li { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.32); }
    .inner-card, .why-grid article, .outcome-grid article { min-height: 0; }
    .report-card { padding: 25px; }
    .company-timeline__list::before { left: 10px; }
    .company-timeline__list li, .company-timeline__list li:nth-child(even) { width: calc(100% - 34px); margin-left: 34px; }
    .company-timeline__list li:nth-child(odd)::after, .company-timeline__list li:nth-child(even)::after { right: auto; left: -33px; }
  }
}
