:root {
  --ak-purple: #4b2454;
  --ak-purple-deep: #30163a;
  --ak-purple-soft: #7f4a8b;
  --ak-purple-nav: #5a2b66;
  --ak-gold: #e5a623;
  --ak-gold-dark: #a86f12;
  --ak-ink: #241b29;
  --ak-muted: #766d7c;
  --ak-line: #e6dbe8;
  --ak-cream: #f4eee9;
  --ak-white: #ffffff;
  --ak-shadow: 0 22px 60px rgba(48, 22, 58, .12);
  --ak-logo-width: 180px;
  --ak-logo-width-mobile: 138px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ak-ink);
  background: var(--ak-white);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 8vw, 150px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--ak-line);
  backdrop-filter: blur(14px);
}

.brand img,
footer img {
  width: var(--ak-logo-width);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ak-ink);
  font-weight: 700;
}

.main-nav a {
  color: var(--ak-ink);
}

.main-nav a[href*="/login"],
.main-nav .nav-cta {
  color: var(--ak-purple-nav);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
}

a span[aria-hidden="true"],
button span[aria-hidden="true"],
em span[aria-hidden="true"] {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-left: 4px;
  background: currentColor;
  font-size: 1em;
  line-height: 1;
  vertical-align: -.14em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-cta,
.btn-primary {
  color: var(--ak-purple-nav);
  background: var(--ak-gold);
}

.btn-secondary {
  color: var(--ak-purple);
  background: var(--ak-white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ak-line);
  border-radius: 6px;
  background: var(--ak-white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ak-purple);
}

.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: clamp(68px, 8vw, 128px) clamp(20px, 10vw, 220px) 7px;
  overflow: hidden;
  color: var(--ak-white);
  background: var(--ak-purple-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(48, 22, 58, .96) 0%, rgba(75, 36, 84, .82) 43%, rgba(75, 36, 84, .18) 100%),
    url("../img/fashion/landing-hero-main.jpg") right center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-copy h1,
.section h2,
.signup h2,
.house-cta h2,
.app-strip h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(58px, 7vw, 128px);
  line-height: .92;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ak-gold-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-actions .btn-secondary {
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  color: var(--ak-white);
  background: transparent;
}

.hero-proof {
  position: relative;
  margin-top: 130px;
  padding-left: 58px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 400;
}

.hero-proof::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 2px;
  background: var(--ak-gold-dark);
}

.hero-media { display: none; }

.section {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(66px, 7vw, 130px) 0;
}

.section h2 {
  color: var(--ak-ink);
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1;
  margin-bottom: 18px;
}

.section-heading h2 {
  grid-column: 1;
}

.section-heading a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  border-bottom: 1px solid #c8a9cf;
  padding-bottom: 10px;
  color: var(--ak-purple-soft);
  font-weight: 900;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-grid a {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 6px;
  padding: 28px;
  color: var(--ak-white);
  background-color: var(--ak-purple);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 2.2vw, 38px);
  font-weight: 700;
  line-height: .96;
}

.house-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(36, 27, 41, .05), rgba(36, 27, 41, .88));
}

.category-grid a {
  background-position: center;
  background-size: cover;
}

.category-grid a:nth-child(1) { background-image: linear-gradient(180deg, rgba(36, 27, 41, .05), rgba(36, 27, 41, .88)), url("../img/fashion/lekki-atelier.webp"); }
.category-grid a:nth-child(2) { background-image: linear-gradient(180deg, rgba(36, 27, 41, .05), rgba(36, 27, 41, .88)), url("../img/fashion/kano-royal-stitches.webp"); }
.category-grid a:nth-child(3) { background-image: linear-gradient(180deg, rgba(36, 27, 41, .05), rgba(36, 27, 41, .88)), url("../img/fashion/benin-beads-and-bridal.webp"); }
.category-grid a:nth-child(4) { background-image: linear-gradient(180deg, rgba(36, 27, 41, .05), rgba(36, 27, 41, .88)), url("../img/fashion/landing-storefront.jpg"); }

#discover {
  padding-top: clamp(48px, 6vw, 118px);
  padding-bottom: clamp(56px, 6vw, 120px);
}

.standards {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(300px, 710px) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  margin-top: 0;
  padding: clamp(66.5px, calc(8vw - 7.5px), 134.5px) clamp(20px, 10vw, 220px);
  color: var(--ak-white);
  background: var(--ak-purple);
}

.standards h2,
.steps h2 {
  color: var(--ak-white);
}

.standards p:not(.eyebrow) {
  max-width: 650px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.standards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.standards-row span {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 20px 28px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  color: var(--ak-white);
  font-weight: 900;
}

.standards-row svg,
.app-card-grid svg,
.step-grid svg {
  width: 31px;
  height: 31px;
  color: var(--ak-gold-dark);
  stroke-width: 2;
}

.house-grid,
.step-grid,
.app-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.house-card {
  position: relative;
  min-height: 415px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 6px;
  padding: 30px;
  color: var(--ak-white);
  background: var(--ak-purple);
}

.house-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.house-card span,
.house-card strong,
.house-card em {
  position: relative;
  z-index: 2;
  display: block;
}

.house-card span {
  color: var(--ak-gold-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.house-card strong {
  margin-top: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 2.4vw, 38px);
  line-height: 1;
}

.house-card em {
  margin-top: 16px;
  font-style: normal;
  font-weight: 900;
}

.steps {
  width: 100%;
  max-width: none;
  padding: clamp(66px, 7vw, 122px) clamp(20px, 10vw, 220px);
  background: var(--ak-cream);
}

.steps h2 {
  max-width: 760px;
  color: var(--ak-ink);
  font-size: clamp(40px, 4vw, 66px);
}

.compact {
  display: block;
}

.step-grid {
  margin-top: 42px;
}

.step-grid article {
  min-height: 250px;
  padding: 34px;
  border: 1px solid var(--ak-line);
  border-radius: 6px;
  background: var(--ak-white);
}

.step-grid article > svg {
  width: 44px;
  height: 44px;
  color: var(--ak-purple-soft);
  stroke-width: 1.8;
}

.step-grid span {
  float: right;
  color: #c39dcc;
  font-weight: 900;
}

.step-grid h3 {
  clear: both;
  margin: 40px 0 12px;
  font-size: 24px;
}

.step-grid p {
  margin: 0;
  color: var(--ak-muted);
  font-size: 18px;
  line-height: 1.55;
}

.house-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, .95fr);
  gap: 0;
  overflow: hidden;
  border-radius: 6px;
  padding: 0;
}

.house-cta-media {
  min-height: 560px;
  background: #d8e7ea;
}

.house-cta-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.house-cta > div:last-child {
  display: grid;
  align-content: center;
  padding: clamp(46px, 6vw, 82px);
  color: var(--ak-white);
  background: var(--ak-purple-deep);
}

.house-cta h2 {
  max-width: 760px;
  color: var(--ak-white);
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1;
}

.house-cta p {
  max-width: 560px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
}

.house-cta .btn {
  width: max-content;
}

.app-strip {
  position: relative;
}

.app-copy {
  position: relative;
  margin-bottom: 34px;
}

.app-copy h2 {
  max-width: 1020px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1;
}

.coming-soon {
  position: absolute;
  right: 0;
  bottom: 6px;
  display: inline-flex;
  padding: 8px 16px;
  border: 1px solid var(--ak-line);
  border-radius: 999px;
  color: var(--ak-purple-soft);
  font-size: 13px;
  font-weight: 400;
}

.app-card-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--ak-line);
  border-radius: 6px;
  background: var(--ak-white);
}

.app-card-grid article > svg {
  width: 27px;
  height: 27px;
}

.app-card-grid h3 {
  margin: 34px 0 10px;
  font-size: 23px;
}

.app-card-grid p {
  min-height: 66px;
  margin: 0 0 20px;
  color: var(--ak-muted);
  font-size: 16px;
  line-height: 1.45;
}

.app-card-grid strong {
  color: var(--ak-gold-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signup {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, .9fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  padding: clamp(76px, 8vw, 120px) clamp(20px, 10vw, 220px);
  color: var(--ak-white);
  background: var(--ak-purple);
}

.signup h2 {
  max-width: 960px;
  color: var(--ak-white);
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.02;
}

.signup-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 12px;
  --signup-control-height: 46px;
}

.signup-form label {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 400;
}

.signup-form input {
  width: 100%;
  height: var(--signup-control-height);
  min-height: 0;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: var(--ak-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
}

.signup-form .btn {
  height: var(--signup-control-height);
  padding-top: 0;
  padding-bottom: 0;
}

.form-note {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 58px clamp(20px, 10vw, 220px);
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  font-weight: 400;
  background: var(--ak-purple-deep);
}

footer img {
  filter: none;
}

footer div {
  justify-self: end;
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  color: #ffd23f;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

footer::before {
  content: "Discover authenticity.";
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  font-weight: 400;
}

.mini-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: min(340px, calc(100vw - 44px));
  padding: 20px;
  border: 1px solid var(--ak-line);
  border-radius: 8px;
  background: var(--ak-white);
  box-shadow: var(--ak-shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.mini-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mini-popup button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.mini-popup strong {
  color: var(--ak-purple);
  font-size: 19px;
}

.mini-popup p {
  color: var(--ak-muted);
}

.mini-popup a {
  color: var(--ak-gold-dark);
  font-weight: 900;
}

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

  .main-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--ak-line);
    border-radius: 6px;
    background: var(--ak-white);
    box-shadow: var(--ak-shadow);
  }

  .main-nav.is-open { display: flex; }

  .category-grid,
  .house-grid,
  .step-grid,
  .app-card-grid,
  .standards,
  .house-cta,
  .signup {
    grid-template-columns: 1fr;
  }

  .standards {
    padding-left: 28px;
    padding-right: 28px;
  }

  .coming-soon {
    position: static;
    margin-top: 18px;
  }

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

  footer {
    grid-template-columns: 1fr;
  }

  footer::before {
    justify-self: start;
    grid-column: 1;
    grid-row: auto;
  }

  footer div {
    justify-self: start;
  }
}

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

  .brand img,
  footer img { width: var(--ak-logo-width-mobile); }

  .hero {
    min-height: 720px;
    padding: 58px 20px 42px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(48, 22, 58, .94), rgba(75, 36, 84, .68)),
      url("../img/fashion/landing-hero-main.jpg") center / cover no-repeat;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .lede {
    font-size: 18px;
  }

  .hero-proof {
    margin-top: 70px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .section-heading a {
    grid-column: 1;
    grid-row: auto;
  }

  .section h2,
  .app-copy h2,
  .house-cta h2,
  .signup h2 {
    font-size: 42px;
  }

  .category-grid a,
  .house-card {
    min-height: 270px;
  }

  .standards,
  .steps,
  .signup,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .standards-row {
    grid-template-columns: 1fr;
  }

  .house-cta-media,
  .house-cta-media img {
    min-height: 320px;
  }
}

.ak-ad-slot {
  margin: 0 40px 40px;
}
.ak-ad-slot:empty {
  display: none;
  margin: 0;
}
.ak-ad-slot img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.ak-ad-slot-text {
  border-radius: 12px;
  padding: 32px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 760px) {
  .ak-ad-slot {
    margin: 0 20px 24px;
  }
}
