.support-section {
  padding-block: clamp(32px, 6vw, 84px);
  border-top: 1px solid var(--line);
}
.directions {
  --edge: clamp(148px, 48vw, 222px);
  --depth: calc(var(--edge) / 2);
  --perspective: 1000px;
  max-width: 520px;
  margin-inline: auto;
}
.directions h2 { text-align: center; font-size: clamp(2rem, 5vw, 3.3rem); }
.tone-blue { --surface: #3b5b79; --text: #fff; }
.tone-cream { --surface: #efe8db; --text: #344c63; }
.tone-sage { --surface: #dce8df; --text: #345449; }
.tone-lilac { --surface: #e6e4ee; --text: #48485a; }
.cube-stage {
  display: grid;
  place-items: center;
  height: calc(var(--edge) * 1.85);
  perspective: var(--perspective);
  user-select: none;
  -webkit-user-select: none;
}
.direction-cube {
  position: relative;
  width: var(--edge);
  height: var(--edge);
  transform-style: preserve-3d;
  transform: rotateX(var(--pitch, -30deg)) rotateY(var(--yaw, -33deg));
  touch-action: none;
}
.direction-cube .cube-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--edge) * .11);
  border: 1px solid #25394f26;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #ffffff29;
  color: var(--text, #53677a);
  background: var(--surface, #dce5eb);
  text-align: center;
  backface-visibility: hidden;
  cursor: grab;
  touch-action: none;
}
.direction-cube.dragging .cube-face { cursor: grabbing; }
.cube-face:focus-visible { outline-offset: -5px; }
.face-top.tone-sage { --glint-fill: #bc9cde; --glint-stroke: #8865af; }
.face-right.tone-cream { --glint-fill: #8ec7ed; --glint-stroke: #5d9cc5; }
.face-glints { position: absolute; inset: 0; width: 100%; height: 100%; }
.face-name { position: relative; z-index: 1; font-size: calc(var(--edge) * .118); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.face-front { transform: translateZ(var(--depth)); }
.face-right { transform: rotateY(90deg) translateZ(var(--depth)); }
.face-top { transform: rotateX(90deg) translateZ(var(--depth)); }
.face-back { transform: rotateY(180deg) translateZ(var(--depth)); }
.face-left { transform: rotateY(-90deg) translateZ(var(--depth)); }
.face-bottom { transform: rotateX(-90deg) translateZ(var(--depth)); }
.direction-deck { margin-top: 18px; }
.direction-card {
  --pad: clamp(16px, 4vw, 24px);
  background: var(--surface);
  color: var(--text);
  border-radius: 20px;
  text-align: left;
  line-height: 1.55;
}
.direction-fallback-title { padding: var(--pad) var(--pad) 0; }
.direction-summary { padding: var(--pad); font-size: clamp(1.05rem, 4vw, 1.18rem); font-weight: 600; }
.direction-more { padding: 0 var(--pad) var(--pad); }
.direction-tags { margin-top: 10px; font-size: .85rem; }
.direction-more a { font-weight: inherit; text-decoration: underline; text-underline-offset: 4px; }
#consultation-title { scroll-margin-top: 110px; }

.directions.ready .direction-fallback-title { display: none; }
.directions.ready .direction-deck { display: grid; position: relative; isolation: isolate; background: var(--paper); }
.directions.ready .direction-deck > * { grid-area: 1 / 1; }
.direction-logo {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 70%;
  height: 70%;
  mix-blend-mode: multiply;
  transition: opacity 260ms ease, top 260ms ease, left 260ms ease, width 260ms ease, height 260ms ease;
}
.direction-deck.has-selection .direction-logo {
  opacity: .5;
  width: 64px;
  height: 44px;
  left: calc(100% - 62px);
  top: calc(100% - 48px);
}
.directions.ready .direction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  clip-path: inset(0 0 calc(100% - var(--summary-height, 100%)) 0 round 20px);
  transition: clip-path 380ms ease;
}
.directions.ready .direction-card.showing { visibility: visible; opacity: 1; }
.directions.ready .direction-card.expanded { clip-path: inset(0 0 0 0 round 20px); }
.directions.ready .direction-card .direction-more {
  display: flex;
  flex-direction: column;
  flex: 1;
  opacity: 0;
  transition: opacity 320ms ease;
}
.directions.ready .direction-tags {
  margin-top: auto;
  padding: 12px 96px 0 0;
  min-height: 64px;
  align-content: center;
}
.directions.ready .direction-card.expanded .direction-more { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .directions *, .directions.ready .direction-card, .directions.ready .direction-more { transition-duration: 0s !important; }
}
