/* Enter Jamaica C5 — bold tropical system.
   Ink black + Jamaican green + gold. Heavy grotesk display, generous cards,
   a saltire diagonal borrowed from the flag as a recurring accent.
   Deliberately unlike the sibling c5-form-jamaica site. */

:root {
  --ink: #0B0B0B;
  --ink-2: #1c1c1c;
  --green: #009B3A;
  --green-d: #007A2E;
  --gold: #FFB915;
  --gold-d: #E39A00;
  --sand: #FBF7EE;
  --paper: #ffffff;
  --line: #e7e2d6;
  --muted: #5c5750;
  --wrap: 1140px;
  --read: 720px;
  --r: 16px;
  --shadow: 0 10px 30px rgba(11,11,11,.09);
  --font: "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-d); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--read { max-width: var(--read); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.kicker {
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-d); margin: 0 0 .8em;
}
.kicker--light { color: var(--gold); }

.head { position: relative; padding-top: 14px; margin-bottom: 1.1em; }
.head::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 5px; background: var(--gold); border-radius: 3px; }
.head__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.morelink { font-weight: 700; text-decoration: none; white-space: nowrap; }
.morelink:hover { text-decoration: underline; }

/* ---------- strip + header ---------- */
.strip { background: var(--ink); color: #efece4; font-size: .78rem; }
.strip__row { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.strip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(255,185,21,.2); }

.site { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__mark svg { display: block; border-radius: 9px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name { font-weight: 800; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand__name b { color: var(--green); }
.brand__sub { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 9px; }
.nav a:hover { background: var(--sand); }
.nav__ghost { border: 1px solid var(--line); }
.nav__cta { background: var(--green); color: #fff !important; }
.nav__cta:hover { background: var(--green-d) !important; }
.nav__lang { font-weight: 700; color: var(--green-d) !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; letter-spacing: -0.01em; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-d); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--line:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }

/* ---------- hero (solid institutional masthead) ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 120% at 82% 30%, rgba(0,120,45,.42) 0%, rgba(0,120,45,0) 55%),
    linear-gradient(135deg, #0c0f0c 0%, #0a0d0a 45%, #06180d 100%);
  border-bottom: 5px solid var(--gold); }
/* tricolour rule at the very top — a restrained nod to the flag */
.hero__flag { position: absolute; top: 0; left: 0; right: 0; height: 6px; z-index: 2;
  background: linear-gradient(90deg, #0B0B0B 0 34%, var(--green) 34% 67%, var(--gold) 67% 100%); }
/* faint saltire watermark, kept well behind the text */
.hero__saltire { position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; z-index: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(45deg, transparent calc(50% - 22px), rgba(255,185,21,.14) calc(50% - 22px) calc(50% + 22px), transparent calc(50% + 22px)),
    linear-gradient(-45deg, transparent calc(50% - 22px), rgba(0,155,58,.20) calc(50% - 22px) calc(50% + 22px), transparent calc(50% + 22px)); }
.hero__inner { position: relative; z-index: 1; padding: 88px 20px 76px; max-width: 780px; }
.hero__h1 { color: #fff; text-wrap: balance; }
.hero__lead { font-size: 1.12rem; color: #d7d9d5; max-width: 620px; margin-bottom: 1.7em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.chips { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; }
.chip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-left: 3px solid var(--gold); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.chip b { color: var(--gold); font-size: 1.02rem; }
.chip span { font-size: .82rem; color: #cfd2cd; }

/* photo band under the masthead — decorative, captioned, never behind text */
.shot { position: relative; height: clamp(190px, 26vw, 320px); overflow: hidden; background: var(--ink); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.shot__credit { position: absolute; right: 12px; bottom: 10px; font-size: .68rem; letter-spacing: .04em; color: #fff; background: rgba(11,11,11,.5); padding: 3px 9px; border-radius: 6px; }

/* ---------- fact band ---------- */
.band--fact { background: var(--green); color: #fff; }
.fact { padding: 44px 20px; }
.fact__title { color: #fff; }
.fact__title { position: relative; padding-top: 14px; }
.fact__title::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 5px; background: var(--gold); border-radius: 3px; }
.fact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 8px 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.fact__row { display: flex; gap: 14px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.25); }
.fact__row dt { flex: none; width: 148px; font-weight: 800; letter-spacing: .01em; }
.fact__row dd { margin: 0; color: #f2fff6; }

/* ---------- generic sections ---------- */
.section { padding: 62px 0; }
.section--tint { background: var(--sand); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }

/* cases */
.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case a { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "key head go" "key body go"; gap: 2px 16px; align-items: center; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: var(--r); padding: 22px; transition: border-color .15s, transform .1s, box-shadow .15s; }
.case a:hover { border-left-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.case__k { grid-area: key; width: 22px; height: 22px; align-self: start; margin-top: 4px;
  background:
    linear-gradient(45deg, transparent 44%, var(--gold) 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--green) 44% 56%, transparent 56%); }
.case__h { grid-area: head; font-weight: 800; font-size: 1.12rem; }
.case__p { grid-area: body; color: var(--muted); font-size: .95rem; }
.case__go { grid-area: go; color: var(--green); font-size: 1.4rem; font-weight: 800; }

/* cards (guides) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--index { grid-template-columns: repeat(2, 1fr); }
.card a { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; overflow: hidden; transition: transform .1s, box-shadow .15s, border-color .15s; }
.card a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold); transition: width .2s ease; }
.card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8d2c4; }
.card a:hover::after { width: 100%; }
.card__num { font-weight: 800; font-size: .9rem; color: var(--green); letter-spacing: .05em; }
.card__tag { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--sand); padding: 4px 9px; border-radius: 6px; }
.card__h { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.card__p { color: var(--muted); font-size: .93rem; }
.card__meta { margin-top: auto; font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding-top: 8px; }

/* prose */
.prose { font-size: 1.06rem; }
.prose > h2 { margin-top: 1.5em; position: relative; padding-top: 12px; }
.prose > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 4px; background: var(--green); border-radius: 3px; }
.prose > h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--green-d); text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 5px solid var(--gold); background: var(--sand); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--sand); font-weight: 800; }

/* faq */
.faq { border-top: 1px solid var(--line); margin: 8px 0 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--green); transition: transform .15s; }
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding: 0 0 18px; color: var(--muted); }
.faq__a p { margin: 0; }

/* cta box */
.cta-box { margin-top: 32px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-box strong { font-size: 1.24rem; display: block; }
.cta-box p { margin: 4px 0 0; color: #cfcbc2; font-size: .92rem; max-width: 46ch; }

/* page head */
.page-head { padding: 56px 0 8px; background: linear-gradient(var(--sand), var(--paper)); }
.page-head__lead { font-size: 1.1rem; color: var(--muted); }

/* doc / article */
.doc { padding-top: 40px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--green-d); text-decoration: none; }
.doc__head { border-bottom: 3px solid var(--ink); padding-bottom: 22px; margin-bottom: 30px; }
.doc__lead { font-size: 1.14rem; color: var(--muted); margin-bottom: .6em; }
.doc__meta { font-size: .84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.doc__faq { margin-top: 40px; }
.doc__faq h2 { position: relative; padding-top: 12px; }
.doc__faq h2::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 4px; background: var(--green); border-radius: 3px; }
.doc__back { margin-top: 24px; font-weight: 700; }
.doc__back a { text-decoration: none; }

/* form card */
.formcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.formcard__note { margin: 18px 0 0; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #cfcbc2; padding: 56px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.foot__name { color: #fff; font-size: 1.15rem; display: inline-block; margin-bottom: 12px; }
.foot__name b { color: var(--gold); }
.foot__about p { font-size: .92rem; max-width: 44ch; }
.foot__official a { color: var(--gold); }
.foot__col h2 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: 9px; }
.foot__col a { color: #cfcbc2; text-decoration: none; font-size: .93rem; }
.foot__col a:hover { color: var(--gold); }
.foot__base { border-top: 1px solid #2a2a2a; margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #8f8b83; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__ghost { display: none; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .fact__grid, .steps, .cases, .cards, .cards--index { grid-template-columns: 1fr; }
  .fact__row dt { width: 130px; }
  .hero__inner { padding: 56px 20px 48px; }
  .hero__saltire { display: none; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .fact__row { flex-direction: column; gap: 2px; }
  .fact__row dt { width: auto; }
}
