:root {
  --afryk-black: #0d0d0d;
  --afryk-bone: #f2ede4;
  --afryk-raw-plaster: #e8e0d0;
  --afryk-kente-gold: #c8a84b;
  --afryk-savanna: #2d5016;
  --afryk-conflict-red: #8b1a1a;
  --afryk-white: #ffffff;
  --afryk-muted: #77736c;
  --afryk-border: rgba(13, 13, 13, 0.14);
  --afryk-dark-border: rgba(242, 237, 228, 0.2);
  --afryk-font-heading: "Space Grotesk", Arial, sans-serif;
  --afryk-font-mono: "Space Mono", monospace;
  --afryk-header-height: 60px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--afryk-bone);
  color: var(--afryk-black);
  font-family: var(--afryk-font-heading);
  font-size: 15px;
  line-height: 1.45;
}

body.panel-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--afryk-conflict-red);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 8px;
  left: 8px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--afryk-black);
  color: var(--afryk-bone);
}

.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 26px;
  display: grid;
  place-items: center;
  background: #4b4944;
  color: var(--afryk-bone);
  font-family: var(--afryk-font-mono);
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 26px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--afryk-header-height);
  padding: 0 30px;
  border-bottom: 1px solid var(--afryk-border);
  background: rgba(242, 237, 228, 0.94);
  backdrop-filter: blur(14px);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.menu {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a,
.plain-button {
  color: var(--afryk-black);
  font-size: 14px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu a:hover,
.plain-button:hover {
  color: var(--afryk-conflict-red);
}

.desktop-nav--utility .menu {
  justify-content: flex-end;
}

.site-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.site-logo img {
  max-width: 150px;
  max-height: 42px;
}

.site-logo__text {
  color: var(--afryk-conflict-red);
  letter-spacing: 0;
}

.header-actions {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  gap: 18px;
  align-items: center;
  transform: translateY(-50%);
}

.header-actions--left {
  left: 30px;
}

.header-actions--right {
  right: 30px;
  justify-self: auto;
  justify-content: flex-end;
}

.icon-button,
.cart-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--afryk-black);
  cursor: pointer;
}

.icon-lines,
.icon-lines::before,
.icon-lines::after {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
}

.icon-lines::before {
  transform: translateY(-6px);
}

.icon-lines::after {
  transform: translateY(5px);
}

.icon-search {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}

.icon-search::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.icon-bag {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
}

.icon-bag::before {
  position: absolute;
  top: -7px;
  left: 4px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  content: "";
}

.icon-account {
  position: relative;
  width: 20px;
  height: 20px;
}

.icon-account::before {
  position: absolute;
  top: 1px;
  left: 6px;
  width: 8px;
  height: 8px;
  border: 1.7px solid currentColor;
  border-radius: 999px;
  content: "";
}

.icon-account::after {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 1px;
  height: 9px;
  border: 1.7px solid currentColor;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
  content: "";
}

.cart-count {
  font-family: var(--afryk-font-mono);
  font-size: 11px;
}

.site-panel {
  position: fixed;
  top: 26px;
  bottom: 0;
  left: 0;
  right: auto;
  z-index: 100;
  width: min(420px, 88vw);
  background: var(--afryk-bone);
  border-right: 1px solid var(--afryk-border);
  box-shadow: 24px 0 60px rgba(13, 13, 13, 0.18);
}

.site-panel--menu {
  left: 0;
  right: auto;
  border-right: 1px solid var(--afryk-border);
  border-left: 0;
  box-shadow: 24px 0 60px rgba(13, 13, 13, 0.18);
}

.site-panel--search {
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid var(--afryk-border);
  box-shadow: -24px 0 60px rgba(13, 13, 13, 0.18);
}

.site-panel[hidden] {
  display: none;
}

.site-panel__inner {
  min-height: 100%;
  padding: 28px 32px;
}

.panel-close {
  margin-left: auto;
}

.menu--mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 48px;
}

.menu--mobile a {
  display: block;
  padding: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.menu-item--account {
  display: none;
}

.social-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--afryk-font-mono);
  font-size: 12px;
}

.button,
.button.wc-forward,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--afryk-font-heading);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.button--light {
  color: var(--afryk-bone);
}

.button--dark,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--afryk-black);
  color: var(--afryk-bone);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--afryk-muted);
  font-family: var(--afryk-font-mono);
  font-size: 11px;
  text-transform: lowercase;
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 86px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--afryk-bone);
  background: var(--afryk-black);
}

.home .home-hero,
.front-page .home-hero {
  min-height: calc(100svh - 26px);
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center center);
}

.home-hero--dark::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 13, 13, 0.48), transparent 55%), linear-gradient(0deg, rgba(13, 13, 13, 0.28), transparent 50%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 40px;
  align-items: end;
  padding: 0 30px 56px;
}

.home-hero__text {
  max-width: 720px;
}

.home-hero--bar .home-hero__text {
  width: fit-content;
  max-width: min(720px, 100%);
  padding: 14px 16px;
  background: rgba(13, 13, 13, 0.72);
}

.home-hero h1,
.brand-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 118px);
  line-height: 0.92;
}

.home-hero p {
  margin: 10px 0 0;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
}

.home-section,
.home-community,
.home-manifesto,
.brand-story,
.brand-pillars,
.community-callout,
.info-grid {
  padding: 92px 30px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.home-manifesto h2,
.home-community h2,
.page-intro h1,
.archive-header h1,
.shop-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 64px);
  line-height: 0.98;
}

.product-grid,
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afryk-product-card,
.woocommerce ul.products li.product.afryk-product-card {
  position: relative;
  min-width: 0;
}

.afryk-product-card__inner {
  height: 100%;
}

.afryk-product-card__image {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: #eee9df;
  overflow: hidden;
}

.afryk-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.afryk-product-card:hover .afryk-product-card__image img {
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  color: var(--afryk-muted);
  font-family: var(--afryk-font-mono);
  font-size: 11px;
}

.afryk-product-card__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 4px 0;
  font-size: 13px;
}

.afryk-product-card__meta a {
  min-width: 0;
}

.afryk-product-card__meta strong {
  display: inline;
  margin-right: 8px;
}

.afryk-product-card__meta span:not(.price) {
  color: var(--afryk-muted);
}

.price {
  white-space: nowrap;
  font-family: var(--afryk-font-mono);
  font-size: 12px;
}

.home-manifesto {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1.5fr);
  gap: 40px;
  background: var(--afryk-black);
  color: var(--afryk-bone);
}

.home-manifesto__mark {
  width: 100%;
  height: 4px;
  margin-top: 16px;
  background: var(--afryk-conflict-red);
}

.home-manifesto p {
  max-width: 780px;
  font-family: var(--afryk-font-mono);
  line-height: 1.75;
}

@media (min-width: 981px) {
  .home-manifesto {
    grid-template-columns: minmax(30px, 1fr) minmax(0, 1180px) minmax(30px, 1fr);
    gap: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .home-manifesto__mark,
  .home-manifesto__content {
    grid-column: 2;
  }

  .home-manifesto__mark {
    width: min(280px, 24vw);
    margin: 0 0 30px;
  }
}

.collection-grid,
.community-grid,
.journal-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.collection-card {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #e7e0d4;
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.collection-card:hover img {
  transform: scale(1.03);
}

.collection-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  content: "";
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.64), transparent);
}

.collection-card span {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: var(--afryk-bone);
  font-size: 28px;
  font-weight: 700;
}

.home-community {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: start;
  background: var(--afryk-raw-plaster);
}

.home-community__copy {
  position: sticky;
  top: 116px;
}

.home-community__copy p:not(.eyebrow) {
  max-width: 480px;
  font-family: var(--afryk-font-mono);
  line-height: 1.7;
}

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

.community-card {
  margin: 0;
}

.community-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--afryk-bone);
}

.community-card figcaption {
  padding-top: 8px;
  color: var(--afryk-muted);
  font-family: var(--afryk-font-mono);
  font-size: 12px;
}

.journal-card {
  border-top: 1px solid var(--afryk-border);
  padding-top: 12px;
}

.journal-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 16px;
}

.journal-card h3,
.journal-entry h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1;
}

.journal-card p:not(.eyebrow),
.entry-content {
  font-family: var(--afryk-font-mono);
  line-height: 1.75;
}

@media (min-width: 781px) {
  .single-main {
    padding: 76px 30px 96px;
  }

  .journal-entry--single {
    width: min(100%, 1080px);
    max-width: 1080px;
    margin: 0 auto;
  }

  .journal-entry--single .journal-card__image {
    display: block;
    max-width: 1080px;
    margin: 0 auto 44px;
  }

  .journal-entry--single .journal-card__image img {
    width: 100%;
    max-height: 620px;
    aspect-ratio: 16 / 9;
    margin: 0;
    object-fit: cover;
  }

  .journal-entry--single .journal-card__body {
    max-width: 820px;
    margin: 0 auto;
  }

  .journal-entry--single .eyebrow {
    text-align: center;
  }

  .journal-entry--single h1 {
    max-width: 980px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: clamp(42px, 5.2vw, 84px);
    line-height: 0.94;
  }

  .journal-entry--single .entry-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.85;
  }

  .journal-entry--single .entry-content p {
    margin: 0 0 1.45em;
  }

  .journal-entry--single .entry-content h2,
  .journal-entry--single .entry-content h3 {
    margin: 2.25em 0 0.75em;
    font-family: var(--afryk-font-sans);
    line-height: 1.05;
  }

  .journal-entry--single .entry-content h2 {
    font-size: clamp(28px, 2.3vw, 42px);
  }

  .journal-entry--single .entry-content h3 {
    font-size: clamp(22px, 1.7vw, 30px);
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.15fr) 0.8fr;
  gap: 32px;
  padding: 64px 30px 28px;
  background: var(--afryk-black);
  color: var(--afryk-bone);
}

.site-footer__brand p,
.site-footer__newsletter p {
  max-width: 520px;
  color: rgba(242, 237, 228, 0.78);
  font-family: var(--afryk-font-mono);
  line-height: 1.65;
}

.site-footer__newsletter h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.98;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 22px;
}

.newsletter-form input[type="email"] {
  border-color: rgba(242, 237, 228, 0.32);
  background: transparent;
  color: var(--afryk-bone);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(242, 237, 228, 0.46);
}

.newsletter-form button {
  min-height: 48px;
  border: 1px solid var(--afryk-bone);
  background: var(--afryk-bone);
  color: var(--afryk-black);
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.newsletter-embed {
  margin-top: 22px;
}

.site-footer .menu {
  display: grid;
  gap: 8px;
}

.site-footer__legal {
  grid-column: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-self: start;
  color: rgba(242, 237, 228, 0.72);
  font-family: var(--afryk-font-mono);
  font-size: 11px;
}

.site-footer__legal a:hover {
  color: var(--afryk-bone);
}

.site-footer__fineprint {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: rgba(242, 237, 228, 0.6);
  font-family: var(--afryk-font-mono);
  font-size: 11px;
}

.page-main,
.archive-main,
.single-main {
  padding: 70px 30px;
}

.page-intro,
.archive-header,
.shop-header {
  max-width: 860px;
  margin: 0 0 56px;
}

.page-content-shell,
.journal-entry--single {
  max-width: 900px;
}

.legal-page .page-intro,
.legal-page .page-content-shell {
  width: min(100%, 900px);
  margin-right: auto;
  margin-left: auto;
}

.legal-page .page-intro {
  margin-bottom: 56px;
}

.legal-content {
  font-family: var(--afryk-font-mono);
  line-height: 1.75;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--afryk-border);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-family: var(--afryk-font-heading);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1;
}

.legal-content p,
.legal-content ul {
  max-width: 760px;
}

.legal-content li + li {
  margin-top: 10px;
}

.legal-updated,
.legal-note {
  color: var(--afryk-muted);
  font-size: 12px;
}

.empty-state {
  min-height: 46vh;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 70px 30px;
  border-top: 1px solid var(--afryk-border);
}

.empty-state h1,
.empty-state h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.94;
}

.empty-state p {
  max-width: 560px;
  font-family: var(--afryk-font-mono);
  line-height: 1.7;
}

.brand-hero {
  padding: 100px 30px 80px;
  background: var(--afryk-black);
  color: var(--afryk-bone);
}

.brand-page {
  background: var(--afryk-white);
}

.brand-editorial-hero {
  position: relative;
  top: auto;
  min-height: 0;
  overflow: visible;
  background: var(--afryk-black);
  color: var(--afryk-bone);
}

.brand-editorial-hero picture,
.brand-editorial-hero img {
  display: block;
  width: 100%;
}

.brand-editorial-hero img {
  height: auto;
  object-fit: contain;
}

.brand-editorial-hero__title {
  position: relative;
  z-index: 1;
  padding: 0 30px 72px;
}

.brand-editorial-hero__title h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 7vw, 118px);
  line-height: 0.9;
}

.brand-editorial-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 128px 30px;
  background: var(--afryk-white);
}

.brand-editorial-copy > * {
  width: 100%;
  max-width: 850px;
}

.brand-editorial-copy p {
  margin: 0 0 24px;
  font-size: clamp(20px, 1.55vw, 29px);
  font-weight: 700;
  line-height: 1.18;
}

.brand-editorial-copy--intro {
  margin-top: 0;
  padding-top: 120px;
  padding-bottom: 126px;
}

.brand-editorial-copy--intro .button {
  margin-top: 18px;
}

.brand-editorial-copy--closing {
  padding-top: 118px;
  padding-bottom: 126px;
}

.brand-image-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 6px;
  background: var(--afryk-white);
}

.brand-image-band figure {
  margin: 0;
  overflow: hidden;
  background: var(--afryk-raw-plaster);
}

.brand-image-band img {
  width: 100%;
  height: min(64vw, 720px);
  object-fit: cover;
}

.brand-story,
.community-callout,
.info-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-page .page-intro {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.contact-page .page-intro h1 {
  font-size: clamp(48px, 7vw, 118px);
}

.contact-page .page-intro p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  font-family: var(--afryk-font-mono);
  line-height: 1.7;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 30px 96px;
}

.contact-form-panel,
.contact-info-panel {
  min-width: 0;
}

.contact-form-panel .section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.contact-form-panel .section-heading h2,
.contact-info-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 56px);
  line-height: 0.98;
}

.contact-form-panel .section-heading p:not(.eyebrow),
.contact-info-panel p:not(.eyebrow) {
  max-width: 620px;
  font-family: var(--afryk-font-mono);
  line-height: 1.7;
}

.contact-notice {
  margin: 0 0 22px;
  border: 1px solid var(--afryk-border);
  padding: 14px 16px;
  font-family: var(--afryk-font-mono);
  font-size: 13px;
  line-height: 1.55;
}

.contact-notice--success {
  border-color: rgba(45, 80, 22, 0.42);
  background: rgba(45, 80, 22, 0.08);
}

.contact-notice--error {
  border-color: rgba(139, 26, 26, 0.42);
  background: rgba(139, 26, 26, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-form__field {
  margin: 0;
}

.contact-form__field--hidden {
  position: absolute;
  left: -9999px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--afryk-font-mono);
  font-size: 12px;
  font-weight: 700;
}

.contact-form label span {
  color: var(--afryk-muted);
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--afryk-border);
  border-radius: 0;
  background: var(--afryk-bone);
  color: var(--afryk-black);
  padding: 0 14px;
  font: inherit;
}

.contact-form textarea {
  min-height: 190px;
  padding-top: 14px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  min-height: 52px;
  border: 1px solid var(--afryk-black);
  background: var(--afryk-black);
  color: var(--afryk-bone);
  padding: 0 24px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: transparent;
  color: var(--afryk-black);
}

.contact-info-panel {
  display: grid;
  align-content: start;
  gap: 34px;
  border-left: 1px solid var(--afryk-border);
  padding-left: 34px;
}

.contact-info-panel .social-links {
  margin-top: 18px;
}

.brand-story__copy {
  font-family: var(--afryk-font-mono);
  line-height: 1.75;
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--afryk-border);
}

.brand-pillars > div {
  min-height: 220px;
  padding: 24px;
  background: var(--afryk-bone);
}

.brand-pillars span {
  color: var(--afryk-conflict-red);
  font-family: var(--afryk-font-mono);
}

.community-grid--page {
  padding: 0 30px 70px;
}

.community-tile {
  margin: 0;
}

.community-tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.community-tile figcaption {
  padding-top: 8px;
  color: var(--afryk-muted);
  font-family: var(--afryk-font-mono);
  font-size: 12px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--afryk-border);
  border-radius: 0;
  background: var(--afryk-bone);
  color: var(--afryk-black);
  padding: 10px 12px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 14px;
  }

  .header-actions--left {
    left: 14px;
  }

  .header-actions--right {
    right: 14px;
    gap: 10px;
  }

  .site-panel {
    width: min(390px, 90vw);
  }

  .site-panel__inner {
    padding: 24px 26px;
  }

  .menu--mobile {
    gap: 12px;
    margin-top: 44px;
  }

  .home-hero__content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 15px 24px;
  }

  .home-section,
  .home-community,
  .home-manifesto,
  .brand-story,
  .brand-pillars,
  .community-callout,
  .info-grid {
    padding: 64px 15px;
  }

  .product-grid,
  .products,
  .collection-grid,
  .journal-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-manifesto,
  .home-community,
  .brand-story,
  .community-callout,
  .info-grid,
  .contact-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    gap: 42px;
    padding: 0 15px 64px;
  }

  .contact-info-panel {
    border-top: 1px solid var(--afryk-border);
    border-left: 0;
    padding-top: 34px;
    padding-left: 0;
  }

  .home-community__copy {
    position: static;
  }

  .site-footer__legal {
    grid-column: auto;
  }

  .brand-editorial-copy {
    padding: 92px 18px;
  }

  .brand-editorial-copy--intro {
    margin-top: 0;
    padding-top: 96px;
    padding-bottom: 92px;
  }

  .brand-image-band {
    grid-template-columns: 1fr;
  }

  .brand-image-band img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .collection-card {
    min-height: 360px;
  }

  .brand-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .header-account-link {
    display: none;
  }

  .menu-item--account {
    display: list-item;
  }

  .announcement-bar {
    font-size: 11px;
  }

  .site-logo img {
    max-width: 116px;
  }

  .home-hero {
    min-height: calc(100svh - 86px);
  }

  .home-hero__media img {
    object-position: var(--hero-mobile-position, center top);
  }

  .product-grid,
  .products {
    gap: 4px;
  }

  .afryk-product-card__meta {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 12px;
  }

  .collection-grid,
  .community-grid,
  .journal-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 320px;
  }

  .page-main,
  .archive-main,
  .single-main {
    padding: 52px 15px;
  }

  .brand-editorial-hero__title {
    padding: 0 18px 44px;
  }

  .brand-editorial-copy p {
    font-size: 21px;
  }

  .brand-editorial-copy--closing {
    padding-top: 78px;
    padding-bottom: 84px;
  }

  .community-grid--page {
    padding: 0 15px 56px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }
}
