/* RISLIX 08e: About Us page. Loaded after styles.css and pages.css. Classes are prefixed ab-. */

/* R-Trax sub-menu, interim until the shared navbar is stamped into SHELL:HEADER */
.nav-dd { position: relative; }
.nav ul.nav-sub { display: none; }
@media (min-width: 1121px) {
  .nav ul.nav-sub {
    position: absolute; top: 100%; left: -14px; z-index: 5; min-width: 200px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    background: var(--night-2); color: var(--ink-l); border: 1px solid var(--line-l); border-radius: 12px;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
  }
  .nav .nav-dd:hover > ul.nav-sub, .nav .nav-dd:focus-within > ul.nav-sub { display: flex; }
  .nav-sub a:not(.btn) { display: block; padding: 8px 10px; border-radius: 8px; }
  .nav-sub a:not(.btn):hover { background: rgba(234, 240, 244, .08); }
}
@media (max-width: 1120px) {
  .nav ul.nav-sub { display: block; position: static; padding: 0 0 0 16px; transform: none; opacity: 1; visibility: visible; border: 0; background: none; }
}

/* ---------- eyebrow over section headings ---------- */
.ab-eyebrow { margin-bottom: 12px; font-weight: 600; font-size: .9375rem; color: var(--verd-d); }
[data-tone="night"] .ab-eyebrow { color: var(--lantern); }

/* ---------- who we are ---------- */
.ab-who { align-items: start; }
.ab-who .copy h2 { max-width: 18ch; }
.ab-hl { color: var(--verd-d); }
.ab-who .copy > p + p { margin-top: 14px; }
.ab-stats { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.ab-stats > div { display: flex; flex-direction: column-reverse; }
.ab-stats dt { font-size: .875rem; color: var(--ink-d-soft); }
.ab-stats dd { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink-d); margin-bottom: 6px; }
.ab-cta { margin-top: 32px; }

.ab-card {
  position: relative; overflow: hidden; border-radius: 18px; padding: clamp(28px, 4vw, 48px);
  background: radial-gradient(120% 90% at 80% 0%, #1B3A58 0%, var(--night) 60%); color: var(--ink-l);
  box-shadow: 0 40px 80px -48px rgba(16, 32, 48, .7);
}
.ab-card-logo img { height: 40px; width: auto; }
.ab-card-tag { margin-top: 18px; font-weight: 600; font-size: .9375rem; color: var(--lantern); letter-spacing: .02em; }
.ab-card-copy { margin-top: 16px; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.01em; max-width: 28ch; }
.ab-card-list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ab-card-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 12px; background: var(--night-2); border: 1px solid var(--line-l); font-weight: 500; font-size: .9375rem;
}
.ab-card-list li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--verd) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6 11.6 5.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- core values: a large typographic list ---------- */
.ab-values { border-bottom: 1px solid var(--line-l); }
.ab-values li {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(26px, 3.6vw, 44px) 0; border-top: 1px solid var(--line-l);
}
.ab-values h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: -.025em; }
.ab-values p { color: var(--ink-l-soft); max-width: 48ch; }

/* ---------- certifications: names only, no logos ---------- */
.ab-creds { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ab-creds li {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 18px;
  border-radius: 14px; background: #fff; font-weight: 600; color: var(--ink-d);
  box-shadow: 0 0 0 1px rgba(16, 32, 48, .08), 0 24px 48px -36px rgba(16, 32, 48, .45);
}
.ab-creds li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--verd);
  box-shadow: 0 0 0 4px rgba(31, 138, 112, .15);
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .ab-values li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 520px) {
  .ab-card-list { grid-template-columns: minmax(0, 1fr); }
  .ab-stats { gap: 18px 28px; }
  .ab-stats dd { font-size: 2rem; }
}
