/* ClearView about.css: what the about page needs beyond site.css. Keys as in site.css. */
:root { --d3: 200ms; } /* d3: the crop change of the photograph */

/* clejn (junction): the blue square where glass, sill and track meet */
.clejn { fill: var(--c4); }

/* cleab (about opening): headline and first note beside the kit photograph */
.cleab { align-items: center; }
.cleab h1 { font-size: var(--t5); }
.cleab .clepic > img { block-size: clamp(14rem, 52vh, 28rem); }

/* clelr (leader row): the corner mark and the glancing leader leaving it; clecn (corner mark); clelq (line of light) */
.clelr { display: flex; align-items: flex-start; gap: var(--s3); color: var(--c2); }
.clelr .clecn { flex: none; inline-size: 2.5rem; block-size: 2.5rem; }
.clelr .clelq { flex: 1; min-inline-size: 0; block-size: 3rem; }
[data-stop="across"] .clelq .cleldr { stroke: var(--c4); stroke-width: 3; }

/* clewr (words): the owner's own sentences, set large and wide beside the photograph */
.clewr { flex: 3 1 22rem; gap: var(--s5); }
.clewr > p { max-inline-size: none; font-size: clamp(1.375rem, 1rem + 1.5vw, 2.125rem); line-height: 1.3; color: var(--c3); }

/* clelg (light group): the photograph, its two-state switch and the two sentences */
.clelg { flex: 2 1 20rem; display: flex; flex-direction: column; gap: var(--s4); }

/* clecp (crop frame): clips the photograph; the crop marks sit on the figure around it */
.clecp { overflow: hidden; aspect-ratio: 4 / 3; }
.clecp img { inline-size: 100%; block-size: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 20% 26%; transition: transform-origin var(--d3) ease-out; }
[data-stop="across"] .clecp img { transform-origin: 80% 78%; }

/* clesn (sentence): one line per view; the picked one stands on a white plate, the other stays plain ink */
.clesn { padding: var(--s2) var(--s3); transition: background-color var(--d1); }
.clesn.picked { background: var(--c3); }

/* clefx rows here carry links: keep them ink, underline on hover */
.clefx dt a { text-decoration: none; }
.clefx dt a:hover { text-decoration: underline; }

/* cleref (refusals): the three notes hanging from the last leader; stacked on a phone, stepped down in a row on a desk */
.cleref { padding-block-end: var(--s2); }

/* clebk (hand-off): text and actions beside a large drawn corner; cleax (actions): the row of the two links */
.clebk { align-items: center; }
.clebk > .clecr { flex: 1 1 18rem; max-inline-size: 26rem; }
.cleax { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }

@media (min-width: 48rem) {
  .clelr .clelq { block-size: 4rem; }
  .cleref { flex-direction: row; align-items: flex-start; border-inline-start: 0; gap: var(--s6); padding-block-end: var(--s6); }
  .cleref > .clent { flex: 1 1 0; min-inline-size: 0; }
  .cleref > .clent:nth-child(even) { padding-inline-start: var(--s6); }
  .cleref > .clent::after { inset-inline-start: 0; }
  .cleref > .clent:nth-child(2) { inset-block-start: var(--s5); }
  .cleref > .clent:nth-child(3) { inset-block-start: var(--s6); }
}
