/* Jamaica.LocalMean.com shared design standard for Boston.LocalMean.com */
:root {
  --canvas: #f7f3e8;
  --paper: #f7f3e8;
  --surface: #fffdf7;
  --surface-2: #eee8d9;
  --ink: #171915;
  --blue: #0f5a3a;
  --blue-dark: #0a422b;
  --green: #0f5a3a;
  --green-2: #0a422b;
  --gold: #d2a21f;
  --muted: #62675d;
  --line: #d7d1c2;
  --soft: #eee8d9;
  --success: #0f5a3a;
  --warning: #8a5500;
  --shadow: 0 20px 70px rgba(45, 38, 24, .10);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --canvas: #151713;
  --paper: #151713;
  --surface: #1d201b;
  --surface-2: #262a23;
  --ink: #f4f0e6;
  --blue: #78d5a9;
  --blue-dark: #a7e6c7;
  --green: #78d5a9;
  --green-2: #a7e6c7;
  --gold: #edc453;
  --muted: #b4b9ae;
  --line: #3d4339;
  --soft: #262a23;
  --success: #78d5a9;
  --warning: #edc453;
  --shadow: 0 22px 72px rgba(0, 0, 0, .34);
  color-scheme: dark;
}
html { background: var(--canvas); }
body.jamaica-standard {
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.jamaica-standard ::selection { background: color-mix(in srgb, var(--green) 24%, transparent); color: var(--ink); }
body.jamaica-standard .site-shell { width: min(1180px, calc(100% - 32px)); }
body.jamaica-standard .site-header { background: color-mix(in srgb, var(--canvas) 90%, transparent); backdrop-filter: blur(18px); }
body.jamaica-standard .brand { display: inline-flex; align-items: baseline; gap: 10px; font-family: inherit; font-weight: 850; }
body.jamaica-standard .brand small { color: var(--green); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
body.jamaica-standard .header-nav { gap: 20px; }
body.jamaica-standard .header-nav a { color: var(--muted); font-size: .88rem; }
body.jamaica-standard .header-nav .nav-cta { padding: 10px 14px; border-radius: 999px; background: var(--green-2); color: #fffdf7; }
body.jamaica-standard .theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
body.jamaica-standard .theme-toggle svg { width: 18px; height: 18px; }
body.jamaica-standard .hero { padding-block: clamp(70px, 10vw, 132px) 72px; }
body.jamaica-standard :is(.hero-title, .page-title, .term-title, .section-heading h2, .hero-term, .prose h2, .prose h3, .panel h2, .saved-item h2, .sidebar-card h2) { font-weight: 500; letter-spacing: -.05em; }
body.jamaica-standard .hero-title em,
body.jamaica-standard .eyebrow { color: var(--green); }
body.jamaica-standard :is(.hero-copy, .lede, .entry-card p, .prose p, .prose li) { color: var(--muted); }
body.jamaica-standard :is(.hero-card, .entry-card, .info-card, .sidebar-card, .panel, .saved-item, .example-list li) { border-color: var(--line); border-radius: 16px; background: var(--surface); }
body.jamaica-standard .hero-card { border-radius: 20px; box-shadow: var(--shadow); transform: rotate(1deg); }
body.jamaica-standard .hero-card::before { display: none; }
body.jamaica-standard .search-control { border-color: var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
body.jamaica-standard .search-control:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent), var(--shadow); }
body.jamaica-standard .filter-button { background: var(--surface); color: var(--muted); }
body.jamaica-standard .filter-button:hover,
body.jamaica-standard .filter-button.is-active { border-color: var(--green); background: var(--green-2); color: #fffdf7; }
body.jamaica-standard .section { padding-block: clamp(70px, 9vw, 112px); }
body.jamaica-standard .entry-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
body.jamaica-standard .pill { background: var(--surface-2); color: var(--muted); }
body.jamaica-standard .status-badge { border-radius: 999px; border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); color: var(--warning); }
body.jamaica-standard .definition-block { border-radius: 0 16px 16px 0; background: var(--surface); }
body.jamaica-standard .action-button { border-radius: 999px; border-color: var(--green-2); background: var(--green-2); color: #fffdf7; }
body.jamaica-standard .action-button:hover { border-color: var(--green); background: var(--green); }
body.jamaica-standard .action-button.secondary { border-color: var(--line); background: var(--surface); color: var(--green); }
body.jamaica-standard .contrast,
body.jamaica-standard .notice { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--green) 8%, var(--surface)); color: var(--ink); }
body.jamaica-standard :is(.form-field input, .form-field textarea, .form-field select) { border-radius: 10px; border-color: var(--line); background: var(--surface); }
body.jamaica-standard :is(.form-field input, .form-field textarea, .form-field select):focus { outline-color: color-mix(in srgb, var(--green) 22%, transparent); border-color: var(--green); }
body.jamaica-standard .site-footer { background: var(--surface-2); }
body.jamaica-standard .footer-brand { font-size: 1.8rem; }
body.jamaica-standard .toast { border-radius: 12px; }
body.jamaica-standard :focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 38%, transparent); outline-offset: 3px; }

@media (max-width: 850px) {
  body.jamaica-standard .hero-card { max-width: 650px; transform: none; }
}
@media (max-width: 700px) {
  body.jamaica-standard .site-shell { width: min(100% - 22px, 1180px); }
  body.jamaica-standard .header-nav { display: none; grid-template-columns: 1fr 1fr; align-items: stretch; flex-direction: initial; gap: 8px; padding: 18px 12px 24px; background: var(--canvas); }
  body.jamaica-standard.nav-open .header-nav { display: grid; }
  body.jamaica-standard .header-nav a { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow-wrap: anywhere; }
  body.jamaica-standard .header-nav .nav-cta { grid-column: 1 / -1; text-align: center; }
  body.jamaica-standard .theme-toggle { justify-self: start; }
  body.jamaica-standard .hero-title { font-size: clamp(3.15rem, 15vw, 5.4rem); }
  body.jamaica-standard .hero-card { margin-right: 0; }
}
@media (max-width: 420px) {
  body.jamaica-standard .brand small { display: none; }
  body.jamaica-standard .site-shell { width: min(100% - 18px, 1180px); }
  body.jamaica-standard .hero-title { font-size: clamp(3rem, 16vw, 4.7rem); }
}
@media (prefers-reduced-motion: reduce) {
  body.jamaica-standard *, body.jamaica-standard *::before, body.jamaica-standard *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  body.jamaica-standard .theme-toggle { display: none !important; }
}
