/* Work page (Direction A, Ledger; Lyle 26 Nov 2026). Shares site.css; this file adds the ledger. */
.w-head{padding:clamp(6.5rem,12vh,8rem) var(--gutter) clamp(2.5rem,5vw,3.5rem)}
.w-head .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:end}
.w-head h1{font-size:clamp(2.75rem,5.5vw,4.75rem);font-weight:600;letter-spacing:-.012em;line-height:1.02}
.w-head p{font-size:clamp(1.125rem,1.5vw,1.25rem);color:var(--ink-soft);max-width:38ch;text-wrap:pretty}

.job{padding:0 var(--gutter) clamp(4rem,8vw,6rem)}
.job .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,5vw,4rem);align-items:start}
.job.ink{padding-top:clamp(4rem,8vw,6rem)}
.job.ink .wrap{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.job figure{margin:0}
.job figure img{display:block;width:100%;height:auto;object-fit:cover}
.job .lead-portrait{aspect-ratio:4/5;background:#F4F6F7}
.job .lead-wide{aspect-ratio:4/3}
.job figcaption{margin-top:.6rem;font-size:1rem;color:var(--slate)}
.job.ink figcaption{color:var(--mist-dim)}
.job h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:600;letter-spacing:-.02em;line-height:1.08;margin-bottom:.75rem;text-wrap:balance}
.job .what{font-size:1.125rem;color:var(--ink-soft);max-width:46ch;margin-bottom:2rem;text-wrap:pretty}
.job.ink .what{color:var(--mist)}

/* the ledger: hairlines, no boxes */
.ledger{width:100%;border-collapse:collapse;font-size:1.125rem;line-height:1.45}
.ledger caption{text-align:left;font-weight:600;font-size:1.0625rem;margin-bottom:.75rem}
.ledger th{text-align:left;font-weight:600;font-size:1rem;color:var(--slate);padding:0 1rem .6rem 0;border-bottom:1px solid #CFD5D9}
.ledger td{padding:.75rem 1rem .75rem 0;border-bottom:1px solid #CFD5D9;vertical-align:top}
.ledger td:nth-child(1){min-width:9.5rem}
.ledger td:nth-child(2){min-width:5.5rem}
.ledger .n{text-align:right;font-weight:600;white-space:nowrap;padding-right:0;font-variant-numeric:tabular-nums}
.ink .ledger th{color:var(--mist-dim);border-color:#2B3540}
.ink .ledger td{border-color:#2B3540}
.floor{margin-top:.8rem;font-size:1rem;color:var(--slate)}
.ink .floor{color:var(--mist-dim)}

/* more sport: one row per job */
.more{padding:clamp(4rem,8vw,6rem) var(--gutter) clamp(2rem,4vw,3rem)}
.more h2,.own h2{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:600;letter-spacing:-.02em;margin-bottom:1.5rem}
.row{display:grid;grid-template-columns:15rem minmax(0,1fr) minmax(0,1.3fr);gap:2rem;padding:1.5rem 0;border-top:1px solid #CFD5D9;align-items:start}
.row:last-child{border-bottom:1px solid #CFD5D9}
.row img{width:15rem;height:10rem;object-fit:cover;display:block}
.row h3{font-size:1.25rem;font-weight:600;margin-bottom:.35rem}
.row p{font-size:1.125rem;color:var(--ink-soft);text-wrap:pretty}
.row .pub{color:var(--ink)}

.own{padding:clamp(3rem,6vw,4rem) var(--gutter) clamp(4rem,8vw,6rem)}
.own .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.5rem,4vw,3rem)}
.own figure{margin:0}
.own img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.own figcaption{margin-top:.75rem}
.own strong{display:block;font-size:1.25rem;font-weight:600}
.own figcaption span{display:block;margin-top:.25rem;font-size:1.125rem;color:var(--ink-soft)}
.libline{padding:0 var(--gutter) clamp(4rem,8vw,5rem)}
.libline p{max-width:60ch;font-size:1.125rem;color:var(--ink-soft)}

@media (max-width:820px){
  .w-head .wrap,.job .wrap,.job.ink .wrap,.own .pair{grid-template-columns:1fr}
  .job.ink .wrap figure{order:-1}
  .row{grid-template-columns:1fr;gap:.75rem}
  .row img{width:100%;height:auto;aspect-ratio:3/2}
  /* the ledger becomes stacked rows on phones: publisher and count on one line, the rest under */
  .ledger thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .ledger tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem;padding:.75rem 0;border-bottom:1px solid #CFD5D9}
  .ink .ledger tr{border-color:#2B3540}
  .ledger td{border:0;padding:0;min-width:0}
  .ledger td:nth-child(1){grid-column:1;font-weight:600}
  .ledger td.n{grid-column:2;grid-row:1}
  .ledger td:nth-child(2),.ledger td:nth-child(3){grid-column:1 / -1;font-size:1rem;color:var(--slate)}
  .ink .ledger td:nth-child(2),.ink .ledger td:nth-child(3){color:var(--mist-dim)}
}

/* AFL: three numbers, then the season (Lyle, 26 Nov 2026: "2, with the option 1 graph underneath") */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,3vw,2.5rem);margin-top:.5rem}
.stats div{border-top:2px solid var(--ink);padding-top:.9rem}
.stats b{display:block;font-size:clamp(3.25rem,7vw,6.5rem);line-height:.9;font-weight:600;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.stats span{display:block;margin-top:.6rem;font-size:clamp(1rem,1.4vw,1.25rem);font-weight:600}
.stats small{display:block;margin-top:.15rem;font-size:1rem;color:var(--slate)}
.season{margin:clamp(2rem,4vw,3rem) 0 0}
.season figcaption{font-size:1rem;font-weight:600;margin-bottom:1rem}
.season ol{list-style:none;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(.4rem,1.2vw,.9rem);align-items:end;border-bottom:1px solid var(--ink);padding-bottom:4px;min-height:14rem}
.season li{display:flex;flex-direction:column;align-items:center;gap:2px;position:relative}
.season li i{display:block;width:100%;max-width:1.5rem;height:3px}
.season li span{position:absolute;top:calc(100% + .6rem);font-size:1rem;color:var(--slate)}
.season .l{background:var(--brass)}
.season .c{background:#7D858D}
.season .key{display:flex;gap:1.5rem;margin-top:2.4rem;font-size:1rem;color:var(--ink-soft)}
.season .key span{display:flex;align-items:center;gap:.5rem}
.season .key i{display:block;width:1.25rem;height:6px}
.receipts{margin-top:1.5rem}
.receipts summary{cursor:pointer;font-weight:600;color:var(--brass);min-height:44px;display:flex;align-items:center;width:fit-content}
.receipts[open] summary{margin-bottom:1rem}
@media (max-width:820px){.season ol{min-height:11rem}.season li span{font-size:1rem}}
.talk .working{margin:1.5rem 0 2rem}

/* Invictus: three numbers, then a timeline from the expo to today (Lyle, 26 Nov 2026: "Yes, do Invictus") */
.ink .stats div{border-top-color:var(--white)}
.ink .stats small{color:var(--mist-dim)}
.ink .receipts summary{color:var(--gold)}
.timeline{margin:clamp(2rem,4vw,3rem) 0 0}
.timeline figcaption{font-size:1rem;font-weight:600;margin-bottom:1.25rem}
.timeline ol{list-style:none;position:relative;height:9.5rem;margin:0 .5rem}
.timeline ol::before{content:"";position:absolute;left:0;right:0;top:.45rem;height:2px;background:var(--line-ink)}
.timeline li{position:absolute;left:var(--at);top:0;width:12rem;transform:translateX(-50%)}
.timeline li:first-child{transform:none}
.timeline li:last-child{transform:translateX(-100%);text-align:right}
.timeline li::before{content:"";display:block;width:1rem;height:1rem;background:var(--gold);margin-bottom:.75rem}
.timeline li:nth-child(2)::before{margin-left:auto;margin-right:auto}
.timeline li:last-child::before{margin-left:auto}
.timeline li:nth-child(2){text-align:center}
.timeline b{display:block;font-size:1rem;font-weight:600}
.timeline span{display:block;margin-top:.2rem;font-size:1rem;color:var(--mist);line-height:1.4}
@media (max-width:820px){
  .timeline ol{height:auto;margin:0;display:grid;gap:1.25rem;padding-left:1.75rem}
  .timeline ol::before{left:.45rem;right:auto;top:.4rem;bottom:.4rem;width:2px;height:auto}
  .timeline li,.timeline li:first-child,.timeline li:last-child,.timeline li:nth-child(2){position:relative;left:auto;width:auto;transform:none;text-align:left}
  .timeline li::before,.timeline li:nth-child(2)::before,.timeline li:last-child::before{position:absolute;left:-1.75rem;top:.2rem;margin:0}
}

/* More sport as three fact cards (Lyle, 26 Nov 2026: "Yes, More sport") */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,2.5rem);align-items:start}
.card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.card h3{font-size:1.25rem;font-weight:600;margin:1rem 0 .5rem}
.card .fact{display:flex;align-items:baseline;gap:.6rem;border-top:2px solid var(--ink);padding-top:.7rem;margin-bottom:.75rem;font-size:1.125rem;font-weight:600}
.card .fact b{font-size:clamp(2.5rem,4vw,3.5rem);line-height:.95;letter-spacing:-.04em}
.card p{font-size:1.125rem;color:var(--ink-soft);text-wrap:pretty}
.card .used{list-style:none;margin-top:.9rem;display:grid;gap:.4rem;font-size:1rem}
.card .used li{padding-left:1.1rem;position:relative}
.card .used li::before{content:"";position:absolute;left:0;top:.55em;width:.45rem;height:.45rem;background:var(--brass)}
@media (max-width:820px){.cards{grid-template-columns:1fr;gap:2.5rem}}

/* Towards 10/10 (Lyle, 26 Nov 2026: "1b, 2, and 3"): terms tiles, Hockey ACT lead block, client quote, film row */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.terms{padding:0 var(--gutter) clamp(3.5rem,7vw,5rem)}
.terms .stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.terms .stats b{font-size:clamp(2.25rem,5vw,4rem)}
.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
#hockey-act .lead-portrait{aspect-ratio:4/5;height:auto}
.ledger.uses td.n{white-space:normal;text-align:right;font-weight:400;color:var(--ink-soft)}
.quote{padding:clamp(3rem,6vw,4.5rem) var(--gutter)}
.quote .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(2rem,5vw,4rem);border-top:2px solid var(--ink);padding-top:2rem}
.who-says{font-size:1.125rem;color:var(--slate)}
.quote blockquote p{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.2;font-weight:600;letter-spacing:-.015em;max-width:28ch}
.quote blockquote footer{margin-top:1rem;font-size:1.125rem;color:var(--ink-soft);background:none;padding:0;border:0;display:block}
.film{padding:clamp(4rem,8vw,6rem) var(--gutter)}
.film h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:600;letter-spacing:-.02em;margin-bottom:.5rem}
.film .what{color:var(--mist);font-size:1.125rem;margin-bottom:2rem}
.reels{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(1rem,2.5vw,2rem);align-items:start}
.reels figure{margin:0}
.reels video{display:block;width:100%;background:#000}
.reels figure:first-child video{aspect-ratio:16/9}
.reels figure:not(:first-child) video{aspect-ratio:9/16}
.reels figcaption{margin-top:.75rem;font-weight:600;font-size:1.125rem}
.reels figcaption span{display:block;font-weight:400;font-size:1rem;color:var(--mist)}
@media (max-width:820px){
  .terms .stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.75rem}
  .cards{grid-template-columns:1fr}
  .quote .wrap{grid-template-columns:1fr;gap:1rem}
  .reels{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reels figure:first-child{grid-column:1 / -1}
}
/* Hockey ACT uses table: publisher sits next to the use, left-aligned (both reviewers, 26 Nov) */
.ledger.uses th.n,.ledger.uses td.n{text-align:left;padding-left:1.5rem}
.ledger.uses td:first-child{width:58%}
@media (max-width:820px){
  .ledger.uses td.n{grid-column:1 / -1;grid-row:auto;padding-left:0;color:var(--slate);font-size:1rem}
}
.stats + .ledger{margin-top:clamp(2rem,4vw,3rem)}
#afl-canberra .lead-portrait{aspect-ratio:2/3;object-fit:contain}
/* 27 Nov: video row is two upright reels; Invictus lead is a looping drone clip; Click InFocus line under the Hockey ACT table */
.reels{grid-template-columns:repeat(2,minmax(0,1fr));max-width:46rem}
.reels figure:first-child video{aspect-ratio:9/16}
.reels figure:first-child{grid-column:auto}
.job video.lead-wide{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#000}
.job .what.also{margin-top:clamp(1.5rem,3vw,2rem)}
#hockey-act{border-top:1px solid var(--line,#D9DEE2);padding-top:clamp(3rem,6vw,4.5rem)}
.job-quote{margin:clamp(2rem,4vw,3rem) 0 0;padding-left:1.25rem;border-left:3px solid var(--accent,var(--ink))}
.job-quote p{font-size:clamp(1.25rem,2vw,1.5rem);line-height:1.3;font-weight:600;letter-spacing:-.01em;max-width:34ch}
.job-quote footer{margin-top:.75rem;font-size:1rem;color:var(--ink-soft);background:none;padding:0;border:0}
/* Four timeline points (Feb 2026 newsletter added 27 Nov 2026): equal columns on desktop so labels never collide */
@media (min-width:821px){
  .timeline ol{height:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
  .timeline li,.timeline li:first-child,.timeline li:last-child,.timeline li:nth-child(2){position:relative;left:auto;width:auto;transform:none;text-align:left}
  .timeline li::before,.timeline li:nth-child(2)::before,.timeline li:last-child::before{margin:0 0 .75rem}
}
.ink .job-quote{border-left-color:var(--gold)}
.ink .job-quote footer{color:var(--mist-dim)}
.job-quote + .timeline{margin-top:clamp(2.5rem,5vw,3.5rem)}

/* 27 Nov 2026 phone pass (Lyle: "four is a yes"): on phones each stat is one row, number left and words right, so long labels (the five Invictus publishers) no longer make a tall narrow column. The working-terms tiles keep their two columns. */
@media (max-width:600px){
  .stats{grid-template-columns:1fr;row-gap:1.25rem}
  .stats div{display:grid;grid-template-columns:6.5rem minmax(0,1fr);column-gap:1rem;align-items:start}
  .stats b{grid-row:1 / span 2;font-size:3rem}
  .stats span{margin-top:.1rem}
  .terms .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .terms .stats div{display:block}
  .terms .stats b{font-size:clamp(2.25rem,5vw,4rem)}
}
.job-quote p + p{margin-top:.9rem}
/* Video row (29 Nov): four films, each labelled by the job it does */
.reels4{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2.5vw,2rem);align-items:start}
.reels4 figure{margin:0}
.reels4 video{display:block;width:100%;height:auto;aspect-ratio:9/16;background:#000}
.reels4 .wide{grid-column:1/-1;max-width:56rem}
.reels4 .wide video{aspect-ratio:16/9}
.reels4 figcaption{margin-top:.75rem;font-weight:600;font-size:1.125rem;color:var(--white)}
.reels4 figcaption span{display:block;font-weight:400;font-size:1rem;color:var(--mist);margin-top:.25rem;text-wrap:pretty}
@media (max-width:820px){.reels4{grid-template-columns:1fr}.reels4 figure:not(.wide){max-width:22rem}}
