/* Omnia Journal (/journal). All selectors scoped with oj- so the Klaas template styles cannot leak in or out. */
.oj,.oj-cms,.oj-after{--oj-ink:#17120e;--oj-paper:#fbf4e8;--oj-paper2:#f3e8d6;--oj-night:#001a33;--oj-night2:#0b2a47;--oj-wine:#6c0300;--oj-olive:#676a49;--oj-rule:#e2d3bd;--oj-muted:#5f554b;--oj-cream:#fff5e9;--oj-serif:"Instrument Serif",Georgia,"Times New Roman",serif;--oj-sans:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;--oj-navh:96px;font-family:var(--oj-sans);color:var(--oj-ink);-webkit-font-smoothing:antialiased}
.oj *,.oj-cms *,.oj-after *{box-sizing:border-box}
.oj-wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 32px}

/* Masthead */
.oj{background:var(--oj-night);color:var(--oj-cream);padding:calc(var(--oj-navh) + 56px) 0 0;position:relative;overflow:hidden}
.oj:before{content:"";position:absolute;inset:0;background:radial-gradient(1200px 520px at 82% 18%,rgba(255,245,233,.07),transparent 60%);pointer-events:none}
.oj-mast{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:56px;align-items:end}
.oj-crumb{font-size:14px;color:rgba(255,245,233,.62);margin:0 0 28px}
.oj-crumb a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,245,233,.25)}
.oj-crumb a:hover{color:var(--oj-cream)}
.oj h1.oj-title{font-family:var(--oj-serif);font-weight:400;font-size:clamp(68px,10.4vw,164px);line-height:.86;letter-spacing:-.015em;margin:0;color:var(--oj-cream)}
.oj-title span{display:block}
.oj-intro{font-size:19px;line-height:1.55;max-width:31em;color:rgba(255,245,233,.82);margin:30px 0 0}
.oj-intro a{color:var(--oj-cream);text-decoration-color:rgba(255,245,233,.4);text-underline-offset:3px}

/* Lead story */
.oj-lead{display:block;text-decoration:none;color:inherit}
.oj-lead .oj-cover{aspect-ratio:16/10.5;border-radius:3px}
.oj-lead-body{display:grid;grid-template-columns:1fr auto;gap:8px 24px;padding:22px 0 0}
.oj-lead-kick{grid-column:1/-1;font-size:14px;color:rgba(255,245,233,.66);margin:0}
.oj-lead h2{font-family:var(--oj-serif);font-weight:400;font-size:clamp(30px,3vw,44px);line-height:1.04;margin:0;color:var(--oj-cream);text-wrap:balance}
.oj-lead p.oj-lead-dek{grid-column:1/2;font-size:16px;line-height:1.5;margin:4px 0 0;color:rgba(255,245,233,.74);max-width:36em}
.oj-lead-go{align-self:end;font-size:15px;font-weight:600;color:var(--oj-cream);white-space:nowrap;border-bottom:1px solid rgba(255,245,233,.5);padding-bottom:2px}
.oj-lead:hover h2,.oj-lead:focus-visible h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}

/* Subject tabs */
.oj-tabs{position:relative;display:flex;gap:4px;margin:64px 0 0;border-top:1px solid rgba(255,245,233,.16);overflow-x:auto;scrollbar-width:none}
.oj-tabs::-webkit-scrollbar{display:none}
.oj-tab{appearance:none;background:none;border:0;color:rgba(255,245,233,.6);font:500 16px/1 var(--oj-sans);padding:22px 18px 24px;cursor:pointer;position:relative;white-space:nowrap;display:flex;align-items:center;gap:9px}
.oj-tab:first-child{padding-left:0}
.oj-tab i{font-style:normal;font-size:12px;font-weight:600;color:rgba(255,245,233,.45);font-variant-numeric:tabular-nums}
.oj-tab b{width:9px;height:9px;border-radius:50%;background:var(--sw,#999);display:inline-block}
.oj-tab:hover{color:var(--oj-cream)}
.oj-tab[aria-pressed="true"]{color:var(--oj-cream)}
.oj-tab[aria-pressed="true"]:after{content:"";position:absolute;left:0;right:0;top:-1px;height:3px;background:var(--oj-cream)}
.oj-tab:first-child[aria-pressed="true"]:after{left:0}
.oj-tab:focus-visible{outline:2px solid var(--oj-cream);outline-offset:-4px}

/* Index (CMS list) */
.oj-cms{background:var(--oj-paper);padding:64px 0 24px}
.oj-cms .oj-bar{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 36px}
.oj-cms .oj-count{font-family:var(--oj-serif);font-size:30px;line-height:1.1;margin:0;color:var(--oj-ink)}
.oj-formats{display:flex;flex-wrap:wrap;gap:6px}
.oj-fmt{appearance:none;border:1px solid var(--oj-rule);background:transparent;color:var(--oj-muted);font:500 14px/1 var(--oj-sans);padding:9px 14px;border-radius:999px;cursor:pointer}
.oj-fmt:hover{border-color:var(--oj-ink);color:var(--oj-ink)}
.oj-fmt[aria-pressed="true"]{background:var(--oj-ink);border-color:var(--oj-ink);color:var(--oj-cream)}
.oj-fmt:focus-visible{outline:2px solid var(--oj-wine);outline-offset:2px}
.oj-cms .w-dyn-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 36px}
.oj-cms .w-dyn-item{min-width:0}
.oj-cms .w-dyn-item.oj-hide,.oj-cms .w-dyn-item.oj-is-lead{display:none}
.oj-cms .w-dyn-item.oj-wide{grid-column:span 2}
.oj-item{display:flex;flex-direction:column;text-decoration:none;color:var(--oj-ink);height:100%}
.oj-item .oj-cover{aspect-ratio:4/3;border-radius:3px;margin:0 0 20px}
.oj-wide .oj-item .oj-cover{aspect-ratio:16/8.3}
.oj-kick{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--oj-muted);margin:0 0 10px}
.oj-kick b{font-weight:600;color:var(--sw,#333)}
.oj-kick b:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:8px;vertical-align:1px}
.oj-cms h3.oj-item-title{font-family:var(--oj-serif);font-weight:400;font-size:29px;line-height:1.08;margin:0 0 10px;color:var(--oj-ink);text-wrap:balance}
.oj-wide h3.oj-item-title{font-size:38px}
.oj-cms p.oj-item-dek{font-size:16px;line-height:1.55;margin:0 0 16px;color:var(--oj-muted);max-width:38em}
.oj-by{margin:auto 0 0;padding-top:14px;border-top:1px solid var(--oj-rule);display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--oj-muted)}
.oj-by span:first-child{color:var(--oj-ink);font-weight:500}
.oj-item:hover h3.oj-item-title,.oj-item:focus-visible h3.oj-item-title{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.oj-item:focus-visible{outline:2px solid var(--oj-wine);outline-offset:6px;border-radius:2px}
.oj-empty{display:none;font-size:17px;color:var(--oj-muted);padding:24px 0 48px}
.oj-empty button{appearance:none;background:none;border:0;padding:0;font:inherit;color:var(--oj-wine);text-decoration:underline;cursor:pointer}
.oj-cms.oj-none .oj-empty{display:block}

/* Covers */
.oj-cover{position:relative;overflow:hidden;background:var(--sw,#2e3a46);display:block}
.oj-cover svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.oj-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.oj-cover .d{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 2.4s cubic-bezier(.2,.7,.2,1)}
.oj-cover.oj-drawn .d{stroke-dashoffset:0}
.oj-cover .f{opacity:0;transition:opacity 1.2s ease .9s}
.oj-cover.oj-drawn .f{opacity:1}
.oj-cover .m{transition:transform 1.6s cubic-bezier(.2,.7,.2,1);transform-box:fill-box;transform-origin:center}
a:hover .oj-cover .m,a:focus-visible .oj-cover .m{transform:var(--mv,translateX(6px))}

/* After the index */
.oj-after{background:var(--oj-paper);padding:40px 0 112px}
.oj-after h2{font-family:var(--oj-serif);font-weight:400;font-size:44px;line-height:1.05;margin:0 0 28px;color:var(--oj-ink)}
.oj-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:72px;border-top:1px solid var(--oj-ink);padding-top:44px}
.oj-writers{display:grid;gap:0;margin:0;padding:0;list-style:none}
.oj-writer{display:grid;grid-template-columns:64px 1fr auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--oj-rule)}
.oj-writer img,.oj-writer .oj-mono{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:50% 22%;background:var(--oj-paper2)}
.oj-writer .oj-mono{display:grid;place-items:center;font-family:var(--oj-serif);font-size:26px;color:var(--oj-ink)}
.oj-writer strong{display:block;font-size:17px;font-weight:600}
.oj-writer strong a{color:inherit;text-decoration:none}
.oj-writer strong a:hover{text-decoration:underline}
.oj-writer small{font-size:14px;color:var(--oj-muted)}
.oj-writer em{font-style:normal;font-size:14px;color:var(--oj-muted);white-space:nowrap}
.oj-standards p{font-size:17px;line-height:1.6;color:var(--oj-ink);margin:0 0 16px;max-width:34em}
.oj-standards ul{list-style:none;margin:0 0 28px;padding:0}
.oj-standards li{padding:12px 0 12px 30px;position:relative;border-bottom:1px solid var(--oj-rule);font-size:16px;line-height:1.5;color:var(--oj-muted)}
.oj-standards li strong{color:var(--oj-ink);font-weight:600}
.oj-standards li:before{content:"";position:absolute;left:2px;top:20px;width:14px;height:7px;border-left:2px solid var(--oj-wine);border-bottom:2px solid var(--oj-wine);transform:rotate(-45deg)}
.oj-cta{display:inline-block;background:var(--oj-wine);color:var(--oj-cream);text-decoration:none;font-weight:600;font-size:15px;padding:15px 24px;border-radius:2px}
.oj-cta:hover{background:#4f0200}
.oj-cta:focus-visible{outline:2px solid var(--oj-ink);outline-offset:3px}
.oj-note{font-size:14px;color:var(--oj-muted);margin:18px 0 0}
.oj-note a{color:var(--oj-wine);text-underline-offset:3px}

@media (max-width:991px){
  .oj-mast{grid-template-columns:1fr;gap:44px}
  .oj-cms .w-dyn-items{grid-template-columns:repeat(2,minmax(0,1fr))}
  .oj-split{grid-template-columns:1fr;gap:56px}
}
@media (max-width:767px){
  .oj-wrap{padding:0 16px}
  .oj{padding-top:calc(var(--oj-navh) + 32px)}
  .oj-intro{font-size:17px;margin-top:22px}
  .oj-lead-body{grid-template-columns:1fr}
  .oj-lead-go{justify-self:start;margin-top:6px}
  .oj-tabs{margin-top:44px;margin-right:-16px}
  .oj-tab{padding:18px 14px 20px;font-size:15px}
  .oj-cms{padding-top:44px}
  .oj-cms .w-dyn-items{grid-template-columns:1fr;gap:48px}
  .oj-cms .w-dyn-item.oj-wide{grid-column:auto}
  .oj-wide .oj-item .oj-cover{aspect-ratio:4/3}
  .oj-wide h3.oj-item-title,.oj-cms h3.oj-item-title{font-size:28px}
  .oj-after h2{font-size:36px}
  .oj-writer{grid-template-columns:56px 1fr}
  .oj-writer img,.oj-writer .oj-mono{width:56px;height:56px}
  .oj-writer em{grid-column:2}
}
@media (prefers-reduced-motion:reduce){
  .oj-cover .d{transition:none;stroke-dashoffset:0}
  .oj-cover .f{transition:none;opacity:1}
  .oj-cover .m,.oj-cover animate,.oj-cover animateMotion{transition:none}
  a:hover .oj-cover .m{transform:none}
}
