/* Project Index — adapted from ssychui's 21st.dev component. */
.editorial-projects { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.editorial-project { position:relative; display:grid; grid-template-columns:clamp(4.875rem,2rem + 8vw,10.25rem) minmax(0,1fr); gap:clamp(1.125rem,.5rem + 2vw,3rem); padding-block:clamp(1.875rem,1rem + 3vw,3.625rem); border-bottom:1px solid var(--line); }
.editorial-project-number { align-self:start; color:var(--muted); font:400 clamp(3.8rem,2rem + 5vw,7.5rem)/.85 var(--serif); letter-spacing:-.065em; transition:color .2s ease; }
.editorial-project-body { min-width:0; }
.editorial-project-category { margin:0 0 16px; color:var(--accent); font:500 var(--text-meta)/1.5 var(--mono); letter-spacing:.1em; text-transform:uppercase; }
.editorial-project h3 { margin:0 0 20px; font:400 clamp(2.3rem,1.25rem + 4vw,5.4rem)/1.02 var(--serif); letter-spacing:-.055em; }
.editorial-project h3 a { display:flex; align-items:center; justify-content:space-between; gap:18px; color:var(--ink); text-decoration:none; }
.editorial-project h3 a::after { content:""; position:absolute; inset:0; }
.editorial-project h3 a:focus-visible { outline:2px solid var(--accent); outline-offset:6px; }
.editorial-project:has(a:focus-visible) h3 a { outline-color:transparent; }
.editorial-project:has(a:focus-visible) { outline:2px solid var(--accent); outline-offset:6px; }
.editorial-project-arrow { flex-shrink:0; color:var(--muted); font:400 clamp(1.5rem,1rem + 1.5vw,2.5rem)/1 var(--sans); transition:color .2s ease; }
.editorial-project-subtitle { max-width:580px; margin:0 0 12px; color:var(--ink); font:500 11px/1.5 var(--mono); }
.editorial-project-description { max-inline-size:65ch; margin:0; color:#4f4f49; font:400 var(--text-body)/1.65 var(--sans); }
.editorial-project-bottom { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:16px 20px; margin-block-start:28px; }
.editorial-project-bottom p { flex:1 1 20rem; min-inline-size:0; margin:0; color:var(--muted); font:400 var(--text-meta)/1.7 var(--mono); overflow-wrap:anywhere; }
.editorial-project-bottom>span { flex-shrink:0; color:var(--ink); font:500 var(--text-meta)/1.5 var(--mono); }
.editorial-project-bottom>span span { margin-left:5px; color:var(--accent); }
.editorial-project:focus-within .editorial-project-arrow { color:var(--accent); }
.editorial-project:focus-within .editorial-project-number { color:var(--accent); }
@media (hover:hover) and (pointer:fine) {
  .editorial-project:hover .editorial-project-number { color:var(--accent); }
  .editorial-project:hover .editorial-project-arrow { color:var(--accent); }
}
@media (max-width:560px) {
  .editorial-project { grid-template-columns:44px minmax(0,1fr); gap:16px; padding:30px 0; }
  .editorial-project-number { font-size:3rem; }
  .editorial-project-category { margin-bottom:12px; }
  .editorial-project h3 { font-size:clamp(1.8rem,1.2rem + 3vw,2.5rem); margin-bottom:16px; }
  .editorial-project h3 a { gap:8px; }
  .editorial-project-arrow { font-size:22px; }
  .editorial-project-bottom { flex-direction:column; gap:16px; margin-top:20px; }
  .editorial-project-bottom p { max-width:100%; overflow-wrap:anywhere; }
  .editorial-project-bottom p { flex-basis:auto; }
}
@media (prefers-reduced-motion:no-preference) {
  .editorial-project-arrow { transition:transform .25s var(--ease-out),color .2s ease; }
  .editorial-project:focus-within .editorial-project-arrow { transform:translate(3px,-3px); }
  @media (hover:hover) and (pointer:fine) {
    .editorial-project:hover .editorial-project-arrow { transform:translate(3px,-3px); }
  }
}
