/*
Theme Name: Afri Kingdom Empire
Theme URI: https://afrikingdom.com/
Author: Prince Desire Magomo
Description: A refined music and product-house theme for Afri Kingdom.
Version: 1.4.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: afrikingdom
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --canvas: #faf8f1;
  --panel: #f4f1e8;
  --panel-2: #fffdf7;
  --ink: #090b0d;
  --muted: #4f565b;
  --quiet: #747b80;
  --line: rgba(9, 11, 13, 0.12);
  --line-strong: rgba(9, 11, 13, 0.18);
  --blue: #0e5f96;
  --gold: #b58a37;
  --green: #1d5d45;
  --shadow: 0 28px 90px rgba(20, 20, 20, 0.08);
  --max: 1224px;
  --font-body: Inter, "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: Newsreader, "Newsreader Fallback", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(9, 11, 13, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 13, 0.028) 1px, transparent 1px),
    var(--canvas);
  background-size: 16px 16px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 241, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 48px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 260px;
  height: auto;
  display: block;
}

.brand-sigil {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
}

.brand-text {
  display: none;
  gap: 0;
}

.brand-name {
  font-size: 18px;
  font-weight: 750;
  line-height: 1;
}

.brand-note {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: rgba(9, 11, 13, 0.72);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  outline: 0;
}

.nav-action,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 18, 20, 0.04);
}

.button.primary,
.nav-action {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button.link {
  min-height: auto;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

.menu-toggle span {
  width: 17px;
  height: 1.5px;
  display: block;
  margin: 4px auto;
  background: currentColor;
}

.section {
  position: relative;
}

.section-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.86fr);
  align-items: center;
  gap: clamp(44px, 8vw, 88px);
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  display: inline-block;
  background: currentColor;
  content: "";
}

.hero h1,
.section-title,
.story-copy h2,
.contact-section h2 {
  margin: 28px 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.4vw, 63px);
  line-height: 1.02;
}

.hero h1 em,
.section-title em {
  color: var(--blue);
  font-style: italic;
}

.hero-lede {
  max-width: 610px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-proof {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.hero-proof p {
  margin: 0;
}

.hero-panel {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    linear-gradient(rgba(9, 11, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 13, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.58);
  background-size: 18px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image-panel {
  background: rgba(255, 255, 255, 0.62);
}

.panel-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-portrait {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(9, 11, 13, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 13, 0.032) 1px, transparent 1px),
    rgba(250, 248, 241, 0.5);
  background-size: 18px 18px;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: 50% 18%;
}

.hero-portrait figcaption {
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-image-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.hero-image-notes div {
  min-height: 112px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.hero-image-notes div:last-child {
  border-right: 0;
}

.hero-image-notes span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-image-notes strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.04;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2997ff;
  content: "";
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  min-height: 178px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric:nth-child(2n) {
  border-right: 0;
}

.metric:nth-last-child(-n+2) {
  border-bottom: 0;
}

.metric span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 400;
  line-height: 1;
}

.metric small {
  color: var(--muted);
  font-size: 15px;
}

.spark {
  height: 26px;
  margin-top: 16px;
  border-bottom: 2px solid rgba(14, 95, 150, 0.22);
  position: relative;
}

.spark::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 78%;
  height: 20px;
  border-bottom: 2px solid #2997ff;
  border-radius: 50%;
  transform: rotate(-3deg);
  content: "";
}

.panel-bottom {
  padding: 26px 28px 30px;
  border-top: 1px solid var(--line);
}

.panel-bottom span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.long-graph {
  height: 82px;
  margin-top: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.18), rgba(41, 151, 255, 0));
  position: relative;
  overflow: hidden;
}

.long-graph::after {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 20px;
  height: 50px;
  border-bottom: 3px solid #2997ff;
  border-radius: 50%;
  transform: rotate(-8deg);
  content: "";
}

.client-band {
  padding: 100px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.section-title {
  max-width: 740px;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.04;
}

.section-head p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.stat-row {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 136px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-section {
  padding: 118px 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 70px;
  align-items: start;
}

.journey-copy {
  position: sticky;
  top: 116px;
}

.journey-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.journey-track {
  display: grid;
  gap: 12px;
  counter-reset: journey;
}

.journey-item {
  min-height: 150px;
  display: grid;
  grid-template-columns: 78px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.journey-item:last-child {
  border-bottom: 1px solid var(--line);
}

.journey-item span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.journey-item strong {
  font-family: var(--font-display);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.02;
}

.journey-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.journey-gallery {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
}

.journey-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  overflow: hidden;
}

.journey-gallery-main {
  grid-row: span 2;
}

.journey-gallery img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.journey-gallery-main img {
  min-height: 440px;
  object-position: 50% 42%;
}

.journey-gallery figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-section {
  padding: 132px 0;
  background: var(--panel-2);
}

.commerce-section {
  padding: 132px 0;
  background: var(--canvas);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.channel-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.channel-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(rgba(9, 11, 13, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 13, 0.03) 1px, transparent 1px),
    rgba(255, 255, 255, 0.5);
  background-size: 18px 18px;
  color: inherit;
  text-decoration: none;
}

.channel-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.channel-card strong {
  display: block;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.06;
}

.channel-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 64px;
  align-items: start;
}

.story-kicker {
  color: var(--quiet);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-visual {
  display: grid;
  gap: 22px;
}

.founder-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.founder-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 42%;
}

.founder-frame figcaption,
.campaign-images figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-copy h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.06;
}

.story-copy p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

.product-section {
  padding: 132px 0;
  background: var(--canvas);
}

.product-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.product-symbol {
  min-height: 224px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(9, 11, 13, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 13, 0.04) 1px, transparent 1px),
    rgba(250, 248, 241, 0.8);
  background-size: 18px 18px;
  position: relative;
}

.product-symbol::before,
.product-symbol::after {
  position: absolute;
  border: 1px solid rgba(14, 95, 150, 0.22);
  border-radius: 999px;
  content: "";
}

.product-symbol::before {
  width: 128px;
  height: 128px;
}

.product-symbol::after {
  width: 76px;
  height: 76px;
}

.product-symbol span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  color: var(--ink);
}

.product-symbol-scent {
  background-color: #f8f3e5;
}

.product-symbol-crown {
  background-color: #f0f6f1;
}

.product-copy {
  padding: 24px;
}

.product-copy span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.06;
}

.product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.image-section {
  padding: 32px 0 132px;
  background: var(--canvas);
}

.campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 64px;
  align-items: start;
}

.campaign-copy p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
}

.campaign-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-images figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.campaign-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.campaign-images figure:nth-child(2) img,
.campaign-images figure:nth-child(3) img {
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
}

.campaign-main img {
  aspect-ratio: 16 / 9;
  object-position: 50% 58%;
}

.campaign-main {
  grid-column: 1 / -1;
}

.campaign-images figure:nth-child(2) img {
  object-position: 50% 28%;
}

.campaign-images figure:nth-child(3) img {
  object-position: 50% 45%;
}

.contact-section {
  padding: 120px 0;
  background: #070809;
  color: #fff;
}

.contact-section .eyebrow,
.contact-section .section-title,
.contact-section h2 {
  color: #fff;
}

.contact-section .eyebrow {
  color: rgba(255, 255, 255, 0.64);
}

.contact-section h2 {
  max-width: 780px;
  font-size: clamp(31px, 3.8vw, 54px);
  line-height: 1.04;
}

.contact-section p {
  max-width: 650px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.site-footer {
  padding: 34px 0;
  background: #070809;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

.page-content {
  width: min(calc(100% - 48px), 880px);
  margin: 96px auto;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(250, 248, 241, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
  }

  .nav-action {
    display: none;
  }

  .hero-grid,
  .section-head,
  .story-grid,
  .campaign-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-copy {
    position: static;
  }

  .hero-panel {
    max-width: 680px;
  }

  .hero {
    padding: 48px 0 74px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-proof {
    display: none;
  }

  .hero-portrait img {
    aspect-ratio: 16 / 10;
    object-position: 50% 56%;
  }

  .channel-grid,
  .product-grid,
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 660px) {
  .nav-wrap,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-logo {
    width: 220px;
  }

  .hero {
    padding: 58px 0 70px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  .hero-lede,
  .section-head p,
  .story-copy p,
  .contact-section p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .channel-grid,
  .product-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2n),
  .stat,
  .stat:nth-child(2n) {
    border-right: 0;
  }

  .metric strong {
    font-size: 44px;
  }

  .client-band,
  .journey-section,
  .commerce-section,
  .story-section,
  .product-section,
  .contact-section {
    padding: 72px 0;
  }

  .image-section {
    padding: 0 0 72px;
  }

  .section-title,
  .story-copy h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .campaign-images,
  .journey-gallery {
    grid-template-columns: 1fr;
  }

  .hero-image-notes {
    grid-template-columns: 1fr;
  }

  .hero-image-notes div,
  .hero-image-notes div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-image-notes div:last-child {
    border-bottom: 0;
  }

  .journey-item {
    min-height: auto;
    grid-template-columns: 46px 1fr;
    gap: 12px 18px;
  }

  .journey-item p {
    grid-column: 2;
  }

  .campaign-images img,
  .campaign-main img,
  .journey-gallery-main img {
    min-height: 280px;
  }

  .campaign-images figure:nth-child(2) img,
  .campaign-images figure:nth-child(3) img {
    aspect-ratio: 4 / 3.2;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
