/* EngageGrove — About page */

.about-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.about-section-inner {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.about-section-title {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.about-section-text {
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.about-section-text + .about-section-text {
  margin-top: 0.85rem;
}

.about-center-header {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.about-section-glow {
  pointer-events: none;
  position: absolute;
  inset: -8% 18% auto;
  height: 42%;
  background: radial-gradient(ellipse 50% 55% at 50% 0%, var(--glow), transparent 72%);
}

.about-section-glow-right {
  inset: -8% auto auto 20%;
  background: radial-gradient(ellipse 50% 55% at 70% 0%, var(--glow), transparent 72%);
}

.about-mission,
.about-what,
.about-cando,
.about-audience,
.about-how,
.about-why,
.about-approach,
.about-location {
  position: relative;
  overflow: hidden;
}

/* Hero */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero-inner {
  padding-top: 7rem;
  padding-bottom: 4.5rem;
}

.about-hero-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-hero-title {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.about-hero-title .dot {
  color: var(--primary);
}

.about-hero-desc {
  margin-top: 1.1rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.about-hero-ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-hero-visual {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.about-hero-glow {
  pointer-events: none;
  position: absolute;
  inset: -18% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse 55% 65% at 50% 20%, var(--glow), transparent 72%);
}

.about-hero-dash {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 24px 60px -28px oklch(0.3 0.05 20 / 0.3);
  animation: schedule-fade-up 0.7s ease both;
}

.about-hero-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.about-pill {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
}

.about-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  background: var(--success-soft);
  color: var(--success);
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
}

.about-live span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--success);
}

.about-hero-tiles {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.about-tile {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--background);
  padding: 0.9rem 1rem;
}

.about-tile-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
}

.about-tile-meta {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.about-hero-chips {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.about-hero-chips span {
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--background);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Split layouts */
.about-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-mission-card,
.about-why-visual {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.4rem 1.25rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
}

.about-mission-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.about-mission-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.about-mission-list li {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--background);
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Product cards */
.about-product-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.15rem;
}

.about-product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.about-product-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 38%, transparent);
  box-shadow: 0 14px 30px -16px oklch(0.3 0.05 20 / 0.25);
}

.about-product-card-alt {
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--primary-soft) 45%, white),
    var(--card)
  );
}

.about-product-badge {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.3rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-product-title {
  margin-top: 0.9rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.about-product-text {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.about-product-plats {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.about-product-plats span {
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--background);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.about-product-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.15s ease;
}

.about-product-link svg {
  width: 1rem;
  height: 1rem;
}

.about-product-link:hover {
  gap: 0.55rem;
}

.about-product-link:focus-visible {
  outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Feature / audience / principle cards */
.about-card-grid,
.about-audience-grid,
.about-principles {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  animation: schedule-fade-up 0.65s ease both;
}

.about-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--primary) 35%, transparent);
  box-shadow: 0 12px 28px -16px oklch(0.3 0.05 20 / 0.22);
}

.about-card-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.about-card-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.about-card-title {
  margin-top: 0.9rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.about-card-text {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

/* Steps */
.about-steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0;
}

.about-step {
  display: flex;
  flex-direction: column;
}

.about-step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.05);
}

.about-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.about-step-title {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
}

.about-step-text {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.about-step-connector {
  display: block;
  width: 1px;
  height: 1rem;
  margin: 0.35rem auto;
  background: linear-gradient(
    180deg,
    color-mix(in oklch, var(--primary) 45%, transparent),
    color-mix(in oklch, var(--primary) 15%, transparent)
  );
}

/* Why visual */
.about-why-sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.about-why-sources span {
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--background);
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.about-why-arrow {
  margin: 0.9rem 0;
  text-align: center;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.about-why-hub {
  border: 1px solid color-mix(in oklch, var(--primary) 35%, var(--border));
  border-radius: 1.15rem;
  background: color-mix(in oklch, var(--primary-soft) 55%, white);
  padding: 1.1rem 1rem;
  text-align: center;
}

.about-why-hub-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--foreground);
}

.about-why-hub-sub {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Location */
.about-location {
  padding-block: 1.25rem 3.25rem;
}

.about-location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 34rem;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 1px 2px oklch(0.3 0.05 20 / 0.04);
}

.about-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}

.about-location-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.about-location-copy {
  min-width: 0;
}

.about-location-title {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-location-address {
  margin: 0;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

/* Final CTA */
.about-final {
  position: relative;
  padding-bottom: 5rem;
}

.about-final-inner {
  position: relative;
}

.about-final-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.85rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 1.5rem 2.75rem;
  text-align: center;
  box-shadow: 0 30px 80px -28px oklch(0.3 0.05 20 / 0.28);
  animation: schedule-fade-up 0.7s ease both;
}

.about-final-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, var(--glow), transparent 72%);
}

.about-final-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
}

.about-final-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.about-final-desc {
  margin-top: 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.about-final-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-dash,
  .about-card,
  .about-product-card,
  .about-final-card {
    animation: none;
  }

  .about-card:hover,
  .about-product-card:hover {
    transform: none;
  }
}

@media (min-width: 640px) {
  .about-hero-title {
    font-size: 3rem;
  }

  .about-section-title {
    font-size: 2.35rem;
  }

  .about-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-final-actions {
    flex-direction: row;
  }

  .about-final-title {
    font-size: 2.4rem;
  }
}

@media (min-width: 900px) {
  .about-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 0.35rem;
  }

  .about-step {
    display: contents;
  }

  .about-step-connector {
    width: 1.2rem;
    height: 1px;
    margin: auto 0.1rem;
    background: linear-gradient(
      90deg,
      color-mix(in oklch, var(--primary) 18%, transparent),
      color-mix(in oklch, var(--primary) 55%, transparent),
      color-mix(in oklch, var(--primary) 18%, transparent)
    );
  }
}

@media (min-width: 1024px) {
  .about-hero-inner {
    padding-top: 8rem;
    padding-bottom: 5.5rem;
  }

  .about-hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }

  .about-hero-title {
    font-size: 3.5rem;
  }

  .about-hero-visual {
    max-width: none;
    margin-inline: 0;
  }

  .about-section-inner {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .about-section-title {
    font-size: 2.75rem;
  }

  .about-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }

  .about-split-reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .about-split-reverse > :first-child {
    order: 2;
  }

  .about-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-audience-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-final {
    padding-bottom: 6rem;
  }

  .about-final-card {
    border-radius: 2rem;
    padding: 4rem 3.5rem 3.5rem;
  }

  .about-final-title {
    font-size: 3rem;
  }
}

@media (max-width: 639px) {
  .about-hero-ctas .btn-primary,
  .about-hero-ctas .btn-secondary,
  .about-final-actions .btn-primary,
  .about-final-actions .btn-secondary {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}
