/* Editorial: the AI reviewer column (public/column.js) and the daily highlight band (public/highlight.js).
   Built on the site tokens (--pit, --chalk, --live, --display) and the palette tints in css/palette.css.
   The signature is the redline: the rev counter emblem with its needle in --live, and one thin red line that sweeps in
   once when the highlight appears. Everything else stays quiet. */
.ed-tach{flex:none;color:var(--chalk)}
.ed-aitag{display:inline-flex;align-items:center;gap:4px;font-family:var(--body);font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:2px 9px;border-radius:999px;background:var(--tint-4);color:var(--chalk);border:1px solid color-mix(in srgb,var(--live) 35%,transparent);white-space:nowrap;vertical-align:middle}
.ed-aitag::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--live)}
.ed-aitag-lg{font-size:.82rem;padding:4px 12px}
.ed-disc{font-size:.84rem;color:var(--smoke);border-left:3px solid var(--live);padding:6px 0 6px 12px;margin:14px 0 0;max-width:66ch}
.ed-credit{font-size:.7rem;line-height:1.5;color:var(--dim);padding-top:6px;text-align:left}
.ed-credit a{color:inherit}
.ed-sec-h{font-size:1.55rem;margin:0 0 12px}

/* ---------- pictures ---------- */
.ed-fig{margin:0}
.ed-pic{position:relative;overflow:hidden;background:var(--pit2);aspect-ratio:3/2}
.ed-pic img{width:100%;height:100%;object-fit:cover;display:block;animation:ed-fade .5s ease-out both}
.ed-type{display:grid;place-items:center;background:linear-gradient(135deg,var(--tint-4),var(--tint-2))}
.ed-type span{font-family:var(--display);font-style:italic;font-size:clamp(2.6rem,9vw,5.5rem);letter-spacing:-.05em;color:color-mix(in srgb,var(--live) 55%,var(--chalk));opacity:.55}
.ed-wait span{opacity:.15}
@keyframes ed-fade{from{opacity:0}to{opacity:1}}

/* ---------- hub ---------- */
.ed-page{max-width:1120px}
.ed-mast{position:relative;padding:8px 0 26px;margin-bottom:28px}
.ed-mast-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ed-mast-row .ed-tach{width:56px;height:56px}
.ed-mast-k{margin:0;font-size:.85rem;color:var(--smoke);font-weight:600}
.ed-mast-n{font-size:clamp(3rem,10vw,6.2rem);font-style:italic;line-height:.95;letter-spacing:-.05em}
.ed-mast-lead{font-size:1.08rem;max-width:62ch;margin:16px 0 0;color:var(--chalk)}
.ed-redline{position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--line) 0 72%,var(--live) 72% 100%)}
.ed-card{display:grid;gap:12px;align-content:start}
.ed-card-a{display:block;border-radius:6px;overflow:hidden}
.ed-card-k{margin:0;font-size:.8rem;font-weight:700;color:var(--live)}
.ed-card-h{font-size:1.35rem;line-height:1.15;margin:2px 0 6px}
.ed-card-h a{color:inherit;text-decoration:none}
.ed-card-h a:hover{text-decoration:underline;text-decoration-color:var(--live);text-underline-offset:4px}
.ed-card-sf{margin:0;color:var(--smoke);font-size:.95rem;text-align:left}
.ed-card-m,.ed-by-m{display:flex;gap:14px;margin:8px 0 0;font-size:.78rem;color:var(--dim)}
.ed-card-lead{grid-template-columns:1fr;margin-bottom:40px}
.ed-card-lead .ed-card-h{font-size:clamp(1.8rem,4.2vw,2.8rem);font-style:italic;letter-spacing:-.04em}
.ed-card-lead .ed-card-sf{font-size:1.06rem;max-width:60ch}
@media (min-width:860px){
  .ed-card-lead{grid-template-columns:1.45fr 1fr;gap:32px;align-items:center}
  .ed-card-lead .ed-pic{aspect-ratio:4/3}
  .ed-card-lead>.ed-card-a{grid-column:1;grid-row:1}
  .ed-card-lead>.ed-card-b{grid-column:2;grid-row:1}
}
.ed-grid{display:grid;gap:34px 26px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.ed-note{margin-top:36px}
.ed-wait-p{padding:20px}

/* ---------- one column ---------- */
.ed-hero{max-width:1320px;margin:0 auto}
.ed-hero .ed-pic{aspect-ratio:auto;height:min(72vh,56.25vw)}
.ed-hero .ed-credit{padding:6px 16px 0}
.ed-art-w{max-width:760px}
.ed-head{padding:26px 0 8px}
.ed-kick{margin:0 0 10px;font-size:.88rem;font-weight:600}
.ed-kick a{color:var(--live);text-decoration:none}
.ed-title{font-size:clamp(2.1rem,6vw,3.6rem);font-style:italic;letter-spacing:-.045em;line-height:1.03}
.ed-sf{font-size:1.2rem;line-height:1.5;margin:16px 0 18px;color:var(--chalk);text-align:left}
.ed-by{display:flex;align-items:center;gap:12px}
.ed-by p{margin:0;text-align:left}
.ed-by-n{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ed-by-n b{font-family:var(--display);font-style:italic;font-size:1.25rem;font-weight:500}
.ed-body{margin-top:26px;font-size:1.08rem;line-height:1.75}
.ed-body p{margin:0 0 1.15em}
.ed-first::first-letter{float:left;font-family:var(--display);font-style:italic;font-size:5.2em;line-height:.8;padding:.06em .1em 0 0;color:var(--live)}
.ed-pull{margin:1.6em 0;padding:4px 0 4px 22px;border-left:4px solid var(--live)}
.ed-pull p{font-family:var(--display);font-style:italic;font-size:clamp(1.45rem,3.6vw,1.95rem);line-height:1.25;letter-spacing:-.025em;margin:0;text-align:left;hyphens:manual}
.ed-verdict{margin:40px 0}
.ed-v-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.ed-v{border-radius:8px;padding:16px 18px;border-top:4px solid}
.ed-v h3{font-family:var(--body);font-size:.95rem;font-weight:800;letter-spacing:0;margin:0 0 8px}
.ed-v ul{margin:0;padding-left:18px;font-size:.92rem}
.ed-v li{margin:0 0 6px;text-align:left}
.ed-v-buy{background:var(--tint-1);border-color:var(--viz-1)}
.ed-v-avoid{background:var(--tint-4);border-color:var(--viz-4)}
.ed-v-check{background:var(--tint-2);border-color:var(--viz-2)}
.ed-src ol{padding-left:20px}
.ed-src li{margin:0 0 6px}
.ed-site{color:var(--dim);font-size:.8rem}
.ed-rel{margin:36px 0}
.ed-rel ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ed-rel-i{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;padding:12px 0;border-top:1px solid var(--line)}
.ed-rel-l{display:flex;gap:14px;flex-wrap:wrap;font-size:.92rem}
.ed-more{margin:44px 0 20px}

/* ---------- the daily highlight band ---------- */
.ed-hl{position:relative;margin:28px 0;padding-top:2.2rem;isolation:isolate}
.ed-hl-sf,.ed-sf,.ed-card-sf,.ed-hl-disc,.ed-disc{hyphens:manual;-webkit-hyphens:manual}
.ed-hl-grid{position:relative;display:grid;gap:0}
.ed-hl-ghost{position:absolute;z-index:-1;right:-2%;top:-.18em;font-family:var(--display);font-style:italic;font-size:clamp(5rem,19vw,15rem);line-height:1;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:1.5px color-mix(in srgb,var(--live) 30%,transparent);white-space:nowrap;overflow:hidden;max-width:100%;pointer-events:none;user-select:none}
.ed-hl-fig{margin:0;position:relative}
.ed-hl-fig::before{content:"";position:absolute;z-index:-1;inset:14px -10px 1.6rem 14px;background:var(--tint-4);border-radius:4px}
.ed-hl-pic{position:relative;aspect-ratio:3/2;overflow:hidden;border-radius:4px;background:var(--pit2)}
.ed-hl-pic img{width:100%;height:100%;object-fit:cover;display:block;animation:ed-fade .5s ease-out both}
.ed-hl-wait{background:linear-gradient(110deg,var(--pit2),var(--pit3),var(--pit2))}
.ed-hl-type{display:grid;place-items:center;background:radial-gradient(120% 90% at 85% 15%,var(--tint-4),transparent 60%),linear-gradient(160deg,var(--tint-2),var(--tint-3))}
.ed-hl-type span{font-family:var(--display);font-style:italic;font-size:clamp(3rem,12vw,8rem);letter-spacing:-.06em;color:color-mix(in srgb,var(--live) 70%,var(--chalk))}
.ed-hl-text{position:relative;background:var(--pit);margin:-46px 12px 0;padding:18px 18px 4px;border-radius:4px;box-shadow:0 0 0 1px var(--line)}
.ed-hl-kicker{display:flex;margin-bottom:10px}
.ed-hl-tag{display:inline-flex;align-items:center;gap:10px;font-size:.84rem;font-weight:700;color:var(--live)}
.ed-hl-tag.ed-ai{color:var(--chalk)}
.ed-hl-tag.ed-ai b{font-family:var(--display);font-style:italic;font-size:1.2rem;font-weight:500;margin-right:4px}
.ed-hl-tag .ed-tach{width:34px;height:34px}
.ed-hl-h{font-size:clamp(1.7rem,4.6vw,3.1rem);font-style:italic;line-height:1.04;letter-spacing:-.045em;margin:0 0 12px}
.ed-hl-h a{color:inherit;text-decoration:none;background:linear-gradient(var(--live),var(--live)) 0 100%/0 2px no-repeat;transition:background-size .3s}
.ed-hl-h a:hover,.ed-hl-h a:focus-visible{background-size:100% 2px}
.ed-hl-sf{font-size:1.02rem;margin:0 0 12px;text-align:left;max-width:56ch}
.ed-hl-meta{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin:0 0 10px;font-size:.86rem;color:var(--smoke);text-align:left}
.ed-hl-src{font-weight:700;color:var(--chalk)}
.ed-hl-go{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--chalk);text-decoration:none;border-bottom:2px solid var(--live);padding-bottom:2px}
.ed-hl-disc{font-size:.74rem;color:var(--dim);margin:6px 0 12px;text-align:left}
.ed-hl .ed-credit{padding-left:2px}
.ed-hl-line{position:absolute;left:0;bottom:-14px;height:2px;width:100%;background:linear-gradient(90deg,transparent,var(--live) 30%,var(--live));transform-origin:left;transform:scaleX(1)}
@media (min-width:860px){
  .ed-hl{margin:44px 0;padding-top:4.5rem}
  .ed-hl-grid{grid-template-columns:repeat(12,1fr);align-items:center;min-height:420px}
  .ed-hl-fig,.ed-hl-grid>.ed-hl-pic{grid-column:5/13;grid-row:1}
  .ed-hl-text{grid-column:1/7;grid-row:1;margin:0;padding:26px 28px 10px;z-index:1;align-self:center}
  .ed-hl-journal .ed-hl-text{grid-column:1/8}
  .ed-hl-ghost{right:auto;left:-1%;top:-.32em}
}
/* the one orchestrated reveal: picture opens from the right, the headline settles, the redline sweeps across */
@media (prefers-reduced-motion:no-preference){
  .ed-hl.ed-in:not(.ed-done) .ed-hl-fig,.ed-hl.ed-in:not(.ed-done) .ed-hl-grid>.ed-hl-pic{animation:ed-open .9s cubic-bezier(.2,.7,.1,1) both}
  .ed-hl.ed-in:not(.ed-done) .ed-hl-text{animation:ed-settle .8s .15s cubic-bezier(.2,.7,.1,1) both}
  .ed-hl.ed-in:not(.ed-done) .ed-hl-ghost{animation:ed-drift 1.4s .1s ease-out both}
  .ed-hl.ed-in:not(.ed-done) .ed-hl-line{animation:ed-sweep 1.1s .35s cubic-bezier(.6,0,.2,1) both}
}
@media (prefers-reduced-motion:reduce){.ed-pic img,.ed-hl-pic img{animation:none}.ed-hl-h a{transition:none}}
@keyframes ed-open{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
@keyframes ed-settle{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes ed-drift{from{opacity:0;transform:translateX(-24px)}to{opacity:1;transform:none}}
@keyframes ed-sweep{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* card image link: an overlay, so the credit link inside the picture is never nested in another link */
.ed-card-a{position:relative}
.ed-card-ov{position:absolute;inset:0;z-index:1}
.ed-card-a .ed-credit,.ed-card-a figcaption,.ed-card-a figcaption a{position:relative;z-index:2}
/* the AI tag beside the name: half transparent */
.ed-aitag{background:color-mix(in srgb,var(--live) 9%,transparent);border-color:color-mix(in srgb,var(--live) 22%,transparent);backdrop-filter:blur(2px)}

/* ---------- Clutchley's profile ---------- */
.ed-prof{display:grid;gap:18px;margin:0 0 36px;padding:24px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--live) 5%,var(--pit))}
.ed-prof-id{display:flex;align-items:center;gap:16px}
.ed-prof-av{flex:none;display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:var(--live);color:#fff;font-family:var(--display);font-style:italic;font-size:2.2rem;line-height:1}
.ed-prof-k{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--live)}
.ed-prof h2{margin:2px 0;font-family:var(--display);font-style:italic;font-weight:400;font-size:clamp(1.8rem,4vw,2.5rem);letter-spacing:-.04em}
.ed-prof-t{margin:0;color:var(--smoke)}
.ed-prof-body{display:grid;gap:10px;max-width:72ch}
.ed-prof-body p{margin:0;line-height:1.7}
.ed-prof-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:0}
.ed-prof-facts div{padding:12px 14px;border-radius:8px;background:var(--pit);border:1px solid var(--line)}
.ed-prof-facts dt{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--smoke)}
.ed-prof-facts dd{margin:4px 0 0;font-size:.92rem;text-align:left}
.ed-prof-rules{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.ed-prof-rules li{padding:6px 12px;border-radius:999px;font-size:.8rem;background:color-mix(in srgb,var(--live) 8%,transparent);border:1px solid color-mix(in srgb,var(--live) 20%,transparent);text-align:left}

/* the highlight's text panel over the photo: half transparent */
.ed-hl-text{background:color-mix(in srgb,var(--pit) 50%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 0 0 1px color-mix(in srgb,var(--line) 70%,transparent)}
/* profile: two columns on wide screens, no mid-word breaks */
.ed-prof,.ed-prof *{hyphens:manual;-webkit-hyphens:manual}
.ed-prof-body p,.ed-prof-t{text-align:left}
@media (min-width:900px){
 .ed-prof{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);column-gap:36px;align-items:start}
 .ed-prof-id,.ed-prof-rules{grid-column:1/-1}
 .ed-prof-body{max-width:none}
 .ed-prof-facts{grid-template-columns:1fr 1fr;align-content:start}
}

.ed-prof-body p,.ed-prof-t{text-align:justify;text-justify:inter-word}
.ed-prof-quotes{display:grid;gap:8px;margin:6px 0 0;padding:0;list-style:none}
.ed-prof-quotes li{padding:10px 14px;border-inline-start:3px solid var(--live);background:color-mix(in srgb,var(--live) 6%,transparent);border-radius:0 8px 8px 0;font-family:var(--display);font-style:italic;font-size:1.08rem;line-height:1.45;text-align:justify;text-justify:inter-word}
.ed-prof-quotes q{quotes:"\201C" "\201D"}

/* profile: quotes sit inside the text; the facts column stretches to the text's height */
.ed-prof-body q{font-family:var(--display);font-style:italic;font-size:1.06em;quotes:"\201C" "\201D";color:color-mix(in srgb,var(--live) 70%,var(--chalk))}
.ed-prof-quotes{display:none}
@media (min-width:900px){
 .ed-prof{align-items:stretch}
 .ed-prof-facts{grid-auto-rows:1fr}
}
.ed-prof-facts div{display:flex;flex-direction:column;justify-content:center}
/* article grid: no half empty rows, equal pictures, tight gaps */
.ed-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:28px 24px;align-items:start}
.ed-card-lead{margin-bottom:28px}
.ed-card .ed-pic{aspect-ratio:3/2}
.ed-card .ed-credit{margin:6px 0 0;font-size:.7rem;line-height:1.35;min-height:2.7em}
.ed-note{margin-top:28px}

/* masthead text uses the full width and is justified */
.ed-mast-lead,.ed-disc{max-width:none;text-align:justify;text-justify:inter-word}
.ed-disc{margin-top:16px}

/* profile fact tiles */
.ed-prof-facts div{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"ic dt" "ic dd";column-gap:14px;row-gap:2px;align-items:center;align-content:center;padding:16px 16px 16px 18px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,color-mix(in srgb,var(--c) 11%,var(--pit)),var(--pit) 70%);overflow:hidden}
.ed-prof-facts div::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--c)}
.ed-pf-ic{grid-area:ic;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--c) 16%,transparent);color:var(--c)}
.ed-prof-facts dt{grid-area:dt;align-self:end;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--smoke)}
.ed-prof-facts dd{grid-area:dd;align-self:start;margin:0;display:grid;gap:1px;text-align:left}
.ed-prof-facts dd b{font-family:var(--display);font-style:italic;font-weight:400;font-size:1.28rem;line-height:1.15;letter-spacing:-.02em;color:var(--chalk)}
.ed-prof-facts dd span{font-size:.8rem;line-height:1.35;color:var(--smoke)}

/* column text is justified throughout */
.ed-page :where(p,li,dd,blockquote):not(.ed-card-k):not(.ed-card-m):not(.ed-prof-k){text-align:justify;text-justify:inter-word}
.ed-card-sf,.ed-sf,.ed-hl-sf,.ed-disc,.ed-note{text-align:justify !important;text-justify:inter-word}
.ed-prof-facts dd,.ed-prof-rules li{text-align:left}

/* the photo credit sits clear of the text panel that overlaps the picture */
.ed-hl-fig .ed-credit{position:relative;z-index:1;margin:0 0 54px;padding:6px 4px 0;text-align:left}

/* ---------- verdict: three cards with icons, counts and a numbered checklist ---------- */
.ed-v-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ed-v{--c:var(--viz-1);position:relative;padding:0;border:1px solid color-mix(in srgb,var(--c) 28%,var(--line));border-top-width:1px;border-radius:14px;overflow:hidden;background:var(--pit)}
.ed-v-buy{--c:var(--viz-1)} .ed-v-avoid{--c:var(--viz-4)} .ed-v-check{--c:var(--viz-2);grid-column:1/-1}
.ed-v-h{display:flex;align-items:center;gap:14px;padding:16px 18px;background:linear-gradient(120deg,color-mix(in srgb,var(--c) 18%,var(--pit)),color-mix(in srgb,var(--c) 6%,var(--pit)))}
.ed-v-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--c);color:#fff}
.ed-v-h h3{margin:0;font-family:var(--display);font-style:italic;font-weight:400;font-size:1.35rem;letter-spacing:-.02em}
.ed-v-h p{margin:2px 0 0;font-size:.8rem;color:var(--smoke);text-align:left}
.ed-v-n{margin-inline-start:auto;font-family:var(--display);font-style:italic;font-weight:400;font-size:2.6rem;line-height:1;color:color-mix(in srgb,var(--c) 55%,transparent)}
.ed-v ul{list-style:none;margin:0;padding:8px 18px 14px;display:grid;gap:0}
.ed-v li{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px dashed color-mix(in srgb,var(--c) 25%,var(--line));margin:0;text-align:left;font-size:.93rem;line-height:1.5}
.ed-v li:last-child{border-bottom:0}
.ed-v-m{flex:none;display:grid;place-items:center;width:24px;height:24px;margin-top:1px;border-radius:50%;font-size:.75rem;font-weight:800;color:var(--c);border:2px solid var(--c);background:color-mix(in srgb,var(--c) 10%,transparent)}
.ed-v-buy .ed-v-m::before{content:"\2713"}.ed-v-avoid .ed-v-m::before{content:"\00d7";font-size:1rem;line-height:1}
.ed-v-check ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.ed-v-check li:nth-last-child(2){border-bottom:0}
@media (max-width:760px){.ed-v-grid{grid-template-columns:1fr}.ed-v-check ul{grid-template-columns:1fr}.ed-v-check li:nth-last-child(2){border-bottom:1px dashed color-mix(in srgb,var(--c) 25%,var(--line))}}
