/* =========================================================
   CoffeeNCoders — about.css: /about/ only (about.php). Loaded after main.css.
   Only the hero is dark (with the numbers and a copper edge). Everything under it is ONE section (.ab-body, the
   "Canvas" layout the user picked from 5) on the Work list's background (paper + a soft amber glow), centred heads,
   no lines or boxes: story → "what you can count on" (big outline numbers) → white service cards; it flows straight
   into the shared WhatsApp band (includes/wa-end.php, main.css). Type follows the home hero scale.
   ========================================================= */

.ab-title { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
.ab-title b { display: block; font-weight: inherit; color: var(--copper); }

/* ---------- Hero ---------- */
.ab-hero {
  position: relative; overflow: hidden; color: var(--cream);
  padding: clamp(130px, 17vh, 190px) 0 clamp(80px, 9vw, 120px);
  background:
    radial-gradient(45% 55% at 80% 20%, rgba(226, 117, 58, .2), transparent 70%),
    radial-gradient(35% 45% at 10% 90%, rgba(244, 168, 90, .08), transparent 70%),
    var(--espresso);
}
.ab-hero::after {   /* the copper edge the light part starts from */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 117, 58, .8) 30%, rgba(244, 168, 90, .9) 50%, rgba(226, 117, 58, .8) 70%, transparent);
  box-shadow: 0 0 24px 2px rgba(226, 117, 58, .45);
}
.ab-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }   /* centred: the banner has no picture on the right */
/* hero label: a glass pill like the Work hero badge, our copper flame avatar + the kicker over a short line */
.ab-badge {
  text-align: left;   /* the words inside stay left like every other badge, the badge itself is centred */
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 236, 220, .12); backdrop-filter: blur(8px);
}
.ab-badge__av { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, var(--amber), var(--copper)); box-shadow: 0 0 0 2px var(--espresso); }
.ab-badge__av img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.ab-badge__text { display: grid; gap: 1px; font-size: 12.5px; line-height: 1.25; color: var(--muted-dark); }
.ab-badge__text b { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.ab-hero__title { margin-top: 18px; font-family: var(--display); font-size: clamp(32px, 3.8vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
.ab-hero__title b { display: block; font-weight: inherit; color: var(--copper); }
.ab-hero__lead { max-width: 720px; margin-top: 22px; font-size: 18px; line-height: 1.65; color: rgba(247, 242, 235, .8); }
.ab-stats { margin: 40px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; }
.ab-stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ab-stats li + li { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.ab-stats strong { font: 700 32px/1 var(--display); letter-spacing: -.03em; }
.ab-stats em { color: var(--copper); }
.ab-stats span { font-size: 14px; color: var(--muted-dark); }

/* ---------- Everything under the hero: ONE section (.ab-body) ---------- */
.ab-body {   /* the same background as the Work page's project list: paper with one soft amber glow top-right */
  position: relative; padding-block: clamp(72px, 9vw, 120px); color: var(--ink);
  background: radial-gradient(50% 40% at 100% 0%, rgba(244, 168, 90, .14), transparent 70%), var(--paper);
}
.ab-body__in { position: relative; }
.ab-flow { display: grid; gap: clamp(64px, 8vw, 110px); min-width: 0; }
.ab-part { position: relative; min-width: 0; }

/* story: title over the text, centred */
.ab-story__grid { display: grid; justify-items: center; gap: 28px; max-width: 780px; margin-inline: auto; text-align: center; }
.ab-story__text { display: grid; gap: 1.1em; font-size: 17.5px; line-height: 1.75; color: #3a302a; }
.ab-story__first { font-size: 21px; line-height: 1.55; font-weight: 500; color: var(--ink); }

/* what you can count on: two columns, a big outline number beside each */
.ab-part--values > .ab-title { text-align: center; }
.ab-values__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 64px); max-width: 980px; margin: clamp(32px, 4vw, 48px) auto 0; }
.ab-value { position: relative; padding-left: 72px; }
.ab-value__no { position: absolute; left: 0; top: -6px; font: 700 44px/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--copper); }
.ab-value h3 { font: 700 19px/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); }
.ab-value p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* what we build: centred head, white service cards */
.ab-services__head { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3.5vw, 40px); text-align: center; }
.ab-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid rgba(29, 23, 18, .25); transition: color .25s, border-color .25s; }
.ab-link span { display: inline-flex; transition: transform .25s var(--ease); }
.ab-link:hover { color: var(--copper); border-color: var(--copper); }
.ab-link:hover span { transform: translateX(3px); }
.ab-services__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1040px; margin-inline: auto; }
.ab-svc { display: flex; align-items: center; gap: 14px; padding: 18px 18px 18px 16px; border-radius: 18px; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: border-color .3s; }
.ab-svc:hover { border-color: rgba(226, 117, 58, .45); }
.ab-svc__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.ab-svc__ico img { width: 20px; height: 20px; }
.ab-svc__text b { display: block; font: 700 16px var(--display); letter-spacing: -.015em; }
.ab-svc__text small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.ab-svc__go { margin-left: auto; color: var(--copper); transition: transform .25s var(--ease); }
.ab-svc:hover .ab-svc__go { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ab-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ab-hero { padding-top: 110px; }
  .ab-stats { gap: 14px 22px; }
  .ab-stats li + li { padding-left: 22px; }
  .ab-stats strong { font-size: 26px; }
  .ab-services__list, .ab-values__grid { grid-template-columns: 1fr; }
  .ab-values__grid { gap: 28px; }
  .ab-story__first { font-size: 19px; }
  .ab-value { padding-left: 60px; }
  .ab-value__no { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-svc, .ab-svc__go, .ab-link span { transition: none; }
}
