/* Hybrid Services additions, loaded after the accepted services.css:
   v2's description card for the chosen column, the footer motion toggle, and
   the fixes from the 2026-10-04 audit. Colour comes only from tokens.css. */

/* the reader's text-size setting works (style.css fixes the root at 17px) */
html { font-size: 106.25%; }

/* focus on Paper is Obsidian: gold on Paper measures about 2:1 */
.light :focus-visible, .evo :focus-visible, .ks.cover :focus-visible { outline-color: var(--color-obsidian); }

/* on phones the wrapped header is not sticky, so the pinned scenes get the whole screen */
@media (max-width: 760px) { .preview-header { position: relative; } }

/* compact header: less bar, more page (accepted was 28px padding and a 205px logo) */
.preview-header { padding: var(--space-3) clamp(20px, 4vw, 64px); }
.preview-header img { width: 172px; }
@media (max-width: 760px) {
  .preview-header { padding: var(--space-3) 20px; }
  .preview-header img { width: 148px; }
  .preview-header nav { margin-top: var(--space-1); gap: var(--space-5); }
}
/* the four links fit beside the logo down to about 520px, so keep one row there */
@media (min-width: 520px) and (max-width: 760px) {
  .preview-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
  .preview-header nav { margin-top: 0; flex-wrap: nowrap; gap: var(--space-4); }
}

/* the Services title leans with scroll like the Home headline (style.css .k-run) */
.services-title.k-run { display: block; }

/* the description card */
.pick-out { transition: background var(--motion-base) var(--motion-ease-out), border-color var(--motion-base) var(--motion-ease-out); }
.pick-out.is-chosen { display: grid; gap: var(--space-1); max-width: 34rem; padding: var(--space-4) var(--space-5); border: 1px solid var(--rule-on-paper-strong); border-left: 2px solid var(--color-obsidian); border-radius: var(--radius); background: color-mix(in srgb, var(--color-obsidian) 4%, var(--color-paper)); color: var(--color-obsidian); }
.pick-out.is-chosen b { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.pick-out.is-chosen span:not([aria-hidden]) { color: var(--text-muted-on-paper); font-size: .9375rem; line-height: 1.5; }
.pick-out.is-chosen .go { justify-self: start; margin-top: var(--space-1); }
html.js:not(.rm) .pick-out.is-chosen { animation: card-in var(--motion-base) var(--motion-ease-out); }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* pressed states */
.picker.live .pick:active { border-color: var(--color-obsidian); background: color-mix(in srgb, var(--color-obsidian) 4%, transparent); }
.go:active, .door:active, .motion-toggle:active { opacity: .7; }

/* tap targets */
.foot-routes a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.title .go { padding: var(--space-3) 0; }
.motion-toggle { min-height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.motion-toggle:not(:disabled):hover { color: var(--color-paper); }
.motion-toggle:disabled { opacity: .6; cursor: default; }

/* the footer toggle flattens the small transitions too, not only the scroll scenes */
html.user-rm *, html.user-rm *::before, html.user-rm *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
