/* V5.2b: coral as a quiet, repeated accent within the neutral-and-dark design. */
:root {
  --brand-coral: #e45b47;
  --brand-coral-bright: #f06f5a;
  --brand-coral-soft: rgba(228, 91, 71, .16);
}

::selection {
  background: rgba(228, 91, 71, .24);
}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(228, 91, 71, .48);
  outline-offset: 3px;
}

/* A short coral rule ties section labels together without recolouring them. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-coral), var(--brand-coral-bright));
}

.centered .eyebrow {
  justify-content: center;
}

.service-row .card-label {
  padding-left: 10px;
  border-left: 2px solid rgba(228, 91, 71, .72);
}

.service-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #31155a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

/* Recognition cards are alternatives, not a sequence. A quiet line replaces numbering. */
.compact-five .situation-card {
  grid-template-columns: 1fr;
  column-gap: 0;
}

.compact-five .situation-card h3 {
  position: relative;
  grid-column: 1 / -1;
  padding-left: 17px;
}

.compact-five .situation-card h3::before {
  content: "";
  position: absolute;
  top: .12em;
  bottom: .12em;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(228, 91, 71, .58);
}

.compact-five .situation-card p:not(.card-label),
.compact-five .featured p:not(.card-label) {
  grid-column: 1;
  padding-left: 17px;
}

.situations .story-bridge::before,
.fit .story-bridge::before {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(228, 91, 71, .68);
}

/* Small interaction cues distribute the accent without turning whole elements coral. */
.nav-links a[aria-current="page"]:not(.nav-cta),
.service-contact {
  text-decoration: underline;
  text-decoration-color: rgba(228, 91, 71, .82);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.practice[open] > summary {
  background: var(--brand-coral-soft);
  box-shadow: inset 3px 0 0 var(--brand-coral);
}

.difference {
  padding-block: 44px;
}

.difference-closing {
  display: block;
  margin-top: 26px;
  padding-block: 16px;
  border-top: 1px solid rgba(240, 111, 90, .58);
  border-bottom: 1px solid rgba(240, 111, 90, .58);
  color: #f2eafb;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.35;
  text-align: center;
}

@media (min-width: 1000px) {
  .difference-closing {
    white-space: nowrap;
  }
}

.enquiry-form input:focus-visible,
.enquiry-form select:focus-visible,
.enquiry-form textarea:focus-visible {
  border-color: var(--brand-coral);
  outline: 3px solid var(--brand-coral-soft);
  outline-offset: 1px;
}

/* Primary actions stay within the plum system; coral is reserved for small cues. */
.button-coral {
  background: #31155a;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.nav-cta):hover,
  .service-contact:hover,
  .footer-grid a:hover {
    color: var(--heading-secondary);
    text-decoration-color: var(--brand-coral);
  }

  .footer-grid a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }

  .button-coral:hover {
    background: #2c124f;
    color: #fff;
  }
}

@media (max-width: 900px) {
  .service-index {
    display: none;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-side {
    grid-column: auto;
    padding: 13px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-contact,
  .direct-contact a,
  .faq-index a,
  .footer-grid a,
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
  }

  .faq-index {
    row-gap: 0;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-grid > div {
    gap: 0;
  }
}
