:root {
  --ink: #2c352c;
  --ink-soft: #4f594c;
  --forest: #59644f;
  --forest-deep: #374034;
  --lime: #d7b76a;
  --lime-soft: #f2e6c8;
  --mint: #dce2d4;
  --cream: #f6f0e5;
  --white: #fffdf8;
  --coral: #ae8750;
  --line: #d9d1c1;
  --muted: #70766c;
  --shadow: 0 24px 70px rgba(59, 70, 55, 0.14);
}

body {
  background-image:
    radial-gradient(circle at 7% 12%, rgba(215, 183, 106, 0.12), transparent 22rem),
    radial-gradient(circle at 90% 23%, rgba(89, 100, 79, 0.08), transparent 26rem);
}

.brand-mark,
.mini-brand-mark {
  width: 50px;
  height: 50px;
  display: block;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  background: #a98243;
  -webkit-mask: url('images/karat-icon.png?v=4') center / contain no-repeat;
  mask: url('images/karat-icon.png?v=4') center / contain no-repeat;
}

.brand-lockup {
  min-width: 170px;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.brand-lockup small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mini-brand {
  gap: 9px;
  letter-spacing: 0;
}

.mini-brand-mark {
  width: 40px;
  height: 40px;
}

.mini-brand .brand-lockup {
  min-width: 150px;
}

.mini-brand .brand-lockup strong {
  color: var(--white);
}

.mini-brand .brand-lockup small {
  color: rgba(255, 253, 248, 0.62);
}

.footer-brand {
  gap: 9px;
  letter-spacing: 0;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
}

.footer-brand .brand-lockup {
  min-width: 155px;
}

h1 em,
.section-heading h2 em,
.wellness-head h2 em,
.quiz-aside h2 em {
  color: var(--forest);
}

.hero::before {
  background: rgba(220, 226, 212, 0.72);
}

.hero-visual,
.tile-art,
.meal-visual,
.empty-icon {
  background: linear-gradient(145deg, #e6e8dd, #d1dac9);
}

.hero-visual::before,
.orbit,
.match-card,
.float-card {
  border-color: rgba(55, 64, 52, 0.16);
}

.match-card {
  background: rgba(255, 253, 248, 0.9);
}

.spark {
  background: var(--lime);
  color: var(--forest-deep);
}

.brand-world {
  max-width: 1160px;
  margin: 34px auto 90px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
  border: 1px solid rgba(89, 100, 79, 0.18);
  border-radius: 32px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: var(--shadow);
}

.brand-world-image {
  min-height: 440px;
  border-radius: 23px;
  overflow: hidden;
  background: #d9ddcf;
}

.brand-world-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.brand-world-copy {
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 23px;
  background: var(--forest-deep);
  color: var(--white);
}

.brand-world-copy .eyebrow,
.brand-world-copy h2 em {
  color: var(--lime);
}

.brand-world-copy h2 {
  margin: 20px 0;
  font-size: clamp(38px, 3.2vw, 50px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.brand-world-copy p {
  color: rgba(255, 253, 248, 0.7);
  font-size: 12px;
  line-height: 1.8;
}

.brand-pill-row {
  margin: 12px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-pill-row span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-world-copy .text-button {
  width: fit-content;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--lime);
  color: var(--white);
}

.quiz-aside,
.library-cta,
.membership-section {
  background: var(--forest-deep);
}

.quiz-aside::before,
.quiz-aside::after {
  border-color: rgba(215, 183, 106, 0.22);
}

.quiz-aside h2 em {
  color: var(--lime);
}

@media (max-width: 1180px) {
  .brand-world {
    margin-inline: clamp(22px, 4vw, 56px);
  }
}

@media (max-width: 820px) {
  .brand-world {
    grid-template-columns: 1fr;
  }

  .brand-world-image {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-lockup {
    min-width: 150px;
  }

  .brand-world {
    margin-bottom: 60px;
    padding: 8px;
    border-radius: 24px;
  }

  .brand-world-image {
    min-height: 245px;
    border-radius: 18px;
  }

  .brand-world-copy {
    padding: 30px 24px;
    border-radius: 18px;
  }
}
