/* ============================================================
   About — page-only styles
   Three colors only: navy, orange, and white. Light sections,
   cards, and tiles are white; cards are set off by a light
   border and shadow. Calm motion
   only: hover states plus the site's standard reveal. Loaded
   only by about.html, after custom.css.
   ============================================================ */

:root {
  --ab-tan: #ffffff;       /* light section background */
  --ab-tan-deep: #ffffff;  /* cards and tiles */
  --ab-tan-line: #e2e8f0;  /* card borders and section divider */
}

/* ---------- Why we built it: white ---------- */

.ab-why {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(254, 93, 1, 0.08), transparent 70%),
    var(--ab-tan);
}

.ab-why .btn-outline-dark {
  background-color: var(--ab-tan-deep);
  border-color: var(--ab-tan-line);
}

/* Story card: dark navy with an orange edge */
.ab-story {
  position: relative;
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(150deg, #1e293b, #0f172a);
  box-shadow: 0 30px 60px -32px rgba(15, 23, 42, 0.7);
  overflow: hidden;
}

.ab-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#FE8A39, #C24600);
}

.ab-story .placeholder-note {
  border-color: rgba(254, 93, 1, 0.5);
  background-color: rgba(254, 93, 1, 0.08);
  color: #FFD5A9;
}

.ab-story .placeholder-note strong {
  color: #FE8A39;
}

/* ---------- Rules: navy ledger ---------- */

.ab-rules {
  position: relative;
  background:
    radial-gradient(ellipse 45% 50% at 0% 0%, rgba(254, 93, 1, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 50% at 100% 100%, rgba(254, 93, 1, 0.07), transparent 70%),
    #0b1120;
  /* room for the orange band's angled top edge */
  padding-bottom: calc(5rem + 4vw);
}

@media (min-width: 768px) {
  .ab-rules { padding-bottom: calc(7rem + 4vw); }
}

.ab-rules .eyebrow {
  border-color: rgba(254, 93, 1, 0.35);
  background-color: rgba(254, 93, 1, 0.08);
  color: #FE8A39;
}

.ab-ledger {
  display: grid;
  column-gap: 2.5rem;
  row-gap: 3rem;
}

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

@media (min-width: 1024px) {
  .ab-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ab-rule {
  position: relative;
  padding-top: 1.75rem;
}

/* top rule that draws across in orange on hover */
.ab-rule::before,
.ab-rule::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
}

.ab-rule::before {
  right: 0;
  background: rgba(148, 163, 184, 0.25);
}

.ab-rule::after {
  width: 100%;
  height: 2px;
  top: -0.5px;
  background: #FE5D01;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-rule-num {
  display: block;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px #FE8A39;
  transition: color 0.35s ease;
}

.ab-rule-title {
  margin-top: 1rem;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  color: #ffffff;
}

.ab-rule-text {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.ab-rule:hover::after { transform: scaleX(1); }
.ab-rule:hover .ab-rule-num { color: #FE5D01; }

/* ---------- Platform today: angled orange band ---------- */

.ab-stats {
  position: relative;
  z-index: 1;
  margin: -4vw 0;
  padding: calc(4rem + 4vw) 0;
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 18px),
    linear-gradient(120deg, #C24600, #8A3200);
}

.ab-stats .eyebrow {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ab-stat {
  padding: 1.25rem 1rem;
  text-align: center;
}

.ab-stat-num {
  color: #ffffff;
}

.ab-stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #FFE4CC;
}

/* thin dividers between the numbers */
.ab-stat-row > .ab-stat:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.ab-stat-row > .ab-stat:nth-child(-n+2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

@media (min-width: 768px) {
  .ab-stat-row > .ab-stat { border: 0 !important; }
  .ab-stat-row > .ab-stat + .ab-stat { border-left: 1px solid rgba(255, 255, 255, 0.25) !important; }
}

.ab-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s ease;
}

.ab-stat-link:hover { text-decoration-color: #ffffff; }

/* ---------- Team: white ---------- */

.ab-team {
  background:
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(254, 93, 1, 0.08), transparent 70%),
    var(--ab-tan);
  /* room under the orange band's angled bottom edge */
  padding-top: calc(5rem + 4vw);
}

@media (min-width: 768px) {
  .ab-team { padding-top: calc(7rem + 4vw); }
}

.ab-member {
  border-radius: 1.25rem;
  background: var(--ab-tan-deep);
  border: 1px solid var(--ab-tan-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 16px 40px -24px rgba(15, 23, 42, 0.25);
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease, box-shadow 0.35s ease, opacity 0.6s ease;
}

/* placeholder name and bio, a touch darker than the default */
.ab-member .text-slate-400 {
  color: #64748b;
}

.ab-member:hover {
  translate: 0 -4px;
  box-shadow: 0 24px 40px -26px rgba(122, 44, 0, 0.45);
}

/* orange ring around the photo slot */
.ab-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0 auto;
  padding: 3px;
  border-radius: 9999px;
  background: conic-gradient(from 210deg, #FE5D01, #FFB672, #FE5D01);
}

.ab-photo span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #f8fafc;
  border: 3px solid #ffffff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

/* ---------- Talk to a human: white, split from Team by a line ---------- */

.ab-contact {
  border-top: 1px solid var(--ab-tan-line);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(254, 93, 1, 0.08), transparent 70%),
    var(--ab-tan);
}

.ab-tile {
  display: block;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--ab-tan-deep);
  border: 1px solid var(--ab-tan-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 16px 40px -24px rgba(15, 23, 42, 0.25);
  transition: translate 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.6s ease;
}

a.ab-tile:hover {
  translate: 0 -4px;
  border-color: #FE8A39;
  box-shadow: 0 24px 40px -26px rgba(194, 70, 0, 0.55);
}

a.ab-tile:focus-visible {
  outline: 2px solid #FE5D01;
  outline-offset: 3px;
}

.ab-tile-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #ffffff;
}

.ab-tile-icon svg { width: 1.3rem; height: 1.3rem; }

.ab-tile-icon-email { background: linear-gradient(140deg, #FE5D01, #C24600); }
.ab-tile-icon-phone { background: linear-gradient(140deg, #1e293b, #0f172a); }
.ab-tile-icon-office { background: linear-gradient(140deg, #993800, #7A2C00); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .ab-rule::after,
  .ab-member,
  .ab-tile { transition: none; }
}
