/*
  GOLDBOOK website styles, on top of unmodified Bootstrap 5.3.8.
  Brand rules (brand guidelines, section 03):
  - Four colours only: Gold, Black, Paper, Charcoal. Lines and tints are Black at low opacity.
  - Gold is a shape colour: solid blocks with Black on top. Never gold text or thin gold lines on Paper.
  Type (owner, 2026-11-17, replaces Manrope from the brand guide):
  - Inter for all text, the same files as the GOLDBOOK ERP (goldbook-5): body 400, labels 600, emphasis 700.
  - Bricolage Grotesque SemiBold 600 for the hero, section titles and big numbers only (--gb-display,
    --gb-display-weight; owner asked for medium or semibold). Its optical-size axis follows the font size.
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand colours */
  --gb-gold: #f0bc74;
  --gb-black: #1a1a1a;
  --gb-paper: #f6f5f2;
  --gb-charcoal: #404040;
  --gb-white: #ffffff;

  /* Derived from Black only */
  --gb-line: rgba(26, 26, 26, 0.12);
  --gb-line-strong: rgba(26, 26, 26, 0.24);
  --gb-on-black-muted: rgba(246, 245, 242, 0.68);
  --gb-on-black-line: rgba(246, 245, 242, 0.16);

  --gb-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gb-display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gb-display-weight: 600; /* 500 for Medium */
  --gb-radius: 14px;
  --gb-radius-sm: 8px;
  --gb-section-y: clamp(64px, 9vw, 112px);

  /* Bootstrap hooks */
  --bs-body-font-family: var(--gb-font);
  --bs-body-font-size: 1.0625rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--gb-charcoal);
  --bs-body-bg: var(--gb-paper);
  --bs-emphasis-color: var(--gb-black);
  --bs-heading-color: var(--gb-black);
  --bs-link-color: var(--gb-black);
  --bs-link-color-rgb: 26, 26, 26;
  --bs-link-hover-color: var(--gb-black);
  --bs-link-hover-color-rgb: 26, 26, 26;
  --bs-border-color: var(--gb-line);
  --bs-focus-ring-color: rgba(26, 26, 26, 0.35);
  color-scheme: light;
}

html { scroll-padding-top: 88px; }

/* Side gutter of at least 16px, clear of a phone's side system bar */
.container-xl {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

body {
  background: var(--gb-paper);
  color: var(--gb-charcoal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display face: hero, page and section titles, big numbers */
h1, h2, .display-hero, .display-page, .title-section, .number-value, .plan-price, .problem-pain, .audience-line, .bill-total span:last-child {
  font-family: var(--gb-display);
}
/* Small headings inside cards stay in Inter, like the ERP */
h2.title-sub, h3, h4 { font-family: var(--gb-font); }

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  color: var(--gb-black);
  text-wrap: balance;
  margin: 0;
}

.display-hero {
  font-weight: var(--gb-display-weight);
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Gold marker under a key word. Gold as a solid shape with Black text on top, as the brand allows. */
.hl-gold {
  background-image: linear-gradient(to bottom, transparent 58%, var(--gb-gold) 58%, var(--gb-gold) 92%, transparent 92%);
  padding: 0 0.06em;
  margin: 0 -0.03em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.title-section {
  font-weight: var(--gb-display-weight);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.title-sub {
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 34em;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-black);
}

.small-print {
  font-weight: 600;
  font-size: 0.875rem;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
  vertical-align: -0.125em;
}

:focus-visible {
  outline: 2px solid var(--gb-black);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--gb-black);
  color: var(--gb-paper);
  padding: 10px 16px;
  border-radius: var(--gb-radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--gb-paper); }

/* ---------- Buttons ---------- */

.btn {
  --bs-btn-font-family: var(--gb-font);
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: 1rem;
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-border-radius: 10px;
  --bs-btn-focus-box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  --bs-btn-color: var(--gb-black);
  --bs-btn-bg: var(--gb-gold);
  --bs-btn-border-color: var(--gb-gold);
  --bs-btn-hover-color: var(--gb-paper);
  --bs-btn-hover-bg: var(--gb-black);
  --bs-btn-hover-border-color: var(--gb-black);
  --bs-btn-active-color: var(--gb-paper);
  --bs-btn-active-bg: var(--gb-black);
  --bs-btn-active-border-color: var(--gb-black);
}

.btn-ink {
  --bs-btn-color: var(--gb-paper);
  --bs-btn-bg: var(--gb-black);
  --bs-btn-border-color: var(--gb-black);
  --bs-btn-hover-color: var(--gb-black);
  --bs-btn-hover-bg: var(--gb-gold);
  --bs-btn-hover-border-color: var(--gb-gold);
  --bs-btn-active-color: var(--gb-black);
  --bs-btn-active-bg: var(--gb-gold);
  --bs-btn-active-border-color: var(--gb-gold);
}

.btn-line {
  --bs-btn-color: var(--gb-black);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--gb-line-strong);
  --bs-btn-hover-color: var(--gb-black);
  --bs-btn-hover-bg: var(--gb-white);
  --bs-btn-hover-border-color: var(--gb-black);
  --bs-btn-active-color: var(--gb-black);
  --bs-btn-active-bg: var(--gb-white);
  --bs-btn-active-border-color: var(--gb-black);
  --bs-btn-border-width: 1.5px;
}

/* Outline button on a Black background */
.btn-line-light {
  --bs-btn-color: var(--gb-paper);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--gb-on-black-line);
  --bs-btn-hover-color: var(--gb-black);
  --bs-btn-hover-bg: var(--gb-paper);
  --bs-btn-hover-border-color: var(--gb-paper);
  --bs-btn-active-color: var(--gb-black);
  --bs-btn-active-bg: var(--gb-paper);
  --bs-btn-active-border-color: var(--gb-paper);
  --bs-btn-border-width: 1.5px;
}

.store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.btn-sm-gb {
  --bs-btn-padding-x: 1.05rem;
  --bs-btn-padding-y: 0.55rem;
  --bs-btn-font-size: 0.9375rem;
}

/* ---------- Logo (placeholder until the supplied artwork arrives) ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--gb-black);
  line-height: 1;
}
.logo-tile {
  width: 40px;
  height: 40px;
  border-radius: 23%;
  background: var(--gb-gold);
  color: var(--gb-black);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.logo-word {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.logo-word sup { font-size: 0.4em; font-weight: 700; top: -1.2em; margin-left: 2px; }
.logo--white { color: var(--gb-paper); }
.logo img { display: block; height: 40px; width: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 1030;
  background: var(--gb-paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--gb-line);
  box-shadow: 0 6px 24px rgba(26, 26, 26, 0.05);
}

.site-header .navbar {
  --bs-navbar-padding-y: 14px;
  --bs-navbar-color: var(--gb-black);
  --bs-navbar-hover-color: var(--gb-black);
  --bs-navbar-active-color: var(--gb-black);
  --bs-navbar-nav-link-padding-x: 0.85rem;
  --bs-navbar-toggler-border-color: transparent;
  --bs-navbar-toggler-focus-width: 0;
}
.site-header .nav-link {
  font-weight: 700;
  font-size: 0.975rem;
  border-radius: var(--gb-radius-sm);
}
.site-header .nav-link:hover { background: rgba(26, 26, 26, 0.05); }
.site-header .dropdown-toggle::after { display: none; }
.site-header .nav-link .icon { font-size: 0.75em; margin-left: 4px; transition: transform 0.2s ease; }
.site-header .nav-link.show .icon { transform: rotate(180deg); }

.navbar-toggler {
  padding: 8px;
  font-size: 1.6rem;
  color: var(--gb-black);
  border: 0;
  line-height: 1;
}
.navbar-toggler .icon-close { display: none; }
.navbar-toggler[aria-expanded="true"] .icon-open { display: none; }
.navbar-toggler[aria-expanded="true"] .icon-close { display: inline; }

.header-login {
  font-weight: 700;
  font-size: 0.975rem;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--gb-radius-sm);
}
.header-login:hover { background: rgba(26, 26, 26, 0.05); }

/* Mega menu */
.dropdown-menu {
  --bs-dropdown-bg: var(--gb-white);
  --bs-dropdown-border-color: var(--gb-line);
  --bs-dropdown-border-radius: var(--gb-radius);
  --bs-dropdown-link-color: var(--gb-black);
  --bs-dropdown-link-hover-bg: var(--gb-paper);
  --bs-dropdown-link-active-bg: var(--gb-paper);
  --bs-dropdown-link-active-color: var(--gb-black);
  --bs-dropdown-padding-y: 0.5rem;
  box-shadow: 0 20px 48px rgba(26, 26, 26, 0.1);
}

.mega-menu {
  padding: 24px;
}
@media (min-width: 992px) {
  .nav-item.position-static .mega-menu {
    left: 50%;
    transform: translateX(-50%);
    width: min(1080px, calc(100vw - 32px));
    margin-top: 6px;
  }
  .nav-item .menu-solutions { min-width: 300px; margin-top: 6px; }
}
.mega-group-title {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-black);
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--gb-line);
  margin-bottom: 6px;
}
.menu-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--gb-black);
}
.menu-item:hover, .menu-item:focus-visible { background: var(--gb-paper); }
.menu-item strong { display: block; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.menu-text { display: block; min-width: 0; }
.menu-text span { display: block; font-size: 0.875rem; font-weight: 400; color: var(--gb-charcoal); line-height: 1.4; margin-top: 2px; }
.menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gb-paper);
  border: 1px solid var(--gb-line);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1rem;
  color: var(--gb-black);
}
.menu-item:hover .menu-icon { background: var(--gb-gold); border-color: var(--gb-gold); }
.mega-foot {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--gb-paper);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
}
.mega-foot a { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding-bottom: 20px;
  }
  .site-header .navbar-nav { padding-top: 8px; gap: 2px; }
  .site-header .nav-link { padding: 12px 10px; font-size: 1.0625rem; display: flex; justify-content: space-between; align-items: center; }
  .mega-menu, .menu-solutions { box-shadow: none; border: 0; padding: 4px 0 12px; background: transparent; }
  .mega-group-title { margin-top: 10px; }
  .header-actions { padding-top: 12px; border-top: 1px solid var(--gb-line); margin-top: 8px; }
  .header-actions .btn { flex: 1; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--gb-section-y); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; max-width: 60rem; margin: 0 auto; }
.hero-copy .lede { max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-proof {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gb-black);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon { font-size: 1.1rem; }

/* Sample bill composition (stands in for a real screenshot) */
.hero-visual {
  position: relative;
  max-width: 940px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.bill {
  position: relative;
  background: var(--gb-white);
  border: 1px solid var(--gb-line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(26, 26, 26, 0.12), 0 2px 6px rgba(26, 26, 26, 0.04);
  padding: 22px 22px 18px;
  font-size: 0.875rem;
  max-width: 520px;
  margin: 0 auto;
  z-index: 1;
  text-align: left;
}
.bill-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--gb-line); }
.bill-title { font-weight: 800; font-size: 1rem; color: var(--gb-black); letter-spacing: -0.01em; }
.bill-meta { font-weight: 600; font-size: 0.8125rem; color: var(--gb-charcoal); }
.sample-chip {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--gb-line-strong);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--gb-black);
  white-space: nowrap;
}
.bill-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bill-table th {
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gb-charcoal);
  padding: 10px 0 6px;
  text-align: right;
}
.bill-table th:first-child, .bill-table td:first-child { text-align: left; }
.bill-table td { padding: 9px 0; border-top: 1px solid var(--gb-line); text-align: right; color: var(--gb-black); font-weight: 600; vertical-align: top; }
.bill-table td small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--gb-charcoal); margin-top: 2px; }
.bill-table .minus td { color: var(--gb-charcoal); }
.bill-total {
  margin-top: 10px;
  background: var(--gb-gold);
  color: var(--gb-black);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.bill-total span:last-child { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: var(--gb-display-weight); }
.bill-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-weight: 600; font-size: 0.8125rem; color: var(--gb-charcoal); }
.bill-foot .icon { color: var(--gb-black); }

/* From 992px the two side cards float either side of the bill; below that they sit under it */
.side-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.rate-card, .stock-card { z-index: 2; }
.rate-card {
  background: var(--gb-black);
  color: var(--gb-paper);
  border-radius: 14px;
  padding: 16px 16px 12px;
  box-shadow: 0 24px 50px rgba(26, 26, 26, 0.25);
  font-variant-numeric: tabular-nums;
}
.rate-card-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gb-on-black-muted); margin-bottom: 8px; }
.rate-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--gb-on-black-line); font-weight: 600; font-size: 0.875rem; }
.rate-row b { font-weight: 800; color: var(--gb-paper); }
.rate-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gb-gold); display: inline-block; }

.stock-card {
  background: var(--gb-white);
  border: 1px solid var(--gb-line);
  border-radius: 14px;
  padding: 16px 16px 12px;
  box-shadow: 0 24px 50px rgba(26, 26, 26, 0.1);
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.stock-card .rate-card-head { color: var(--gb-charcoal); }
.stock-card .rate-row { border-top-color: var(--gb-line); color: var(--gb-charcoal); }
.stock-card .rate-row b { color: var(--gb-black); }
.rate-card { text-align: left; }

@media (min-width: 992px) {
  .side-cards { display: contents; }
  .rate-card, .stock-card { position: absolute; width: 196px; }
  .rate-card { left: 0; top: 44%; }
  .stock-card { right: 0; top: 12%; }
}
@media (max-width: 575.98px) {
  .bill { padding: 18px 16px 14px; }
  .bill-table .col-wt { display: none; }
  .side-cards { grid-template-columns: 1fr; }
}

/* ---------- Modules ---------- */

.modules { background: var(--gb-white); border-block: 1px solid var(--gb-line); }
.module-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.module-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.module-group-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-black);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--gb-black);
}
.module-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 18px;
  border-radius: var(--gb-radius);
  text-decoration: none;
  color: var(--gb-charcoal);
  transition: background-color 0.15s ease;
}
.module-card:hover, .module-card:focus-visible { background: var(--gb-paper); color: var(--gb-charcoal); }
.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 23%;
  background: var(--gb-paper);
  border: 1px solid var(--gb-line);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--gb-black);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.module-card:hover .module-icon, .module-card:focus-visible .module-icon { background: var(--gb-gold); border-color: var(--gb-gold); }
.module-card h3 { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em; }
.module-card p { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.module-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.875rem; color: var(--gb-black); }
.module-more .icon { transition: transform 0.15s ease; }
.module-card:hover .module-more .icon { transform: translateX(3px); }

@media (max-width: 991.98px) {
  .module-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 575.98px) {
  .module-groups { grid-template-columns: 1fr; }
}

/* ---------- Numbers band (solid gold) ---------- */

.numbers { background: var(--gb-gold); color: var(--gb-black); padding-block: clamp(48px, 6vw, 72px); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.number { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 2px solid var(--gb-black); min-width: 0; }
.number-value { font-weight: var(--gb-display-weight); font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.number-label { font-weight: 600; font-size: 0.9375rem; line-height: 1.4; color: var(--gb-black); }
@media (max-width: 767.98px) {
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

/* ---------- Simple page (pages still being written) ---------- */

.upcoming { padding-block: clamp(64px, 10vw, 128px); }
.upcoming-box { max-width: 40rem; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ---------- Footer (Black, rare dark background) ---------- */

.site-footer {
  background: var(--gb-black);
  color: var(--gb-on-black-muted);
  padding-block: 72px 32px;
  font-size: 0.9375rem;
}
.site-footer a:not(.btn) { color: var(--gb-paper); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: var(--gb-paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 22rem; }
.footer-title { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gb-paper); margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gb-gold); margin-top: 4px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--gb-on-black-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.875rem;
}
@media (max-width: 991.98px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 575.98px) {
  .numbers-grid { gap: 28px 16px; }
  .number { padding-left: 14px; }
  .number-value { font-size: 1.625rem; letter-spacing: -0.02em; }
}
