:root {
  --bg: #14151A;
  --panel: #212229;
  --line: #35363F;
  --text: #F2EFE9;
  --muted: #B4B2AD;
  --amber: #E8A33D;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(8px, 1.2vw, 14px);
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 1.125rem/1.6 var(--sans);
}
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  padding: 8px 14px; background: var(--amber); color: var(--bg);
}
.skip:focus { top: 12px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 80px; padding: 0 var(--gutter);
  background: var(--bg);
}
.brand img { width: auto; height: 56px; }
.site-nav { display: flex; gap: 32px; }
.site-nav a { font-weight: 400; text-decoration: none; }
.site-nav a:hover { color: var(--amber); }
.menu-btn {
  display: none;
  width: 48px; height: 48px; margin-right: -8px; padding: 12px 8px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: currentColor; }
.menu-btn span + span { margin-top: 8px; }

/* Tiles sit in a tight grid, like posters on a wall */
.wall { display: grid; gap: var(--gap); padding: 0 var(--gutter); }

/* Word Afrika feature */
.feature picture, .feature img { width: 100%; }
.caption {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 40px;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 40px);
  background: var(--panel);
}
.caption h1 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.caption p { margin-top: 6px; color: var(--muted); }
.caption .status { flex: none; margin: 0; color: var(--amber); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 400; }

.statement { padding: clamp(56px, 9vw, 120px) clamp(24px, 8vw, 112px); text-align: center; }
.statement h2 { max-width: 18ch; margin: 0 auto; font-size: clamp(2rem, 5vw, 3.75rem); }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.stack { display: grid; gap: var(--gap); }
.panel { padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 72px); background: var(--panel); }
.panel h2 { margin-bottom: 18px; font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.panel p { max-width: 52ch; }
.panel p + p { margin-top: 12px; }
.panel.next { display: flex; flex-direction: column; justify-content: center; }
.panel.next h2:last-child { margin-bottom: 0; }
.panel.next p { color: var(--muted); }
.panel .email { color: var(--text); font-weight: 400; text-underline-offset: 4px; overflow-wrap: anywhere; }
.panel .email:hover { color: var(--amber); }

/* Footer */
footer { margin-top: clamp(48px, 8vw, 96px); padding: clamp(40px, 6vw, 64px) var(--gutter) 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
footer h3 { margin-bottom: 10px; font-size: 1.125rem; }
footer ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
footer a { text-underline-offset: 4px; overflow-wrap: anywhere; }
footer a:hover { color: var(--text); }
.copyright { margin-top: 40px; color: var(--muted); font-size: 1rem; }

@media (max-width: 760px) {
  .site-head { min-height: 68px; }
  .brand img { height: 46px; }
  .menu-btn { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 1.25rem; }
  .caption { flex-direction: column; align-items: flex-start; }
  .pair { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
