/* Global Supermarket — tokens, reset, type, buttons, photography. */

/* Global Supermarket — VANA Africa, Calgary
   Design tokens lifted from the Claude Design source. */

:root {
  --bg:        #100C09;
  --bg-alt:    #17110B;
  --bg-card:   #161009;
  --bg-deep:   #120D08;
  --bg-foot:   #0C0906;
  --bg-panel:  #151009;

  --ink:       #F4EFE6;
  --ink-soft:  #E6DBCA;
  --nav:       #CDBFAC;
  --muted:     #B9AB99;
  --dim:       #8A7A63;
  --faint:     #7E6F5C;
  --fainter:   #6F6252;
  --ghost:     #5E5347;

  --gold:      #C8942B;
  --gold-lt:   #F0D9A6;
  --gold-hi:   #E0AC46;
  --gold-link: #D8AE5C;
  --on-gold:   #1A120A;

  --line:      #2A211A;
  --line-2:    #3A2D20;
  --line-3:    #403325;
  --line-soft: #241C15;
  --line-hair: #1D1611;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, monospace;

  --shell: 1400px;
  --pad: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-link); text-decoration: none; }
a:hover { color: var(--gold-lt); }
::selection { background: var(--gold); color: var(--bg); }

img { max-width: 100%; display: block; }

@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hidden { display: none !important; }

/* Anchor targets clear the sticky header. */
[id] { scroll-margin-top: 96px; }

/* ---------- Type helpers ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.serif { font-family: var(--serif); }

h1, h2 { font-family: var(--serif); margin: 0; text-wrap: balance; }

.h-section {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  text-wrap: pretty;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.btn-gold { background: var(--gold); color: var(--on-gold); font-weight: 600; }
.btn-gold:hover { background: var(--gold-hi); color: var(--on-gold); }

.btn-outline { border-color: var(--line-3); color: var(--ink); background: transparent; font-weight: 500; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-lt); }

.btn-gold-outline { border-color: var(--gold); color: var(--gold-lt); background: transparent; font-weight: 500; }
.btn-gold-outline:hover { background: var(--gold); color: var(--on-gold); }

.btn-sm {
  padding: 10px 18px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ---------- Photography ---------- */

/* Every photo lives in a .media box: the box owns the shape, the img fills it.
   The hatch stays visible until the image paints. */
.media {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #241D17 0 10px, #1B1510 10px 20px);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-cat { aspect-ratio: 4 / 3; }
.media-fav { width: 96px; height: 96px; flex: none; }

/* ---------- Brand logo ----------
   The supplied artwork is gold on transparency, so it sits directly on the
   dark header with no plate behind it. Intrinsic ratio 1416:516. */

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo {
  display: block;
  height: 68px;   /* below this the SUPERMARKET / VANA AFRICA lines stop resolving */
  width: auto;
  max-width: 100%;
}
.footer-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 980px) {
  .brand-logo { height: 54px; }
  .footer-logo { height: 52px; }
}
@media (max-width: 640px) {
  .brand-logo { height: 46px; }
}
