/* AFK homepage interactions */

.hero-lens {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.hero-lens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lens-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.lens-tab {
  min-width: 0;
  padding: 13px 10px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.lens-tab:last-child { border-right: 0; }
.lens-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.lens-tab.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 -2px 0 var(--ink);
}

.lens-panel { padding: 24px 26px 26px; }
.lens-topic {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.lens-panel h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(27px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.lens-intro {
  max-width: 620px;
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.lens-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lens-question {
  min-height: 112px;
  padding: 14px 15px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 35%, transparent);
}

.lens-question > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lens-question p {
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
}

/* About carousel */
.about-carousel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.about-carousel-head .eyebrow {
  max-width: none;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}
.about-carousel-actions { display: flex; align-items: center; gap: 8px; }
.about-counter {
  min-width: 50px;
  margin-right: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.about-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.about-arrow:hover { background: var(--surface); border-color: color-mix(in srgb, var(--ink) 24%, var(--line)); }
.about-viewport { overflow: hidden; }
.about-track {
  display: flex;
  will-change: transform;
  transition: transform 560ms cubic-bezier(.22,.7,.24,1);
}

.about-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: .42fr 1.58fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
  min-height: 385px;
  padding: 54px 0 62px;
}

.about-slide-mark {
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1;
}

.about-slide-copy { max-width: 900px; }
.about-slide-label {
  margin: 3px 0 14px !important;
  color: var(--muted) !important;
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-carousel .about-slide h2 {
  max-width: 930px;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1;
  letter-spacing: -.052em;
}

.about-carousel .about-slide-copy > p:not(.about-slide-label) {
  max-width: 790px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-carousel .about-slide-copy > p + p { margin-top: 15px; }

.about-dots {
  display: flex;
  gap: 8px;
  padding: 0 0 24px calc(42% + clamp(36px, 6vw, 78px));
}

.about-dot {
  width: 31px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 16%, transparent);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.about-dot.is-active { width: 48px; background: var(--ink); }

@media (max-width: 820px) {
  .hero-lens { min-height: 0; }
  .lens-panel h2 { font-size: 31px; }
  .about-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 44px 0 48px;
  }
  .about-slide-mark { font-size: 48px; }
  .about-dots { padding-left: 0; }
}

@media (max-width: 560px) {
  .hero-lens-head { padding: 14px 16px; }
  .lens-tabs { grid-template-columns: 1fr 1fr; }
  .lens-tab:nth-child(2) { border-right: 0; }
  .lens-tab:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lens-panel { padding: 21px 16px 18px; }
  .lens-panel h2 { font-size: 28px; }
  .lens-intro { margin-bottom: 18px; }
  .lens-questions { grid-template-columns: 1fr; }
  .lens-question { min-height: 0; }
  .about-carousel-head { min-height: 54px; }
  .about-counter { display: none; }
  .about-slide { padding: 36px 0 42px; }
  .about-slide-mark { font-size: 42px; }
  .about-carousel .about-slide h2 { font-size: 42px; }
  .about-carousel .about-slide-copy > p:not(.about-slide-label) { margin-top: 22px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-track { transition: none; }
  .lens-tab, .about-dot, .about-arrow { transition: none; }
}
