:root {
  --bg: #F4F6F9;
  --surface: #ffffff;
  --surface2: #EEF1F6;
  --line: rgba(22, 38, 74, 0.10);
  --navy: #16264A;
  --navy2: #22375C;
  --ink: #16264A;
  --dim: #5A6B85;
  --faint: #93A0B5;
  --orange: #F26522;
  --orange-soft: rgba(242, 101, 34, 0.10);
  --cherry: #E63329;
  --cherry-soft: rgba(230, 51, 41, 0.10);
  --gold: #F5B542;
  --ind: #2E7CF6;
  --aus: #E0A82E;
  --odi: #2E7CF6;
  --t20: #F26522;
  --test: #C9A227;
  --league: #8B5CF6;
  --shadow: 0 4px 16px rgba(22, 38, 74, 0.07);
  --shadow-lg: 0 18px 50px rgba(22, 38, 74, 0.12);
  --r: 20px;
  --r-sm: 14px;
  --max: 1180px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Pro Rounded", "SF Compact Rounded", ui-rounded, "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: "ss01" on;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Mobile-first: base rules below target small screens. Tablet enhancements
   live in the 640px breakpoint, full desktop layout in the 981px one — see
   the bottom of this file. Nothing here should assume a wide viewport. */
.wrap { width: calc(100% - 28px); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 14px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.brand img.lockup-img { height: 34px; width: auto; display: block; object-fit: contain; background: transparent; }
.site-footer .brand img.lockup-img {
  height: 44px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
}
.brand .lockup {
  display: none; flex-direction: column; gap: 0; line-height: 1;
}
.brand .word {
  font-weight: 800; font-size: 18px; letter-spacing: -0.4px;
}
.brand .word span { color: var(--orange); }
.brand .tag {
  font-size: 9px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--faint); text-transform: uppercase; margin-top: 3px;
}
nav.desk {
  display: none; gap: 4px; flex: 1;
}
nav.desk a {
  font-size: 13.5px; font-weight: 600;
  color: var(--dim); padding: 10px 12px; border-radius: 999px;
}
nav.desk a:hover, nav.desk a.is-on { color: var(--navy); background: var(--surface2); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-ghost { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; font-weight: 700;
  min-height: 40px;
  padding: 10px 16px; font-size: 13px; letter-spacing: 0.2px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242,101,34,.28); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
}

/* Breaking + ticker */
.breaking {
  background: var(--navy);
  color: #fff;
}
.breaking-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 40px; font-size: 12.5px;
}
.kicker {
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
  color: var(--gold); white-space: nowrap;
}
.breaking p { margin: 0; color: rgba(255,255,255,.86); }

.ticker {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 10px; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none;
}
.ticker-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 176px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.t-card.is-live { border-color: rgba(230,51,41,.25); }
.t-card .row { display: flex; justify-content: space-between; gap: 8px; }
.t-card .live {
  font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--cherry);
}
.t-card .ov { font-size: 10px; color: var(--faint); }
.t-card .team { font-size: 14px; font-weight: 700; }
.t-card .score { font-size: 14px; font-weight: 600; }
.t-card .note { font-size: 10.5px; color: var(--faint); margin-top: 8px; }

/* Hero */
.hero { padding: 18px 0 8px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.lead, .board, .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.lead {
  padding: 20px 20px 22px;
  position: relative; overflow: hidden;
  min-height: 0;
  display: flex; flex-direction: column;
}
.lead::after {
  content: ""; position: absolute; right: -40px; top: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,101,34,.18), transparent 70%);
  pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.1px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--navy2); color: #fff;
}
.pill.live { background: var(--cherry); }
.pill.odi { background: var(--odi); }
.pill.t20 { background: var(--t20); }
.pill.test { background: var(--test); color: var(--navy); }
.pill.gold { background: var(--gold); color: var(--navy); }
.pill.soft { background: var(--orange-soft); color: var(--orange); }
.lead h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12; letter-spacing: -0.8px;
  margin: 14px 0 12px; font-weight: 800;
}
.lead .dek {
  font-size: 16px; color: var(--dim); max-width: 46ch; margin: 0 0 18px;
}
.lead .meta { display: flex; gap: 14px; font-size: 12px; color: var(--faint); margin-top: auto; }
.take {
  margin-top: 16px;
  background: var(--orange-soft);
  border: 1px solid rgba(242,101,34,.23);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14px; color: var(--navy);
}
.take b { color: var(--orange); font-size: 11px; letter-spacing: .8px; display: block; margin-bottom: 4px; }

.board { padding: 18px 20px 20px; position: relative; overflow: hidden; }
.board::after {
  content: ""; position: absolute; right: -30px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,101,34,.10), transparent 70%);
}
.board-top { display: flex; justify-content: space-between; align-items: center; }
.venue { font-size: 11px; color: var(--faint); }
.score-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 10px;
}
.score-row .name { font-size: 22px; font-weight: 800; }
.score-row .runs { font-size: 22px; font-weight: 800; }
.score-row.away .name, .score-row.away .runs { font-size: 18px; font-weight: 650; color: var(--dim); }
.board-meta {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 12px; color: var(--dim);
}
.board-meta .proj { color: var(--faint); font-size: 11px; }
.mini { margin-top: 14px; }
.mini h4 {
  margin: 0 0 6px; font-size: 10px; letter-spacing: .8px; color: var(--dim); font-weight: 800;
}
.mini table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini th { font-size: 10px; color: var(--faint); font-weight: 600; text-align: left; padding-bottom: 4px; }
.mini td { padding: 3px 0; color: var(--dim); }
.mini td:first-child { color: var(--navy); font-weight: 650; }
.mini .num { text-align: right; width: 32px; }
.comms {
  margin-top: 14px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 13px;
  min-height: 48px;
}
.comms .lab { font-size: 10px; font-weight: 800; letter-spacing: .8px; color: var(--cherry); }

/* Sections */
.section { padding: 28px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.2px;
}
.section-head .more { font-size: 13px; font-weight: 700; color: var(--orange); }

.news-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.story {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 220px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.story:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.story h3 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.25; }
.story p { margin: 0; font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.story .foot {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--faint); padding-top: 10px;
}
.spice { display: flex; gap: 3px; }
.chili { width: 7px; height: 14px; border-radius: 99px; background: var(--surface2); }
.chili.on { background: var(--orange); }
.chili.on:nth-child(5) { background: var(--cherry); }

.flip { cursor: pointer; }
.flip.is-hot { border-color: rgba(242,101,34,.33); }
.flip .hint { font-size: 11px; font-weight: 700; color: var(--orange); }

/* Product */
.mods {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.mod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  min-height: 180px;
}
.mod .ico { font-size: 22px; }
.mod h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 900; }
.mod p { margin: 0; font-size: 12.5px; color: var(--dim); }
.mod.dark {
  background: linear-gradient(135deg, #1A2B52, #101A34);
  color: #fff; border-color: rgba(245,181,66,.28);
}
.mod.dark p { color: rgba(255,255,255,.72); }
.mod .cta {
  display: inline-block; margin-top: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .4px;
  background: var(--gold); color: var(--navy);
  padding: 7px 10px; border-radius: 999px;
}

/* Roast desk */
.roast-desk {
  background: linear-gradient(160deg, #16264A 0%, #22375C 55%, #1A2B52 100%);
  color: #fff;
  border-radius: 22px;
  padding: 20px;
  position: relative; overflow: hidden;
}
.roast-desk::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,101,34,.35), transparent 70%);
}
.roast-grid { display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; }
.roast-desk .eyebrow { color: var(--gold); font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; }
.roast-desk h2 { margin: 6px 0 10px; font-size: clamp(22px, 5vw, 28px); letter-spacing: -0.5px; }
.roast-desk .body { font-size: 17px; line-height: 1.5; max-width: 52ch; color: rgba(255,255,255,.92); }
.reacts { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.react {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 6px 10px; font-size: 12.5px;
}
.side-list { display: flex; flex-direction: column; gap: 10px; }
.side-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 12px 14px;
}
.side-item .who { font-size: 12px; color: var(--gold); font-weight: 700; }
.side-item p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.86); }

/* App strip */
.app-strip {
  display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.phone {
  width: min(280px, 100%);
  margin: 0 auto;
  background: var(--navy);
  border-radius: 36px;
  padding: 14px 12px 20px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  min-height: 460px;
}
.phone .notch {
  width: 96px; height: 8px; background: #0d1730; border-radius: 99px; margin: 0 auto 14px;
}
.phone .ph-k { font-size: 10px; letter-spacing: 1.5px; color: var(--faint); font-weight: 800; }
.phone h3 { margin: 6px 0 12px; font-size: 22px; }
.ph-card {
  background: #fff; color: var(--navy);
  border-radius: 16px; padding: 12px; margin-bottom: 10px;
}
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.store {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; min-width: 160px;
  background: var(--surface2);
}
.store small { display: block; font-size: 10px; color: var(--dim); }
.store b { font-size: 14px; }

/* Legal / about */
.prose { max-width: 720px; }
.prose h1 { font-size: 36px; letter-spacing: -0.8px; margin: 8px 0 12px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--dim); font-size: 15.5px; line-height: 1.65; }
.prose a { color: var(--orange); font-weight: 650; }

.page-hero {
  padding: 36px 0 8px;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1px; margin: 8px 0; }
.page-hero p { color: var(--dim); font-size: 17px; max-width: 56ch; }

.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 6px; }
.contact-card a { color: var(--orange); font-weight: 700; }

/* Footer */
.site-footer {
  margin-top: 48px;
  background: var(--navy);
  color: #fff;
  padding: 40px 0 24px;
}
.foot-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.site-footer .brand .word { color: #fff; }
.site-footer .brand .word span { color: var(--orange); }
.site-footer p { color: rgba(255,255,255,.7); font-size: 13.5px; }
.site-footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 1.2px; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: rgba(255,255,255,.82); font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.legal-bar {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 28px; padding-top: 16px;
  font-size: 12px; color: rgba(255,255,255,.55);
}

/* Live page */
.live-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.match-card { padding: 16px; }

/* Drawer */
.drawer {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: rgba(16,26,52,.4);
}
.drawer.open { display: block; }
.drawer nav {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 88vw);
  background: #fff; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-lg);
}
.drawer nav a { padding: 10px 12px; border-radius: 12px; font-weight: 650; }

/* Tablet: room for two-column grids and the full logo lockup, but the desk
   nav still doesn't fit gracefully — keep the hamburger until 981px. */
@media (min-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 40px)); }
  .brand .lockup { display: flex; }
  .header-inner { height: 76px; }
  .news-grid, .mods, .foot-grid, .contact-grid, .live-grid {
    grid-template-columns: 1fr 1fr;
  }
  .roast-desk, .app-strip { padding: 24px; border-radius: 24px; }
}

/* Desktop: restore the full multi-column layout and swap the hamburger for
   the inline nav now that it actually fits. */
@media (min-width: 981px) {
  .header-inner { height: 84px; gap: 28px; }
  nav.desk { display: flex; }
  .menu-btn { display: none; }
  .header-cta .btn-ghost { display: inline-flex; }
  .hero { padding: 32px 0 8px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 18px; }
  .lead { padding: 22px 24px 24px; min-height: 420px; }
  .news-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .mods { grid-template-columns: repeat(4, 1fr); }
  .roast-grid { grid-template-columns: 1.4fr .8fr; gap: 22px; }
  .roast-desk, .app-strip { padding: 28px; border-radius: 28px; }
  .app-strip { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .live-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
}
