/* Álquimia — shared action system. Flat colour, consistent corners, quiet feedback. */
:root {
  --action-radius: 12px;
  --control-radius: 10px;
  --action-gold: #dfbc74;
  --action-ink: #24231e;
  --action-duration: 180ms;
}
body :is(main, .mobile-join, .checkout-dialog) :is(.button, .text-link),
body .header-inner .nav-join {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 10px;
  margin-inline: auto;
  padding: 12px 24px;
  border: 1px solid #b8ad96;
  border-radius: var(--action-radius);
  background: transparent;
  color: var(--action-ink);
  font: 600 15px/1.5 var(--sans);
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
  transition: background-color var(--action-duration) ease, color var(--action-duration) ease, border-color var(--action-duration) ease, transform var(--action-duration) ease;
}
body :is(main, .mobile-join, .checkout-dialog) .button-gold,
body .header-inner .nav-join {
  background: var(--action-gold); color: #242018; border-color: var(--action-gold);
}
body main .button.button-dark,
body .checkout-dialog form .checkout-submit {
  background: var(--action-ink); color: #fff8e9; border-color: var(--action-ink);
}
body :is(.hero, .founder-copy, .chapter-hero, .editorial-closing, .closing) .text-link {
  color: #f0dfba; border-color: #9e8b65; background: transparent;
}
body .about-hero .text-link { color: var(--action-ink); border-color: #a18e68; }
body :is(.hero-actions, .chapter-actions) > :is(.button, .text-link) { margin-inline: 0; }
body :is(.hero-actions, .chapter-actions) { justify-content: center; align-items: center; gap: 12px; }
body .experience-bottom, body .annual-support, body .membership-payment-bar {
  flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 20px;
}
body .annual-support .text-link { white-space: normal; }
body .chapter-home-link { text-align: center; }
body .price-card .button, body .checkout-dialog form .checkout-submit { width: 100%; justify-content: center; }
body :is(.mission-tabs, .chapter-tabs) { justify-content: center; gap: 6px; }
body :is(.mission-tabs, .chapter-tabs) button { border-radius: var(--control-radius); text-align: center; min-height: 44px; }
body .currency-switch, body .currency-picker { margin-inline: auto; justify-content: center; }
body .currency-picker label { border-radius: var(--control-radius); justify-content: center; box-shadow: none; }
body .currency-picker label:has(input:checked) { border-color: var(--action-ink); box-shadow: none; }
body .currency-picker label:focus-within { outline: none; }
body .currency-picker label:has(input:focus-visible) { outline: 2px solid #876327; outline-offset: 0; }
body .payment-bar-copy { justify-content: center; }
body main [id] { scroll-margin-top: calc(var(--header-height, 85px) + 24px); }
body :is(.button, .text-link, .nav-join):focus-visible,
body :is(.mission-tabs, .chapter-tabs) button:focus-visible {
  outline: 3px solid #876327; outline-offset: 3px;
}
body :is(.hero, .chapter-hero, .founder-copy, .closing, .editorial-closing) :is(.button, .text-link):focus-visible { outline-color: #f2d69b; }
body .about-hero .text-link:focus-visible { outline-color: #876327; }
body .checkout-dialog .dialog-close { min-width: 44px; min-height: 44px; border-radius: var(--control-radius); }
body .checkout-help { justify-content: center; text-align: center; min-height: 44px; }
body .checkout-after summary { min-height: 44px; padding-block: 10px; }
@media (hover: hover) and (pointer: fine) {
  body :is(main, .mobile-join, .checkout-dialog) :is(.button, .text-link):hover,
  body .header-inner .nav-join:hover {
    background: #ece4d4; color: var(--action-ink); border-color: #876327; transform: translateY(-1px); box-shadow: none;
  }
  body :is(main, .mobile-join) .button-gold:hover, body .header-inner .nav-join:hover { background: #edce92; border-color: #edce92; }
  body main .button.button-dark:hover, body .checkout-dialog form .checkout-submit:hover { background: #414037 !important; color: #fff8e9; border-color: #414037; }
  body :is(.hero, .founder-copy, .chapter-hero, .editorial-closing, .closing) .text-link:hover { background: #ffffff0d; color: #fff5dd; border-color: #dfbc74; }
  body .about-hero .text-link:hover { background: #e5dbc7; color: var(--action-ink); border-color: #876327; }
}
body :is(main, .mobile-join, .checkout-dialog) :is(.button, .text-link):active,
body .header-inner .nav-join:active { transform: none; box-shadow: none; }
body .checkout-dialog form .checkout-submit:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: none; }
body .orbit-footer { justify-content: center; text-align: center; }
body .orbit-footer > p { width: 100%; margin-inline: auto; }
body :is(.orbit-node, .orbit-core) { transition: translate .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  body :is(.orbit-node, .orbit-core):hover { translate: 0 -2px; border-color: #a47c36; }
}
@media (max-width: 600px) {
  body .about-hero .text-link { color: var(--action-ink); border-color: #a18e68; }
body :is(.hero-actions, .chapter-actions) { flex-direction: column; }
  body :is(.hero-actions, .chapter-actions) > :is(.button, .text-link) { width: 100%; max-width: 360px; align-self: center; }
  body :is(main, .checkout-dialog) :is(.button, .text-link) { font-size: 14px; padding: 12px 18px; }
  body .mobile-join .button { min-height: 44px; padding: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.button, .text-link, .nav-join, .orbit-node, .orbit-core) { transition: none; }
  body :is(main, .mobile-join, .checkout-dialog) :is(.button, .text-link):hover,
  body .header-inner .nav-join:hover { transform: none; }
  body :is(.orbit-node, .orbit-core):hover { translate: none; }
}

/* Real cultural imagery for the three learning missions. */
body .mission-photo { height: auto; width: 100%; aspect-ratio: 3 / 2; margin: 0 0 24px; border-radius: 12px; background: #29291f; }
body .mission-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
body #mission-sound .mission-photo img { object-position: 50% 20%; }
body #mission-art .mission-photo img { object-position: 50% 55%; }
body #mission-conversation .mission-photo img { object-position: center; }
