/* ============================================================
   About and FAQ
   Loaded after redesign.css. Tokens (--rd-*) come from that file.
   Kept separate so a cached redesign.css still picks up this pass.
   ============================================================ */

/* ============================================================
   About and FAQ (visual pass)
   ============================================================ */

.ab-hero {
  padding: 3.25rem 0 3.5rem;
}

.ab-hero h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.45;
  max-width: 16em;
  margin-inline: auto;
}

.ab-hero-lead {
  max-width: 42rem;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.95;
}

.ab-page {
  padding-top: 2.75rem;
  padding-bottom: 3.5rem;
}

.ab-intro,
.ab-pair,
.ab-value-grid,
.ab-chip-grid {
  display: grid;
  gap: 1.25rem;
}

.ab-intro {
  align-items: center;
  margin-bottom: 2.5rem;
}

.ab-prose {
  max-width: 42rem;
  display: grid;
  gap: 1rem;
}

.ab-prose p,
.ab-panel p,
.ab-values-lead,
.ab-shelf > p {
  color: var(--rd-muted);
  line-height: 1.95;
  font-size: 1.02rem;
}

.ab-art {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.9), transparent 62%),
    linear-gradient(180deg, #fff, var(--rd-primary-50));
  border: 1px solid var(--rd-line);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: var(--rd-shadow);
}

.ab-art img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.ab-pair {
  margin-bottom: 2.75rem;
}

.ab-panel,
.ab-value,
.ab-chip,
.fq-item,
.fq-cta {
  background: #fff;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  box-shadow: 0 1px 2px rgba(30, 25, 107, 0.04);
}

.ab-panel {
  padding: 1.6rem 1.45rem 1.4rem;
  border-top: 3px solid #f5d76e;
  height: 100%;
}

.ab-panel h2,
.ab-values h2,
.ab-shelf h2,
.fq-group h2,
.fq-cta h2 {
  color: var(--rd-primary);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.ab-panel p + p {
  margin-top: 0.85rem;
}

.ab-values,
.ab-shelf {
  margin-bottom: 2.75rem;
}

.ab-values-lead,
.ab-shelf > p {
  max-width: 46rem;
  margin-bottom: 1.25rem;
}

.ab-value {
  padding: 1.25rem 1.15rem 1.35rem;
  height: 100%;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-value:hover,
.ab-chip:hover {
  transform: translateY(-6px);
  box-shadow: var(--rd-shadow-lg);
  border-color: rgba(30, 25, 107, 0.2);
}

.ab-value-ico {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--rd-primary-50);
  color: var(--rd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.ab-value h3,
.ab-chip span:last-child {
  color: var(--rd-primary);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.6;
}

.ab-chip-grid {
  gap: 0.75rem;
}

.ab-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  text-decoration: none;
  min-height: 4.25rem;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-chip-art {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: var(--rd-primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ab-chip-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ab-cta {
  text-align: center;
}

.ab-cta-note {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.ab-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.fq-board {
  max-width: 52rem;
  margin-inline: auto;
}

.fq-tools {
  margin-bottom: 1.75rem;
}

.fq-search label {
  display: block;
  font-weight: 700;
  color: var(--rd-primary);
  margin-bottom: 0.45rem;
}

.fq-search-field {
  position: relative;
}

.fq-search-field .rd-icon {
  position: absolute;
  inset-inline-start: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rd-primary);
  pointer-events: none;
}

.fq-search-field input {
  width: 100%;
  min-height: 3.25rem;
  border-radius: 16px;
  border: 1.5px solid var(--rd-line);
  background: #fff;
  padding: 0.75rem 1rem;
  padding-inline-start: 2.75rem;
  color: var(--rd-ink);
  font: inherit;
  box-shadow: 0 1px 2px rgba(30, 25, 107, 0.04);
}

.fq-search-field input:focus {
  outline: none;
  border-color: var(--rd-primary);
  box-shadow: 0 0 0 4px rgba(30, 25, 107, 0.12);
}

.fq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.fq-tab {
  border: 1px solid var(--rd-line);
  background: #fff;
  color: var(--rd-primary);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.fq-tab.is-active {
  background: var(--rd-primary);
  border-color: var(--rd-primary);
  color: #fff;
}

.fq-tab:focus-visible,
.fq-toggle:focus-visible {
  outline: 2px solid var(--rd-primary);
  outline-offset: 2px;
}

.fq-group {
  margin-bottom: 1.5rem;
}

.fq-list {
  display: grid;
  gap: 0.75rem;
}

.fq-item h3 {
  margin: 0;
  font-size: inherit;
}

.fq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  background: transparent;
  border: 0;
  color: var(--rd-ink);
  font: inherit;
  font-weight: 800;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  border-radius: var(--rd-radius);
}

.fq-toggle:hover {
  background: var(--rd-primary-50);
}

.fq-icon {
  flex-shrink: 0;
  color: var(--rd-primary);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fq-item.is-open .fq-icon {
  transform: rotate(180deg);
}

.fq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fq-item.is-open .fq-panel {
  grid-template-rows: 1fr;
}

.fq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.fq-panel-inner p {
  color: var(--rd-muted);
  line-height: 1.9;
  padding: 0 1.15rem 1.15rem;
}

.fq-empty {
  text-align: center;
  color: var(--rd-muted);
  background: #fff;
  border: 1px dashed var(--rd-line);
  border-radius: var(--rd-radius);
  padding: 1.5rem 1rem;
  margin-bottom: 1.5rem;
}

.fq-cta {
  margin-top: 0.5rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(30, 25, 107, 0.08), transparent 42%),
    #fff;
}

.fq-cta p {
  color: var(--rd-muted);
  margin-bottom: 1.1rem;
}

.fq-cta a[href^="tel"] {
  color: var(--rd-primary);
  font-weight: 800;
  text-decoration: none;
}

html.js-motion .js-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}

html.js-motion .js-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .ab-value-grid,
  .ab-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ab-intro,
  .ab-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
  }

  .ab-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ab-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-motion .js-reveal:not(.is-in),
  html.js-motion .js-reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

/* Landing CTAs: four actions, readable on the navy band and on a phone. */
.rd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.rd-cta .btn-outline-gold {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  background: transparent;
}

.rd-cta .btn-outline-gold:hover {
  background: #fff;
  color: #1e196b;
}

@media (max-width: 640px) {
  .rd-hero-actions,
  .rd-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rd-hero-actions a,
  .rd-cta-actions a {
    width: 100%;
    text-align: center;
  }
}
