/* ============================================================================
   ATHLETE PERFORMANCE — ATHLETES PAGE
   Composition only. Every colour, type tier and component comes from the
   design system; nothing here introduces a second visual identity.
   All media queries live at the bottom of this file.
   ========================================================================== */

/* ── LEAD ────────────────────────────────────────────────────────────────── */
.ath__lead{padding-top:clamp(120px,11vw,180px)}
.ath__leadgrid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);
  gap:clamp(28px,4.6vw,80px);align-items:start;margin-top:clamp(24px,3vw,44px)}
.ath__h{margin:0}
.ath__leadcol{display:flex;flex-direction:column;gap:clamp(14px,1.6vw,20px)}
.ath__leadcol p{margin:0;max-width:56ch}
.ath__p{color:rgba(250,250,250,.9)}
.ath__leadcol .t-body{color:rgba(250,250,250,.78)}

/* The counts are measured off the review file at build time, so they can never
   drift from what is actually on the page. */
.ath__stats{list-style:none;margin:clamp(38px,4.6vw,68px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--ap-hairline-dark)}
.ath__stats li{display:flex;flex-direction:column;gap:10px;padding:clamp(18px,2vw,26px) 20px 0 0}
.ath__sk{font-family:var(--ap-display);font-weight:500;font-size:10px;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ap-steel)}
.ath__sv{font-family:var(--ap-display);font-weight:700;
  font-size:clamp(28px,3.4vw,46px);line-height:1;letter-spacing:-.02em;color:var(--ap-white)}
.ath__sv em{font-style:normal;font-size:.42em;color:var(--ap-steel);letter-spacing:0}

/* ── TWO DISCIPLINES ─────────────────────────────────────────────────────── */
.ath__disctop{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);
  gap:clamp(24px,4vw,72px);align-items:end;
  margin:clamp(24px,3vw,44px) 0 clamp(36px,4.4vw,64px)}
.ath__disctop h2{margin:0}
.ath__discp{margin:0;max-width:52ch;color:rgba(250,250,250,.82)}
.ath__cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(28px,4.6vw,80px)}
.ath__col{display:flex;flex-direction:column;gap:14px}
/* The frame leads the panel. 4:5 out of a 2:3 source, cropped by CSS so the
   original file stays untouched, with the object-position set per frame to
   keep the subject's head where it belongs. */
.ath__cmedia{margin:0 0 2px;overflow:hidden;border-radius:var(--r-media);
  aspect-ratio:4/5;background:var(--ap-black);
  transition:box-shadow .45s var(--e-out)}
.ath__cmedia img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .7s var(--e-out)}
.ath__col:nth-child(1) .ath__cmedia img{object-position:center 30%}
.ath__col:nth-child(2) .ath__cmedia img{object-position:center 24%}
.ath__cmedia:hover img{transform:scale(1.045)}
.ath__cmedia:hover{box-shadow:0 26px 52px -20px rgba(0,0,0,.75)}
/* Every frame in the library is Alen in the studio or on a race floor. There is
   no football photography, so each frame states what it actually is rather than
   letting the heading above it imply something else. */
.ath__ccap{margin:0!important;font-family:var(--ap-display);font-weight:500;
  font-size:10px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ap-steel)!important}
.ath__chd{display:flex;align-items:baseline;gap:14px;
  padding-top:18px;border-top:1px solid var(--ap-hairline-dark);margin-top:8px}
.ath__ck{font-family:var(--ap-display);font-weight:700;font-size:12px;
  letter-spacing:.16em;color:var(--ap-blue)}
.ath__ct{margin:0}
.ath__col p{margin:0;max-width:50ch;color:rgba(250,250,250,.8)}
/* The pointer into the wall below — quieter than body copy, and blue, because
   it is a piece of interface rather than a piece of the argument. */
.ath__cn{margin-top:6px!important;padding-left:16px;
  border-left:2px solid var(--ap-blue);
  font-size:14px;line-height:1.6;color:var(--ap-steel)!important}

/* ── THE WALL ────────────────────────────────────────────────────────────── */
.ath__walltop{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;
  gap:clamp(20px,3vw,44px);margin:clamp(24px,3vw,44px) 0 clamp(30px,3.4vw,46px)}
.ath__walltop h2{margin:0}
.ath__filter{display:flex;flex-wrap:wrap;gap:8px}
.ath__fb{display:inline-flex;align-items:center;gap:8px;
  padding:11px 18px;border-radius:999px;
  border:1px solid var(--ap-hairline-dark);background:none;color:rgba(250,250,250,.72);
  font-family:var(--ap-display);font-weight:700;font-size:11px;
  letter-spacing:.14em;text-transform:uppercase;
  transition:color .3s var(--e-out),border-color .3s var(--e-out),background-color .3s var(--e-out)}
.ath__fb span{font-size:11px;letter-spacing:.04em;color:var(--ap-steel);transition:color .3s var(--e-out)}
.ath__fb:hover{color:var(--ap-white);border-color:rgba(250,250,250,.34)}
.ath__fb.is-on{background:var(--ap-blue);border-color:var(--ap-blue);color:var(--ap-black)}
.ath__fb.is-on span{color:rgba(5,5,5,.62)}

/* A masonry column layout, so a 139-character review does not get padded out
   to the height of a 793-character one. Source order is preserved down each
   column, and every review is printed in full. */
.ath__grid{list-style:none;margin:0;padding:0;
  columns:3;column-gap:clamp(16px,1.8vw,26px)}
.ath__card{break-inside:avoid;margin:0 0 clamp(16px,1.8vw,26px);
  padding:clamp(22px,2.4vw,32px);
  border:1px solid var(--ap-hairline-dark);border-radius:var(--r-media);
  background:rgba(250,250,250,.02);
  transition:border-color .4s var(--e-out),background-color .4s var(--e-out)}
.ath__card:hover{border-color:rgba(250,250,250,.28);background:rgba(250,250,250,.04)}
.ath__card[hidden]{display:none}
.ath__hd{display:grid;grid-template-columns:auto minmax(0,1fr);
  column-gap:14px;row-gap:10px;align-items:center;margin-bottom:16px}
.ath__ph{grid-row:span 2;width:46px;height:46px;border-radius:50%;overflow:hidden;
  background:var(--ap-graphite);display:grid;place-items:center}
.ath__ph img{width:100%;height:100%;object-fit:cover;display:block}
.ath__ph--mono span{font-family:var(--ap-display);font-weight:700;font-size:13px;
  letter-spacing:.06em;color:var(--ap-steel)}
.ath__id{display:flex;flex-direction:column;gap:3px;min-width:0}
.ath__n{font-family:var(--ap-display);font-weight:700;font-size:15px;
  letter-spacing:-.01em;color:var(--ap-white)}
.ath__r{font-family:var(--ap-display);font-weight:500;font-size:10px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ap-steel)}
.ath__stars{grid-column:2;color:var(--ap-blue);line-height:0}
.ath__q{margin:0}
.ath__q p{margin:0;font-size:15px;line-height:1.68;color:rgba(250,250,250,.86)}
/* Stated, not hidden: a translated review says so. */
.ath__tr{margin:14px 0 0;font-family:var(--ap-display);font-weight:500;
  font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--ap-steel)}

/* The wall on the light surface: white cards, dark type, same as the
   homepage reviews. The closing section below stays black. */
.ath__wall .ath__fb{border-color:rgba(5,5,5,.18);color:#3A3F47}
.ath__wall .ath__fb span{color:#6B7280}
.ath__wall .ath__fb:hover{color:var(--ap-black);border-color:rgba(5,5,5,.4)}
.ath__wall .ath__fb.is-on{background:var(--ap-blue);border-color:var(--ap-blue);color:var(--ap-black)}
.ath__wall .ath__fb.is-on span{color:rgba(5,5,5,.62)}
.ath__wall .ath__card{background:#fff;border-color:rgba(5,5,5,.1);box-shadow:0 1px 2px rgba(5,5,5,.04)}
.ath__wall .ath__card:hover{background:#fff;border-color:rgba(94,143,191,.5)}
.ath__wall .ath__ph{background:var(--ap-light)}
.ath__wall .ath__ph--mono span{color:#5C636E}
.ath__wall .ath__n{color:var(--ap-black)}
.ath__wall .ath__r,.ath__wall .ath__tr{color:#6B7280}
.ath__wall .ath__q p{color:#2B2D31}

/* ── CLOSING ─────────────────────────────────────────────────────────────── */
.ath__close{position:relative;overflow:hidden;
  padding:clamp(110px,12vw,190px) 0}
.ath__band{position:absolute;inset:0;margin:0;z-index:0}
.ath__band img{width:100%;height:100%;object-fit:cover;object-position:center 30%;
  opacity:.3;filter:grayscale(.2)}
.ath__band::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(5,5,5,.82) 0%,rgba(5,5,5,.72) 45%,rgba(5,5,5,.94) 100%)}
.ath__closein{position:relative;z-index:1;text-align:center;
  display:flex;flex-direction:column;align-items:center}
.ath__closein h2{margin:0}
.ath__closelead{margin:clamp(18px,2vw,26px) 0 0;max-width:none;
  color:var(--ap-white);font-weight:500}
.ath__closep{margin:10px 0 0;max-width:74ch;color:rgba(250,250,250,.8)}
.ath__cta{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;
  margin-top:clamp(26px,3vw,38px)}
.ath__mail{margin:clamp(22px,2.4vw,32px) 0 0;font-size:14px;color:var(--ap-steel)}
.ath__mail .tlink{font-size:14px;letter-spacing:0;text-transform:none;
  font-family:var(--ap-body)}

/* ── RESPONSIVE — always last ────────────────────────────────────────────── */
@media (max-width:1080px){
  .ath__leadgrid,.ath__disctop,.ath__cols{grid-template-columns:1fr}
  .ath__disctop{align-items:start;gap:clamp(18px,2.6vw,28px)}
  .ath__cols{gap:clamp(26px,3.4vw,40px)}
  .ath__stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:clamp(18px,2.4vw,26px)}
  .ath__stats li:nth-child(n+3){border-top:1px solid var(--ap-hairline-dark)}
  .ath__grid{columns:2}
}
@media (max-width:760px){
  .ath__lead{padding-top:clamp(96px,20vw,128px)}
  .ath__grid{columns:1}
  .ath__walltop{align-items:start}
  .ath__cmedia{aspect-ratio:3/2}
  /* no hover on a touch screen — a tap would leave it stuck */
  .ath__cmedia:hover img{transform:none}
  .ath__cmedia:hover{box-shadow:none}
  .ath__card:hover{border-color:var(--ap-hairline-dark);background:rgba(250,250,250,.02)}
  .ath__wall .ath__card:hover{border-color:rgba(5,5,5,.1);background:#fff}
  .ath__cta{flex-direction:column;align-items:stretch;width:100%}
  .ath__cta .btn{width:100%}
}
