/* The Test Report Form, as a card that can sit on any page.
 *
 * It existed on exactly one page, /about-dr-nasir/, while three IELTS pages
 * asserted "band 8.5" in a sentence and pointed at it. The claim and the
 * evidence were one click apart, which is one click too many on a page
 * asking for $225. This is the evidence, inline, wherever the claim is made.
 *
 * Self-contained on purpose: it reads the brand tokens (--ink, --signal,
 * --rule and friends) that every page already defines and brings its own
 * everything else, so adding it to a page is a stylesheet link and a block
 * of markup, with nothing to merge into that page's inline CSS.
 */

.trf{display:grid; gap:0; margin:30px 0; max-width:none;
  grid-template-columns:minmax(0,260px) minmax(0,1fr);
  border:1px solid var(--rule); border-radius:18px; overflow:hidden;
  background:var(--ink)}

/* ----------------------------------------------------------- the document */
.trf__shot{position:relative; display:block; background:#0C3156;
  border-right:1px solid rgba(255,255,255,.10)}
/* contain, not cover. Cover crops a landscape document to a column and the
   reader sees a corner of a form; the point of putting it here is that it
   is legibly a whole Test Report Form at a glance. */
.trf__shot img{display:block; width:100%; height:100%; min-height:200px;
  object-fit:contain; object-position:center; padding:14px}
.trf__zoom{position:absolute; left:12px; bottom:12px;
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 13px; border-radius:999px;
  background:rgba(6,38,70,.84); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.22);
  font-family:var(--mono,ui-monospace,monospace); font-size:10px;
  letter-spacing:.11em; text-transform:uppercase; color:#fff}
.trf__shot:hover .trf__zoom,
.trf__shot:focus-visible .trf__zoom{background:var(--signal); border-color:var(--signal)}
.trf__shot:focus-visible{outline:3px solid var(--signal); outline-offset:-3px}

/* ---------------------------------------------------------------- the text */
.trf__body{padding:clamp(20px,2.8vw,28px)}
.trf__k{margin:0 0 10px; font-family:var(--mono,ui-monospace,monospace);
  font-size:10px; letter-spacing:.17em; text-transform:uppercase; color:var(--signal)}
.trf__t{margin:0 0 10px; font-family:var(--display); font-weight:700;
  font-size:clamp(21px,2.9vw,28px); line-height:1.14; color:#fff;
  letter-spacing:-.015em}
.trf__t b{color:var(--signal); font-weight:700}
.trf__d{margin:0 0 18px; font-size:14.5px; line-height:1.6; color:#A9C4DC;
  max-width:46ch}

/* -------------------------------------------------------------- the bands */
.trf__grid{display:grid; gap:8px; grid-template-columns:repeat(4,minmax(0,1fr))}
.trf__band{background:#0C3156; border:1px solid #1C4C79; border-radius:12px;
  padding:11px 12px 12px; text-align:left}
.trf__bk{display:block; font-family:var(--mono,ui-monospace,monospace);
  font-size:9px; letter-spacing:.13em; text-transform:uppercase;
  color:#7FA6CB; margin-bottom:5px}
.trf__bv{display:block; font-family:var(--display); font-size:21px;
  font-weight:700; line-height:1; color:#fff; font-variant-numeric:tabular-nums}
/* The 9.0 is the one worth looking at twice. */
.trf__band--top{border-color:var(--signal); background:rgba(5,153,232,.14)}
.trf__band--top .trf__bv{color:var(--signal)}

.trf__note{margin:16px 0 0; font-size:12.5px; line-height:1.6; color:#7FA6CB}
.trf__note a{color:#A9C4DC; text-decoration:underline; text-underline-offset:3px}
.trf__note a:hover{color:#fff}

@media (max-width:700px){
  .trf{grid-template-columns:1fr}
  .trf__shot{border-right:0; border-bottom:1px solid rgba(255,255,255,.10)}
  .trf__shot img{max-height:260px}
  .trf__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
