/* ---------- zim.africancity.ch — hub theme ----------
   Inspired by Great Zimbabwe: granite stone, savanna gold,
   flag green, a touch of clay red. The chevron frieze from
   the Great Enclosure walls is the signature divider.

   --earth #1F1A13  granite-brown ground
   --card  #2A2318  raised stone
   --gold  #D9A441  savanna gold (primary accent)
   --green #3E8E5C  flag green (live / growth)
   --clay  #C4553B  clay red (small warm touches)
   --bone  #F0E9DC  text
------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700&family=Nunito+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --earth: #1F1A13;
  --card:  #2A2318;
  --gold:  #D9A441;
  --gold-dim: rgba(217,164,65,.14);
  --green: #3E8E5C;
  --clay:  #C4553B;
  --bone:  #F0E9DC;
  --bone-dim: rgba(240,233,220,.6);
  --line: rgba(240,233,220,.12);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--earth);
  color: var(--bone);
  font-family: var(--body);
  line-height: 1.7;
  min-height: 100vh;
}

/* Zimbabwe flag micro-stripe across the very top */
.flagbar {
  height: 6px;
  background: linear-gradient(90deg,
    #319C4E 0 14.28%, #FFD200 14.28% 28.56%, #DE2010 28.56% 42.84%,
    #000 42.84% 57.12%, #DE2010 57.12% 71.4%, #FFD200 71.4% 85.68%, #319C4E 85.68% 100%);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: .9rem;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--bone); letter-spacing: .01em; }
.brand em { font-style: normal; color: var(--gold); }
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar nav a { color: var(--bone-dim); }
.topbar nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 54px 0 30px; max-width: 720px; }
.hero .kicker {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.08;
  margin: 0 0 16px; letter-spacing: -.01em;
}
.hero h1 .gold { color: var(--gold); }
.hero p { color: var(--bone-dim); font-size: 1.06rem; max-width: 56ch; margin: 0 0 8px; }
.hero .sn { font-style: italic; color: var(--gold); font-size: .98rem; }

/* ---------- chevron frieze (Great Zimbabwe wall pattern) ---------- */
.chevron { margin: 34px 0 8px; opacity: .85; }
.chevron svg { display: block; width: 100%; height: 16px; }

/* ---------- section cards ---------- */
.section-label {
  font-family: var(--display); font-weight: 500; font-size: 1rem;
  color: var(--bone-dim); margin: 40px 0 18px;
}
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px; padding-bottom: 26px;
}
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px 20px; color: var(--bone); min-height: 190px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.tile:hover, .tile:focus-visible {
  transform: translateY(-3px); text-decoration: none;
  border-color: rgba(217,164,65,.5);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.tile.dormant { opacity: .82; }
.tile.dormant:hover { transform: none; border-color: var(--line); box-shadow: none; cursor: default; }
.tile .icon { font-size: 1.6rem; line-height: 1; }
.tile h2 { font-family: var(--display); font-weight: 700; font-size: 1.12rem; margin: 0; line-height: 1.3; }
.tile h2 small { display: block; font-family: var(--body); font-weight: 400; font-size: .82rem; color: var(--bone-dim); margin-top: 2px; }
.tile p { margin: 0; color: var(--bone-dim); font-size: .9rem; flex: 1; }
.status {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 99px; padding: 3px 11px;
}
.status.live { background: rgba(62,142,92,.18); color: #7CC79A; border: 1px solid rgba(62,142,92,.5); }
.status.soon { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(217,164,65,.4); }

/* featured tile (ngano) spans wider and glows warmer */
.tile.featured {
  grid-column: span 2; flex-direction: row; align-items: center; gap: 20px;
  background: linear-gradient(120deg, #221A2E 0%, var(--card) 70%);
  border-color: rgba(156,139,192,.35);
}
.tile.featured img { width: 150px; border-radius: 60px 60px 10px 10px; border: 1px solid var(--line); }
.tile.featured .icon { display: none; }
@media (max-width: 640px) {
  .tile.featured { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .tile.featured img { width: 100%; }
}

/* ---------- coming-soon page ---------- */
.soon-card {
  max-width: 620px; margin: 60px auto 90px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 44px 34px;
}
.soon-card .icon { font-size: 2.4rem; }
.soon-card h1 { font-family: var(--display); font-weight: 700; font-size: 1.6rem; margin: 12px 0 4px; }
.soon-card .sn { color: var(--gold); font-style: italic; margin: 0 0 14px; }
.soon-card p { color: var(--bone-dim); }
.soon-card .back { display: inline-block; margin-top: 20px; font-weight: 700; }

footer {
  border-top: 1px solid var(--line); margin-top: 30px;
  padding: 26px 0 34px; color: var(--bone-dim); font-size: .82rem;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
footer .gold { color: var(--gold); }
