.compass-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  width: min(calc(100% - 36px), 1160px);
  margin-block: 0 clamp(30px, 5vw, 58px);
  background: var(--walnut-wash);
  border: 1px solid var(--warm-line);
}
.compass-feature-copy {
  align-self: center;
  padding: clamp(18px, 3vw, 36px);
}
.compass-feature h2 {
  color: var(--charcoal);
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: 1.1;
}
.compass-feature p { margin: 8px 0 0; line-height: 1.35; }
.compass-feature .compass-feature-note { font-size: 14px; color: var(--body-copy); }
.compass-feature > img {
  height: 0;
  min-height: 100%;
  object-position: center 53%;
}
.compass-feature button.text-link {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: 700 12px/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
}
.compass-feature button.text-link:is(:hover, :active) { text-decoration: underline; text-underline-offset: 4px; }

html:has(.compass-dialog[open]) { overflow: hidden; }
.compass-dialog {
  width: min(880px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  padding: clamp(16px, 3vw, 30px);
  overscroll-behavior: contain;
  border: 1px solid var(--warm-line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}
.compass-dialog::backdrop { background: color-mix(in srgb, var(--dark-ink-brown) 72%, transparent); }
.compass-dialog-bar {
  position: sticky;
  inset-block-start: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--warm-line);
  margin-bottom: clamp(13px, 2vw, 20px);
}
.compass-dialog-bar .section-label { margin: 0; }
.compass-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font: 400 27px/1 var(--sans);
  cursor: pointer;
}
.compass-close:hover, .compass-close:active { background: var(--walnut-wash); }
.compass-step h2 { font-size: clamp(26px, 4vw, 42px); line-height: 1.1; }
.compass-step h2:focus { outline: none; }
.compass-progress {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .09em;
}
.compass-intro { margin: 8px 0 14px; line-height: 1.4; }
.compass-choices, .compass-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.compass-choices[data-choice-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compass-choice {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--warm-line);
  background: var(--white);
  color: inherit;
  text-align: start;
  cursor: pointer;
  transition: background-color var(--motion-feedback) var(--ease), box-shadow var(--motion-feedback) var(--ease);
}
.compass-choice img, .compass-result img {
  width: 100%;
  height: clamp(78px, 13vh, 115px);
  background: var(--sand);
  object-fit: cover;
}
.compass-choice-copy {
  display: grid;
  gap: 4px;
  padding: 9px 12px 12px;
  font: 400 13px/1.35 var(--sans);
}
.compass-choice strong {
  color: var(--charcoal);
  font: 600 clamp(16px, 2.3vw, 22px)/1.15 var(--display);
}
.compass-choice:is(:active, [aria-pressed="true"]) {
  background: var(--olive-wash);
  box-shadow: inset 0 0 0 2px var(--forest);
}
@media (hover: hover) {
  .compass-choice:hover:not([aria-pressed="true"]) { background: var(--linen); }
}
.compass-dialog :is(button, a):focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.compass-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}
.compass-actions .button { min-height: 44px; padding-block: 8px; }
.compass-actions button:disabled { opacity: .6; cursor: default; transform: none; }
.compass-result { display: flex; flex-direction: column; border: 1px solid var(--warm-line); background: var(--white); }
.compass-result img { height: clamp(105px, 19vh, 164px); }
.compass-result-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: clamp(10px, 2vw, 18px);
}
.compass-result .section-label { margin: 0 0 5px; }
.compass-result h3 { color: var(--charcoal); font-size: clamp(19px, 2.5vw, 25px); line-height: 1.15; }
.compass-result-copy > p:not(.section-label), .compass-result-actions p { margin: 7px 0; font-size: 14px; line-height: 1.4; }
.compass-result-meta { color: var(--charcoal); font-weight: 600; }
.compass-price {
  display: grid;
  margin-block: 3px 8px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
}
.compass-price small { font-size: 11px; font-weight: 400; }
.compass-result .text-link { margin-top: auto; }
.compass-dialog:not([data-results]) .compass-currency-note { display: none; }

@media (max-width: 560px) {
  .home-shortcut-compass { text-align: start; text-transform: uppercase; cursor: pointer; }
  .home-shortcuts .home-shortcut-compass { font-size: clamp(14px, 3.3vw, 18px); }
  .home-shortcut-compass svg { flex: none; }
  .home-shortcut-compass:active { background: var(--charcoal); }
  .compass-feature { grid-template-columns: minmax(0, 1fr) minmax(58px, 25%); }
  .compass-feature-copy { padding: 12px; }
  .compass-feature h2 { font-size: clamp(21px, 5.2vw, 27px); }
  .compass-feature p { margin-top: 5px; font-size: 13px; }
  .compass-feature .compass-feature-note { font-size: 12px; }
  .compass-feature button.text-link { margin-top: 0; }
  .compass-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 12px; }
  .compass-choices { gap: 8px; }
  .compass-choices[data-choice-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compass-choice-copy { padding: 8px; }
  .compass-choice img { height: clamp(64px, 11vh, 94px); }
  .compass-results { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .compass-dialog[open], .compass-step > h2, .compass-choices, .compass-results {
    animation: compass-reveal var(--motion-disclosure) var(--ease) both;
  }
  @keyframes compass-reveal { from { opacity: .55; } }
}
@media (prefers-reduced-motion: reduce) {
  .compass-choice { transition: none; }
}
