/* ==========================================================================
   Adapt Practice — Homepage stylesheet

   Page-specific components for index.html only.
   This file must be loaded after adapt-practice.css.
   ========================================================================== */

/* ─────────────────────────────────────────────────────────────────────────
   Hero illustration
   ───────────────────────────────────────────────────────────────────────── */
.page-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.page-hero__visual .hero-diagram {
  display: block;
  width: 100%;
  height: auto;
  max-width: 680px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Credibility strip
   ───────────────────────────────────────────────────────────────────────── */
.credibility-strip {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.credibility-strip__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
}

.credibility-strip__item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  padding-left: 1.1rem;
  position: relative;
}
.credibility-strip__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.credibility-strip__item:first-child { padding-left: 0; }
.credibility-strip__item:first-child::before { display: none; }

/* ─────────────────────────────────────────────────────────────────────────
   Organisational Challenge — editorial row list
   Scoped to the homepage challenge section only; does not touch
   .card-grid / .content-card, which are shared with other pages.
   ───────────────────────────────────────────────────────────────────────── */
.challenge-layout {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 3rem;
  align-items: start;
}

.challenge-layout__aside h2 { margin: 0; }

.challenge-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.challenge-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.challenge-row__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}

.challenge-row__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 62ch;
}

/* ─────────────────────────────────────────────────────────────────────────
   How Adapt Practice Helps — numbered editorial row list
   Scoped to the homepage services section only; does not touch
   .card-grid / .content-card, which are shared with other pages.
   ───────────────────────────────────────────────────────────────────────── */
.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.95rem 0;
  border-bottom: 1px solid var(--border);
}

.service-row__number {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-text);
  letter-spacing: 0.02em;
  padding-top: 0.2rem;
}

.service-row__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-row__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.service-row__title-link:hover {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.service-row__title-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.service-row__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 62ch;
  margin-bottom: 0.75rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Service card supporting lines (audience / format)
   ───────────────────────────────────────────────────────────────────────── */
.service-card__audience {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.service-card__format {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--teal-text);
  margin-bottom: 1.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Service row CTA — scoped editorial action link.
   Deliberately not the shared .text-link class: this link needs stronger
   weight/underline treatment than .text-link carries elsewhere on the site.
   ───────────────────────────────────────────────────────────────────────── */
.service-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s;
}
.service-row__cta:hover {
  color: var(--gold-deep-hover);
  border-color: var(--gold-deep-hover);
}
.service-row__cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Tailored Learning Programmes panel — editorial refinement.
   Scoped to this one panel only; does not touch the shared .feature-panel
   base rules used by the AI at Work panel and the page template.
   ───────────────────────────────────────────────────────────────────────── */
.feature-panel--tailored {
  border-radius: var(--radius-md);
  padding: 2.6rem 2.5rem;
}

.feature-panel--tailored h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────────────────
   Specialist Assessment (AI Visibility Audit) — editorial cross-link panel.
   Deliberately lighter than .feature-panel (used by AI at Work) so the
   flagship programme keeps the greater visual weight.
   ───────────────────────────────────────────────────────────────────────── */
.audit-feature {
  background: var(--grey);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.75rem;
}

.audit-feature__content { max-width: 640px; }

.audit-feature__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 0.85rem;
}

.audit-feature__title { margin-bottom: 0.85rem; }

.audit-feature__lead {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.audit-feature__text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Featured offer (AI at Work) panel extensions.
   .feature-panel--programme is a panel-specific modifier so the shared
   .feature-panel base (also used by the Tailored panel and the page
   template) is left untouched.
   ───────────────────────────────────────────────────────────────────────── */
.feature-panel--programme {
  border-radius: var(--radius-md);
  padding: 2.6rem 2.5rem;
}

.feature-panel__strapline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.feature-panel__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.7rem;
}
.feature-panel__facts li {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 1rem;
  position: relative;
}
.feature-panel__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.feature-panel__facts li:first-child { padding-left: 0; }
.feature-panel__facts li:first-child::before { display: none; }

.feature-panel__options {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
}

.feature-panel__preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-panel__preview-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}

.feature-panel__preview ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding-left: 1.4rem;
}
.feature-panel__preview li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  padding-left: 0.25rem;
  margin-bottom: 0.65rem;
}

.feature-panel__preview-icon {
  box-sizing: content-box;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  padding: 0.4rem;
  border: 1px solid rgba(200, 148, 58, 0.38);
  border-radius: 0.4rem;
  background: rgba(200, 148, 58, 0.08);

  fill: none;
  stroke: var(--gold, #c8943a);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  color: var(--gold, #c8943a);
}

/* ─────────────────────────────────────────────────────────────────────────
   What Changes — outcome checklist refinement.
   Scoped modifier: .checklist itself is shared across many other pages,
   so the shared rules in adapt-practice.css are left untouched.
   ───────────────────────────────────────────────────────────────────────── */
.checklist--outcomes {
  gap: 1.25rem;
}
.checklist--outcomes li {
  font-size: 1.02rem;
  padding-bottom: 1.25rem;
}

/* Contextual internal link beneath the outcomes list. */
.outcomes-note {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────
   Working approach — four-stage process.
   Numbers use editorial teal text rather than the old filled navy badge.
   ───────────────────────────────────────────────────────────────────────── */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.process-step { text-align: left; }

.process-step__number {
  display: block;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-text);
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────
   Who We Work With — editorial audience list.
   Replaces the old pill/chip treatment with a plain multi-column list.
   ───────────────────────────────────────────────────────────────────────── */
.audience-list {
  list-style: none;
  columns: 3;
  column-gap: 2.5rem;
  margin-top: 1.5rem;
}

.audience-list__item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  padding-left: 1.1rem;
  padding-bottom: 0.9rem;
  position: relative;
  break-inside: avoid;
}
.audience-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ─────────────────────────────────────────────────────────────────────────
   About Adapt Practice — desktop layout correction.
   .split-layout--about is a scoped modifier: the shared .split-layout base
   (grid-template-columns / mobile collapse) in adapt-practice.css is used
   by other pages, so it is left untouched.
   ───────────────────────────────────────────────────────────────────────── */
.split-layout--about {
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.5fr);
  gap: 3rem;
}

.about-content > p {
  max-width: 680px;
}

.about-visual {
  width: 100%;
  max-width: 320px;
}
.about-visual svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ─────────────────────────────────────────────────────────────────────────
   Final CTA — Start the Conversation.
   .final-cta* now lives in adapt-practice.css (promoted, unchanged, as a
   shared migration pattern for other pages' final CTAs) so it isn't
   duplicated here. .cta-panel remains the shared component for pages
   that haven't migrated onto .final-cta yet.
   ───────────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────────
   Evidence and Experience — editorial three-column layout.
   Scoped classes (.evidence-grid / .evidence-block) replace .card-grid /
   .content-card for this section only; those shared classes are left
   untouched for other pages and sections that still use them.
   ───────────────────────────────────────────────────────────────────────── */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.evidence-block {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.evidence-block__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 1rem;
}

.evidence-block__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────────
   Evidence — experience highlight and verified credential lists
   ───────────────────────────────────────────────────────────────────────── */
.experience-highlight__figure {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.evidence-credentials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
}
.evidence-credentials li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}
.evidence-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ─────────────────────────────────────────────────────────────────────────
   Homepage responsive rules
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .challenge-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .service-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .service-row__number { padding-top: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .feature-panel__preview { grid-template-columns: 1fr; gap: 1.5rem; }
  .audience-list { columns: 2; }
  .split-layout--about { grid-template-columns: 1fr; gap: 2.5rem; }
  .evidence-grid { grid-template-columns: 1fr; gap: 2rem; }

  .page-hero__visual { margin-top: 1rem; }
  .page-hero__visual .hero-diagram { max-width: 560px; margin-inline: auto;}
}

@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .audience-list { columns: 1; }
  .credibility-strip__list { gap: 0.6rem 1.5rem; }
  .about-visual { max-width: 100%; }
  .feature-panel--tailored { padding: 2.2rem 1.5rem; }
  .feature-panel--programme { padding: 2.2rem 1.5rem; }
  .audit-feature { padding: 2rem 1.5rem; }

  .page-hero__visual { margin-top: 0.5rem; }
  .page-hero__visual .hero-diagram { width: 100%; max-width: 420px; }
}

@media (max-width: 400px) {
  .page-hero__visual { display: none; }
}
