/* Homepage editorial preview */
.editorial-hero {
  background: #fff;
  padding-block: clamp(3rem, 8vw, 7.25rem) clamp(2rem, 5vw, 4rem);
}
.editorial-home .editorial-eyebrow {
  color: #124a9c;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.editorial-home .editorial-hero h1 {
  color: #425a7c;
  font-size: clamp(.85rem, 1.45vw, 1.125rem);
  line-height: 1.55;
  letter-spacing: normal;
  font-weight: 500;
  margin: 0;
}
.editorial-home .editorial-display {
  max-width: 16ch;
  margin: 1.3rem 0;
  color: var(--navy);
  font-size: clamp(2rem, 6.8vw, 6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.editorial-home .editorial-description {
  max-width: 55ch;
  color: #425a7c;
  font-size: clamp(.95rem, 1.65vw, 1.2rem);
  line-height: 1.65;
}
.editorial-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.editorial-actions a { min-height: 44px; }
.editorial-intro { padding-bottom: clamp(2rem, 5vw, 4rem); }
.editorial-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.editorial-cards article {
  border: 1px solid #dce5f2;
  border-radius: 20px;
  padding: clamp(1.125rem, 2.5vw, 1.875rem);
  background: #f4f8fe;
}
.editorial-cards article:nth-child(2) { background: #f7f9fc; }
.editorial-cards article:nth-child(3) { background: #f8f5fc; border-color: #e6def1; }
.editorial-cards article::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #3474ca;
  margin-bottom: 1rem;
}
.editorial-cards article:nth-child(3)::before { background: #7656b3; }
.editorial-home .editorial-cards h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin: 0 0 .4rem; }
.editorial-home .editorial-cards p { margin: 0; color: #425a7c; }
.editorial-context { margin-top: 1.5rem; color: #425a7c; }
.editorial-context p { max-width: 78ch; }
.editorial-context a { text-decoration: underline; text-underline-offset: .15em; }
.editorial-metrics { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-block: 1rem; }
.editorial-metrics strong { color: var(--navy); }
.editorial-home a:focus-visible { outline: 2px solid #0754ba; outline-offset: 4px; }
@media (max-width: 680px) {
  .editorial-cards { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-home *, .editorial-home *::before, .editorial-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-home .nav-dropdown > .dropdown-panel { transition: none !important; }
}


.editorial-home .editorial-cards h2 {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.editorial-home .editorial-cards p {
  max-width: 38ch;
  line-height: 1.6;
}
.editorial-cards article {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
@media (hover: hover) {
  .editorial-cards article:hover {
    border-color: #a8c3e6;
    box-shadow: 0 6px 18px rgb(13 46 93 / 6%);
  }
}
.editorial-cards article:focus-within {
  border-color: #0754ba;
}
@media (min-width: 1024px) {
  .editorial-hero {
    padding-block: clamp(4rem, 6vw, 6rem) clamp(2.25rem, 4vw, 3.5rem);
    text-align: center;
  }
  .editorial-home .editorial-display {
    max-width: 23ch;
    margin-inline: auto;
    font-size: clamp(3.5rem, 5.6vw, 5.25rem);
    line-height: 1.08;
    letter-spacing: -.055em;
  }
  .editorial-home .editorial-hero h1,
  .editorial-home .editorial-description { margin-inline: auto; }
  .editorial-actions { justify-content: center; }
}
@media (max-width: 680px) {
  .editorial-hero { padding-block: 1.625rem 1.25rem; }
  .editorial-home .editorial-eyebrow { margin-bottom: .5rem; letter-spacing: .12em; }
  .editorial-home .editorial-hero h1 { line-height: 1.45; }
  .editorial-home .editorial-display {
    max-width: 20ch;
    margin-block: .75rem;
    font-size: clamp(1.875rem, 8.2vw, 2.25rem);
    letter-spacing: -.045em;
    text-wrap: pretty;
  }
  .editorial-home .editorial-description { margin: 0; line-height: 1.55; }
  .editorial-actions { margin-top: .875rem; gap: .5rem; }
  .editorial-actions .btn { padding-inline: .75rem; }
  .editorial-cards article { padding: 1rem 1.125rem; }
  .editorial-cards article::before { margin-bottom: .625rem; }
}
/* Homepage service catalogue */
.editorial-home section[aria-labelledby="services-title"] {
  padding-block: clamp(2rem, 5vw, 4.5rem);
  background: #f8faff;
}
.editorial-home section[aria-labelledby="services-title"] .section-head {
  gap: 1rem 2rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.editorial-home #services-title {
  max-width: 24ch;
  font-size: clamp(1.625rem, 3.15vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.editorial-home .core-services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  align-items: start;
}
.editorial-home .core-services-grid article {
  display: block;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid #dce5f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
.editorial-home .core-services-grid article:nth-child(2) { background: #f2f7fd; }
.editorial-home .core-services-grid article:nth-child(3) {
  background: #f8f5fc;
  border-color: #e6def1;
}
.editorial-home .core-services-grid article:nth-child(4) { background: #f4f8fe; }
.editorial-home .core-services-grid .core-services-icon { display: none; }
.editorial-home .core-services-grid h3 {
  font-size: clamp(1.125rem, 1.65vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 0 0 .75rem;
}
.editorial-home .catalogue-links li { border-top: 1px solid #dce5f2; }
.editorial-home .catalogue-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .625rem;
  min-height: 44px;
  padding: .5rem .25rem;
  margin: 0;
  font-size: .875rem;
  line-height: 1.45;
  border-radius: 5px;
}
.editorial-home .catalogue-links a::after {
  content: '→' / '';
  flex: none;
  color: #225a9c;
}
.editorial-home .catalogue-links a:is(:hover, :focus-visible) {
  background: #e8f0fd;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.editorial-home .catalogue-links a:focus-visible { outline-offset: 0; }
.editorial-home .catalogue-all a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .editorial-home .core-services-grid { align-items: stretch; }
}
@media (max-width: 680px) {
  .editorial-home .catalogue-all {
    gap: .375rem .625rem;
    margin-top: .875rem;
  }
}
@media (min-width: 1200px) {
  .editorial-home .core-services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .editorial-home .core-services-grid { grid-template-columns: minmax(0, 1fr); }
}

.editorial-home main .btn { min-height: 44px; }
