/* Retentio — About page */

.about-brand img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.nav-links .is-current {
  color: var(--navy);
}

.nav-dropdown-menu-compact {
  min-width: 180px;
}

.nav-links .nav-dropdown-menu a.is-current {
  color: var(--navy);
  background: #f5f5fa;
}

.nav-mobile .nav-cta {
  margin-top: 8px;
  text-align: center;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 84px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(164, 71, 166, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(45, 46, 110, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f4fa 100%);
  border-bottom: 1px solid var(--line);
}

.about-hero::after {
  content: "";
  position: absolute;
  right: min(-4vw, -24px);
  top: 8%;
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 71, 166, 0.14) 0%, rgba(45, 46, 110, 0.05) 46%, transparent 72%);
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero-lines {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(36px, 6.2vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.about-hero-lines span {
  display: block;
  color: var(--ink);
}

.about-hero-lines span + span {
  margin-top: 0.18em;
}

.about-hero-emphasis {
  color: var(--pink) !important;
  font-style: italic;
  font-weight: 800;
}

.about-hero-support {
  max-width: 38em;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.7;
}

.about-eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777890;
}

.about-story {
  padding: 80px 0 36px;
  scroll-margin-top: 88px;
}

.about-story .container {
  position: relative;
}

.about-story .container::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: min(14%, 140px);
  height: calc(100% - 16px);
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(45, 46, 110, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-story-inner {
  position: relative;
  z-index: 1;
  max-width: 62em;
  margin-left: 0;
}

.about-story-lead,
.about-story-body {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.about-story-own {
  margin: 40px 0 36px;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.about-story-body {
  margin-bottom: 32px;
}

.about-story-diff {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-story-diff p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-brand-line {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.about-brand-line + .about-brand-line {
  margin-top: 6px;
  color: var(--pink);
  font-style: italic;
}

.about-work {
  padding: 20px 0 80px;
  scroll-margin-top: 88px;
}

.about-work-intro {
  max-width: 62em;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.retain-system {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 0 0 40px;
  padding: 4px 0 0;
}

.retain-os {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  user-select: none;
}

.retain-os-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 92px;
  padding: 0 6px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(45, 46, 110, 0.06);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.retain-os-letter[data-letter="R"] { background: linear-gradient(135deg, #2d2e6e, #4a4db8); }
.retain-os-letter[data-letter="E"] { background: linear-gradient(135deg, #4a4db8, #6b4fbb); }
.retain-os-letter[data-letter="T"] { background: linear-gradient(135deg, #6b4fbb, #a040a0); }
.retain-os-letter[data-letter="A"] { background: linear-gradient(135deg, #a040a0, #c8407a); }
.retain-os-letter[data-letter="I"] { background: linear-gradient(135deg, #c8407a, #e8605a); }
.retain-os-letter[data-letter="N"] { background: linear-gradient(135deg, #e8605a, #e8735a); }

.retain-os-letter:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(45, 46, 110, 0.14);
}

.retain-os-tm {
  align-self: start;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #777890;
}

.retain-components {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  width: 100%;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-align: center;
}

.retain-components span:nth-child(odd) {
  padding: 10px 4px 2px;
}

.retain-components span:nth-child(even) {
  color: #b0b1c4;
  font-weight: 600;
}

.about-process {
  display: block;
  margin: 0;
  padding-top: 8px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

.about-process-steps,
.about-process-step,
.about-process-arrow,
.about-process-rest {
  display: inline;
}

.about-process-step {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.about-process-arrow {
  color: var(--pink);
  font-weight: 700;
  font-size: 20px;
  padding: 0 0.35em;
}

.about-process-rest {
  font-weight: 500;
  margin-left: 0.3em;
}

.about-cta {
  position: relative;
  background: #1b1c2e;
  color: #fff;
  padding: 88px 0;
}

.about-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #56bfc3 0%, #a447a6 55%, transparent 100%);
}

.about-cta-line {
  max-width: 18em;
  margin: 0 0 28px;
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.about-cta-mail {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-cta-mail:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.about-cta-mail:focus-visible {
  outline: 2px solid #56bfc3;
  outline-offset: 3px;
}

.site-footer {
  background: #1a1a2e;
  padding: 64px 0 28px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  max-width: 220px;
  margin: 0 0 16px;
}

.footer-email {
  font-size: 13px;
  color: #6ec6c8;
  display: block;
  margin-bottom: 16px;
}

.footer-email:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-social a:hover { color: #fff; }

.footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
  .about-story .container::after { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .about-hero { padding: 72px 0 56px; }
  .retain-os-letter {
    height: 64px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .about-story { padding: 64px 0 28px; }
  .about-work { padding: 12px 0 64px; }
  .about-cta { padding: 64px 0; }
  .retain-os {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .retain-os-tm { display: none; }
  .retain-components {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 0;
    text-align: left;
  }
  .about-process-steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .about-process-step,
  .about-process-arrow {
    display: block;
  }
  .about-process-arrow {
    transform: rotate(90deg);
    margin-left: 28px;
    padding: 0;
  }
  .about-process-rest {
    display: block;
    margin-top: 10px;
    margin-left: 0;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .about-hero-lines { font-size: 32px; }
  .about-hero-support { font-size: 16px; margin-top: 24px; }
  .retain-os {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .retain-os-tm { display: none; }
  .retain-components { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .retain-os-letter {
    transition: none;
  }
}
