/* /assets/css/about.css */

.about-page {
  background:
    radial-gradient(circle at 12% 2%, rgba(37, 99, 235, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(15, 159, 110, 0.08), transparent 24rem),
    linear-gradient(180deg, #ffffff 0, #f7f8fb 560px),
    #f7f8fb;
}

.about-page .site-container {
  padding-bottom: 72px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: clamp(48px, 7vw, 92px) 0 42px;
}

.about-hero-copy {
  max-width: 760px;
}

.about-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.55rem, 5.1vw, 4.75rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-hero .lead {
  max-width: 690px;
  margin-top: 20px;
}

.hero-actions,
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-panel,
.about-card,
.about-belief-card,
.about-focus-card,
.about-principle-grid article,
.about-cta {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.075);
}

.about-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 28px);
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.about-panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.about-logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef5ff;
  color: #005eea;
  font-weight: 950;
}

.about-panel h2 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.22rem;
  line-height: 1.2;
}

.about-panel p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.62;
}

.about-signal-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.about-signal-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
}

.about-signal-list strong,
.about-card-label,
.about-principle-grid article > span {
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.about-signal-list span {
  color: var(--muted-strong);
  line-height: 1.48;
}

.about-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 36px);
  align-items: start;
}

.about-copy {
  max-width: 760px;
}

.about-copy h2,
.about-card h2,
.about-belief-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.12;
  font-weight: 925;
  letter-spacing: 0;
  text-wrap: balance;
}

.about-copy p,
.about-card p,
.about-focus-card p,
.about-belief-card p,
.about-principle-grid p,
.about-cta p {
  color: var(--muted-strong);
  line-height: 1.72;
}

.about-copy p,
.about-card p,
.about-belief-card p {
  margin: 0 0 14px;
}

.about-focus-grid {
  display: grid;
  gap: 14px;
}

.about-focus-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-focus-card:hover,
.about-principle-grid article:hover,
.about-category-section .category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.09);
}

.about-focus-card > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eef5ff;
  color: #1d4ed8;
  font-weight: 950;
}

.about-focus-card h3,
.about-principle-grid h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.25;
}

.about-focus-card p,
.about-principle-grid p {
  margin: 0;
}

.about-belief-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 42%),
    #ffffff;
}

.about-belief-card .eyebrow {
  margin-bottom: 12px;
}

.about-belief-card p {
  margin: 0;
  font-size: 1.04rem;
}

.about-category-section .section-header,
.about-principles .section-header {
  margin-bottom: 22px;
}

.about-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-category-section .category-card {
  min-height: 242px;
  padding: 20px;
  overflow: hidden;
}

.about-category-section .category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--about-card-accent, var(--accent));
}

.about-category-section .category-card:nth-child(2) { --about-card-accent: var(--accent-2); }
.about-category-section .category-card:nth-child(3) { --about-card-accent: #f97316; }
.about-category-section .category-card:nth-child(4) { --about-card-accent: #be123c; }

.about-category-symbol {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef5ff;
  color: #1d4ed8;
}

.about-category-symbol.green { background: #ecfdf5; color: #047857; }
.about-category-symbol.gold { background: #fff7ed; color: #b45309; }
.about-category-symbol.rose { background: #fff1f2; color: #be123c; }

.about-category-symbol svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-category-section .category-card h3 {
  font-size: 1.08rem;
}

.about-category-section .category-card p {
  line-height: 1.65;
}

.about-category-section .category-card .btn-secondary {
  width: 100%;
}

.about-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-principle-grid article {
  display: flex;
  min-height: 204px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-principle-grid article > span {
  color: #0f766e;
}

.about-card {
  padding: clamp(22px, 3.5vw, 32px);
}

.about-card-label {
  margin: 0 0 12px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(15, 159, 110, 0.07)),
    #ffffff;
}

.about-cta h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.12;
}

.about-cta p {
  max-width: 660px;
  margin: 0;
}

.about-cta .eyebrow {
  margin-bottom: 12px;
}

.about-cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

@media (max-width: 980px) {
  .about-hero,
  .about-section-grid,
  .about-belief-card {
    grid-template-columns: 1fr;
  }

  .about-panel {
    max-width: 680px;
  }

  .about-category-grid,
  .about-principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-page .site-container {
    padding-bottom: 54px;
  }

  .about-hero {
    padding: 38px 0 24px;
  }

  .about-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .hero-actions,
  .about-cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .about-cta-actions .btn {
    width: 100%;
  }

  .about-panel-header,
  .about-focus-card {
    grid-template-columns: 1fr;
  }

  .about-focus-card > span {
    grid-row: auto;
  }

  .about-category-grid,
  .about-principle-grid {
    grid-template-columns: 1fr;
  }

  .about-cta {
    align-items: stretch;
    flex-direction: column;
  }
}
