/* JB Global Logistics typography and dimensional surfaces. */
:root {
  --jb-display: Georgia, "Times New Roman", serif;
  --jb-text: "Segoe UI", system-ui, sans-serif;
  --jb-gold: #d7b675;
  --jb-surface-shadow: 0 2px 4px #05182614, 0 14px 32px #05182620;
}

html body { font-family: var(--jb-text); }
body :is(h1, h2, h3) {
  font-family: var(--jb-display);
  letter-spacing: -0.021em;
  text-wrap: balance;
}
body h1 { font-weight: 700; }
body h2 { font-weight: 600; }
body :is(.hero h1, .hero-title, .monogram) {
  text-shadow: 0 2px 3px #071c401f, 0 9px 24px #071c4024;
}

body :is(.card, .panel, .tile, .map, .lesson, .exam-overview, .membership-question) {
  box-shadow: inset 0 1px 0 #ffffff29, var(--jb-surface-shadow);
}
body :is(.card, .panel, .tile, .map, .lesson, .exam-overview) {
  background-image: linear-gradient(140deg, #ffffff12, transparent 54%);
}

body :is(.btn, .button, button[type="submit"]) {
  box-shadow: inset 0 1px 0 #ffffff42, inset 0 -2px 0 #08182a3b, 0 5px 12px #08182a26;
}
body :is(.btn, .button, button[type="submit"]):active { translate: 0 1px; }
body :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--jb-gold);
  outline-offset: 3px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body :is(.btn, .button, button[type="submit"]) {
    transition: translate 160ms ease, box-shadow 160ms ease;
  }
  body :is(.btn, .button, button[type="submit"]):hover {
    translate: 0 -2px;
    box-shadow: inset 0 1px 0 #ffffff55, inset 0 -2px 0 #08182a3b, 0 8px 16px #08182a30;
  }
}
@media (prefers-reduced-motion: reduce) {
  body :is(.btn, .button, button[type="submit"]):active { translate: none; }
}
