/* ═══════════════════════════════════════════════════════════════════
   Club-UHOA Service Nexus — design tokens + base layer
   Architecture: editorial corporate system (à la verogen.com).
   White canvas, generous rhythm, restrained UHOA cyan, thin rules.
   Vanilla CSS only. No framework. No build.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* UHOA palette extracted from the UHOA Uganda Hotel Guide 2023-24 PDF */
  --uhoa-cyan: #00A0DD;
  --uhoa-cyan-2: #01B2E1;
  --uhoa-light: #BDDDFC;
  --uhoa-blue-soft: #B1CDF4;
  --uhoa-black: #0B0F0E;
  --uhoa-white: #FFFFFF;
  --uhoa-green: #0B6B00;

  /* derived interaction shades */
  --uhoa-cyan-hi: #3FC0EE;
  --uhoa-cyan-lo: #0079B8;

  /* editorial surface system */
  --paper: #FFFFFF;
  --wash: #F4F8FA;
  --wash-2: #EAF3F7;
  --ink: #1E2B33;
  --ink-soft: #3D4C55;
  --muted: #61707A;
  --line: #DCE5EA;
  --line-strong: #C6D4DC;
  --accent: var(--uhoa-cyan);
  --accent-deep: #00658F;
  --accent-ink: #04384F;

  /* status */
  --ok: #1D6B45;
  --ok-bg: #EEF8F2;
  --ok-line: #BFE3D0;
  --warn: #8A5A00;
  --warn-bg: #FDF6E7;
  --warn-line: #F0D9A8;
  --danger: #8C2A22;
  --danger-bg: #FDF1F0;
  --danger-line: #EDC9C5;

  /* compatibility aliases for the original token names */
  --surface: var(--paper);
  --surface-card: var(--paper);
  --ink-muted: var(--muted);
  --radius: 2px;
  --shadow-card: 0 18px 40px rgba(4, 56, 79, 0.08);
  --emboss-light: rgba(255, 255, 255, 0.7);
  --emboss-dark: rgba(0, 0, 0, 0.18);

  /* type */
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* rhythm */
  --container: 1240px;
  --gutter: 32px;
  --section-y: 92px;

  font-size: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--ink); }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.15rem, 3.6vw, 3.15rem); font-weight: 300; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.12rem; }
h4 { font-size: 0.98rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.2em; }

strong { color: var(--ink); font-weight: 600; }

button { font: inherit; }

::selection { background: var(--uhoa-light); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--uhoa-light);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --section-y: 64px; }
}
