@layer reset, base, layout, components, states;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, dl, dd { margin: 0; }
  button, input { font: inherit; }
  svg { display: block; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    color-scheme: dark;
    --ink: #dfffea;
    --muted: #91bda3;
    --ground: #07100c;
    --panel: #0c1912;
    --panel-strong: #12251a;
    --line: #28523a;
    --black: #030806;
    --white: #f2fff6;
    --purple: #b69cff;
    --pink: #ff91ca;
    --blue: #82d9ff;
    --orange: #ffa15d;
    --green: #7ee6a5;
    --yellow: #ffe36e;
    --red: #ff8a81;
    --lime: #78ff9e;
    --focus: #ffd166;
    --shadow: 7px 7px 0 #020503;
    --page: min(1480px, calc(100% - 48px));
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-synthesis: none;
  }

  :root[data-theme="light"] {
    color-scheme: light;
    --ink: #11281a;
    --muted: #4b6d58;
    --ground: #e9f4ea;
    --panel: #f7fff8;
    --panel-strong: #dcecdf;
    --line: #53745e;
    --black: #07100c;
    --white: #f7fff8;
    --shadow: 7px 7px 0 #607a67;
  }

  body {
    position: relative;
    min-width: 280px;
    min-height: 100vh;
    background: var(--ground);
    color: var(--ink);
    line-height: 1.5;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: .035;
    background: repeating-linear-gradient(to bottom, transparent 0 3px, var(--ink) 3px 4px);
    animation: scanlines 9s linear infinite;
  }

  a { color: inherit; }

  :focus-visible {
    outline: 4px solid var(--focus);
    outline-offset: 4px;
  }

  ::selection {
    background: var(--lime);
    color: var(--black);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .js-only { display: none; }
  .js-ready .js-only { display: initial; }
}

@layer layout {
  .page-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .3;
    background:
      linear-gradient(90deg, transparent 23px, color-mix(in srgb, var(--line) 22%, transparent) 24px, transparent 25px) 0 0 / 48px 48px,
      linear-gradient(transparent 23px, color-mix(in srgb, var(--line) 22%, transparent) 24px, transparent 25px) 0 0 / 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    animation: terminal-grid 24s linear infinite;
  }

  .site-header,
  main,
  .site-footer {
    width: var(--page);
    margin-inline: auto;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 88px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    border-inline: 2px solid var(--line);
    border-bottom: 2px solid var(--line);
    background: color-mix(in srgb, var(--ground) 92%, transparent);
    backdrop-filter: blur(14px);
  }

  .site-header nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-width: 0;
  }

  .site-header nav a {
    display: grid;
    min-height: 52px;
    padding: 0 18px;
    place-items: center;
    border-left: 1px solid var(--line);
    font-weight: 750;
    font-size: .78rem;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .site-header nav a:last-child { border-right: 1px solid var(--line); }

  .site-header nav a[aria-current="location"] {
    background: var(--panel-strong);
    box-shadow: inset 0 -3px 0 var(--lime);
    color: var(--lime);
  }

  main { border-inline: 2px solid var(--line); }

  .hero {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border-bottom: 2px solid var(--line);
    background:
      linear-gradient(115deg, transparent 0 62%, color-mix(in srgb, var(--lime) 10%, transparent) 62% 74%, transparent 74%),
      repeating-linear-gradient(90deg, transparent 0 54px, color-mix(in srgb, var(--line) 16%, transparent) 54px 56px),
      var(--panel);
  }

  .hero__copy {
    align-content: end;
    display: grid;
    min-height: 170px;
    padding: clamp(24px, 3vw, 40px) clamp(24px, 6vw, 86px);
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.4rem, 4.5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .95;
    text-transform: lowercase;
  }

  .terminal-path {
    width: max-content;
    margin-bottom: 8px;
    color: var(--lime);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
  }

  .terminal-path::before { content: "> "; }

  .terminal-caret {
    display: inline-block;
    width: .5em;
    height: .86em;
    margin-left: .16em;
    background: var(--lime);
    vertical-align: -.04em;
    animation: terminal-caret 1s steps(1, end) infinite;
  }

  .directory { padding: clamp(30px, 4vw, 62px); }

  .directory__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
  }

  .directory__heading h2 {
    font-size: clamp(2.25rem, 4vw, 4rem);
    letter-spacing: -.055em;
    line-height: .9;
  }

  .directory__heading p { color: var(--muted); }

  .service-groups { display: grid; gap: 58px; }
  .service-group { min-width: 0; scroll-margin-top: 20px; }

  .group-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 0 2px 12px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 18px;
  }

  .group-title h3 {
    font-size: clamp(1.55rem, 2.7vw, 2.7rem);
    letter-spacing: -.035em;
  }

  .group-title span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .card-grid--media {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(190px, auto));
  }

  .service-card--large { grid-area: span 2 / span 2; }
  .card-grid--stack { grid-template-columns: 1fr; }

  .split-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .site-footer {
    min-height: 130px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 36px;
    padding: 28px clamp(22px, 5vw, 70px);
    border: 2px solid var(--line);
    border-top: 0;
    margin-bottom: 32px;
    background: var(--panel);
  }
}

@layer components {
  .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 16px;
    background: var(--focus);
    color: var(--black);
    font-weight: 800;
    transform: translateY(-180%);
  }

  .skip-link:focus { transform: translateY(0); }

  .wordmark {
    min-width: 0;
    padding-left: clamp(18px, 3vw, 42px);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 950;
    letter-spacing: -.045em;
    text-decoration: none;
  }

  .wordmark span {
    display: block;
    max-width: 28ch;
    overflow: hidden;
    color: var(--lime);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .theme-switch {
    min-width: 102px;
    min-height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: clamp(14px, 3vw, 38px);
    padding: 9px 14px;
    border: 2px solid var(--line);
    border-radius: 0;
    background: var(--panel-strong);
    color: var(--ink);
    cursor: pointer;
    font-size: .8rem;
    font-weight: 800;
  }

  .js-ready .theme-switch { display: flex; }
  .theme-switch svg { width: 18px; height: 18px; }

  .site-header nav a:hover,
  .theme-switch:hover {
    background: var(--lime);
    color: var(--black);
  }

  .service-tools {
    align-items: center;
    grid-template-columns: minmax(210px, 1fr) auto auto;
    gap: 18px;
    margin-bottom: 54px;
    padding: 14px;
    border: 2px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .js-ready .service-tools { display: grid; }

  .search-box {
    min-width: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    border: 2px solid var(--line);
    background: var(--ground);
  }

  .search-box:focus-within { border-color: var(--focus); }
  .search-box svg { width: 21px; height: 21px; }

  .search-box input {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
  }

  .search-box input::placeholder { color: var(--muted); opacity: 1; }

  .search-shortcut {
    min-width: 26px;
    padding: 2px 6px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .72rem;
    text-align: center;
  }

  .filters { display: flex; flex-wrap: wrap; gap: 6px; }

  .filters button,
  .no-results button {
    min-height: 44px;
    padding: 8px 13px;
    border: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: .78rem;
    font-weight: 800;
  }

  .filters button:hover,
  .filters button.is-active,
  .no-results button:hover {
    border-color: var(--lime);
    background: var(--lime);
    color: var(--black);
  }

  .result-count {
    min-width: 72px;
    color: var(--muted);
    font-size: .8rem;
    text-align: right;
  }

  .service-card {
    --card-color: var(--purple);
    position: relative;
    isolation: isolate;
    min-height: 205px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 18px;
    overflow: hidden;
    padding: clamp(20px, 2.2vw, 30px);
    border: 1px solid var(--card-color);
    background:
      radial-gradient(circle 190px at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--card-color) 20%, transparent), transparent 72%),
      linear-gradient(135deg, color-mix(in srgb, var(--card-color) 9%, transparent), transparent 58%),
      color-mix(in srgb, var(--card-color) 8%, var(--panel));
    box-shadow: 6px 6px 0 var(--black), inset 0 0 22px color-mix(in srgb, var(--card-color) 6%, transparent);
    color: var(--ink);
    text-decoration: none;
    transition: transform 150ms ease, box-shadow 150ms ease;
    animation: card-enter 600ms cubic-bezier(.2, .8, .2, 1) backwards;
  }

  .card-grid .service-card:nth-child(2) { animation-delay: 50ms; }
  .card-grid .service-card:nth-child(3) { animation-delay: 100ms; }
  .card-grid .service-card:nth-child(4) { animation-delay: 150ms; }
  .card-grid .service-card:nth-child(5) { animation-delay: 200ms; }
  .card-grid .service-card:nth-child(6) { animation-delay: 250ms; }
  .card-grid .service-card:nth-child(2)::after { animation-delay: -2s; }
  .card-grid .service-card:nth-child(3)::after { animation-delay: -4s; }
  .card-grid .service-card:nth-child(4)::after { animation-delay: -6s; }
  .card-grid .service-card:nth-child(5)::after { animation-delay: -8s; }
  .card-grid .service-card:nth-child(6)::after { animation-delay: -3s; }

  .service-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 160px;
    aspect-ratio: 1;
    right: -80px;
    top: -82px;
    border: 22px solid var(--card-color);
    border-radius: 50%;
    opacity: .1;
  }

  .service-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .3;
    background: linear-gradient(105deg, transparent 42%, color-mix(in srgb, var(--card-color) 32%, transparent) 49%, transparent 56%);
    transform: translateX(-120%);
    animation: card-sweep 9s ease-in-out infinite;
  }

  .service-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 var(--black), 0 0 28px color-mix(in srgb, var(--card-color) 24%, transparent);
  }

  .service-card:hover::after { opacity: .65; }

  a.service-card { cursor: pointer; }

  .card__icon {
    width: clamp(38px, 4vw, 56px);
    height: clamp(38px, 4vw, 56px);
    grid-column: 1;
    color: var(--card-color);
  }

  .card__copy {
    align-self: end;
    display: grid;
    gap: 3px;
    grid-column: 1;
    min-width: 0;
  }

  .card__copy strong {
    overflow-wrap: anywhere;
    font-size: clamp(1.28rem, 2vw, 2rem);
    letter-spacing: -.045em;
    line-height: 1;
  }

  .card__copy small { font-size: .86rem; font-weight: 650; }

  .card__arrow {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: end;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--card-color);
    background: color-mix(in srgb, var(--card-color) 9%, transparent);
    color: var(--card-color);
    font-size: 1.35rem;
    font-weight: 900;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
  }

  a.service-card:hover .card__arrow {
    background: var(--card-color);
    color: var(--black);
    transform: translate(2px, -2px);
  }

  .service-card--large { min-height: 394px; }
  .service-card--large .card__icon { width: clamp(64px, 8vw, 112px); height: clamp(64px, 8vw, 112px); }
  .service-card--large .card__copy strong { font-size: clamp(2.2rem, 5vw, 5.1rem); }

  .service-card--monitoring { min-height: 424px; }

  .service-card--wip {
    cursor: default;
    background:
      repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--card-color) 10%, transparent) 14px 16px),
      color-mix(in srgb, var(--card-color) 8%, var(--panel));
  }

  .service-card--wip:hover {
    transform: none;
    box-shadow: 6px 6px 0 var(--black), inset 0 0 22px color-mix(in srgb, var(--card-color) 6%, transparent);
  }

  .service-card--wip::after { display: none; }

  .wip-label {
    grid-column: 2;
    justify-self: end;
    align-self: start;
    padding: 5px 9px;
    border: 1px solid var(--card-color);
    background: transparent;
    color: var(--card-color);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .1em;
  }

  .card__bars {
    position: absolute;
    right: 26px;
    bottom: 88px;
    left: 26px;
    height: 108px;
    display: flex;
    align-items: end;
    gap: 7px;
    opacity: .25;
  }

  .card__bars i {
    flex: 1;
    background: var(--card-color);
    transform-origin: bottom;
    animation: bar-signal 2.8s steps(4, end) infinite alternate;
  }
  .card__bars i:nth-child(1) { height: 22%; }
  .card__bars i:nth-child(2) { height: 48%; }
  .card__bars i:nth-child(3) { height: 35%; }
  .card__bars i:nth-child(4) { height: 72%; }
  .card__bars i:nth-child(5) { height: 54%; }
  .card__bars i:nth-child(6) { height: 88%; }
  .card__bars i:nth-child(7) { height: 66%; }
  .card__bars i:nth-child(8) { height: 100%; }

  .color-purple { --card-color: var(--purple); }
  .color-pink { --card-color: var(--pink); }
  .color-blue { --card-color: var(--blue); }
  .color-orange { --card-color: var(--orange); }
  .color-green { --card-color: var(--green); }
  .color-yellow { --card-color: var(--yellow); }
  .color-red { --card-color: var(--red); }
  .color-lime { --card-color: var(--lime); }

  .no-results {
    padding: 60px 24px;
    border: 2px dashed var(--line);
    text-align: center;
  }

  .js-ready .no-results:not([hidden]) { display: grid; place-items: center; gap: 18px; }
  .no-results h3 { font-size: 1.7rem; }

  .site-footer strong { font-size: 1.15rem; }
  .site-footer span { color: var(--muted); }
  .site-footer a { font-weight: 750; text-underline-offset: 4px; }

  .ip-peek {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    min-width: 58px;
    max-width: 58px;
    min-height: 42px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel) 94%, transparent);
    box-shadow: 3px 3px 0 var(--black), inset 0 0 12px color-mix(in srgb, var(--lime) 6%, transparent);
    color: var(--ink);
    cursor: help;
    backdrop-filter: blur(12px);
    transition: max-width 180ms ease, border-color 180ms ease;
  }

  .ip-peek__label {
    flex: 0 0 auto;
    width: 32px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
  }

  .ip-peek__value {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .78rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: max-width 180ms ease, opacity 120ms ease;
  }

  .ip-peek:hover,
  .ip-peek:focus-visible,
  .ip-peek:focus-within {
    max-width: min(90vw, 620px);
    border-color: var(--lime);
  }

  .ip-peek:hover .ip-peek__value,
  .ip-peek:focus-visible .ip-peek__value,
  .ip-peek:focus-within .ip-peek__value {
    max-width: min(76vw, 520px);
    opacity: 1;
  }

  .ip-peek__value.is-unavailable { color: var(--muted); }

  .cursor-accent {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 16px;
    height: 16px;
    display: none;
    border: 0 solid var(--lime);
    opacity: 0;
    pointer-events: none;
    transition: width 100ms ease, height 100ms ease, opacity 100ms ease, border-width 100ms ease;
    will-change: transform;
  }

  .cursor-accent::before,
  .cursor-accent::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--lime);
    box-shadow: 0 0 8px color-mix(in srgb, var(--lime) 60%, transparent);
    transform: translate(-50%, -50%);
  }

  .cursor-accent::before { width: 16px; height: 1px; }
  .cursor-accent::after { width: 1px; height: 16px; }

  .cursor-accent.is-visible { opacity: .82; }
  .cursor-accent.is-interactive { width: 24px; height: 24px; border-width: 1px; }
  .cursor-accent.is-pressed { width: 10px; height: 10px; }

  @media (pointer: fine) {
    .js-ready .cursor-accent { display: block; }
    .cursor-enhanced,
    .cursor-enhanced a,
    .cursor-enhanced button,
    .cursor-enhanced input,
    .cursor-enhanced [tabindex] { cursor: none; }
  }

  .error-page main {
    min-height: calc(100vh - 88px - 130px);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
  }

  .error-copy {
    display: grid;
    align-content: center;
    padding: clamp(34px, 8vw, 120px);
    background: var(--panel);
  }

  .error-code {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(8rem, 24vw, 23rem);
    letter-spacing: -.06em;
    line-height: .72;
  }

  .error-copy h1 { margin-top: 34px; font-size: clamp(2rem, 5vw, 5rem); letter-spacing: -.05em; }
  .error-copy p { max-width: 48ch; margin-top: 12px; color: var(--muted); font-size: 1.08rem; }

  .home-link {
    width: max-content;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 10px 18px;
    border: 2px solid var(--black);
    background: var(--lime);
    box-shadow: 5px 5px 0 var(--black);
    color: var(--black);
    font-weight: 850;
    text-decoration: none;
  }

  .home-link svg { width: 20px; height: 20px; }

  .error-art {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    border-left: 2px solid var(--black);
    background: var(--pink);
  }

  .error-art::before,
  .error-art::after {
    content: "";
    position: absolute;
    border: 28px solid var(--black);
    border-radius: 50%;
  }

  .error-art::before { width: 70%; aspect-ratio: 1; }
  .error-art::after { width: 38%; aspect-ratio: 1; background: var(--yellow); }

  .error-art span {
    z-index: 1;
    max-width: 6ch;
    color: var(--black);
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: .9;
    text-align: center;
    text-transform: uppercase;
  }
}

@layer states {
  @keyframes scanlines {
    to { background-position: 0 40px; }
  }

  @keyframes terminal-grid {
    to { background-position: 48px 48px, 48px 48px; }
  }

  @keyframes terminal-caret {
    50% { opacity: 0; }
  }

  @keyframes card-enter {
    from { opacity: 0; transform: translateY(22px) scale(.98); }
  }

  @keyframes card-sweep {
    0%, 34% { transform: translateX(-120%); }
    64%, 100% { transform: translateX(120%); }
  }

  @keyframes bar-signal {
    to { transform: scaleY(.58); opacity: .55; }
  }

  @media (max-width: 1120px) {
    :root { --page: min(100% - 28px, 1480px); }
    .site-header { grid-template-columns: auto 1fr auto; gap: 14px; }
    .site-header nav a { padding-inline: 11px; }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .card-grid--media { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(190px, auto)); }
    .service-tools { grid-template-columns: 1fr; }
    .result-count { text-align: left; }
  }

  @media (max-width: 800px) {
    :root { --page: 100%; --shadow: 5px 5px 0 #0d0a10; }
    .site-header {
      grid-template-columns: 1fr auto;
      padding-top: 14px;
      border-inline: 0;
    }
    .wordmark { padding-left: 16px; }
    .site-header nav {
      grid-column: 1 / -1;
      order: 3;
      justify-content: flex-start;
      overflow-x: auto;
      border-top: 1px solid var(--line);
      scrollbar-width: thin;
    }
    .site-header nav a { min-width: max-content; flex: 1; border-left: 0; border-right: 1px solid var(--line); }
    .theme-switch { margin-right: 14px; }
    main { border-inline: 0; }
    .hero { min-height: 160px; }
    .hero__copy { min-height: 160px; padding: 26px 22px; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
    .directory { padding: 52px 18px 70px; }
    .directory__heading { align-items: start; flex-direction: column; }
    .service-tools { margin-inline: 0; }
    .card-grid,
    .card-grid--media { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
    .service-card--large { grid-area: span 1 / span 2; min-height: 300px; }
    .split-groups { grid-template-columns: 1fr; }
    .service-card--monitoring { min-height: 290px; }
    .site-footer { width: 100%; margin-bottom: 0; border-inline: 0; grid-template-columns: 1fr auto; }
    .site-footer span { display: none; }
    .error-page main { grid-template-columns: 1fr; }
    .error-art { min-height: 300px; border-left: 0; border-top: 2px solid var(--black); }
  }

  @media (max-width: 520px) {
    .hero,
    .hero__copy { min-height: 150px; }
    .filters { display: grid; grid-template-columns: repeat(2, 1fr); }
    .filters button:first-child { grid-column: 1 / -1; }
    .card-grid,
    .card-grid--media { grid-template-columns: 1fr; }
    .service-card--large { grid-area: auto; min-height: 245px; }
    .service-card--large .card__copy strong { font-size: 2.4rem; }
    .service-card { min-height: 180px; }
    .group-title span { font-size: .7rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: .01ms !important;
    }
  }

  @media (forced-colors: active) {
    .service-card,
    .ip-peek,
    .home-link { forced-color-adjust: auto; }
    .page-background { display: none; }
  }
}
