:root {
  --green-950: #002d1a;
  --green-900: #003d24;
  --green-800: #005c35;
  --green-700: #007a45;
  --green-600: #0a9154;
  --gold-500: #d6a62b;
  --gold-400: #e7c15c;
  --gold-100: #fff4cf;
  --ink: #121d18;
  --muted: #617068;
  --line: #dfe7e2;
  --paper: #ffffff;
  --canvas: #eef5f1;
  --shadow: 0 14px 40px rgba(0, 53, 31, .14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(26, 139, 83, .22), transparent 28rem),
    linear-gradient(145deg, #002c19, #001b10);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.page-frame {
  width: min(1480px, calc(100% - 40px));
  min-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.site-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 210px;
  align-items: center;
  min-height: 82px;
  padding: 10px 28px;
  border-bottom: 1px solid #e9efeb;
  background: rgba(255, 255, 255, .97);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 184px; height: auto; }
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
}
.main-nav a {
  position: relative;
  padding: 29px 0 26px;
  color: #1c2922;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--green-700);
  content: "";
  opacity: 0;
  transform: scaleX(.3);
  transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-800); }
.main-nav a:hover::after, .main-nav a.active::after { opacity: 1; transform: scaleX(1); }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-green { border-color: #00683b; background: linear-gradient(180deg, #0b8650, #005b34); color: white; box-shadow: 0 8px 18px rgba(0, 91, 52, .22); }
.button-gold { border-color: #a66f08; background: linear-gradient(180deg, #f0ce70, #c79016); color: #18300f; box-shadow: 0 8px 18px rgba(164, 111, 8, .25); }
.button-light { border-color: #789b88; background: rgba(255, 255, 255, .88); color: var(--green-900); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--ink); }

.flash { margin: 14px 28px 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.flash.success { border: 1px solid #8cc7a6; background: #e7f7ee; color: #07592f; }
.flash.error { border: 1px solid #ef9b9b; background: #fff0f0; color: #9d1d1d; }

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 550px);
  grid-template-rows: minmax(360px, auto) 100px;
  min-height: 565px;
  isolation: isolate;
}
.hero-picture, .hero-picture::after, .hero-shade {
  position: absolute;
  inset: 0;
}
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 27%, rgba(255,255,255,.08) 56%, rgba(0,77,44,.46) 100%),
    linear-gradient(0deg, rgba(0,55,31,.32), transparent 58%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 590px;
  padding: 42px 28px 42px 70px;
}
.hero-copy h1 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -3px; }
.hero-copy h1 span, .hero-copy h1 strong { display: block; }
.hero-copy h1 span { color: var(--green-950); }
.hero-copy h1 strong { margin-top: 8px; color: var(--gold-500); font-weight: 750; }
.hero-copy p { margin: 20px 0 24px; font-size: 18px; font-weight: 550; }
.hero-buttons { display: flex; gap: 14px; }
.hero-copy > small { display: block; margin-top: 26px; color: #345347; font-weight: 650; }

.latest-card {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(520px, calc(100% - 34px));
  margin: 24px 34px 24px 0;
  overflow: hidden;
  border: 1px solid #438363;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(231,193,92,.14), transparent 32%),
    linear-gradient(145deg, #075632, #002f1c);
  color: white;
  box-shadow: 0 22px 45px rgba(0, 37, 21, .32);
}
.latest-card::before { position: absolute; inset: 0; border: 1px solid rgba(238,205,113,.28); border-radius: 22px; content: ""; pointer-events: none; }
.card-kicker {
  display: table;
  min-width: 190px;
  margin: -1px auto 14px;
  padding: 7px 22px;
  border-radius: 0 0 16px 16px;
  background: #0a482c;
  color: #e9f6ef;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}
.latest-card header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 28px; }
.latest-card header > div { display: flex; align-items: center; gap: 10px; }
.latest-card header i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--gold-400); border-radius: 50%; color: var(--gold-400); font-style: normal; }
.latest-card header strong { text-transform: uppercase; }
.latest-card header small { display: grid; gap: 3px; color: #d8e8df; text-align: right; }
.four-balls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 24px 28px 15px; }
.four-balls b {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid rgba(255,255,255,.6);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, white, #f7f3e8 55%, #adbaaf);
  color: #111a15;
  box-shadow: inset 0 -8px 12px rgba(0,0,0,.14), 0 8px 15px rgba(0,0,0,.25);
  font-size: clamp(28px, 3vw, 44px);
}
.four-balls b.bonus { border-color: #f1d36f; background: radial-gradient(circle at 35% 25%, #fff7c7, #e9b83a 58%, #9a6302); }
.four-digit-label { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 28px 18px; color: #d9e8e0; }
.four-digit-label span { font-size: 13px; text-transform: uppercase; }
.four-digit-label strong { color: #f3ce62; font-size: 24px; letter-spacing: .16em; }
.latest-card > a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-top: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.13); font-weight: 750; text-decoration: none; }

.next-strip {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 190px 1.35fr 1fr 190px;
  align-items: center;
  gap: 24px;
  margin: 0 64px 18px;
  padding: 15px 22px;
  border: 1px solid rgba(238,205,113,.45);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(0,62,36,.96), rgba(0,83,46,.94));
  color: white;
  box-shadow: 0 14px 30px rgba(0,49,28,.26);
}
.next-title { display: flex; align-items: center; gap: 13px; }
.next-title i { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--gold-400); border-radius: 50%; color: var(--gold-400); font-size: 27px; font-style: normal; }
.next-title span { display: grid; }
.next-title small { color: #cde1d6; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.next-title strong { font-size: 15px; text-transform: uppercase; }
.countdown { display: grid; grid-template-columns: repeat(7, auto); align-items: center; justify-content: center; gap: 12px; }
.countdown > span { display: grid; min-width: 56px; text-align: center; }
.countdown b { font-size: 26px; font-variant-numeric: tabular-nums; }
.countdown small { color: #c8ddd2; font-size: 9px; text-transform: uppercase; }
.countdown > i { color: #9fc1af; font-style: normal; font-weight: 800; }
.next-date { display: grid; gap: 3px; font-size: 12px; }
.next-date strong { color: var(--gold-400); font-size: 15px; }

.home-section { padding: 24px 64px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: 21px; }
.section-heading a { color: var(--green-800); font-size: 13px; font-weight: 750; text-decoration: none; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 6px 18px rgba(15,54,35,.08); }
.game-banner {
  display: flex;
  min-height: 95px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--game);
  background: linear-gradient(145deg, color-mix(in srgb, var(--game) 85%, #112 15%), color-mix(in srgb, var(--game) 62%, #041c13 38%));
  color: white;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0,0,0,.35);
}
.game-banner span { color: #ffe17a; font-size: 24px; }
.game-banner strong { font-size: 17px; font-style: italic; line-height: 1.05; text-transform: uppercase; }
.game-result { position: relative; display: grid; justify-items: center; padding: 12px; text-decoration: none; }
.game-result small { color: var(--muted); font-size: 10px; }
.game-result b { color: var(--green-800); font-size: 20px; letter-spacing: .08em; }
.game-result span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 0; }
.info-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 17px rgba(0,50,29,.07); }
.info-card .section-heading { margin-bottom: 8px; }
.info-card .section-heading h2 { font-size: 18px; }
.info-card .section-heading a { font-size: 10px; }
.mini-list, .schedule-list { display: grid; }
.mini-list > a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf1ee;
  text-decoration: none;
}
.mini-list i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--green-800); color: var(--gold-400); font-style: normal; }
.mini-list span { display: grid; }
.mini-list span strong { font-size: 11px; }
.mini-list span b { color: var(--green-800); font-size: 12px; }
.mini-list span small { color: var(--muted); font-size: 9px; }
.mini-list em { font-style: normal; }
.news-list i { border-radius: 8px; background: #e7f4ed; color: var(--green-800); }
.schedule-list > a { display: grid; grid-template-columns: 25px 1.4fr 1fr auto; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid #edf1ee; font-size: 11px; text-decoration: none; }
.schedule-list i { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: white; font-style: normal; }
.schedule-list small { color: var(--muted); }
.schedule-list time { font-weight: 700; }
.empty-copy { margin: 18px 0; color: var(--muted); text-align: center; }

.island-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin: 0 64px 30px; padding: 19px 24px; border-radius: 14px; background: linear-gradient(120deg, var(--green-900), #00683c); color: white; }
.island-cta > span { font-size: 40px; }
.island-cta h2 { margin: 0; font-size: 20px; }
.island-cta p { margin: 3px 0 0; color: #d2e4da; font-size: 13px; }

.inner-main { min-height: 620px; padding-bottom: 48px; background: var(--canvas); }
.inner-hero {
  padding: 48px max(30px, 6vw);
  background:
    linear-gradient(90deg, rgba(0,61,36,.94), rgba(0,96,54,.75)),
    url("../images/jamaica-hero-desktop.webp") center 48% / cover;
  color: white;
}
.inner-hero p { margin: 0 0 6px; color: var(--gold-400); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.inner-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; }
.inner-hero span { display: block; margin-top: 10px; color: #d8e8df; }
.inner-card, .news-grid { width: min(1260px, calc(100% - 48px)); margin: 28px auto 0; }
.inner-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.lead { max-width: 860px; color: var(--muted); }
.full-games { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.full-games .game-details { display: grid; gap: 10px; padding: 18px; }
.full-games .game-details p { margin: 0; min-height: 48px; color: var(--muted); }
.full-games .game-details small { color: var(--muted); }
.full-games .game-details b { color: var(--green-800); font-size: 30px; letter-spacing: .12em; }

.filters { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 14px; margin-bottom: 26px; }
.filters label, .contact-form label { display: grid; gap: 6px; }
.filters label span, .contact-form label span { color: #3f5148; font-size: 12px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #c9d7cf; border-radius: 8px; background: white; color: var(--ink); outline: none; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(0,122,69,.12); }
.result-list { display: grid; gap: 14px; }
.result-list article { display: grid; grid-template-columns: 1.1fr 1.5fr; align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; }
.result-list header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-list header span { display: grid; }
.result-list header small { color: var(--muted); }
.result-list header i { padding: 4px 8px; border-radius: 20px; background: #e4f5ec; color: var(--green-800); font-size: 10px; font-style: normal; font-weight: 800; }
.result-list article > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.result-list article > div span { display: grid; justify-items: center; padding: 10px; border-radius: 9px; background: #f3f7f4; }
.result-list article > div small { color: var(--muted); }
.result-list article > div b { color: var(--green-800); font-size: 24px; letter-spacing: .08em; }

.winner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.winner-grid article { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--game); border-radius: 13px; text-align: center; }
.winner-grid article > i { display: grid; width: 42px; height: 42px; margin: auto; place-items: center; border-radius: 50%; background: #edf6f1; background: color-mix(in srgb, var(--game) 14%, white 86%); color: var(--game); font-style: normal; }
.winner-grid h2 { margin: 12px 0 2px; font-size: 18px; }
.winner-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.winner-grid strong { display: block; margin: 9px 0; color: var(--green-800); font-size: 36px; letter-spacing: .14em; }
.winner-grid small { display: block; color: var(--muted); }
.winner-grid a { display: inline-block; margin-top: 14px; color: var(--green-800); font-size: 12px; font-weight: 750; text-decoration: none; }

.schedule-page { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.schedule-page article { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.schedule-page article > i { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: white; font-size: 22px; font-style: normal; }
.schedule-page h2, .schedule-page p { margin: 0; }
.schedule-page p, .schedule-page small { color: var(--muted); }
.schedule-page time { display: grid; color: var(--green-800); font-size: 21px; font-weight: 800; text-align: right; }
.schedule-page time small { font-size: 10px; }

.stats-chart { display: grid; grid-template-columns: repeat(10, 1fr); align-items: end; gap: 10px; min-height: 330px; padding: 30px 12px 0; border-bottom: 1px solid var(--line); }
.stats-chart span { display: grid; justify-items: center; gap: 6px; }
.stats-chart i { width: min(46px, 80%); min-height: 8px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--gold-400), var(--green-700)); }
.stats-chart b { font-size: 17px; }
.stats-chart small { color: var(--muted); }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-grid .inner-card { width: auto; margin: 0; }
.news-grid time { color: var(--green-700); font-size: 12px; font-weight: 750; }
.news-grid h2 { margin: 8px 0; }
.news-grid p { color: var(--muted); }
details { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
summary { color: var(--green-800); font-weight: 750; cursor: pointer; }
details > div { margin-top: 12px; color: #43534b; }

.prose > h2 { max-width: 800px; margin: 0 0 16px; font-size: clamp(28px, 4vw, 42px); color: var(--green-950); }
.prose > p { max-width: 900px; color: #4f6057; font-size: 17px; line-height: 1.8; }
.eyebrow { margin: 0 0 8px; color: var(--gold-500); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.values-grid article { padding: 20px; border-radius: 12px; background: #f0f7f3; }
.values-grid article > b { color: var(--gold-500); font-size: 28px; }
.values-grid h3 { margin: 8px 0 5px; }
.values-grid p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; width: min(1120px, calc(100% - 48px)); margin: 34px auto; }
.contact-layout > article { padding: 34px 0; }
.contact-layout h2 { margin: 0 0 12px; color: var(--green-950); font-size: 38px; }
.contact-layout article p { color: var(--muted); }
.contact-layout article a { color: var(--green-800); font-weight: 750; }
.contact-form { width: auto; margin: 0; display: grid; gap: 15px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px 64px;
  background: var(--green-950);
  color: #d9e9e0;
}
.footer-brand img { width: 170px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.site-footer > div p { max-width: 430px; margin: 10px 0 0; color: #abc7b8; font-size: 12px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 24px; }
.site-footer nav a { color: #d8e8df; font-size: 12px; text-decoration: none; }
.site-footer > p { color: #91b29f; font-size: 11px; text-align: right; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 180px 1fr 180px; padding-inline: 20px; }
  .brand img { width: 160px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .home-hero { grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr); }
  .hero-copy { padding-left: 42px; }
  .hero-copy h1 { font-size: 53px; }
  .next-strip { margin-inline: 36px; grid-template-columns: 170px 1.3fr .9fr 165px; gap: 14px; }
  .home-section { padding-inline: 36px; }
  .island-cta { margin-inline: 36px; }
  .game-grid { gap: 11px; }
}

@media (max-width: 960px) {
  .page-frame { width: min(100% - 20px, 900px); margin: 10px auto; min-height: calc(100vh - 20px); }
  .site-header { grid-template-columns: 44px 1fr 44px; }
  .menu-button { display: block; grid-column: 1; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 12px; border-radius: 8px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: #eaf5ef; }
  .home-hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-bottom: 18px; }
  .hero-shade { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.3) 48%, rgba(0,58,33,.72)); }
  .hero-copy { max-width: 630px; padding: 60px 42px 32px; }
  .latest-card { justify-self: center; width: min(600px, calc(100% - 48px)); margin: 0 24px 22px; }
  .next-strip { grid-column: 1; grid-row: auto; grid-template-columns: 1fr 1.4fr; margin: 0 24px; }
  .next-date { justify-self: start; }
  .next-strip .button { justify-self: stretch; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 28px 36px; }
  .site-footer > p { grid-column: 1 / -1; text-align: left; }
  .full-games { grid-template-columns: repeat(2, 1fr); }
  .winner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { background: white; }
  .page-frame { width: 100%; margin: 0; min-height: 100vh; border-radius: 0; box-shadow: none; }
  .site-header { min-height: 70px; padding: 7px 14px; }
  .brand img { width: 150px; }
  .home-hero { min-height: 0; padding-bottom: 12px; }
  .hero-picture { height: 290px; }
  .hero-picture img { object-position: center 57%; }
  .hero-shade { height: 290px; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1) 50%, rgba(255,255,255,.86)); }
  .hero-copy { min-height: 290px; padding: 34px 22px 24px; text-align: center; }
  .hero-copy h1 { font-size: 36px; line-height: .97; letter-spacing: -1.5px; }
  .hero-copy h1 strong { color: #b88713; }
  .hero-copy p { margin: 12px auto 16px; max-width: 300px; font-size: 13px; }
  .hero-buttons { justify-content: center; }
  .hero-copy > small { display: none; }
  .latest-card { width: calc(100% - 28px); margin: 0 14px 12px; border-radius: 18px; }
  .latest-card header { padding-inline: 15px; }
  .latest-card header strong { font-size: 12px; }
  .latest-card header small { font-size: 9px; }
  .four-balls { gap: 7px; margin: 18px 13px 12px; }
  .four-balls b { font-size: 27px; border-width: 2px; }
  .four-digit-label { margin-bottom: 12px; }
  .four-digit-label strong { font-size: 18px; }
  .next-strip { grid-template-columns: 1fr; gap: 15px; margin: 0 14px; padding: 18px; }
  .next-title { justify-content: center; }
  .countdown { gap: 7px; }
  .countdown > span { min-width: 45px; }
  .countdown b { font-size: 22px; }
  .next-date { justify-self: center; text-align: center; }
  .home-section { padding: 20px 14px; }
  .section-heading h2 { font-size: 18px; }
  .section-heading a { font-size: 11px; }
  .games-section .game-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
  }
  .games-section .game-card { min-width: 150px; scroll-snap-align: start; }
  .game-banner { min-height: 82px; }
  .info-grid { gap: 14px; padding-top: 0; }
  .island-cta { grid-template-columns: auto 1fr; gap: 13px; margin: 0 14px 22px; padding: 18px; }
  .island-cta .button { grid-column: 1 / -1; }
  .inner-hero { padding: 38px 20px; background-image: linear-gradient(90deg, rgba(0,61,36,.9), rgba(0,96,54,.68)), url("../images/jamaica-hero-mobile.webp"); }
  .inner-card, .news-grid { width: calc(100% - 28px); margin-top: 18px; }
  .full-games, .winner-grid, .schedule-page, .news-grid, .values-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .result-list article { grid-template-columns: 1fr; }
  .result-list article > div b { font-size: 19px; }
  .schedule-page article { grid-template-columns: 46px 1fr; }
  .schedule-page time { grid-column: 2; text-align: left; }
  .stats-chart { gap: 3px; padding-inline: 0; min-height: 280px; }
  .stats-chart i { width: 70%; }
  .stats-chart small { font-size: 9px; }
  .contact-layout { grid-template-columns: 1fr; width: calc(100% - 28px); margin: 18px auto; gap: 0; }
  .contact-layout > article { padding: 20px 7px; }
  .contact-layout h2 { font-size: 30px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px; }
  .site-footer > p { grid-column: auto; }
  .site-footer nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 390px) {
  .site-header { grid-template-columns: 44px 1fr 44px; }
  .brand img { width: 132px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-buttons .button { padding-inline: 17px; }
  .countdown { gap: 4px; }
  .countdown > span { min-width: 39px; }
  .countdown b { font-size: 20px; }
  .four-balls b { font-size: 23px; }
  .site-footer nav { grid-template-columns: repeat(2, 1fr); }
}

/* Reference pixel-match v1.2
   The home page follows the supplied desktop and mobile composition while
   preserving one live result/countdown DOM for reliable polling updates. */
.notice-button,
.mobile-quick-links { display: none; }
.home-page .site-footer { display: none; }

.page-frame {
  width: min(1440px, calc(100% - 40px));
  border-radius: 18px;
}
.site-header {
  isolation: isolate;
  grid-template-columns: 190px minmax(0, 1fr) 190px;
  min-height: 75px;
  padding: 8px 38px;
}
.site-header::before,
.site-header::after {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}
.site-header::before {
  width: 116px;
  height: 75px;
  background: linear-gradient(145deg, #00834a, #004f2d 72%);
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 8% 100%);
}
.site-header::after {
  width: 108px;
  height: 75px;
  border-left: 3px solid #deb63e;
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 8% 100%);
  transform: translateX(7px);
}
.brand,
.main-nav,
.menu-button,
.notice-button { z-index: 1; }
.brand img { width: 143px; }
.main-nav { gap: clamp(18px, 2.2vw, 34px); }
.main-nav a {
  padding: 26px 0 23px;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a span { margin-left: 4px; font-size: 12px; }
.main-nav a::after { bottom: 17px; }
.home-hero {
  grid-template-columns: 44% 56%;
  grid-template-rows: 315px 78px;
  min-height: 393px;
  padding: 0;
}
.hero-picture img { object-position: center 53%; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 25%, rgba(255,255,255,.46) 41%, rgba(255,255,255,.04) 59%, rgba(0,72,41,.22) 100%),
    linear-gradient(0deg, rgba(0,73,41,.28), transparent 58%);
}
.hero-ribbons {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 50%;
  height: 315px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 28%, rgba(255,255,255,.07), transparent 26%),
    linear-gradient(145deg, rgba(0,122,69,.97), rgba(0,62,36,.98));
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero-ribbons::before,
.hero-ribbons::after,
.hero-ribbons i,
.hero-ribbons b {
  position: absolute;
  display: block;
  content: "";
  transform: rotate(-43deg);
  transform-origin: center;
}
.hero-ribbons::before {
  right: 20%;
  bottom: 25px;
  width: 570px;
  height: 28px;
  background: linear-gradient(180deg, #f7da71, #ba7a08);
  box-shadow: 0 0 0 2px rgba(255,238,159,.65);
}
.hero-ribbons::after {
  right: 17%;
  bottom: 4px;
  width: 580px;
  height: 5px;
  background: #f7d560;
}
.hero-ribbons i {
  right: 8%;
  bottom: 57px;
  width: 500px;
  height: 7px;
  background: rgba(255,223,112,.92);
}
.hero-ribbons b {
  right: -2%;
  bottom: 92px;
  width: 430px;
  height: 2px;
  background: rgba(255,233,153,.58);
}
.hero-copy {
  align-self: center;
  max-width: 610px;
  padding: 34px 20px 28px 56px;
}
.hero-copy h1 {
  font-size: clamp(46px, 4vw, 54px);
  line-height: 1.01;
  letter-spacing: -2.4px;
}
.hero-copy h1 strong { margin-top: 2px; }
.hero-copy p { margin: 13px 0 18px; font-size: 15px; }
.hero-copy .button { min-width: 130px; min-height: 38px; padding: 7px 18px; font-size: 13px; }
.hero-copy > small { margin-top: 24px; font-size: 11px; }

.latest-card {
  align-self: start;
  justify-self: start;
  width: min(450px, calc(100% - 30px));
  min-height: 247px;
  margin: 26px 0 0 12px;
  border-radius: 16px;
}
.latest-card::before { inset: 11px; border-radius: 13px; }
.card-kicker {
  min-width: 168px;
  margin: -1px auto 8px;
  padding: 5px 19px;
  border-radius: 0 0 14px 14px;
  font-size: 10px;
}
.latest-card header { min-height: 34px; padding: 0 26px; }
.latest-card header i { width: 28px; height: 28px; font-size: 13px; }
.latest-card header strong { font-size: 13px; }
.latest-card header small { font-size: 9px; }
.four-balls {
  grid-template-columns: repeat(4, 56px);
  justify-content: center;
  gap: 18px;
  margin: 14px 24px 8px;
}
.four-balls b { width: 56px; height: 56px; font-size: 25px; }
.four-digit-label {
  display: grid;
  justify-items: center;
  gap: 0;
  margin: 0 28px 4px;
  text-align: center;
}
.four-digit-label span { font-size: 10px; font-weight: 700; }
.four-digit-label strong { font-size: 22px; line-height: 1.1; }
.latest-card > a {
  width: 202px;
  min-height: 32px;
  margin: 5px auto 0;
  padding: 5px 18px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  font-size: 12px;
}

.next-strip {
  grid-template-columns: 190px 1.25fr 1fr 180px;
  gap: 20px;
  height: 77px;
  min-height: 77px;
  margin: 0 50px;
  padding: 9px 22px;
}
.next-title i { width: 43px; height: 43px; font-size: 24px; }
.countdown { gap: 7px; }
.countdown > span {
  min-width: 62px;
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.035);
}
.countdown b { font-size: 25px; line-height: 1.15; }
.next-date { font-size: 11px; }
.next-date strong { font-size: 14px; }
.next-strip .button { min-height: 39px; padding: 7px 16px; font-size: 12px; }

.home-section.games-section { padding: 16px 50px 12px; }
.games-section .section-heading { margin-bottom: 10px; }
.games-section .section-heading h2 { font-size: 18px; }
.game-grid { gap: 18px; }
.game-card { height: 129px; border-radius: 10px; }
.game-banner {
  position: relative;
  min-height: 71px;
  padding: 9px 6px;
  isolation: isolate;
}
.game-banner::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 120%, transparent 0 28px, rgba(255,255,255,.1) 29px 31px, transparent 32px),
    linear-gradient(155deg, transparent 48%, rgba(255,255,255,.09) 49%, transparent 51%);
  content: "";
}
.game-banner span { font-size: 20px; }
.game-banner strong { font-size: 16px; letter-spacing: -.02em; }
.game-result { height: 58px; padding: 7px 8px; }
.game-result b { font-size: 17px; }

.info-grid {
  height: 229px;
  gap: 18px;
  padding: 0 50px;
}
.info-card {
  height: 229px;
  padding: 14px;
  overflow: hidden;
  border-radius: 12px;
}
.info-card .section-heading h2 { font-size: 17px; }
.mini-list > a { padding: 8px 0; }
.schedule-list > a { padding: 5px 0; }
.island-cta {
  min-height: 74px;
  margin: 16px 50px 6px;
  padding: 12px 22px;
  border-radius: 11px;
}
.island-cta > span { font-size: 34px; }
.island-cta h2 { font-size: 18px; }
.island-cta .button { min-width: 160px; min-height: 38px; }

@media (max-width: 1180px) and (min-width: 961px) {
  .site-header { grid-template-columns: 160px minmax(0, 1fr) 160px; padding-inline: 24px; }
  .brand img { width: 138px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 11px; }
  .home-hero { grid-template-columns: 43% 57%; }
  .hero-copy { padding-left: 38px; }
  .hero-copy h1 { font-size: 46px; }
  .latest-card { width: min(435px, calc(100% - 22px)); margin-left: 8px; }
  .next-strip { margin-inline: 34px; grid-template-columns: 170px 1.25fr .9fr 160px; gap: 12px; }
  .home-section.games-section,
  .info-grid { padding-inline: 34px; }
  .island-cta { margin-inline: 34px; }
}

@media (max-width: 960px) and (min-width: 681px) {
  .site-header { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .site-header::before,
  .site-header::after { display: none; }
  .home-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding-bottom: 18px;
  }
  .hero-ribbons { display: none; }
  .hero-copy { min-height: 310px; padding: 56px 42px 30px; }
  .latest-card { justify-self: center; width: min(540px, calc(100% - 48px)); margin: 0 24px 20px; }
  .next-strip { width: auto; height: auto; min-height: 92px; margin: 0 24px; }
  .home-section.games-section { padding-inline: 30px; }
  .info-grid { height: auto; padding-inline: 30px; }
  .info-card { height: auto; min-height: 210px; }
  .island-cta { margin-inline: 30px; }
}

@media (max-width: 680px) {
  body { background: linear-gradient(145deg, #002c19, #001b10); }
  .page-frame {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
  }
  .site-header {
    grid-template-columns: 44px 1fr 44px;
    min-height: 72px;
    height: 72px;
    padding: 7px 14px;
  }
  .site-header::before,
  .site-header::after { display: none; }
  .menu-button { display: block; grid-column: 1; grid-row: 1; width: 40px; height: 40px; }
  .menu-button span { width: 20px; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .brand img { width: 126px; }
  .notice-button {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    color: #122219;
    text-decoration: none;
  }
  .notice-button:hover { background: #edf5f0; }
  .notice-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }
  .main-nav { z-index: 40; }

  .home-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding-bottom: 10px;
    background: #fff;
  }
  .hero-ribbons { display: none; }
  .hero-picture,
  .hero-shade { height: 164px; }
  .hero-picture img { object-position: center; }
  .hero-shade {
    background: linear-gradient(90deg, rgba(255,255,255,.38), rgba(255,255,255,.08) 48%, rgba(255,255,255,.22));
  }
  .hero-copy {
    min-height: 164px;
    max-width: none;
    padding: 24px 18px 12px;
    text-align: center;
  }
  .hero-copy h1 { font-size: 28px; line-height: .96; letter-spacing: -1px; }
  .hero-copy h1 strong { margin-top: 1px; }
  .hero-copy p { max-width: 220px; margin: 7px auto 9px; font-size: 11px; line-height: 1.3; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .button-light { display: none; }
  .hero-copy .button-green { width: 147px; min-height: 31px; padding: 4px 14px; font-size: 11px; }
  .hero-copy > small { display: none; }

  .latest-card {
    justify-self: center;
    width: calc(100% - 28px);
    height: 198px;
    min-height: 198px;
    margin: 6px 14px 10px;
    border-radius: 15px;
  }
  .latest-card::before { inset: 9px; border-radius: 12px; }
  .card-kicker { min-width: 132px; margin-bottom: 4px; padding: 3px 14px; font-size: 8px; }
  .latest-card header { min-height: 26px; padding: 0 17px; }
  .latest-card header i { width: 25px; height: 25px; }
  .latest-card header strong { font-size: 10px; }
  .latest-card header small { font-size: 7px; }
  .four-balls {
    grid-template-columns: repeat(4, 48px);
    gap: 9px;
    margin: 8px 12px 4px;
  }
  .four-balls b { width: 48px; height: 48px; font-size: 23px; }
  .four-digit-label { margin: 0 12px 2px; }
  .four-digit-label span { font-size: 8px; }
  .four-digit-label strong { font-size: 17px; }
  .latest-card > a {
    width: calc(100% - 22px);
    min-height: 27px;
    margin-top: 3px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 9px;
  }

  .next-strip {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 30px;
    gap: 6px;
    width: calc(100% - 28px);
    height: 195px;
    min-height: 195px;
    margin: 0 14px;
    padding: 12px 18px;
    border-radius: 15px;
  }
  .next-title { justify-content: center; gap: 10px; }
  .next-title i { width: 34px; height: 34px; font-size: 20px; }
  .next-title small { font-size: 8px; }
  .next-title strong { font-size: 11px; }
  .countdown { gap: 4px; }
  .countdown > span { min-width: 43px; padding: 1px 3px; }
  .countdown b { font-size: 22px; }
  .countdown small { font-size: 7px; }
  .next-date { justify-self: center; gap: 0; font-size: 9px; text-align: center; }
  .next-date strong { font-size: 12px; }
  .next-strip .button { width: 100%; min-height: 30px; padding: 4px 12px; font-size: 10px; }

  .home-section.games-section { padding: 12px 14px 10px; }
  .games-section .section-heading { margin-bottom: 8px; }
  .games-section .section-heading h2 { font-size: 14px; }
  .games-section .section-heading a { font-size: 9px; }
  .games-section .game-grid {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding: 1px 1px 5px;
    scrollbar-width: none;
  }
  .games-section .game-grid::-webkit-scrollbar { display: none; }
  .games-section .game-card {
    flex: 0 0 94px;
    min-width: 94px;
    width: 94px;
    height: 100px;
  }
  .games-section .game-banner { min-height: 54px; height: 54px; padding: 5px 3px; }
  .games-section .game-banner span { font-size: 13px; }
  .games-section .game-banner strong { font-size: 11px; }
  .games-section .game-result { height: 46px; padding: 4px; }
  .games-section .game-result small { font-size: 6px; }
  .games-section .game-result b { font-size: 13px; }
  .games-section .game-result span { right: 5px; font-size: 10px; }

  .info-grid,
  .island-cta { display: none; }
  .mobile-quick-links {
    display: grid;
    width: calc(100% - 28px);
    margin: 0 14px 16px;
    overflow: hidden;
    border: 1px solid #e3e9e5;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,50,29,.08);
  }
  .mobile-quick-links a {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    min-height: 45px;
    align-items: center;
    gap: 10px;
    padding: 0 13px;
    border-top: 1px solid #e9eeeb;
    font-size: 12px;
    text-decoration: none;
  }
  .mobile-quick-links a:first-child { border-top: 0; }
  .mobile-quick-links i { color: var(--green-700); font-size: 15px; font-style: normal; text-align: center; }
  .mobile-quick-links b { font-size: 20px; font-weight: 400; }
}

@media (max-width: 430px) {
  .page-frame {
    width: calc(100% - 28px);
    min-height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0 20px 54px rgba(0,0,0,.36);
  }
  .main-nav.open { grid-template-columns: 1fr; }
}

@media (max-width: 340px) {
  .page-frame { width: calc(100% - 16px); margin: 8px auto; border-radius: 16px; }
  .site-header { padding-inline: 8px; }
  .brand img { width: 116px; }
  .four-balls { grid-template-columns: repeat(4, 44px); gap: 6px; }
  .four-balls b { width: 44px; height: 44px; font-size: 21px; }
  .countdown > span { min-width: 38px; }
}
