:root {
  --color-page-background: #F9F7F2;
  --color-text-charcoal: #1A1A1A;
  --color-accent-gold: #C0A06D;
  --color-accent-gold-rgb: 192, 160, 109;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --font-size-display-large: clamp(3rem, 7vw + 1rem, 5.5rem);
  --font-size-display-medium: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  --font-size-heading-1: clamp(2rem, 5vw + 1rem, 3.5rem);
  --font-size-heading-2: clamp(1.75rem, 4vw + 1rem, 2.75rem);
  --font-size-heading-3: clamp(1.5rem, 3vw + 1rem, 2.25rem);
  --font-size-body: clamp(1rem, 2vw + 0.5rem, 1.125rem);
  --font-size-caption: clamp(0.875rem, 1.5vw + 0.5rem, 1rem);

  --spacing-unit: 1rem;
}

/* Basic Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--color-text-charcoal);
  background-color: var(--color-page-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--spacing-unit);
  color: var(--color-text-charcoal);
}

h1 { font-size: var(--font-size-heading-1); }
h2 { font-size: var(--font-size-heading-2); }
h3 { font-size: var(--font-size-heading-3); }

p {
  margin-bottom: var(--spacing-unit);
  font-size: var(--font-size-body);
}

ul, ol {
  list-style: none;
}

strong {
  font-weight: 700;
}


/* Hero stacking context (safety net — the page owns the hero treatment) */
.hero, .hero-collection, [class*="hero"] { isolation: isolate; position: relative; }


/* Responsive safety net (mobile-first, Ghana audience) */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
button, [role="button"], summary, select, input[type="submit"], input[type="button"], .nav-toggle, .ja-nav-close, .button, .btn, nav a, .nav a, .mobile-nav-overlay a { min-height: 44px; min-width: 44px; }
section h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
/* Proportional images — never stretch/squash */
img { object-fit: cover; }
/* Responsive CTA net — wrap/stack cleanly on mobile */
button, [class*="btn"], [class*="button"], [class*="cta"] { max-width: 100%; }
[class*="btn-group"], [class*="button-group"], [class*="cta-group"], .hero-actions, [class*="actions"] { flex-wrap: wrap; gap: var(--space-08, 0.75rem); }
@media (max-width: 768px) {
  [class*="grid-3"], [class*="grid-4"], [class*="cols-3"], [class*="cols-4"], [class*="three-col"], [class*="four-col"], [class*="grid-2"], [class*="cols-2"], [class*="two-col"], [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [class*="flex"] { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  /* The mobile band padding and the page gutter are the page's OWN tokens —
     an !important override here beat every rule the page authored (the
     Trotro Mate audit: three competing gutter systems on one page), so the
     net now names the token and steps aside, with a fallback for a page that
     defines no scale of its own. */
  section { padding-top: var(--space-30, 3rem); padding-bottom: var(--space-30, 3rem); }
  .container, [class*="container"] { padding-left: var(--space-1, clamp(1.25rem, 4vw, 3rem)); padding-right: var(--space-1, clamp(1.25rem, 4vw, 3rem)); }
  [class*="btn-group"], [class*="button-group"], [class*="cta-group"], .hero-actions, [class*="actions"] { flex-direction: column; align-items: stretch; }
  [class*="btn-group"] > *, [class*="button-group"] > *, [class*="cta-group"] > *, .hero-actions > *, [class*="actions"] > * { width: 100%; }
  .btn, .button, a[class*="btn"], button[class*="btn"], [class*="cta"]:not(.ja-chip):not(.ja-nav-close):not(.nav-toggle) { width: 100%; box-sizing: border-box; }
}
/* Motion guard (motion-pack standard) — every build that animates ships the
   reduced-motion guard with it, so a visitor who asks their device for less
   motion never gets a bouncing, sliding page. Transitions collapse to an
   instant state change; infinite loops run once. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
