.company-page {
  background: #fffdf9;
}

.company-page .navbar {
  background: rgba(255, 253, 249, 0.9);
}

.company-page .nav-links a[aria-current="page"] {
  color: var(--ink);
}

.company-story-copy a span {
  transition: transform 200ms ease;
}

.company-story-copy a:hover span {
  transform: translate(2px, -2px);
}

.company-stories {
  padding: 82px 0 100px;
}

.company-stories-intro {
  padding: 28px 0 60px;
  border-bottom: 1px solid var(--line);
}

.company-stories-eyebrow {
  color: var(--plum);
  font-family: var(--detail);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.company-stories-intro h1 {
  margin: 18px 0 18px;
  color: var(--ink);
  font-size: clamp(3.7rem, 7.4vw, 7.8rem);
  line-height: 0.98;
}

.company-stories-intro h1 em {
  display: block;
  color: var(--plum);
  font-style: italic;
}

.company-stories-subtitle {
  max-width: 690px;
  color: var(--plum);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.company-story {
  display: grid;
  padding: 66px 0;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 105px;
}

.company-story-visual {
  display: grid;
  min-height: 245px;
  place-items: center;
  background: var(--story-bg);
  border: 1px solid rgba(69, 48, 77, 0.08);
  border-radius: 30px;
}

.company-story-visual img {
  width: min(42%, 145px);
  max-height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 12px 17px rgba(58, 39, 61, 0.12));
}

.company-story-visual--swap {
  position: relative;
  transition: background-color 240ms ease;
}

.company-story-visual--swap .company-beauty-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: opacity 220ms ease, transform 220ms ease;
}

.company-beauty-logo--97 {
  width: min(74%, 250px);
  max-height: 190px;
  filter: none;
  opacity: 0;
  transform: scale(0.96);
}

.company-story-visual--swap:is(:hover, :focus-visible) {
  background: #5c4c3d;
}

.company-story-visual--swap:is(:hover, :focus-visible) .company-beauty-logo--mabia {
  opacity: 0;
  transform: scale(0.96);
}

.company-story-visual--swap:is(:hover, :focus-visible) .company-beauty-logo--97 {
  opacity: 1;
  transform: scale(1);
}

.company-story--llc { --story-bg: #fff; }
.company-story--iam { --story-bg: #fff; }
.company-story--services { --story-bg: #fff; }
.company-story--eic { --story-bg: #faedcf; }
.company-story--beauty { --story-bg: #f8dce5; }

.company-story-kicker {
  color: #745b7a;
  font-family: var(--detail);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.company-story-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(3.5rem, 5.5vw, 5.7rem);
}

.company-story-copy h2 em {
  display: block;
  max-width: 580px;
  font-size: 0.62em;
  line-height: 1;
}

.company-story-copy p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(0.99rem, 1.25vw, 1.1rem);
  line-height: 1.8;
}

.company-story-status {
  display: inline-block;
  margin: 0 0 17px;
  padding: 6px 12px;
  color: #5c4467;
  background: #f0e9f5;
  border-radius: 999px;
  font-family: var(--detail);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-story-copy a {
  display: inline-flex;
  margin-top: 24px;
  align-items: center;
  gap: 12px;
  color: var(--plum-deep);
  border-bottom: 1px solid rgba(48, 34, 56, 0.35);
  font-family: var(--detail);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.company-story-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 28px;
  margin-top: 24px;
}

.company-story-links a {
  margin-top: 0;
}

.company-close {
  padding: 90px 0 110px;
  text-align: center;
  background: linear-gradient(120deg, #f6edf7, #f9f1e9);
}

.company-close .eyebrow {
  justify-content: center;
}

.company-close h2 {
  max-width: 740px;
  margin: 20px auto 29px;
  font-size: clamp(2.8rem, 5.5vw, 5.3rem);
}

@media (max-width: 980px) {
  .company-story {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .company-stories {
    padding-top: 72px;
  }

  .company-stories-intro {
    padding: 10px 0 44px;
  }

  .company-stories-intro h1 {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }

  .company-story {
    padding: 42px 0 55px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-story-visual {
    min-height: 205px;
  }

  .company-story-copy h2 {
    font-size: clamp(3.2rem, 10vw, 4.8rem);
  }
}

@media (max-width: 430px) {
  .company-story-visual {
    min-height: 175px;
  }
}
