/* Preferred vendor list
   docs/superpowers/specs/2026-11-21-vendors-redesign-design.md
   Two grounds that hard-cut: NIGHT (home, category headers, the bar) and DAY
   (lists, where people read and call). One accent, gold, in two lightnesses
   keyed to the ground. BNI red lives only in the BNI logo of the opening.
   List pages also load scrollcraft.css (for the row reveals); this file never
   depends on it. */

:root {
  /* grounds and ink (OKLCH, chroma leaning toward navy) */
  --night: oklch(0.215 0.035 262);
  --night-2: oklch(0.27 0.04 262);
  --night-ink: oklch(0.965 0.006 255);
  --night-ink-soft: oklch(0.8 0.025 258);
  --day: oklch(0.977 0.005 255);
  --day-2: oklch(1 0 0);
  --day-ink: oklch(0.235 0.035 262);
  --day-ink-soft: oklch(0.45 0.03 260);
  --rule: oklch(0.9 0.012 258);

  /* the accent, two stops */
  --gold: oklch(0.8 0.13 82); /* surfaces and type on night; call buttons everywhere */
  --gold-hi: oklch(0.86 0.12 86);
  --gold-deep: oklch(0.53 0.11 74); /* gold type and focus on day (>= 4.5:1 on white) */
  --gold-soft: oklch(0.95 0.045 88);
  --shine: linear-gradient(180deg, #fde9a8 0%, #eabd52 52%, #c98f1f 100%);

  /* shared with the engine on list pages */
  --sc-canvas: var(--day);
  --sc-surface: var(--day-2);
  --sc-ink: var(--day-ink);
  --sc-ink-soft: var(--day-ink-soft);
  --sc-accent: var(--gold-deep);
  --sc-accent-ink: oklch(1 0 0);
  --sc-font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --sc-font-text: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--sc-font-display);

  --e2: 0 8px 24px -12px oklch(0.15 0.03 262 / 0.35);
  --e3: 0 28px 60px -22px oklch(0.12 0.03 262 / 0.55);

  --gutter: clamp(1.1rem, 4.5vw, 3.5rem);
  --wide: 68rem;
  --bar-h: 4rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);

  /* z scale */
  --z-bar: 40;
  --z-popover: 45;
  --z-scrim: 50;
  --z-panel: 51;
  --z-intro: 80;
  --z-skip: 90;
}

/* ------------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sc-font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: var(--day);
  color: var(--day-ink);
}
body.page-home { background: var(--night); }
.on-night {
  --sc-ink: var(--night-ink);
  --sc-ink-soft: var(--night-ink-soft);
  --sc-accent: var(--gold);
  --sc-accent-ink: var(--night);
  background: var(--night);
  color: var(--night-ink);
}
:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }
img { max-width: 100%; }

/* Scroll-revealed rows stay visible when nothing will reveal them: JS off, or
   the engine failed to load. Reveals enhance a visible default. */
html:not(.js) :is([data-sc-in], [data-sc-stagger] > *),
html.no-engine :is([data-sc-in], [data-sc-stagger] > *) {
  opacity: 1 !important;
  transform: none !important;
}

.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;
}
.skip {
  position: absolute; left: var(--gutter); top: -80px; z-index: var(--z-skip);
  padding: 10px 16px; border-radius: 999px;
  background: var(--gold); color: var(--night); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.i {
  display: block; width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.2rem;
  border: 1.5px solid var(--day-ink); border-radius: 999px;
  background: var(--day-ink); color: var(--day-2);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn--quiet { background: transparent; color: var(--day-ink); }
.btn--quiet:hover { background: var(--day-ink); color: var(--day-2); }

/* ------------------------------------------------------------------- bar -- */
.bar {
  position: sticky; top: 0; z-index: var(--z-bar);
  background: var(--night); color: var(--night-ink);
  border-bottom: 1px solid color-mix(in oklab, var(--gold) 22%, transparent);
}
.page-home .bar { border-bottom-color: transparent; transition: border-color 250ms var(--ease); }
.page-home .bar.is-titled { border-bottom-color: color-mix(in oklab, var(--gold) 22%, transparent); }
.bar__inner {
  max-width: var(--wide); margin-inline: auto;
  min-height: var(--bar-h);
  padding: 0.5rem var(--gutter);
  display: flex; align-items: center; gap: 1rem;
}
.bar__title {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: inherit; font-weight: 700; text-decoration: none;
  transition: opacity 250ms var(--ease);
}
/* Home: the name joins the bar only after the big title has gone. */
html.js .bar.is-watching:not(.is-titled, .is-wheel-open) .bar__title { opacity: 0; pointer-events: none; }
/* ...but a keyboard user who tabs to it always sees where focus went. */
html.js .bar.is-watching .bar__title:focus-visible { opacity: 1; pointer-events: auto; }
.bar__tools { display: flex; gap: 0.45rem; margin-left: auto; }
.bar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 44px; min-height: 44px; padding: 0 0.95rem;
  border: 1px solid color-mix(in oklab, var(--night-ink) 28%, transparent);
  border-radius: 999px;
  background: transparent; color: var(--night-ink);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.bar__btn:hover { border-color: var(--gold); color: var(--gold-hi); }
@media (max-width: 640px) {
  .bar__word { display: none; }
  .bar__btn { padding: 0; width: 44px; }
}

/* ------------------------------------------------------------------ menu -- */
.menu {
  position: fixed; inset: auto; top: calc(var(--bar-h) + 0.5rem); right: var(--gutter);
  width: min(22rem, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100dvh - var(--bar-h) - 1.5rem); overflow: auto;
  margin: 0; padding: 0.5rem;
  background: var(--day-2); color: var(--day-ink);
  border: 1px solid var(--rule); border-radius: 18px;
  box-shadow: var(--e3);
}
.menu__h { margin: 0.4rem 0.8rem 0.2rem; font-size: 0.9rem; font-weight: 700; color: var(--day-ink-soft); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; padding: 0.5rem 0.8rem;
  border-radius: 12px; color: inherit; text-decoration: none; font-weight: 600;
}
.menu a:hover { background: var(--day); }
.menu__n { color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.menu__more { margin-top: 0.4rem !important; padding-top: 0.4rem !important; border-top: 1px solid var(--rule); }
.menu__more a { font-weight: 400; }

/* ---------------------------------------------------------------- finder -- */
.finder {
  width: min(42rem, calc(100vw - 1.5rem));
  max-height: min(82dvh, 46rem);
  margin: max(1rem, 8vh) auto auto;
  padding: 0; border: 0; border-radius: 20px;
  background: var(--day); color: var(--day-ink);
  box-shadow: var(--e3);
  overflow: hidden;
}
.finder[open] { display: flex; flex-direction: column; }
.finder::backdrop { background: oklch(0.15 0.03 262 / 0.62); }
.finder__form {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.45rem 0.45rem 1.1rem;
  background: var(--day-2);
  border-bottom: 1px solid var(--rule);
  color: var(--day-ink-soft);
}
.finder__form input {
  flex: 1; min-width: 0; height: 52px;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.15rem; color: var(--day-ink);
}
.finder__form input::placeholder { color: var(--day-ink-soft); }
/* One close button is enough: hide the browser's own clear button. */
input[type='search']::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.finder__x {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--day-ink); cursor: pointer;
}
.finder__x:hover { background: var(--day); }
.save__x {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--day-ink); cursor: pointer;
}
.save__x:hover { background: var(--day-2); }
.menu__btn {
  display: flex; align-items: center; width: 100%;
  min-height: 44px; padding: 0.5rem 0.8rem;
  border: 0; border-radius: 12px; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.menu__btn:hover { background: var(--day); }
/* ------------------------------------------------------------------ save -- */
/* "Save this list": a centered sheet on desktop, a bottom sheet on phones.
   Native popover, so it opens without JS; JS only adds Share and Copy. */
.save {
  width: min(28rem, calc(100vw - 1.5rem));
  margin: auto; padding: 1.1rem 1.25rem 1.4rem;
  border: 0; border-radius: 20px;
  background: var(--day); color: var(--day-ink);
  box-shadow: var(--e3);
}
.save::backdrop { background: oklch(0.15 0.03 262 / 0.62); }
@media (max-width: 640px) {
  .save {
    width: 100%; max-width: none; margin: auto 0 0;
    border-radius: 22px 22px 0 0;
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  }
}
.save__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.save__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.05; letter-spacing: 0.01em; }
.save__lead { margin: 0.35rem 0 1rem; color: var(--day-ink-soft); text-wrap: pretty; }
.save__acts { display: grid; gap: 0.55rem; }
.save__act {
  display: flex; align-items: center; gap: 0.7rem;
  min-height: 52px; padding: 0 1.1rem;
  border: 1px solid var(--rule); border-radius: 14px;
  background: var(--day-2); color: var(--day-ink);
  font: inherit; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color 160ms var(--ease);
}
.save__act:hover { border-color: var(--day-ink); }
.save__act[hidden] { display: none; }
.save__qr { display: none; }
@media (hover: hover) and (pointer: fine) {
  /* On a computer: texting needs a phone, so offer the phone a code instead. */
  .save__act--sms { display: none; }
  .save__qr {
    display: flex; align-items: center; gap: 1rem;
    margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  }
  .save__qr .qr { width: 104px; height: 104px; flex: none; }
  .save__qr p { margin: 0; }
}
.save__tip { margin: 1rem 0 0; font-size: 0.95rem; color: var(--day-ink-soft); text-wrap: pretty; }
.save__note { margin: 0.6rem 0 0; font-weight: 700; }
.save__note:empty { display: none; }

.finder__results { overflow: auto; padding: 0 1.1rem 0.75rem; }
.finder__results:empty { display: none; }
.results__note { margin: 1rem 0 0.25rem; }

/* --------------------------------------------------------------- opening -- */
/* boot.js adds html.play-intro (once per visit, not under reduced motion). The
   logo holds, then fades as the title rises and the cards deal out. Pure CSS
   timing, so it finishes even if no script runs after boot.js. */
.intro { display: none; }
html.play-intro .intro {
  position: fixed; inset: 0; z-index: var(--z-intro);
  display: grid; place-items: center;
  background: var(--night);
  animation: intro-out 520ms var(--ease) 820ms forwards;
}
html.play-intro-done .intro { display: none; }
.intro__mark { display: flex; align-items: center; gap: 0.9rem; animation: mark-in 520ms var(--ease) both; }
.intro__mark img { width: clamp(84px, 16vw, 128px); height: auto; }
.intro__shine {
  font-family: var(--display); font-size: clamp(2.6rem, 8vw, 4rem); letter-spacing: 0.05em; line-height: 1;
  color: var(--gold);
  background: var(--shine);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes mark-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes deal { from { opacity: 0; translate: 0 40px; } }
@keyframes wheel-in { from { opacity: 0; transform: rotate(-50deg) scale(0.82); } }

html.play-intro:not(.play-intro-done) .hero__head { animation: rise 700ms var(--ease) 860ms both; }
html.play-intro:not(.play-intro-done) .fan__card { animation: deal 700ms var(--ease) both; animation-delay: calc(960ms + var(--k, 0) * 50ms); }
html.play-intro:not(.play-intro-done) .wheel__spin { animation: wheel-in 1100ms var(--ease) 880ms both; }
html.play-intro:not(.play-intro-done) :is(.hero__more, .close) { animation: rise 600ms var(--ease) 1.5s both; }

/* ------------------------------------------------------------------ home -- */
.hero { position: relative; isolation: isolate; padding: clamp(1rem, 3vh, 2rem) 0 clamp(2rem, 5vh, 3.5rem); overflow-x: clip; }

/* Background paths: two sets of 36 curves drifting across the hero, gold and
   silver on navy, drawn by app.js on a canvas (an animated SVG of 72 dashed
   paths repaints the whole hero every frame and made the wheel stutter).
   Behind everything, never interactive; still under reduced motion. */
.paths {
  /* Sticky and taking no space (the negative margin), so the paths stay
     behind the wheel while it is pinned on phones. */
  position: sticky; z-index: -1; top: 0;
  display: block; width: 100%; height: 100svh;
  margin-bottom: -100svh;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
@keyframes paths-in { from { opacity: 0; } }
html.play-intro:not(.play-intro-done) .paths { animation: paths-in 2s ease 900ms both; }
.hero__head {
  max-width: 62rem; margin: 0 auto clamp(1.1rem, 3vh, 2rem);
  padding-inline: var(--gutter);
  text-align: center;
}
.hero__by {
  margin: 0 0 clamp(0.5rem, 1.4vh, 0.9rem);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem); font-weight: 700; color: var(--gold-hi);
}
.hero__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.15rem, 8.6vw, 6rem);
  line-height: 1.02; letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero__ask { margin: clamp(0.9rem, 2.4vh, 1.5rem) 0 0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--night-ink-soft); }
.hero__more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.75rem;
  margin: 1.75rem 0 0; padding-inline: var(--gutter);
}
.hero__more a, .people__all a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: inherit; font-weight: 700; font-size: 1.1rem;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.35em;
}
.hero__more a:hover { color: var(--gold-hi); }

/* "Save this list": the one way a client keeps the list for next time. */
.save-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.2rem;
  border: 1.5px solid var(--gold); border-radius: 999px;
  background: transparent; color: var(--night-ink);
  font: inherit; font-weight: 700; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.save-btn:hover { background: var(--gold); color: var(--night); }
.ev-head .save-btn { color: var(--day-ink); border-color: var(--gold-deep); }
.ev-head .save-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }

/* ------------------------------------------------- service index (stacked) -- */
/* Phones, touch screens, and any screen without JS: the services as a stacked
   index, spaced apart, each card fading in and out as it scrolls past. */
.fan {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-direction: column; gap: 0.85rem;
  max-width: 36rem;
}
.fan__card { transform: rotate(-0.7deg); }
.fan__card:nth-child(even) { transform: rotate(0.6deg); }
.fan__card:nth-child(2) { --k: 1; } .fan__card:nth-child(3) { --k: 2; } .fan__card:nth-child(4) { --k: 3; }
.fan__card:nth-child(5) { --k: 4; } .fan__card:nth-child(6) { --k: 5; } .fan__card:nth-child(7) { --k: 6; }
.fan__card:nth-child(8) { --k: 7; } .fan__card:nth-child(9) { --k: 8; } .fan__card:nth-child(n + 10) { --k: 9; }
.fan__face {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  height: 80px; padding-right: 4.6rem;
  border-radius: 16px; overflow: hidden;
  background: var(--night-2); color: var(--night-ink);
  text-decoration: none;
  box-shadow: 0 16px 34px -18px oklch(0.08 0.03 262 / 0.9), inset 0 0 0 1px oklch(1 0 0 / 0.08);
}
.fan__face:active { transform: scale(0.985); }
.fan__face:focus-visible { outline-offset: 3px; }
.fan__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.fan__face::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,
    oklch(0.18 0.035 262 / 0.95) 0%,
    oklch(0.18 0.035 262 / 0.8) 52%,
    oklch(0.18 0.035 262 / 0.35) 100%);
}
.fan__face--plain { background: linear-gradient(160deg, var(--night-2), var(--night)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--gold) 45%, transparent); }
.fan__face--plain::after { display: none; }
.fan__count {
  position: absolute; top: 50%; right: 12px; translate: 0 -50%;
  padding: 0.1rem 0.6rem; border-radius: 999px;
  background: oklch(0.18 0.035 262 / 0.78); color: var(--night-ink);
  font-size: 0.8rem; font-weight: 700; line-height: 1.6;
}
.fan__body { display: grid; row-gap: 0.1rem; min-width: 0; padding-left: 1rem; }
.fan__name { font-family: var(--display); font-weight: 400; font-size: 1.32rem; line-height: 1.04; letter-spacing: 0.012em; }
.fan__tags { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.86rem; color: var(--night-ink-soft); }

/* Scrolling through the index: each card fades and rises in as it enters from
   the bottom, and fades out as it slides under the top bar. Driven by the
   scroll position itself (no script), so it tracks the finger exactly.
   Browsers without scroll timelines (Firefox, iOS before 26) simply show the
   cards; reduced motion turns it off. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fan__face {
      animation: index-scroll linear both;
      animation-timeline: view(block 64px 0px);
    }
  }
}
@keyframes index-scroll {
  entry 0% { opacity: 0; translate: 0 26px; scale: 0.94; }
  entry 100% { opacity: 1; translate: 0 0; scale: 1; }
  exit 0% { opacity: 1; translate: 0 0; scale: 1; }
  exit 100% { opacity: 0; translate: 0 -12px; scale: 0.96; }
}

/* ----------------------------------------------------------- the wheel -- */
/* The services sit in a ring around the title, each card tangent to the
   circle; turning opens the ring into a vertical drum seen in perspective, the
   front card flat and full size, its neighbours rotating away and swinging back
   to the left along an arc. app.js writes every transform; this file only
   places and dresses the parts. boot.js picks the mode before first paint:
   - wheel-desk (wide screen, mouse): scroll, drag or arrow keys turn it in place.
   - wheel-scroll (phones, tablets): the wheel pins under the bar and the page's
     own scroll turns it, one service per stretch, then lets the page go.
   - wheel-none (reduced motion on touch) and no JS: the stacked index. */
.wheel__stage, .wheel__title, .wheel__index { display: none; }
html:is(.wheel-desk, .wheel-scroll) .hero { padding-top: 0; }
html:is(.wheel-desk, .wheel-scroll) .home .fan { display: none; }
html:is(.wheel-desk, .wheel-scroll) .wheel { position: relative; user-select: none; -webkit-user-select: none; }
html:is(.wheel-desk, .wheel-scroll) .wheel__stage { display: block; position: absolute; inset: 0; }
html:is(.wheel-desk, .wheel-scroll) .wheel__title { display: block; }
html:is(.wheel-desk, .wheel-scroll) .wheel__label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
/* The ring title is sized off the clear space inside the ring. */
html:is(.wheel-desk, .wheel-scroll) .wheel__label .hero__head { margin: 0; padding: 0; max-width: calc(var(--ring-in, 200px) * 1.8); }
html:is(.wheel-desk, .wheel-scroll) .wheel__label .hero__by { font-size: max(1rem, calc(var(--ring-in, 200px) * 0.09)); }
html:is(.wheel-desk, .wheel-scroll) .wheel__label .hero__title { font-size: calc(var(--ring-in, 200px) * 0.34); }
/* Each card on its own layer: turning the wheel moves layers, it never repaints. */
html:is(.wheel-desk, .wheel-scroll) .wheel__card { will-change: transform, opacity; }
html:is(.wheel-desk, .wheel-scroll) .hero__more { margin-top: 0.5rem; }

html.wheel-desk .wheel { overflow: clip; height: calc(100svh - var(--bar-h)); min-height: 34rem; }
html.wheel-desk .wheel__pin { position: absolute; inset: 0; }
html.wheel-desk .wheel__stage { cursor: grab; }
html.wheel-desk .wheel__stage.is-dragging { cursor: grabbing; }
html.wheel-desk .wheel__index { display: block; }
/* The wheel runs edge to edge, so the bar does too and its buttons line up
   with the index. */
html.wheel-desk .page-home .bar__inner { max-width: none; }

/* Phones: a tall runway that the pinned wheel turns along. app.js sets its
   length and drops a snap point at each service. */
html.wheel-scroll { scroll-padding-top: var(--bar-h); }
html.wheel-scroll.snap-wheel { scroll-snap-type: y proximity; }
html.wheel-scroll .wheel { height: calc(100svh - var(--bar-h) + var(--wheel-run, 420svh)); }
html.wheel-scroll .wheel__pin {
  position: sticky; top: var(--bar-h);
  height: calc(100svh - var(--bar-h));
  overflow: clip;
}
.wheel__snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
.wheel__spin { position: absolute; inset: 0; transform-style: preserve-3d; }
.wheel__ring { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; }
.wheel__card {
  position: absolute; display: block;
  color: inherit; text-decoration: none; outline: none;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.wheel__face {
  position: relative; display: block; width: 100%; height: 100%;
  overflow: hidden; border-radius: 12px;
  background: var(--night-2);
  box-shadow: 0 18px 40px -18px oklch(0.05 0.03 262 / 0.9);
}
.wheel__face img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
/* Shade under the front card's name. */
.wheel__face::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.16 0.035 262 / 0) 42%, oklch(0.16 0.035 262 / 0.82) 100%);
}
.wheel__face--plain::after { display: none; }
.wheel__face--plain {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: 0 18px 40px -18px oklch(0.05 0.03 262 / 0.9), inset 0 0 0 1px color-mix(in oklab, var(--gold) 45%, transparent);
}
.wheel__card:focus-visible .wheel__face { box-shadow: 0 0 0 3px var(--gold), 0 18px 40px -18px oklch(0.05 0.03 262 / 0.9); }
/* The hover affordance: a small pill in the corner. */
.wheel__go {
  position: absolute; z-index: 1; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 5px;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: oklch(0.215 0.035 262 / 0.8); color: var(--night-ink);
  font-size: 0.78rem; font-weight: 700;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; translate: 0 4px;
  transition: opacity 180ms var(--ease), translate 180ms var(--ease);
  pointer-events: none;
}
.wheel__go svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wheel__card:hover .wheel__go, .wheel__card:focus-visible .wheel__go { opacity: 1; translate: 0 0; }

/* The front card's name trades places with the ring title. With the cards at
   double size there is no room beside the front card, so the name sits on it,
   bottom left, over the card's shade, and fades whenever the wheel turns. */
.wheel__title {
  position: absolute; z-index: 200;
  left: calc(50% - var(--card-w, 400px) / 2 + 1.75rem);
  bottom: calc(50% - var(--card-h, 300px) / 2 + 1.5rem);
  max-width: calc(var(--card-w, 400px) - 3.5rem - 7.5rem);
  opacity: 0; pointer-events: none;
}
.wheel__name {
  display: block;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, calc(var(--card-h, 300px) * 0.11), 4rem); line-height: 1.02; letter-spacing: 0.01em;
  text-wrap: balance;
}
.wheel__meta { display: block; margin-top: 0.6rem; font-size: 1.05rem; line-height: 1.45; color: var(--night-ink); text-wrap: pretty; }
/* Touch screens: no hover pill, so the name can use the card's full width. */
@media (hover: none) {
  .wheel__go { display: none; }
  .wheel__title {
    left: calc(50% - var(--card-w, 400px) / 2 + 1.1rem);
    bottom: calc(50% - var(--card-h, 300px) / 2 + 1rem);
    max-width: calc(var(--card-w, 400px) - 2.2rem);
  }
  .wheel__name { font-size: clamp(1.6rem, calc(var(--card-h, 300px) * 0.13), 3rem); }
  .wheel__meta { margin-top: 0.35rem; font-size: 0.92rem; line-height: 1.35; }
}

/* Category icon (desktop): hidden at rest. On hover or keyboard focus the
   photo dims and the icon rises into the centre of the card and acts out its
   trade: the hammer swings, the sparkles twinkle, the key turns, the car
   rolls. Touch screens have no hover, so they never show it. */
.wheel__face::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: oklch(0.15 0.035 262 / 0.64);
  opacity: 0;
  transition: opacity 260ms var(--ease);
}
.wheel__icon {
  position: absolute; z-index: 2; inset: 0; margin: auto;
  width: calc(var(--card-h, 300px) * 0.34); height: calc(var(--card-h, 300px) * 0.34);
  display: grid; place-items: center;
  border-radius: 50%;
  background: oklch(0.19 0.035 262 / 0.72);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--gold) 55%, transparent), 0 10px 30px -10px oklch(0.05 0.03 262 / 0.8);
  color: var(--gold-hi);
  transform: scale(var(--icon-boost, 1));
  opacity: 0; scale: 0.82;
  transition: opacity 260ms var(--ease), scale 320ms var(--ease);
  pointer-events: none;
}
.wheel__icon svg {
  width: 52%; height: 52%;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.wheel__card:is(:hover, :focus-visible) .wheel__face::before { opacity: 1; }
.wheel__card:is(:hover, :focus-visible) .wheel__icon { opacity: 1; scale: 1; }
.wheel__go { z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .wheel__card:is(:hover, :focus-visible) .wheel__icon svg { animation: var(--icon-move) 1.1s var(--ease) 180ms infinite; }
}
@media (hover: none) {
  .wheel__icon, .wheel__face::before { display: none; }
}
/* A category without a photo (a new group, "More Trusted Pros") wears its
   icon at rest instead, on every device. */
.wheel__face--plain .wheel__icon { display: grid; opacity: 1; scale: 1; }
.wheel__icon--home-repair { --icon-move: icon-swing; }
.wheel__icon--home-repair svg { transform-origin: 20% 80%; }
.wheel__icon--home-care { --icon-move: icon-twinkle; }
.wheel__icon--business { --icon-move: icon-hop; }
.wheel__icon--insurance { --icon-move: icon-pulse; }
.wheel__icon--money { --icon-move: icon-wobble; }
.wheel__icon--money svg { transform-origin: 50% 90%; }
.wheel__icon--real-estate { --icon-move: icon-turn; }
.wheel__icon--automotive { --icon-move: icon-roll; }
.wheel__icon--recreation { --icon-move: icon-tilt; }
.wheel__icon--more { --icon-move: icon-spin; }
@keyframes icon-swing { 0%, 100% { rotate: 0deg; } 30% { rotate: -32deg; } 52% { rotate: 8deg; } 70% { rotate: -6deg; } }
@keyframes icon-twinkle { 0%, 100% { scale: 1; rotate: 0deg; opacity: 1; } 40% { scale: 1.25; rotate: 18deg; opacity: 0.8; } 70% { scale: 0.92; rotate: -6deg; opacity: 1; } }
@keyframes icon-hop { 0%, 100% { translate: 0 0; } 30% { translate: 0 -18%; } 55% { translate: 0 0; } 70% { translate: 0 -7%; } }
@keyframes icon-pulse { 0%, 100% { scale: 1; } 35% { scale: 1.2; } 60% { scale: 0.95; } }
@keyframes icon-wobble { 0%, 100% { rotate: 0deg; } 25% { rotate: -12deg; } 50% { rotate: 10deg; } 75% { rotate: -5deg; } }
@keyframes icon-turn { 0%, 100% { rotate: 0deg; } 45%, 60% { rotate: 90deg; } }
@keyframes icon-roll { 0%, 100% { translate: 0 0; } 35% { translate: 20% -4%; } 55% { translate: -16% 0; } 75% { translate: 8% 0; } }
@keyframes icon-tilt { 0%, 100% { rotate: 0deg; translate: 0 0; } 30% { rotate: -14deg; translate: 0 -8%; } 60% { rotate: 10deg; } }
@keyframes icon-spin { to { rotate: 360deg; } }

/* The index down the right-hand side. */
.wheel__index {
  position: absolute; top: 7.5%; right: var(--gutter);
  margin: 0; padding: 0; list-style: none;
  text-align: right; line-height: 1.75;
  font-size: clamp(0.95rem, calc(var(--card-h, 300px) * 0.048), 1.1rem);
}
.wheel__index button {
  padding: 0.1rem 0; border: 0; background: none;
  color: var(--night-ink-soft); font: inherit; cursor: pointer;
  transition: color 160ms var(--ease);
}
.wheel__index button:hover { color: var(--night-ink); }
.wheel__index button[aria-current='true'] { color: var(--gold-hi); font-weight: 700; }
.wheel__index button:focus-visible { outline-offset: 2px; }

/* ---------------------------------------------------------- home: close -- */
.close {
  max-width: var(--wide); margin-inline: auto;
  padding: clamp(3.25rem, 9vh, 6rem) var(--gutter) calc(clamp(3.25rem, 9vh, 6rem) + env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in oklab, var(--night-ink) 12%, transparent);
  text-align: center;
}
.close__line {
  max-width: 19ch; margin: 0 auto;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.1; letter-spacing: 0.01em;
  text-wrap: balance;
}

/* --------------------------------------------------------- category page -- */
.cat__head {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(15rem, 36vh, 23rem);
  display: flex; align-items: flex-end;
}
.cat__head--plain { min-height: 0; }
.cat__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cat__head::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    oklch(0.215 0.035 262 / 0.28) 0%,
    oklch(0.215 0.035 262 / 0.6) 42%,
    oklch(0.19 0.035 262 / 0.96) 100%);
}
.cat__inner { width: 100%; max-width: var(--wide); margin-inline: auto; padding: 1.5rem var(--gutter) clamp(1.6rem, 4vh, 2.6rem); }
.cat__back {
  display: inline-flex; align-items: center; gap: 0.25rem;
  min-height: 44px; margin-left: -0.35rem;
  color: inherit; font-weight: 600; text-decoration: none;
}
.cat__back:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.cat__title {
  margin: 0.35rem 0 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: 0.01em;
  text-wrap: balance;
}
.cat__tags { margin: 0.75rem 0 0; max-width: 62ch; color: var(--night-ink-soft); text-wrap: pretty; }

.people { max-width: var(--wide); margin-inline: auto; padding: clamp(0.75rem, 2vw, 1.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem); }
.people__list { list-style: none; margin: 0; padding: 0; }
.people__all { margin: 1.75rem 0 0; }

/* -------------------------------------------------- everyone and search -- */
.ev-head {
  max-width: var(--wide); margin-inline: auto;
  padding: clamp(1.25rem, 3.5vw, 2.25rem) var(--gutter) 0.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem;
}
.ev-head .cat__back { width: 100%; }
/* Phones: the title gets its own line, Save and Print share the next. */
@media (max-width: 640px) {
  .ev-head .ev-head__title { flex-basis: 100%; }
}
.ev-head__title {
  flex: 1; margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.02; letter-spacing: 0.01em;
}
.directory {
  max-width: var(--wide); margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 1000px) {
  .directory { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3.5rem; align-items: start; }
}
.ev-group { padding-top: clamp(1.75rem, 4vw, 2.6rem); }
.ev-group__title {
  margin: 0; padding-bottom: 0.5rem;
  font-size: 1.3rem; font-weight: 700; line-height: 1.25;
  border-bottom: 2px solid var(--gold);
}
.ev-group__title a { color: inherit; text-decoration: none; }
.ev-group__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }

.search-page__form {
  max-width: var(--wide); margin: 0.75rem auto 0; padding: 0 var(--gutter);
  display: flex; gap: 0.5rem;
}
.search-page__form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 1.2rem;
  border: 1.5px solid var(--rule); border-radius: 999px;
  background: var(--day-2); color: var(--day-ink);
  font: inherit; font-size: 1.1rem;
}
.search-page__form input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 45%, transparent); }
.results { max-width: var(--wide); margin-inline: auto; padding: 0.5rem var(--gutter) 3rem; }

/* ------------------------------------------------------------------ rows -- */
.row { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--rule); }
.row:last-child { border-bottom: 0; }
.row__main {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  color: inherit; text-decoration: none;
}
.row__main:hover .row__name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row__text { display: flex; flex-direction: column; min-width: 0; }
.row__name { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.row__co { line-height: 1.35; }
.row__what { color: var(--day-ink-soft); font-size: 0.97rem; line-height: 1.4; }

.mono {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--night); color: var(--gold-hi);
  font-weight: 700; font-size: 1.02rem; letter-spacing: 0.05em;
  object-fit: cover;
}
.mono--lg { width: 76px; height: 76px; font-size: 1.45rem; }

.badge {
  display: inline-block; margin-left: 0.3rem; padding: 0 0.55rem;
  border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.6; vertical-align: 1px;
}
.badge--offer { background: var(--gold-soft); color: oklch(0.42 0.09 72); }
.badge--urgent { background: oklch(0.95 0.03 25); color: oklch(0.48 0.17 25); }

/* Call: the one action, gold everywhere. */
.call {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.15rem;
  border: 1px solid color-mix(in oklab, var(--gold-deep) 55%, var(--gold));
  border-radius: 999px;
  background: var(--gold); color: var(--night);
  font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums;
  transition: background-color 160ms var(--ease), transform 120ms var(--ease);
}
.call:hover { background: var(--gold-hi); }
.call:active { transform: scale(0.97); }
.call__num { display: none; }
@media (min-width: 680px) {
  .call__word { display: none; }
  .call__num { display: inline; }
}

.print-head, .print-foot { display: none; }

/* ---------------------------------------------------------- contact card -- */
#panel-root[hidden] { display: none; }
body.has-panel { overflow: hidden; }
.scrim { position: fixed; inset: 0; z-index: var(--z-scrim); background: oklch(0.15 0.03 262 / 0.55); }
.panel {
  position: fixed; z-index: var(--z-panel);
  left: 0; right: 0; bottom: 0;
  max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 1.25rem calc(1.75rem + env(safe-area-inset-bottom));
  background: var(--day); color: var(--day-ink);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--e3);
  animation: sheet-up 0.32s var(--ease);
}
.panel:focus { outline: none; }
@media (min-width: 900px) {
  .panel {
    left: auto; top: 0; width: 470px;
    height: 100dvh; max-height: none; border-radius: 0;
    animation-name: sheet-left;
  }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-left { from { transform: translateX(100%); } }

.panel__bar {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 -1.25rem; padding: 0.6rem 0.75rem 0.4rem 0.5rem;
  background: var(--day);
}
.panel__close, .panel__x {
  display: inline-flex; align-items: center; gap: 0.3rem;
  min-height: 44px; padding: 0 0.5rem;
  color: var(--day-ink); font-weight: 600; text-decoration: none;
}
.panel__x { width: 44px; justify-content: center; padding: 0; }
.pv-head { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin: 0.25rem 0 1.25rem; }
.pv-name {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: 2rem; line-height: 1.04; letter-spacing: 0.006em;
}
.pv-co { margin: 0.3rem 0 0; font-weight: 700; }
.pv-what { margin: 0.15rem 0 0; color: var(--day-ink-soft); }
.pv-logo { max-width: 72px; max-height: 56px; object-fit: contain; }
.pv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.act {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 0.9rem;
  background: var(--day-2); color: var(--day-ink);
  border: 1px solid var(--rule); border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: border-color 160ms var(--ease), transform 120ms var(--ease);
}
.act:hover { border-color: var(--day-ink); }
.act:active { transform: scale(0.97); }
.act--call {
  grid-column: 1 / -1; min-height: 58px; font-size: 1.12rem;
  background: var(--gold); border-color: color-mix(in oklab, var(--gold-deep) 55%, var(--gold)); color: var(--night);
  font-variant-numeric: tabular-nums;
}
.act--call:hover { background: var(--gold-hi); border-color: var(--gold-deep); }
.pv-share-note { min-height: 1.4em; margin: 0.5rem 0 0; font-size: 0.92rem; color: var(--day-ink-soft); }
.pv-share-note:empty { margin: 0; min-height: 0.5rem; }
.pv-offer { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--gold-soft); border: 1px solid color-mix(in oklab, var(--gold) 60%, transparent); border-radius: 18px; }
.pv-offer h3 { margin: 0; font-size: 0.95rem; color: oklch(0.42 0.09 72); }
.pv-offer__text { margin: 0.3rem 0 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.pv-offer__fine { margin: 0.4rem 0 0; font-size: 0.92rem; color: var(--day-ink-soft); }
.pv-review { margin: 1.25rem 0 0; }
.pv-review blockquote { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.pv-review blockquote::before { content: '\201C'; }
.pv-review blockquote::after { content: '\201D'; }
.pv-review figcaption { margin-top: 0.3rem; color: var(--day-ink-soft); }
.pv-sec h3 { margin: 1.4rem 0 0.3rem; font-size: 1rem; }
.pv-sec p { margin: 0; }
.pv-note { color: var(--day-ink-soft); font-size: 0.92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0.4rem 0 0; padding: 0; }
.tags li { padding: 0.2rem 0.7rem; background: var(--day-2); border: 1px solid var(--rule); border-radius: 999px; font-size: 0.93rem; }
.pv-facts { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.pv-facts li { display: flex; gap: 0.6rem; align-items: flex-start; }
.pv-facts .i { margin-top: 2px; color: var(--day-ink-soft); }
.pv-links { display: grid; gap: 0.2rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
.pv-links a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--day-ink); font-weight: 600; text-underline-offset: 0.25em; }

/* ------------------------------------------------- referral cards (screen) -- */
.page-cards { background: oklch(0.93 0.008 258); }
.cards-tools { max-width: 48rem; margin: 0 auto; padding: 1.5rem var(--gutter) 0.5rem; }
.cards-tools h1 { font-family: var(--display); font-weight: 400; font-size: 2.1rem; letter-spacing: 0.006em; margin: 0.75rem 0; }
.cards-tools__back { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; color: var(--day-ink); font-weight: 600; text-decoration: none; }
.cards-tools__form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.cards-tools__form label { font-weight: 700; width: 100%; }
.cards-tools__form select {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 0.7rem;
  font: inherit; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--day-2);
}
.cards-tools__steps { margin: 1.1rem 0; padding-left: 1.25em; }
.cards-tools__steps li { margin-bottom: 0.25rem; }

.sheet { position: relative; width: 8.5in; height: 11in; margin: 24px auto; background: #fff; box-shadow: var(--e2); }
@media screen and (max-width: 860px) { .sheet { zoom: 0.42; } }
.slot { position: absolute; width: 3.5in; height: 2in; outline: 0.5pt dashed #c9c9c9; }
.slot--0 { left: 0.75in; top: 0.5in; }
.slot--1 { left: 4.25in; top: 0.5in; }
.slot--2 { left: 0.75in; top: 2.5in; }
.slot--3 { left: 4.25in; top: 2.5in; }
.slot--4 { left: 0.75in; top: 4.5in; }
.slot--5 { left: 4.25in; top: 4.5in; }
.slot--6 { left: 0.75in; top: 6.5in; }
.slot--7 { left: 4.25in; top: 6.5in; }
.slot--8 { left: 0.75in; top: 8.5in; }
.slot--9 { left: 4.25in; top: 8.5in; }

/* No backgrounds on the card: it prints the same with "Background graphics" off. */
.card { width: 100%; height: 100%; padding: 0.17in 0.18in; color: var(--day-ink); line-height: 1.2; }
.card--front { display: flex; gap: 0.12in; }
.card__left { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card__by { margin: 0; font-size: 9pt; font-weight: 700; color: var(--gold-deep); }
.card__title { margin: 1pt 0 0; font-family: var(--display); font-size: 15pt; line-height: 1.02; letter-spacing: 0.01em; }
.card__lead { margin: 4pt 0 0; font-size: 7.5pt; color: var(--day-ink-soft); }
.card__co { margin: auto 0 0; padding-top: 3pt; border-top: 1.5pt solid var(--gold); font-size: 7pt; font-weight: 600; }
.card__right { flex: none; width: 1.12in; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.card__right p { margin: 2pt 0 0; font-size: 6.5pt; font-weight: 700; }
.qr--card { width: 1.12in; height: 1.12in; display: block; }
.card--back { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-inline: 0.3in; }
.card__brand { display: flex; align-items: center; gap: 6px; margin: 0; }
.card__brand img { width: 0.38in; height: auto; }
.card__brand span { font-family: var(--display); font-size: 15pt; letter-spacing: 0.05em; color: var(--gold-deep); line-height: 1; }
.card__brand--center { justify-content: center; }
.card__back-lead { margin: 6pt 0 0; font-size: 8.5pt; font-weight: 600; }
.card__back-sent { margin: 4pt 0 0; font-size: 7.5pt; color: var(--day-ink-soft); }
.card__url { margin: 7pt 0 0; font-size: 7.5pt; font-weight: 700; color: var(--gold-deep); }

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .panel { animation: none; }
  .bar__title, .page-home .bar, .wheel__go, .wheel__index button { transition: none; }
}

/* ------------------------------------------- print: the one-page list -- */
@media print {
  @page { size: letter; margin: 0.45in 0.5in; }
  body { background: #fff; color: #161c2c; font-size: 8.5pt; }
  .skip, .bar, .menu, .finder, .intro, .ev-head, #panel-root, .scrim,
  .badge, .call .i, .call__word { display: none !important; }
  body.has-panel { overflow: visible; }
  a { text-decoration: none; color: inherit; }
  :is([data-sc-in], [data-sc-stagger] > *) { opacity: 1 !important; transform: none !important; }

  .print-head {
    display: block; column-span: all;
    padding-bottom: 5pt; margin-bottom: 2pt;
    border-bottom: 1.5pt solid var(--gold-deep);
  }
  .print-head p { margin: 0; }
  .print-head__by { font-size: 10pt; font-weight: 700; color: var(--gold-deep); }
  .print-head__title { font-family: var(--display); font-size: 22pt; line-height: 1.05; letter-spacing: 0.01em; }

  .directory { display: block !important; columns: 2; column-gap: 0.3in; max-width: none; padding: 0; }
  .ev-group { padding-top: 6pt; }
  .ev-group__title { font-size: 11pt; padding-bottom: 1pt; border-bottom: 1pt solid var(--gold-deep); break-after: avoid; }
  .row { gap: 6pt; break-inside: avoid; border-bottom: 0.5pt solid #ddd; }
  .row__main { gap: 6pt; padding: 2.5pt 0; }
  .mono { width: 17pt; height: 17pt; font-size: 6.5pt; background: none; color: #161c2c; border: 0.75pt solid #161c2c; }
  .row__name { font-size: 8.5pt; line-height: 1.2; }
  .row__co, .row__what { font-size: 7.5pt; line-height: 1.2; color: #3d4556; }
  .call { min-height: 0; padding: 0; border: 0; background: none; color: #161c2c; font-size: 8.5pt; }
  .call__num { display: inline !important; }
  .is-dense .row__name { font-size: 8pt; }
  .is-dense :is(.row__co, .row__what) { font-size: 7pt; }

  .print-foot {
    display: flex; gap: 10pt; align-items: center;
    column-span: all;
    margin-top: 10pt; padding-top: 6pt; border-top: 1pt solid var(--gold-deep);
    break-inside: avoid;
  }
  .print-foot p { margin: 0; font-size: 8pt; }
  .print-foot__lead { font-weight: 700; font-size: 9pt !important; }
  .print-foot__date { color: #5a6274; }
  .qr--print { width: 0.85in; height: 0.85in; flex: none; }
}

/* ------------------------------------------------- print: referral cards -- */
@media print {
  .page-cards { background: #fff; }
  .page-cards .cards-tools { display: none; }
  .page-cards .sheet { margin: 0; box-shadow: none; zoom: 1; break-after: page; page: cards; }
  .page-cards .sheet:last-of-type { break-after: auto; }
  @page cards { margin: 0; }
}
