/* ==========================================================================
   8X Gear — About page
   Ported from the prototype's tools/custom/about-template.html. The token names
   are identical to style.css, so the rules transfer unchanged; the prototype's
   own :root block, body reset and the full-bleed correction it needed for a
   standalone document are dropped, because the theme already supplies all three.
   ========================================================================== */

.ab-wrap{max-width:1280px;margin:0 auto;padding:0 28px;}

/* Shared display type. The heavy weights and tight tracking are the site's
   existing headline voice; 950 paints with the 700 face, as everywhere else. */
.ab-kicker{
  margin:0 0 14px;color:var(--ct-red-ink);
  font-size:10px;font-weight:900;letter-spacing:.24em;text-transform:uppercase;
}
.ab-h2{
  margin:0;color:#0E1013;font-size:clamp(30px,3.9vw,52px);line-height:.92;
  font-weight:950;letter-spacing:-.05em;text-transform:uppercase;
}
.ab-body{margin:0;font-size:15px;line-height:1.72;color:var(--ct-quiet);}

/* ==================================================== 1. hero */
/* --ct-deep rather than the page ink: the brand red only reaches 4.29:1 on
   #191D20, which fails AA for the small uppercase kicker. On #0F1113 it clears
   4.78:1. */
.ab-hero{background:var(--ct-deep);color:#fff;padding:34px 0 84px;}
.ab-crumb{margin:0 0 40px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;}
.ab-crumb a{color:rgba(255,255,255,.66);text-decoration:none;}
.ab-crumb a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px;}
.ab-crumb i{font-style:normal;color:rgba(255,255,255,.38);padding:0 9px;}
.ab-crumb span{color:var(--ct-red);}
.ab-hero .ab-kicker{color:var(--ct-red);}
.ab-hero-title{
  margin:0;font-size:clamp(42px,7.4vw,104px);line-height:.86;
  font-weight:950;letter-spacing:-.055em;text-transform:uppercase;color:var(--ct-cream);
}
.ab-hero-title em{font-style:normal;color:var(--ct-red);display:block;}
.ab-lead{
  margin:38px 0 0;max-width:58ch;padding-left:20px;border-left:3px solid var(--ct-red);
  color:rgba(255,255,255,.80);font-size:17px;line-height:1.7;
}

/* ==================================================== 2. quick facts */
.ab-facts{padding:52px 0 60px;}
.ab-facts-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  background:var(--ct-cream);border:1px solid var(--ct-line);
}
.ab-fact{padding:26px 26px 30px;border-right:1px solid var(--ct-line);}
.ab-fact:last-child{border-right:0;}
.ab-fact h3{
  margin:0 0 12px;color:var(--ct-red-ink);
  font-size:10px;font-weight:900;letter-spacing:.2em;text-transform:uppercase;
}
.ab-fact p{margin:0;color:#0E1013;font-size:14px;font-weight:700;line-height:1.6;}

/* ==================================================== 3 + 5. split bands */
.ab-band{background:var(--ct-cream);padding:74px 0 80px;}
.ab-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;}
.ab-split-flip .ab-split-text{order:-1;}
/* Capping the figure keeps a square product photograph from towering over the
   copy beside it; the column keeps the leftover space. */
.ab-figure{position:relative;width:100%;max-width:520px;margin:0;}
.ab-split .ab-figure{justify-self:start;}
.ab-split-flip .ab-figure{justify-self:end;}
.ab-figure img{width:100%;height:auto;display:block;border:1px solid var(--ct-line);}
.ab-tag{
  position:absolute;right:18px;bottom:18px;
  padding:11px 16px;background:var(--ct-red-ink);color:#fff;
  font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;
  box-shadow:0 6px 18px rgba(10,12,14,.34);
}
.ab-split-text .ab-h2{margin-bottom:26px;}
/* hold the prose measure near 60 characters even though the column is wider */
.ab-split-text .ab-body{max-width:56ch;}
.ab-split-text .ab-body + .ab-body{margin-top:18px;}
.ab-split-text .ab-steps{max-width:56ch;}

/* ---- checklist + CTA (section 5) ---- */
.ab-steps{list-style:none;margin:30px 0 0;padding:0;}
.ab-steps li{
  display:flex;align-items:flex-start;gap:14px;
  padding:15px 0;border-bottom:1px solid var(--ct-line);
  color:#0E1013;font-size:14px;font-weight:700;line-height:1.55;
}
.ab-steps svg{width:16px;height:16px;flex:none;margin-top:1px;color:var(--ct-red-ink);}
.ab-cta{
  display:inline-flex;align-items:center;gap:11px;margin-top:32px;
  min-height:52px;padding:0 26px;background:var(--ct-red-ink);color:#fff;text-decoration:none;
  font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  box-shadow:4px 4px 0 var(--ct-ink);transition:background .16s ease,transform .16s ease;
}
.ab-cta:hover{background:#A50A0A;color:#fff;transform:translateY(-2px);}
.ab-cta svg{width:15px;height:15px;}

/* ==================================================== 4. the code */
.ab-code{padding:76px 0 84px;}
.ab-code-head{margin:0 0 38px;}
.ab-cards{
  display:grid;grid-template-columns:repeat(3,1fr);
  background:var(--ct-cream);border:1px solid var(--ct-line);
}
.ab-card{padding:30px 30px 34px;border-right:1px solid var(--ct-line);}
.ab-card:last-child{border-right:0;}
.ab-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:34px;}
.ab-card-top svg{width:26px;height:26px;color:var(--ct-red);}
.ab-card-no{font-size:12px;font-weight:800;color:rgba(0,0,0,.42);font-variant-numeric:tabular-nums;}
.ab-card h3{
  margin:0 0 12px;color:#0E1013;font-size:17px;font-weight:900;
  letter-spacing:-.01em;text-transform:uppercase;line-height:1.2;
}
.ab-card p{margin:0;font-size:14px;line-height:1.65;color:var(--ct-quiet);}

/* ==================================================== 6. faq */
.ab-faq{padding:76px 0 88px;}
.ab-faq-inner{max-width:860px;margin:0 auto;}
.ab-faq-head{margin:0 0 30px;}
.ab-qa{padding:24px 0;border-bottom:1px solid var(--ct-line);}
.ab-qa:first-of-type{border-top:1px solid var(--ct-line);}
.ab-qa h3{margin:0 0 10px;color:#0E1013;font-size:17px;font-weight:900;line-height:1.35;}
.ab-qa p{margin:0;max-width:74ch;font-size:15px;line-height:1.72;color:var(--ct-quiet);}

/* ==================================================== 7. next */
/* --ct-red-ink, not the display red: white on #FF0C0C is only 3.96:1 and the
   kicker here is small uppercase text. On #C81010 white reaches 5.9:1. */
.ab-next{background:var(--ct-red-ink);color:#fff;padding:52px 0;}
.ab-next-inner{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;}
.ab-next .ab-kicker{color:rgba(255,255,255,.88);margin-bottom:10px;}
.ab-next h2{
  margin:0;font-size:clamp(30px,4.6vw,60px);line-height:.9;
  font-weight:950;letter-spacing:-.05em;text-transform:uppercase;
}
.ab-next-btn{
  display:inline-flex;align-items:center;gap:11px;flex:none;
  min-height:52px;padding:0 26px;background:var(--ct-ink);color:#fff;text-decoration:none;
  font-size:13px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  transition:background .16s ease,transform .16s ease;
}
.ab-next-btn:hover{background:#000;color:#fff;transform:translateY(-2px);}
.ab-next-btn svg{width:15px;height:15px;}

/* Scoped rather than global: the theme sets focus rings elsewhere and this page
   should not redefine them for the header, footer or drawers. */
.ab-hero :focus-visible,.ab-next :focus-visible{outline:3px solid #fff;outline-offset:3px;}
.ab-facts :focus-visible,.ab-band :focus-visible,
.ab-code :focus-visible,.ab-faq :focus-visible{outline:3px solid var(--ct-red-ink);outline-offset:3px;}

/* ==================================================== responsive */
@media (max-width:1020px){
  .ab-split{gap:40px;}
  .ab-facts-grid{grid-template-columns:repeat(2,1fr);}
  .ab-fact:nth-child(2n){border-right:0;}
  .ab-fact:nth-child(-n+2){border-bottom:1px solid var(--ct-line);}
}
@media (max-width:880px){
  .ab-wrap{padding:0 20px;}
  .ab-hero{padding:24px 0 60px;}
  .ab-lead{font-size:16px;margin-top:30px;}
  .ab-split{grid-template-columns:1fr;gap:34px;}
  /* keep the photograph above the copy on every split once stacked */
  .ab-split-flip .ab-split-text{order:0;}
  .ab-figure,.ab-split .ab-figure,.ab-split-flip .ab-figure{max-width:100%;justify-self:stretch;}
  .ab-cards{grid-template-columns:1fr;}
  .ab-card{border-right:0;border-bottom:1px solid var(--ct-line);}
  .ab-card:last-child{border-bottom:0;}
  .ab-card-top{margin-bottom:22px;}
  .ab-band{padding:56px 0 60px;}
  .ab-code,.ab-faq{padding:56px 0 64px;}
  .ab-next{padding:40px 0;}
  .ab-next-inner{gap:26px;}
}
@media (max-width:520px){
  .ab-facts-grid{grid-template-columns:1fr;}
  .ab-fact{border-right:0;border-bottom:1px solid var(--ct-line);}
  .ab-fact:last-child{border-bottom:0;}
  .ab-next-btn,.ab-cta{width:100%;justify-content:center;}
}
@media (prefers-reduced-motion:reduce){
  .ab-cta,.ab-next-btn{transition:none;}
  .ab-cta:hover,.ab-next-btn:hover{transform:none;}
}
