Skip to content

Service Card

Interactive specimen

Native controls work. Demo links and submissions stay inside this specimen.

Source markup
<!-- @dsCard group="Display" height=368 -->
<!DOCTYPE html>
<html lang="en-GB" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ServiceCard</title>
<style>
  /* Layout of the demo states only. */
  .ds { max-width: 960px; display: flex; flex-direction: column; gap: var(--space-md); }
  .ds .nz-svc { margin-top: 0; }
  .ds .row-2 { grid-template-columns: repeat(2, 1fr); }
  .ds .t-label { margin-bottom: var(--space-2xs); }

  /* bundle.css colours .nz-svc-card__ic from the retired --g/--b/--o suffixes.
     Amber is the one identity colour, so the kicker and the top edge take
     color-semantic-accent-primary, the same value bundle.css gives the border. */
  .ds .nz-svc-card { border-top-color: var(--color-semantic-accent-primary); }
  .ds .nz-svc-card__ic { color: var(--color-semantic-accent-primary); }

  /* Static copy of .nz-svc-card:hover from bundle.css, declaration for
     declaration, so the state shows without a pointer. Three sides only:
     the top edge keeps the accent. */
  .ds .nz-svc-card.is-hover {
    transform: translateY(-3px);
    border-inline-color: var(--color-semantic-border-strong);
    border-bottom-color: var(--color-semantic-border-strong);
    box-shadow: var(--shadow-lift);
  }
</style>
</head>
<body>
<div class="ds">

  <section>
    <p class="t-label">Three pillars, rest</p>
    <div class="nz-svc">
      <article class="nz-svc-card">
        <p class="nz-svc-card__ic">Infrastructure</p>
        <h4>Hosting</h4>
        <p>Hosting, Domains, Cloud, Networking.</p>
      </article>
      <article class="nz-svc-card">
        <p class="nz-svc-card__ic">Security</p>
        <h4>Cybersecurity</h4>
        <p>Data Protection, Threat Mitigation, Hardware.</p>
      </article>
      <article class="nz-svc-card">
        <p class="nz-svc-card__ic">Services</p>
        <h4>Software</h4>
        <p>Applications and Development, Privacy Coins, AI.</p>
      </article>
    </div>
  </section>

  <section>
    <p class="t-label">Rest and hover</p>
    <div class="nz-svc row-2">
      <article class="nz-svc-card">
        <p class="nz-svc-card__ic">Infrastructure</p>
        <h4>Rest</h4>
      </article>
      <article class="nz-svc-card is-hover">
        <p class="nz-svc-card__ic">Infrastructure</p>
        <h4>Hover</h4>
      </article>
    </div>
  </section>

</div>
</body>
</html>

A three-up grid of flat cards, one per service pillar, each with the amber top edge: use it to open a services section.

Use it for the three pillars, or for sibling offers of equal weight. Do not use it for a single feature callout, for pricing, or for anything interactive beyond a heading link; .card covers the general case.

A .nz-svc grid wrapper, then one .nz-svc-card per pillar. No scope class is needed: the 2px top edge and the kicker are color-semantic-accent-primary on all three cards. Inside each card: the kicker, an <h4> for how it is sold, and one <p> of covered services. The grid gap and the card padding are space-md, the border is border-width-hairline in color-semantic-border-base, the radius is radius-md, the surface is color-semantic-bg-surface, or color-semantic-bg-raised inside .section--alt.

Rest as above. Hover lifts the card three pixels, swaps the inline and bottom borders to color-semantic-border-strong and adds shadow-lift over duration-base with easing-standard, leaving the accent top edge alone. Where the card must be clickable, put an <a> in the <h4> so focus lands on the link and takes focus-ring.

  • Role: .nz-svc-card is not interactive and needs no ARIA role; the preview uses <article>. .nz-svc is a plain grid, not a list.
  • Name: an <article> card is unnamed unless aria-labelledby points at its <h4>. The .nz-svc-card__ic kicker is visible text: never hide it.
  • Keyboard: not interactive. Nothing takes focus unless the <h4> holds an <a href>: Tab reaches it, Enter follows it, Space, Escape and the arrows do nothing.
  • Target size: that heading link is the only interactive part. bundle.css sets no min-height here, so the link is its own line box, font-scale-h4 at font-line-height-h4, 22px at the smallest clamp step, and meets WCAG 2.2 SC 2.5.8 on the inline exception only. Any control that is not inline text needs its own 24px.
  • Announcement: none. Hover only lifts and re-rules the card; nothing here is live.

Name the pillar in the kicker, never in colour. .nz-svc-card--g, --b and --o went with the pillar colours on 2026-09-22, so do not reach for them. Keep the paragraph at font-scale-sm in color-semantic-text-muted. No glow here: the phosphor belongs to one element per view, and three would cancel it.

Hand-written from themes/noiz/assets/css/components.css (.nz-svc, .nz-svc-card, .nz-svc-card__ic).