.v27-services {
  background: #f4f7f9;
  color: #102e43;
  padding-block: clamp(55px, 7vw, 112px);
}
.v27-services-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 65px);
}
.v27-services-heading h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 96px);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 700;
}
.v27-services-heading em {
  font: italic 400 1em Georgia, 'Times New Roman', serif;
  color: #076987;
}
.v27-services-heading p {
  margin: 0;
  max-width: 30ch;
  color: #415967;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.5;
}
.v27-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 26px);
  align-items: start;
}
.v27-card {
  --card-bg: #fff;
  --card-ink: #102e43;
  --card-muted: #405866;
  --card-accent: #076987;
  --card-line: #c5d6de;
  color: var(--card-ink);
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 12px;
  min-width: 0;
}
.v27-card:nth-child(1), .v27-card:nth-child(6) { grid-column: span 2; }
.v27-card:nth-child(1), .v27-card:nth-child(6) {
  --card-bg: #0c304a;
  --card-ink: #fff;
  --card-muted: #d5e4ec;
  --card-accent: #b6e9f7;
  --card-line: #48677b;
}
.v27-card:nth-child(3), .v27-card:nth-child(7) { --card-bg: #e6f0f4; }
.v27-card summary {
  display: block;
  list-style: none;
  cursor: pointer;
  border-radius: 11px;
}
.v27-card summary::-webkit-details-marker { display: none; }
.v27-card summary:focus-visible {
  outline: 3px solid #0a6d92;
  outline-offset: 4px;
}
.v27-card-image {
  height: clamp(130px, 13vw, 225px);
  border-radius: 11px 11px 0 0;
  overflow: hidden;
  background: #d2dfe5;
}
.v27-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.v27-card-body {
  min-height: 255px;
  padding: clamp(13px, 1.35vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 11px;
}
.v27-index {
  color: var(--card-accent);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.v27-card h3 {
  margin: 0;
  font-size: clamp(20px, 1.75vw, 30px);
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.v27-card-body p, .v27-panel {
  margin: 0;
  color: var(--card-muted);
  font-size: 15px;
  line-height: 1.53;
}
.v27-action {
  color: var(--card-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--card-line);
  font-size: 14px;
  font-weight: 700;
}
.v27-symbol::before { content: '+'; font-size: 21px; line-height: 1; }
.v27-card[open] .v27-symbol::before { content: '−'; }
.v27-close-label, .v27-card[open] .v27-open-label { display: none; }
.v27-card[open] .v27-close-label { display: inline; }
.v27-card[open] { border-color: var(--card-accent); }
.v27-panel { padding: 2px clamp(13px, 1.35vw, 24px) 23px; }
.v27-panel h4 { margin: 0 0 9px; font-size: 16px; color: var(--card-ink); }
.v27-panel ul { margin: 0; padding-inline-start: 20px; }
.v27-panel li + li { margin-top: 5px; }
.v27-outcome { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid var(--card-line); }
.v27-outcome strong { display: block; color: var(--card-ink); margin-bottom: 4px; }
@media (max-width: 1190px) {
  .v27-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v27-card:nth-child(n) { grid-column: auto; }
  .v27-card-image { height: clamp(140px, 22vw, 225px); }
  .v27-card-body { min-height: 206px; }
}
@media (max-width: 600px) {
  .v27-services-heading, .v27-service-grid { grid-template-columns: minmax(0, 1fr); }
  .v27-services-heading { gap: 15px; }
  .v27-card-body { min-height: 0; padding: 16px; }
  .v27-card-image { height: clamp(160px, 47vw, 225px); }
}
@media (prefers-reduced-motion: no-preference) {
  .v27-card.revealed { animation: v27-enter .48s var(--ease) both; }
  .v27-card:nth-child(4n + 2).revealed { animation-delay: .055s; }
  .v27-card:nth-child(4n + 3).revealed { animation-delay: .11s; }
  .v27-card:nth-child(4n).revealed { animation-delay: .165s; }
  .v27-card:focus-within { animation: none; }
  .v27-card { transition: border-color .22s, box-shadow .22s; }
  .v27-card-image img { transition: transform .5s var(--ease); }
  .v27-card[open] .v27-card-image img { transform: scale(1.035); }
  .v27-card[open] .v27-panel { animation: v27-enter .24s ease-out both; }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .v27-card { interpolate-size: allow-keywords; }
    .v27-card::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size .24s var(--ease), content-visibility .24s allow-discrete;
    }
    .v27-card[open]::details-content { block-size: auto; }
  }
}
@media (hover: hover) and (pointer: fine) {
  .v27-card:hover { border-color: var(--card-accent); box-shadow: 0 7px 22px #0c304a15; }
  .v27-card summary:hover .v27-action { text-decoration: underline; text-underline-offset: .22em; }
}
@keyframes v27-enter {
  from { opacity: .55; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
/* Compositions retain their full framing. Audiovisual uses a photographic crop. */
.v27-card:not(:nth-child(6)) .v27-card-image { background: #f8f9fa; }
.v27-card:not(:nth-child(6)) .v27-card-image img { object-fit: contain; }
