/* Jamaica Compass — site stylesheet (build-independent copy of tokens.css is imported) */
@import url("tokens.css");

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--jc-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--jc-color-text);
  background: var(--jc-color-bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--jc-color-link); }
a:hover { color: var(--jc-color-primary-hover); }

code {
  background: var(--jc-color-surface);
  border: 1px solid var(--jc-line-200);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  font-size: 0.92em;
}

.container { max-width: 1080px; margin-inline: auto; padding-inline: 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--jc-color-accent); color: #0B2545;
  padding: 0.5rem 1rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  background: var(--jc-color-surface);
  border-bottom: 1px solid var(--jc-line-200);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 0.6rem; }
.brand img { display: block; height: 44px; width: auto; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--jc-color-heading); }
.site-nav a:hover { color: var(--jc-color-primary); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--jc-sand-50) 0%, var(--jc-teal-100) 100%);
  padding-block: 3.5rem 3rem;
}
.hero .eyebrow { letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; font-size: 0.8rem; color: var(--jc-teal-600); margin: 0 0 0.75rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; color: var(--jc-color-heading); margin: 0 0 1rem; max-width: 22ch; }
.hero p.lede { font-size: 1.15rem; max-width: 55ch; margin: 0 0 1.5rem; }
.btn {
  display: inline-block; background: var(--jc-color-accent); color: #0B2545;
  font-weight: 700; text-decoration: none; padding: 0.7rem 1.4rem;
  border-radius: var(--jc-radius-md); border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.05); color: #0B2545; }
.btn-secondary { background: transparent; color: var(--jc-color-heading); border-color: var(--jc-navy-900); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; padding-block: 2rem 3rem; }
.card {
  background: var(--jc-color-surface); border: 1px solid var(--jc-line-200);
  border-radius: var(--jc-radius-lg); padding: 1.25rem; box-shadow: var(--jc-shadow-md);
}
.card h3 { margin-top: 0; color: var(--jc-color-heading); }
.card p { margin-bottom: 0; }

/* Legal / article pages */
main > .legal { padding-block: 2rem 3rem; }
main article.legal {
  background: var(--jc-color-surface); border: 1px solid var(--jc-line-200);
  border-radius: var(--jc-radius-lg); box-shadow: var(--jc-shadow-md);
  max-width: 800px; margin-inline: auto; padding: 2rem 2.25rem;
}
main article.legal > :first-child { margin-top: 0; }
main article.legal h1 { color: var(--jc-color-heading); line-height: 1.2; }
main article.legal h2 { color: var(--jc-teal-600); margin-top: 2rem; line-height: 1.3; }
main article.legal h3 { color: var(--jc-color-heading); }
main article.legal table { border-collapse: collapse; width: 100%; margin-block: 1rem; font-size: 0.95em; }
main article.legal th, main article.legal td { border: 1px solid var(--jc-line-200); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
main article.legal thead th { background: var(--jc-teal-100); color: var(--jc-navy-900); }
main article.legal blockquote {
  margin: 1rem 0; padding: 0.9rem 1.1rem; border-left: 4px solid var(--jc-gold-400);
  background: var(--jc-gold-100); border-radius: 0 8px 8px 0;
}
main article.legal blockquote p { margin: 0; }

.policy-index { list-style: none; padding: 0; }
.policy-index li { border-top: 1px solid var(--jc-line-200); padding: 0.9rem 0; }
.policy-index li:first-child { border-top: 0; }
.policy-index a { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.policy-index p { margin: 0.25rem 0 0; }

/* Forms (DMCA takedown, contact) */
.legal-form { display: grid; gap: 0.9rem; margin-block: 1.25rem; padding: 1.25rem; border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-md); background: var(--jc-color-bg); }
.legal-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; color: var(--jc-color-heading); }
.legal-form input, .legal-form textarea {
  font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--jc-line-200);
  border-radius: 6px; background: var(--jc-white); color: var(--jc-color-text); width: 100%;
}
.legal-form fieldset { border: 1px solid var(--jc-line-200); border-radius: 8px; display: grid; gap: 0.4rem; }
.legal-form fieldset label { font-weight: 500; display: flex; gap: 0.5rem; align-items: flex-start; }
.legal-form button {
  justify-self: start; background: var(--jc-color-primary); color: #fff; border: 0;
  font: inherit; font-weight: 700; padding: 0.65rem 1.3rem; border-radius: var(--jc-radius-md); cursor: pointer;
}
.legal-form button:hover { background: var(--jc-color-primary-hover); }
.form-note { font-size: 0.9em; color: var(--jc-color-danger); }

/* Footer */
.site-footer { background: var(--jc-navy-900); color: #D7E5EA; padding-block: 2.5rem 1.5rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; margin: 0 0 0.6rem; }
.site-footer h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--jc-gold-400); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-community-head { font-weight: 700; color: var(--jc-gold-400); padding-top: 0.6rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; }
.site-footer a { color: #D7E5EA; text-decoration: none; }
.site-footer a:hover { color: var(--jc-gold-400); text-decoration: underline; }
.btn-link { background: none; border: 1px solid #3A5A78; color: #D7E5EA; font: inherit; padding: 0.4rem 0.9rem; border-radius: 8px; cursor: pointer; margin-top: 0.4rem; }
.btn-link:hover { border-color: var(--jc-gold-400); color: var(--jc-gold-400); }
.footer-legal { border-top: 1px solid #1E4557; margin-top: 2rem; padding-top: 1rem; }
.footer-legal p { font-size: 0.85rem; margin: 0; color: #9FB8C6; }

/* Consent banner */
.consent-banner {
  position: fixed; inset: auto 1rem 1rem 1rem; z-index: 90; max-width: 640px; margin-inline: auto;
  background: var(--jc-navy-900); color: #D7E5EA; border: 1px solid #1E4557;
  border-radius: var(--jc-radius-lg); padding: 1.1rem 1.25rem; box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 0.8rem; font-size: 0.95rem; }
.consent-banner a { color: var(--jc-gold-400); }
.consent-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.consent-actions button {
  font: inherit; font-weight: 700; padding: 0.55rem 1.2rem; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent;
}
#consent-accept { background: var(--jc-gold-400); color: #0B2545; }
#consent-decline { background: transparent; color: #D7E5EA; border-color: #3A5A78; }
#consent-decline:hover { border-color: #D7E5EA; }

/* Responsive */
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
  main article.legal { padding: 1.4rem 1.1rem; }
  .hero { padding-block: 2.5rem 2rem; }
  .mono { white-space: normal; }
}

/* Open-Now Tracker (JT-13) — status boards, chips, cards */
.opennow { max-width: 60rem; margin-inline: auto; }
.opennow h1 { color: var(--jc-color-heading); margin-bottom: 0.4rem; }
.opennow h2 { color: var(--jc-color-heading); margin-top: 2rem; }
.hero-compact { padding-block: 1.5rem 0.5rem; }
.muted { color: #5A6B7C; font-size: 0.92rem; }
.mono { font-family: Consolas, "Courier New", monospace; font-size: 0.85rem; white-space: nowrap; }

.board-wrap { overflow-x: auto; margin-block: 0.75rem; }
.board { width: 100%; border-collapse: collapse; background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); }
.board th, .board td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--jc-line-200); vertical-align: top; font-size: 0.95rem; }
.board thead th { background: var(--jc-sand-50); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--jc-color-heading); }
.board tbody tr:last-child th, .board tbody tr:last-child td { border-bottom: 0; }
.board tbody th { font-weight: 600; color: var(--jc-color-heading); min-width: 12rem; }
.board .when { margin-left: 0.45rem; font-size: 0.85rem; color: #5A6B7C; }
.board-empty { background: var(--jc-sand-50); border: 1px dashed var(--jc-line-200); border-radius: var(--jc-radius-md); padding: 0.9rem 1.1rem; color: #5A6B7C; }

.chip { display: inline-block; padding: 0.14rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.st-open { background: #E3F2E7; color: #1E5B34; }
.st-closed { background: #FBE3DC; color: #8A2B12; }
.st-reopening { background: #FCF1CC; color: #7A5A00; }
.st-planned { background: #DFEEF6; color: #0E5A8A; }
.st-contact { background: #ECECE4; color: #4A4A3F; }
.st-unknown { background: #ECECE4; color: #5A6B7C; }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-block: 1rem; }
.dest-card { display: block; background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-top: 4px solid var(--dest-accent, var(--jc-teal-600)); border-radius: var(--jc-radius-md); padding: 0.9rem 1rem; text-decoration: none; box-shadow: var(--jc-shadow-md); }
.dest-card:hover { border-color: var(--dest-accent, var(--jc-teal-600)); }
.dest-card h3 { margin: 0 0 0.4rem; color: var(--jc-color-heading); }
.dest-card .dest-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.4rem; }
.dest-card .muted { margin: 0; }

.unverified-note { background: var(--jc-sand-50); border-left: 4px solid var(--jc-gold-400); padding: 0.8rem 1rem; margin-block: 1.25rem; }
/* ── JT-06: destination-first IA ─────────────────────────────────────── */

/* Destination strip under the header (all pages) */
.dest-strip { background: var(--jc-color-surface); border-bottom: 1px solid var(--jc-line-200); overflow-x: auto; }
.dest-strip-inner { display: flex; align-items: center; gap: 1rem; padding-block: 0.4rem; white-space: nowrap; }
.dest-strip-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jc-color-primary); flex: none; }
.dest-strip a { font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--jc-color-heading); flex: none; }
.dest-strip a:hover { color: var(--jc-color-primary); }

/* Destination hub: sibling tabs + colorway hero */
.dest-tabs { background: var(--jc-color-bg); border-bottom: 1px solid var(--jc-line-200); }
.dest-tabs-inner { display: flex; gap: 0.9rem; padding-block: 0.5rem; overflow-x: auto; white-space: nowrap; }
.dest-tabs a { font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--jc-ink-700); flex: none; padding-block: 0.15rem; border-bottom: 2px solid transparent; }
.dest-tabs a:hover { color: var(--jc-color-primary); }
.dest-tabs a[aria-current="page"] { color: var(--dest-primary, var(--jc-color-primary)); border-bottom-color: var(--dest-primary, var(--jc-color-primary)); }
.dest-hero { background: linear-gradient(160deg, var(--dest-secondary, var(--jc-teal-100)) 0%, var(--dest-primary, var(--jc-teal-600)) 100%); padding-block: 3rem 2.5rem; }
.dest-hero .eyebrow { letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; font-size: 0.8rem; color: rgba(255,255,255,0.85); margin: 0 0 0.75rem; }
.dest-hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; color: #fff; margin: 0 0 1rem; }
.dest-hero .lede { font-size: 1.12rem; max-width: 60ch; margin: 0 0 0.9rem; color: #fff; }
.dest-transfer { font-weight: 600; color: #fff; background: rgba(11, 37, 69, 0.35); display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; margin: 0; }

/* Destination hub: overview + anchors + practical + FAQ + next */
.dest-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; padding-block: 2.25rem 1rem; align-items: start; }
.dest-overview { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg); box-shadow: var(--jc-shadow-md); padding: 1.75rem 1.9rem; }
.dest-overview h2 { color: var(--jc-color-heading); margin-top: 0; }
.dest-knowbefore { font-size: 0.95rem; border-top: 1px solid var(--jc-line-200); padding-top: 0.9rem; margin-bottom: 0; }
.dest-anchors h2 { color: var(--jc-color-heading); margin-top: 0; }
.anchor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; padding-block: 1.25rem 2rem; }
.anchor-grid .card { padding: 1rem 1.15rem; }
.anchor-kind { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dest-primary, var(--jc-color-primary)); margin: 0 0 0.35rem; }
.anchor-grid h3 { margin: 0; font-size: 1.02rem; color: var(--jc-color-heading); }
.anchor-link { display: inline-block; margin-top: 0.45rem; font-size: 0.9rem; }
.dest-practical { display: grid; gap: 1.5rem; padding-block: 1rem 2rem; }
.dest-practical-block { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg); padding: 1.5rem 1.75rem; }
.dest-practical-block h2 { color: var(--jc-color-heading); margin-top: 0; }
.dest-practical-block table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
.dest-practical-block th, .dest-practical-block td { border: 1px solid var(--jc-line-200); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
.dest-practical-block thead th { background: var(--jc-teal-100); color: var(--jc-navy-900); }
.dest-note { font-size: 0.92rem; }
.fact-source { font-size: 0.85rem; color: var(--jc-ink-700); opacity: 0.85; margin-bottom: 0; }
.dest-faq { padding-block: 0.5rem 1.5rem; }
.dest-faq details { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-md); padding: 0.9rem 1.2rem; margin-bottom: 0.7rem; }
.dest-faq summary { font-weight: 700; color: var(--jc-color-heading); cursor: pointer; }
.dest-faq p { margin: 0.6rem 0 0; }
.dest-next { padding-block: 0.75rem 2.5rem; }
.dest-next h2 { color: var(--jc-color-heading); }
.pill { display: inline-block; border: 1px solid var(--jc-line-200); background: var(--jc-color-surface); border-radius: 999px; padding: 0.35rem 0.95rem; font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--jc-color-heading); }
.pill:hover { border-color: var(--jc-color-primary); color: var(--jc-color-primary); }

/* Desks */
.desk-hero { background: linear-gradient(160deg, var(--jc-navy-900) 0%, var(--dest-primary, var(--jc-color-primary)) 130%); padding-block: 3rem 2.5rem; }
.desk-hero .eyebrow { letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; font-size: 0.8rem; color: var(--jc-gold-400); margin: 0 0 0.75rem; }
.desk-hero h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; margin: 0 0 1rem; }
.desk-hero .lede { font-size: 1.12rem; max-width: 60ch; margin: 0; color: #D7E5EA; }
.desk-intro { padding-block: 2rem 0.5rem; }
.desk-intro article { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg); box-shadow: var(--jc-shadow-md); padding: 1.75rem 1.9rem; max-width: 860px; }
.desk-status { border-top: 1px solid var(--jc-line-200); padding-top: 0.9rem; margin-bottom: 0; font-size: 0.97rem; }
.desk-facts, .desk-cruise, .desk-contact { padding-block: 1.5rem 1rem; }
.desk-facts section, .desk-cruise section { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg); padding: 1.5rem 1.75rem; }
.desk-facts h2, .desk-cruise h2 { color: var(--jc-color-heading); margin-top: 0; }
.desk-facts table, .desk-cruise table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
.desk-facts th, .desk-facts td, .desk-cruise th, .desk-cruise td { border: 1px solid var(--jc-line-200); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
.desk-facts thead th, .desk-cruise thead th { background: var(--jc-teal-100); color: var(--jc-navy-900); }
.desk-contact { padding-bottom: 1.5rem; }
.dest-desk-destinations h2 { color: var(--jc-color-heading); padding-top: 0.75rem; margin-bottom: 0; }
.dest-desk-destinations + .cards { padding-top: 1rem; }

/* Footer: 4 columns with destinations + desks */
.footer-grid { grid-template-columns: 1.6fr 1.1fr 1.1fr 1.3fr; }
.footer-site-links { font-size: 0.92rem; margin-bottom: 0; }

/* Home desks row */
.desks-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1rem; padding-block: 1.25rem 2rem; }
.desk-card h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.desk-card p { font-size: 0.92rem; }

/* Responsive additions */
@media (max-width: 900px) {
  .dest-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- JT-12 monetization: ad slots, booking modules, status cards -------- */

.ad-slot {
  margin: 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.ad-slot .ad-label {
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft, #6b7280);
}

.affiliate-disclosure {
  border-left: 3px solid var(--reggae-gold, #f5b700);
  background: rgba(245, 183, 0, .07);
  padding: .6rem .9rem;
  font-size: .875rem;
  margin: 1rem 0;
  border-radius: 0 .5rem .5rem 0;
}

.booking-module, .booking-crosssell {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: .75rem;
}
.booking-module-title {
  font-size: 1rem;
  margin: 0 0 .5rem;
}
.booking-crosssell { border-style: dashed; }
.offer-list { list-style: none; padding: 0; margin: 0; }
.offer-list li { padding: .3rem 0; }
.offer-note { color: var(--ink-soft, #6b7280); font-size: .8125rem; }
.offer-empty { color: var(--ink-soft, #6b7280); font-size: .875rem; margin: .25rem 0; }
.verify-line { font-size: .8125rem; color: var(--ink-soft, #6b7280); }

.status-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .4rem 1rem;
  background: rgba(0, 0, 0, .03);
  border-radius: .75rem;
  padding: .9rem 1rem;
  margin: 1rem 0;
}
.status-card dt { font-weight: 600; }
.status-card dd { margin: 0; }
.status-chip {
  display: inline-block;
  padding: .05rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.status-chip--open { background: #1a7f4b; }
.status-chip--reopening { background: #b45309; }
.status-chip--closed { background: #b91c1c; }
.status-chip--unknown { background: #4b5563; }

.subject-list { list-style: none; padding: 0; }
.subject-list li { padding: .3rem 0; border-bottom: 1px dashed rgba(0,0,0,.06); }

.direct-ad, .house-slot {
  margin: 1.25rem auto;
  padding: .6rem .9rem;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: .75rem;
  max-width: 46rem;
}
.sponsored-label {
  display: block;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft, #6b7280);
  margin-bottom: .35rem;
}
.house-slot-label {
  display: block;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft, #6b7280);
  margin-bottom: .35rem;
}
.house-slot p { margin: 0; font-size: .9rem; }

.breadcrumb { font-size: .8125rem; color: var(--ink-soft, #6b7280); }
.page-narrow { max-width: 46rem; }

/* ---- JT-11 newsletter network: sitewide signup + newsletter page -------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.footer-signup-wrap { border-top: 1px solid #1E4557; margin-top: 2rem; padding-top: 1.4rem; }
.footer-signup p { margin: .35rem 0 .7rem; max-width: 60ch; }
.signup-form { display: flex; gap: .55rem; max-width: 30rem; flex-wrap: wrap; }
.signup-form input[type="email"] {
  flex: 1 1 14rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  border: 1px solid #3A5A78;
  background: #0E2C40;
  color: #F4FAFC;
  font: inherit;
}
.signup-form input[type="email"]::placeholder { color: #8FA9B8; }
.signup-form input[type="email"]:focus { outline: 2px solid var(--jc-gold-400, #F5B700); outline-offset: 1px; }
.signup-form button {
  padding: .55rem 1.1rem;
  border-radius: 8px;
  border: 0;
  background: var(--jc-color-accent, #F5B700);
  color: #0B2545;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.signup-form button:hover { filter: brightness(1.06); }
.signup-note { font-size: .8rem; color: #9FB8C6; margin: .5rem 0 0; }
.signup-status { font-weight: 600; color: var(--jc-gold-400, #F5B700); margin: .5rem 0 0; }

/* Newsletter page */
.edition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; padding-block: 1rem 1.5rem; }
.edition-card { background: var(--jc-color-surface, #fff); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg, 12px); padding: 1.1rem 1.25rem; }
.edition-card h3 { margin-top: 0; color: var(--jc-color-heading); font-size: 1.02rem; }
.edition-card p { font-size: .92rem; margin-bottom: 0; }
.edition-card .edition-chip {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--jc-teal-600, #177E89);
  border-radius: 999px; padding: .1rem .6rem; margin-bottom: .5rem;
}
.newsletter-how { padding-block: .5rem 2rem; }
.newsletter-how article { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg); padding: 1.5rem 1.75rem; max-width: 860px; }

/* ---- JT-09 video lane: /videos desk, series pages, episode pages -------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  padding-block: 0.5rem 1.5rem;
}
.video-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--jc-line-200);
  border-radius: 12px; overflow: hidden;
  background: var(--jc-color-surface);
  text-decoration: none; color: inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.video-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(11,37,69,.12); color: inherit; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--jc-color-heading); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(11,37,69,.78); color: #F2B705; font-size: 1.1rem;
}
.video-len {
  position: absolute; right: .5rem; bottom: .5rem;
  background: rgba(11,37,69,.85); color: #F6F1E7;
  font-size: .75rem; padding: .1rem .45rem; border-radius: 6px;
}
.video-card-body { display: flex; flex-direction: column; gap: .3rem; padding: .8rem .9rem 1rem; }
.video-card-series { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--jc-color-primary); font-weight: 700; }
.video-card-title { font-weight: 700; color: var(--jc-color-heading); line-height: 1.3; }
.video-card-dek { font-size: .875rem; color: var(--ink-soft, #3A4A5C); }
.video-card-meta { font-size: .78rem; color: var(--ink-soft, #6b7280); margin-top: auto; }

/* episode page */
.crumbs { font-size: .8125rem; color: var(--ink-soft, #6b7280); padding-top: 1rem; }
.crumbs a { color: var(--jc-color-link); }
.episode, .series { padding-block: 0.5rem 2.5rem; }
.episode-head { margin-block: .75rem .5rem; }
.episode-meta { font-size: .85rem; color: var(--ink-soft, #6b7280); margin: .2rem 0 0; }
.player, video.player { width: 100%; border-radius: 12px; overflow: hidden; background: #08202E; }
.player.shell { position: relative; aspect-ratio: 16 / 9; display: block; }
.player-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-queue {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  background: rgba(11,37,69,.85); color: #F6F1E7;
  font-size: .8rem; padding: .4rem .8rem; border-radius: 8px; white-space: nowrap;
}
.episode .lede { font-size: 1.05rem; max-width: 46rem; }
.disclosure {
  border-left: 4px solid #F2B705; background: var(--jc-color-surface);
  padding: .6rem .9rem; margin-block: 1rem; border-radius: 0 8px 8px 0; max-width: 46rem;
}
.transcript { max-width: 46rem; }
.how-made { border-top: 1px solid var(--jc-line-200); margin-top: 1.5rem; padding-top: 1rem; max-width: 46rem; }
.how-made h2 { font-size: 1.1rem; color: var(--jc-color-heading); }
.how-made h3 { font-size: .95rem; color: var(--jc-color-heading); margin-bottom: .35rem; }
.how-made table { width: 100%; font-size: .85rem; border-collapse: collapse; }
.how-made th, .how-made td { text-align: left; padding: .3rem .5rem; border-bottom: 1px solid var(--jc-line-200); }
.plan-visit strong { color: var(--jc-color-heading); }
.disclaimer-footer { font-size: .8rem; color: var(--ink-soft, #6b7280); max-width: 46rem; }

/* series page hero uses the cover as a banner */
.series-head {
  padding: 2.5rem 1.5rem; border-radius: 14px; margin-block: 1rem;
  background: linear-gradient(rgba(11,37,69,.82), rgba(11,37,69,.55)), var(--cover, none);
  background-size: cover; background-position: center; color: #F6F1E7;
}
.series-head h1, .series-head .lede, .series-head .eyebrow, .series-head .series-meta { color: inherit; }
.series-head .lede { max-width: 46rem; }
.runbook { max-width: 46rem; }
.hero-sub { padding-block: 2.5rem 1rem; }
.how { max-width: 46rem; padding-block: 1rem; border-top: 1px solid var(--jc-line-200); }
.how ul { padding-left: 1.1rem; }

/* ---- JT-15 trip tools: calculator, builder, Ask Compass, packs, support --- */

/* forms + result lines (calculator + builder) */
.calc-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .8rem 1.1rem; margin-block: 1.25rem; padding: 1.1rem;
  border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-md);
  background: var(--jc-color-surface);
}
.calc-form label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; color: var(--jc-color-heading); }
.calc-form select, .calc-form input[type="number"] {
  font: inherit; padding: .45rem .6rem; border: 1px solid var(--jc-line-200);
  border-radius: 6px; background: var(--jc-color-bg); color: var(--jc-color-text); width: 100%;
}
.calc-form .calc-check { grid-column: 1 / -1; font-weight: 500; display: flex; align-items: center; gap: .5rem; }
.calc-line {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .45rem 0; border-bottom: 1px dashed var(--jc-line-200); max-width: 46rem;
}
.calc-line-label { font-weight: 600; color: var(--jc-color-heading); }
.calc-line-note { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-soft, #6b7280); }
.calc-line-amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-grand { border-bottom: 0; border-top: 2px solid var(--jc-navy-900); margin-top: .4rem; }
.calc-grand .calc-line-amount, .calc-grand .calc-line-label { font-size: 1.1rem; }
.calc-total { margin-top: 1.5rem; color: var(--jc-color-heading); }
.calc-note { font-size: .8rem; color: var(--ink-soft, #6b7280); max-width: 46rem; }
.line-book { font-weight: 700; }
.price-line { margin-block: .75rem; }
.price-main { font-size: 1.4rem; font-weight: 800; color: var(--jc-color-heading); }
.price-launch { display: block; font-size: .85rem; color: var(--jc-fern-700, #2D6A4F); font-weight: 600; }

/* builder day cards */
.day-card {
  background: var(--jc-color-surface); border: 1px solid var(--jc-line-200);
  border-radius: var(--jc-radius-md); padding: 1rem 1.1rem; margin-block: .9rem; max-width: 46rem;
}
.day-card h3 { margin: 0 0 .5rem; color: var(--jc-color-heading); }
.day-no {
  display: inline-block; background: var(--jc-color-primary); color: #fff;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .1rem .5rem; border-radius: 6px; margin-right: .45rem; vertical-align: middle;
}
.day-card .slots { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin: 0; }
.day-card .slots dt { font-weight: 700; color: var(--jc-teal-700, #0A616B); }
.day-card .slots dd { margin: 0; }
.day-tour { font-size: .85rem; color: var(--ink-soft, #6b7280); margin: .5rem 0 0; }

/* cruise table */
.cruise-table { width: 100%; border-collapse: collapse; max-width: 46rem; font-size: .95rem; }
.cruise-table th, .cruise-table td { border: 1px solid var(--jc-line-200); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.cruise-table thead th { background: var(--jc-teal-100, #D7EDEF); color: var(--jc-navy-900); }
.cruise-table tbody th { white-space: nowrap; color: var(--jc-teal-700, #0A616B); }

/* Ask Compass */
.chat-log {
  display: grid; gap: .7rem; padding-block: 1.25rem; min-height: 15rem; max-width: 46rem;
}
.chat-bubble { border-radius: 12px; padding: .75rem .95rem; max-width: 42rem; font-size: .95rem; }
.chat-q { background: var(--jc-navy-900); color: #F6F1E7; justify-self: end; }
.chat-a { background: var(--jc-color-surface); border: 1px solid var(--jc-line-200); }
.chat-a p { margin: .35rem 0; }
.chat-item { border-top: 1px dashed var(--jc-line-200); padding-top: .55rem; margin-top: .55rem; }
.chat-item p { margin: .25rem 0; }
.chat-price {
  background: var(--jc-gold-100, #FDF3D7); color: #7A5C00; font-size: .75rem;
  font-weight: 700; padding: .06rem .45rem; border-radius: 6px; margin-left: .3rem;
}
.chat-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .4rem; }
.chat-links a {
  font-size: .8rem; text-decoration: none; border: 1px solid var(--jc-line-200);
  border-radius: 999px; padding: .12rem .6rem;
}
.chat-links a:hover { border-color: var(--jc-color-primary); }
.chat-ground { font-size: .78rem; color: var(--ink-soft, #6b7280); margin-top: .6rem; }
.chat-form { display: flex; gap: .6rem; max-width: 46rem; }
.chat-form input {
  flex: 1; font: inherit; padding: .55rem .7rem; border: 1px solid var(--jc-line-200);
  border-radius: 8px; background: var(--jc-color-surface); color: var(--jc-color-text);
}
.chat-form button {
  background: var(--jc-color-primary); color: #fff; border: 0; font: inherit;
  font-weight: 700; padding: .55rem 1.1rem; border-radius: 8px; cursor: pointer;
}
.chat-form button:hover { background: var(--jc-color-primary-hover); }
.chat-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .8rem; }
.chat-chips button {
  font: inherit; font-size: .82rem; padding: .28rem .75rem; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--jc-line-200); background: var(--jc-color-surface);
  color: var(--jc-color-heading);
}
.chat-chips button:hover { border-color: var(--jc-color-primary); color: var(--jc-color-primary); }
.chat-note { font-size: .8rem; color: var(--ink-soft, #6b7280); max-width: 46rem; }

/* packs shop */
.pack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem; padding-block: 1.5rem 2rem;
}
.pack-card {
  display: block; background: var(--jc-color-surface); text-decoration: none;
  border: 1px solid var(--jc-line-200); border-top: 4px solid var(--dest-primary, var(--jc-color-primary));
  border-radius: var(--jc-radius-md); padding: 1rem 1.1rem; box-shadow: var(--jc-shadow-md);
  color: var(--jc-color-text);
}
.pack-card:hover { text-decoration: none; border-color: var(--dest-secondary, var(--jc-gold-400)); }
.pack-card:focus-visible { outline: 3px solid var(--dest-primary, var(--jc-color-primary)); outline-offset: 3px; }
.pack-dest-art { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: var(--jc-radius-sm); margin-bottom: .7rem; background: var(--jc-line-200); }
.pack-kind { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--jc-color-primary); margin: 0; }
.pack-card h3 { margin: .3rem 0 .35rem; color: var(--jc-color-heading); }
.pack-sub { font-size: .85rem; color: var(--ink-soft, #6b7280); }
.pack-price { font-weight: 800; color: var(--jc-color-heading); margin: .5rem 0 0; }
.pack-price span { font-weight: 600; font-size: .8rem; color: var(--jc-fern-700, #2D6A4F); }

/* product page */
.product-hero {
  padding-block: 2.2rem 1.2rem; border-bottom: 4px solid var(--dest-secondary, var(--jc-gold-400));
}
.product-hero .eyebrow { color: var(--jc-color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin: 0; }
.product-hero h1 { color: var(--jc-color-heading); margin: .35rem 0 .4rem; }
.product-hero .lede { max-width: 55ch; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; padding-block: 1.5rem 2.5rem; }
.product-main .includes { padding-left: 1.1rem; }
.product-main .includes li { margin: .3rem 0; }
.buy-box {
  position: sticky; top: 5.5rem; background: var(--jc-color-surface);
  border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg);
  padding: 1.1rem 1.2rem; box-shadow: var(--jc-shadow-md);
}
.buy-box .price { margin: 0 0 .7rem; }
.buy-note { font-size: .8rem; color: var(--ink-soft, #6b7280); margin: .5rem 0 0; }
.buy-path { border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-md); padding: .9rem 1rem; margin-block: .8rem; max-width: 46rem; }
.support-card h3 { color: var(--jc-color-heading); }
.support-src { font-size: .78rem; color: var(--ink-soft, #6b7280); margin: .5rem 0 0; }

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; }
  .buy-box { position: static; }
}

/* ==== JT-18 digital products: shop hub, audiobook, art, checkout ==== */
.shop-type-head { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--jc-line-200); color: var(--jc-color-heading); }
.shop-type-head .count { font-weight: 600; font-size: .9rem; color: var(--ink-soft, #6b7280); }
.pack-art { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--jc-radius-sm); margin-bottom: .7rem; background: var(--jc-line-200); }

.audiobook-feature {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.6rem;
  align-items: start; background: var(--jc-color-surface);
  border: 1px solid var(--jc-line-200); border-radius: var(--jc-radius-lg);
  padding: 1.4rem; box-shadow: var(--jc-shadow-md);
}
.audiobook-feature img { width: 100%; height: auto; border-radius: var(--jc-radius-md); }
.audiobook-feature .lede { margin-top: 0; }
@media (max-width: 720px) { .audiobook-feature { grid-template-columns: 1fr; } }

.audiobook-hero { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 2rem; align-items: start; padding-block: 2rem 1rem; }
.audiobook-hero img { width: 100%; height: auto; border-radius: var(--jc-radius-lg); box-shadow: var(--jc-shadow-md); }
@media (max-width: 820px) { .audiobook-hero { grid-template-columns: 1fr; } }

.chapter-list { list-style: none; padding: 0; }
.chapter-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 300px;
  gap: 1rem; align-items: center;
  padding: .55rem .2rem; border-bottom: 1px solid var(--jc-line-200);
}
.chapter-row:last-child { border-bottom: 0; }
.chapter-title { font-weight: 600; color: var(--jc-color-heading); }
.chapter-dur { font-variant-numeric: tabular-nums; color: var(--ink-soft, #6b7280); }
.chapter-row audio { width: 100%; height: 36px; }
@media (max-width: 720px) { .chapter-row { grid-template-columns: 1fr; gap: .2rem; } }

.art-hero { width: 100%; height: auto; border-radius: var(--jc-radius-md); border: 1px solid var(--jc-line-200); }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding-block: 1rem 2.5rem; }
.checkout-grid .card h2 { color: var(--jc-color-heading); }
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }

/* Yard-Verified directory (JT-14) — tier badges, listing cards, queue */
.st-yard { background: #E3F2E7; color: #1E5B34; }
.st-research { background: #DFEEF6; color: #0E5A8A; }
.st-paid { background: #FCF1CC; color: #7A5A00; }
.listing-card .listing-blurb { color: var(--jc-color-text); font-size: 0.92rem; margin: 0.35rem 0 0; }
.queue-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.queue-list li { border-top: 1px solid var(--jc-line-200); padding: 0.5rem 0; }
.queue-list li:first-child { border-top: 0; }
.queue-list code { background: var(--jc-sand-50); border-radius: 6px; padding: 0.1rem 0.4rem; font-size: 0.82rem; }

/* == Jamaica identity layer (JT-06 brand refresh, 2026-11-24) =============
   Dosage rule: one saturated color moment per screen region, motif kit
   (palm / pepperpot / flag) used sparingly, professional international
   tone. All motifs are original Jamaica Compass artwork. */

/* Home hero: real Caribbean-teal gradient (was sand-to-pale tint), gold
   accent rule, palm watermark. White type now sits on true teal. */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0E7C86 0%, #0A616B 48%, #075058 100%);
  padding-block: 4rem 3.5rem;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 340px;
  height: 396px;
  background: url("../assets/brand/palm-silhouette.svg") no-repeat bottom right;
  background-size: contain;
  color: #ffffff;
  opacity: 0.14;
  pointer-events: none;
}
/* edge fade so the watermark never cuts text columns */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,80,88,0.9) 34%, rgba(7,80,88,0) 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #ffffff; }
.hero p.lede { color: rgba(255,255,255,0.92); }
.hero .eyebrow { color: var(--jc-gold-400); }
.hero .btn-secondary { color: #ffffff; border-color: rgba(255,255,255,0.85); }
.hero .btn-secondary:hover { color: #0B2545; background: #ffffff; }
/* small true-colour flag chip before the eyebrow line */
.hero .eyebrow .flag-chip {
  display: inline-block;
  width: 23px;
  height: 15px;
  border-radius: 2px;
  vertical-align: -2px;
  margin-right: 0.55rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

/* Section headings: short gold underline bar (one per heading, quiet) */
.container > h2, .dest-next h2, .dest-desk-destinations h2 {
  position: relative;
  padding-bottom: 0.35rem;
}
.container > h2::after, .dest-next h2::after, .dest-desk-destinations h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2D6A4F 0 34%, #F2B705 34% 67%, #0B2545 67% 100%);
}
@media (max-width: 760px) {
  .hero::after { width: 210px; height: 245px; right: -50px; }
}

/* Destination cards: card art leads, body stays editorial */
.dest-card { border-top-width: 0; padding: 0; overflow: hidden; }
.dest-card .dest-card-art {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center 30%;
  border-bottom: 3px solid var(--dest-accent, var(--jc-color-primary));
  background: var(--jc-sand-50);
}
.dest-card .dest-card-body { padding: 0.85rem 1rem 1rem; }
.dest-card h3 { margin: 0 0 0.3rem; }
.dest-card .dest-badges { margin: 0 0 0.35rem; }
.dest-card:hover { transform: translateY(-2px); transition: transform 0.15s ease; box-shadow: 0 6px 18px rgba(11,37,69,0.14); }

/* Destination + desk heroes: dark overlay keeps white type legible on
   every colorway (fixes pale-secondaries washing to white). */
.dest-hero, .desk-hero { position: relative; overflow: hidden; }
.dest-hero::before, .desk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,37,69,0.62) 0%, rgba(11,37,69,0.28) 55%, rgba(11,37,69,0.45) 100%);
  pointer-events: none;
}
.dest-hero .container, .desk-hero .container { position: relative; z-index: 1; }
/* palm watermark on hub + desk heroes, tinted to the colorway */
.dest-hero::after, .desk-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 240px;
  height: 280px;
  background: url("../assets/brand/palm-silhouette.svg") no-repeat bottom right;
  background-size: contain;
  color: #ffffff;
  opacity: 0.12;
  pointer-events: none;
}
@media (max-width: 760px) {
  .dest-hero::after, .desk-hero::after { width: 140px; height: 163px; right: -30px; }
}
/* gold saltire tick under desk-hero titles (one per hero) */
.desk-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.9rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #2D6A4F 0 34%, #F2B705 34% 67%, #F6F1E7 67% 100%);
}

/* Footer: thin flag ribbon along the top edge (the one flag moment per page) */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg,
    #009B3A 0 22%, #FED100 22% 30%, #000000 30% 50%,
    #FED100 50% 58%, #009B3A 58% 80%, #FED100 80% 88%, #000000 88% 100%);
}
/* pepperpot mark beside the footer wordmark */
.footer-brand { position: relative; }
.footer-brand h2 { display: flex; align-items: center; gap: 0.55rem; }
.footer-brand h2 img {
  width: 26px;
  height: 26px;
  color: var(--jc-gold-400);
  flex: none;
}

/* Dark mode: keep the night palette, but hold the Jamaica accents -
   heading underline bars and the footer ribbon already carry gold/fern,
   heroes and card art are colorway-driven and unaffected by the media
   query, so dark mode keeps its identity too. */
@media (prefers-color-scheme: dark) {
  .container > h2::after, .dest-next h2::after, .dest-desk-destinations h2::after {
    background: linear-gradient(90deg, #3FB8C4 0 34%, #F2B705 34% 67%, #6FCBD4 67% 100%);
  }
  .dest-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
}
