/* Home page Services list (built by home-services.ts), modeled on esrbespoke.au's Marques list. */
.svx {
  --svx-ink: #0a0a0a; --svx-faded: #e3e3e3; --svx-blue: #0077ff;
  padding: 120px 0; background: #fff; color: var(--svx-ink);
  font-family: Intertight, Arial, sans-serif;
}
.svx-top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 56px; }
.svx-top .paragraph-small { margin: 0; }
.svx-note { margin: 0; max-width: 32ch; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #818181; }

.svx-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.svx-list { margin: 0; padding: 0; list-style: none; }

/* Big names: gray until pointed at */
.svx-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 0.04em 0; color: var(--svx-faded); text-decoration: none;
  transition: color 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.svx-item.is-active, .svx-item:focus-visible { color: var(--svx-ink); }
.svx-item:focus-visible { outline: 2px solid var(--svx-blue); outline-offset: 4px; }
.svx-num { margin-top: 0.9em; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: inherit; min-width: 24px; }
.svx-item.is-active .svx-num { color: var(--svx-blue); }
.svx-name { font-size: clamp(48px, 6.6vw, 104px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }

/* Below the list: image, summary and link of the active service */
.svx-preview { display: grid; }
.svx-panel {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 48px; align-items: end;
  color: var(--svx-ink); text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.svx-panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.svx-panel-img { grid-row: 1 / span 2; display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #ececec; }
.svx-body { margin: 0 0 16px; max-width: 40ch; font-size: 18px; line-height: 1.55; color: #4a4a4a; align-self: end; }
.svx-more { align-self: start; font-size: 16px; font-weight: 500; color: var(--svx-blue); text-decoration: none; }
.svx-panel:hover .svx-more, .svx-more:hover { text-decoration: underline; }

/* Phones and tablets: image, summary and link stacked under the list */
@media (max-width: 991px) {
  .svx { padding: 88px 0; }
  .svx-top { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .svx-grid { gap: 32px; }
  .svx-panel { grid-template-columns: 1fr; row-gap: 16px; }
  .svx-panel-img { grid-row: auto; }
  .svx-body { margin: 0; font-size: 16px; }
  .svx-num { margin-top: 0.7em; }
  .svx-name { font-size: clamp(38px, 10.5vw, 64px); }
}
@media (max-width: 600px) {
  .svx { padding: 72px 0; }
  .svx-more { font-size: 15px; }
}
