/* Joychiever — About, 2027.
   Flow matches BD and Beyond BD: ink hero > orange band > cream body > ink
   close. Hero is the same size and container as both of those. */

.abin{max-width:1200px;margin:0 auto;padding:0 48px}

/* ---------- HERO ---------- */
.ab-hero{background:var(--ink);color:var(--cream)}
.ab-hero .abin{padding-top:calc(var(--hh) + clamp(40px,5vw,72px));
  padding-bottom:clamp(44px,5.5vw,72px)}
.ab-hero h1{font:600 clamp(30px,4vw,54px)/1.16 var(--sans);letter-spacing:-.028em;
  color:var(--cream);max-width:27ch}
.ab-hero h1 span{display:block}
/* each sentence is its own thought; without this they read as one block */
.ab-hero h1 span + span{margin-top:.30em}
/* the whole third line carries the orange, not two words inside it — the serif
   works hardest holding one phrase */
.ab-hero h1 .it{font:italic 600 1.10em/1 var(--serif);color:var(--orange);
  letter-spacing:-.005em;margin-top:.34em}

/* ---------- LEAD ----------
   Stays on ink under the hero, the way the homepage does it. This is the most
   direct second-person address on the site; it is talking to the buyer. */
.ab-lead{background:var(--ink);color:var(--cream)}
/* The homepage has a photo doing this job. Here the rule does it. */
.ab-lead .abin{border-top:2px solid #3A3630;
  padding-top:clamp(40px,4.5vw,60px);padding-bottom:clamp(64px,8vw,100px)}
.ab-lead p{max-width:52ch;font:400 clamp(18px,1.75vw,22px)/1.55 var(--sans);
  letter-spacing:-.012em;color:#E9E3D8}

/* ---------- STATS ----------
   The robbykom pattern: a left-to-right row, value above label, value in the
   bright colour and the label in ink beneath it. On orange the bright colour is
   white. The label sits tight under the number — they read as one unit, not two
   stacked lines. */
.ab-stats{background:var(--orange);color:var(--ink)}
.ab-stats .abin{padding-top:62px;padding-bottom:62px}
.ab-stats ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.ab-stats li{padding:4px 24px;border-left:1px solid rgba(18,18,18,.28)}
.ab-stats li:first-child{padding-left:0;border-left:0}
.ab-stats li:last-child{padding-right:0}
.ab-stats .v{display:block;font:italic 600 clamp(44px,5.2vw,74px)/1 var(--serif);
  letter-spacing:-.012em;color:#fff;margin-bottom:6px}
.ab-stats .l{display:block;font:500 clamp(16px,1.45vw,19px)/1.35 var(--sans);
  letter-spacing:-.006em;color:var(--ink);max-width:20ch}

/* ---------- 01-04 ----------
   Single column, full width. Four items with two-paragraph bodies don't need a
   rail, and the sticky two-column pattern is Beyond BD's signature. */
.ab-points{background:var(--cream)}
.ab-points .abin{padding-top:clamp(64px,7vw,96px);padding-bottom:clamp(64px,7vw,96px)}
/* the four arrive on a sentence rather than cold off the orange band */
.ab-points .intro{font:600 clamp(28px,3.4vw,46px)/1.18 var(--sans);letter-spacing:-.028em;
  color:var(--ink);max-width:24ch;margin-bottom:clamp(44px,5vw,64px)}
.ab-points .intro em{font-size:1.10em;line-height:1}
.pt{border-top:1px solid #CFC7B6;padding:clamp(36px,4vw,52px) 0}
/* 01 keeps its rule — it separates the four from the intro line above */
.pt:last-child{padding-bottom:0}
.pt .n{display:block;font:italic 600 34px/1 var(--serif);color:var(--orange);margin-bottom:14px}
.pt h2{font:600 clamp(26px,3.1vw,42px)/1.16 var(--sans);letter-spacing:-.028em;
  color:var(--ink);max-width:30ch}
.pt h2 em{font-size:1.10em;line-height:1}
.pt .bd{margin-top:22px}
.pt .bd p{font:400 clamp(17px,1.5vw,19px)/1.68 var(--sans);color:var(--body);max-width:62ch}
.pt .bd p+p{margin-top:20px}
.pt .bd em{font:italic 500 1.08em/1 var(--serif);color:var(--ink);font-style:italic}

/* ---------- CLOSE ----------
   Same band as BD section 6 and the Beyond BD closing: 60% wide, right-aligned,
   same mask, same duotone. The section carries extra vertical padding because
   its copy is short — without it the band is wide and shallow, and a square
   portrait crops to a tight head with no shoulders. */
.ab-close{position:relative;background:var(--ink);color:var(--cream);overflow:hidden}
.ab-close .fig{position:absolute;top:50%;right:0;transform:translateY(-50%);width:60%;height:112%;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 40%),linear-gradient(to bottom,transparent 0%,#000 14%,#000 82%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0%,#000 40%),linear-gradient(to bottom,transparent 0%,#000 14%,#000 82%,transparent 100%);
  mask-composite:intersect}
.ab-close .fig img{width:100%;height:100%;object-fit:cover;object-position:34% 24%;
  filter:grayscale(1) sepia(.16) contrast(1.2) brightness(.79)}
.ab-close .fig .orng{position:absolute;inset:0;background:var(--orange);mix-blend-mode:color;opacity:.62}
.ab-close .fig .mult{position:absolute;inset:0;background:var(--ink);mix-blend-mode:multiply;opacity:.29}
.ab-close .abin{position:relative;padding-top:clamp(104px,12vw,168px);padding-bottom:clamp(104px,12vw,168px)}
.ab-close .txt{max-width:48%}
.ab-close .txt p{font:400 clamp(19px,1.9vw,24px)/1.5 var(--sans);letter-spacing:-.014em;
  color:#E9E3D8;max-width:44ch;margin-bottom:32px}
.ab-close .btnp{font-size:16px;padding:16px 30px}

/* =====================================================================
   PHONE
   ===================================================================== */
@media (max-width:760px){
  .abin{padding:0 22px}

  .ab-hero .abin{padding-top:calc(var(--hh) + 44px);padding-bottom:34px}
  .ab-hero h1{font-size:32px;line-height:1.2;letter-spacing:-.03em;max-width:none}

  .ab-lead .abin{padding-top:30px;padding-bottom:50px}
  .ab-lead p{font-size:18px;max-width:none}

  /* three across is unreadable at this width; one per row, rules become
     horizontal so the band still reads as a set */
  .ab-stats .abin{padding-top:38px;padding-bottom:38px}
  .ab-stats ul{grid-template-columns:minmax(0,1fr)}
  .ab-stats li{padding:18px 0;border-left:0;border-top:1px solid rgba(18,18,18,.22)}
  .ab-stats li:first-child{padding-top:0;border-top:0}
  .ab-stats li:last-child{padding-bottom:0}
  .ab-stats .v{font-size:48px;margin-bottom:2px}
  .ab-stats .l{font-size:17px;max-width:none}

  .ab-points .abin{padding-top:58px;padding-bottom:58px}
  .ab-points .intro{font-size:28px;max-width:none;margin-bottom:34px}
  .pt{padding:32px 0}
  .pt .n{font-size:30px;margin-bottom:10px}
  .pt h2{font-size:26px;line-height:1.22;max-width:none}
  .pt .bd{margin-top:20px}
  .pt .bd p{font-size:17px;max-width:none}

  /* full-bleed band above the copy, same as the other two closings */
  .ab-close .fig{position:relative;top:auto;right:auto;transform:none;width:100%;height:300px;
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 74%,transparent 100%);
    -webkit-mask-composite:source-over;
    mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 74%,transparent 100%);
    mask-composite:add}
  .ab-close .fig img{object-position:40% 24%}
  .ab-close .abin{padding-top:14px;padding-bottom:62px}
  .ab-close .txt{max-width:none}
  .ab-close .txt p{font-size:19px;max-width:none;margin-bottom:26px}
}
